Searched refs:str_off (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | btf_write.c | 15 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()
|
| D | btf.c | 3610 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()
|
| /Linux-v5.10/include/linux/ |
| D | init.h | 271 #define early_param_on_off(str_on, str_off, var, config) \ argument 287 __setup_param(str_off, parse_##var##_off, parse_##var##_off, 1)
|
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | btf.h | 20 __u32 str_off; /* offset of string section */ member
|
| /Linux-v5.10/include/uapi/linux/ |
| D | btf.h | 20 __u32 str_off; /* offset of string section */ member
|
| /Linux-v5.10/tools/lib/bpf/ |
| D | btf.c | 185 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr() 223 if (meta_left < hdr->str_off) { in btf_parse_hdr() 224 pr_debug("Invalid BTF string section offset:%u\n", hdr->str_off); in btf_parse_hdr() 228 if (hdr->type_off >= hdr->str_off) { in btf_parse_hdr() 774 btf->strs_data = btf->raw_data + btf->hdr->hdr_len + btf->hdr->str_off; in btf__new() 1614 btf->hdr->str_off += sz; in btf__add_int() 1662 btf->hdr->str_off += sz; in btf_add_ref_kind() 1719 btf->hdr->str_off += sz; in btf__add_array() 1756 btf->hdr->str_off += sz; in btf_add_composite() 1857 btf->hdr->str_off += sz; in btf__add_field() [all …]
|
| D | libbpf_probes.c | 152 .str_off = types_len, in libbpf__load_raw_btf()
|
| /Linux-v5.10/tools/testing/selftests/bpf/map_tests/ |
| D | sk_storage_map.c | 132 .str_off = sizeof(btf_raw_types), in load_btf()
|
| /Linux-v5.10/arch/sparc/kernel/ |
| D | ds.c | 419 __u32 str_off; member
|
| /Linux-v5.10/tools/testing/selftests/bpf/ |
| D | test_verifier.c | 547 .str_off = sizeof(btf_raw_types), in load_btf()
|
| /Linux-v5.10/kernel/bpf/ |
| D | btf.c | 1385 __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),
|
| /Linux-v5.10/Documentation/bpf/ |
| D | btf.rst | 49 __u32 str_off; /* offset of string section */
|