Home
last modified time | relevance | path

Searched refs:str_off (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c15 int id, err, str_off; in test_btf_write() local
21 str_off = btf__find_str(btf, "int"); in test_btf_write()
22 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in test_btf_write()
24 str_off = btf__add_str(btf, "int"); in test_btf_write()
25 ASSERT_EQ(str_off, 1, "int_str_off"); in test_btf_write()
27 str_off = btf__find_str(btf, "int"); in test_btf_write()
28 ASSERT_EQ(str_off, 1, "int_str_found_off"); in test_btf_write()
36 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in test_btf_write()
H A Dbtf.c3610 ret_hdr->str_off = type_sec_size; in btf_raw_create()
3654 hdr->str_off = (int)hdr->str_off + test->str_off_delta; in do_test_raw()
5750 const char *str, __u32 str_off, in patch_name_tbd() argument
5756 const char *next_str = str + str_off; in patch_name_tbd()
6708 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup()
6710 expect_strs = expect_btf_data + sizeof(*test_hdr) + expect_hdr->str_off; in do_test_dedup()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbtf.c185 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
219 if (meta_left < (long long)hdr->str_off + hdr->str_len) { in btf_parse_hdr()
224 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
226 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
771 btf->strs_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->str_off; in btf__new()
1611 btf->hdr->str_off += sz; in btf__add_int()
1659 btf->hdr->str_off += sz; in btf_add_ref_kind()
1716 btf->hdr->str_off += sz; in btf__add_array()
1753 btf->hdr->str_off += sz; in btf_add_composite()
1854 btf->hdr->str_off += sz; in btf__add_field()
[all …]
H A Dlibbpf_probes.c154 .str_off = types_len, in libbpf__load_raw_btf()
/OK3568_Linux_fs/kernel/include/linux/
H A Dinit.h332 #define early_param_on_off(str_on, str_off, var, config) \ argument
348 __setup_param(str_off, parse_##var##_off, parse_##var##_off, 1)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbtf.h20 __u32 str_off; /* offset of string section */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbtf.h20 __u32 str_off; /* offset of string section */ member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbtf.h20 __u32 str_off; /* offset of string section */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbtf.h20 __u32 str_off; /* offset of string section */ member
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c132 .str_off = sizeof(btf_raw_types), in load_btf()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_verifier.c547 .str_off = sizeof(btf_raw_types), in load_btf()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dds.c419 __u32 str_off; member
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbtf.c1385 __btf_verifier_log(log, "str_off: %u\n", hdr->str_off); in btf_verifier_log_hdr()
3957 start = btf->nohdr_data + hdr->str_off; in btf_parse_str_sec()
3978 offsetof(struct btf_header, str_off),
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dbtf.rst49 __u32 str_off; /* offset of string section */