/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | btf_split.c | 19 int str_off, i, err; in test_btf_split() local 41 str_off = btf__find_str(btf2, "int"); in test_btf_split() 42 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
|
A D | btf_write.c | 15 int id, err, str_off; in gen_btf() local 17 str_off = btf__find_str(btf, "int"); in gen_btf() 18 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in gen_btf() 20 str_off = btf__add_str(btf, "int"); in gen_btf() 21 ASSERT_EQ(str_off, 1, "int_str_off"); in gen_btf() 23 str_off = btf__find_str(btf, "int"); in gen_btf() 24 ASSERT_EQ(str_off, 1, "int_str_found_off"); in gen_btf() 32 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in gen_btf()
|
A D | btf_dedup_split.c | 10 int str_off, err; in test_split_simple() local 43 str_off = btf__find_str(btf2, "int"); in test_split_simple() 44 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_split_simple()
|
A D | btf.c | 4243 ret_hdr->str_off = type_sec_size; in btf_raw_create() 4307 hdr->str_off = (int)hdr->str_off + test->str_off_delta; in do_test_raw() 6385 const char *str, __u32 str_off, in patch_name_tbd() argument 6391 const char *next_str = str + str_off; in patch_name_tbd() 8030 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup() 8032 expect_strs = expect_btf_data + sizeof(*test_hdr) + expect_hdr->str_off; in do_test_dedup()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | linker.c | 297 int err, str_off; in init_output_elf() local 362 if (str_off < 0) in init_output_elf() 363 return str_off; in init_output_elf() 401 if (str_off < 0) in init_output_elf() 402 return str_off; in init_output_elf() 2433 int rec_sz, str_off, i; in linker_append_btf_ext() local 2495 if (str_off < 0) in linker_append_btf_ext() 2501 if (str_off < 0) in linker_append_btf_ext() 2538 if (str_off < 0) in linker_append_btf_ext() 2730 int str_off; in emit_btf_ext_data() local [all …]
|
A D | btf.c | 216 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr() 1562 btf->hdr->str_off += data_sz; in btf_commit_type() 1584 *str_off = mapped_off; in btf_rewrite_str() 1601 *str_off = off; in btf_rewrite_str() 1726 btf->hdr->str_off += data_sz; in btf__add_btf() 2062 btf->hdr->str_off += sz; in btf__add_field() 2172 btf->hdr->str_off += sz; in btf__add_enum_value() 2244 btf->hdr->str_off += sz; in btf__add_enum64_value() 2466 btf->hdr->str_off += sz; in btf__add_func_param() 2603 btf->hdr->str_off += sz; in btf__add_datasec_var_info() [all …]
|
A D | libbpf_probes.c | 226 .str_off = types_len, in libbpf__load_raw_btf()
|
A D | libbpf_internal.h | 474 typedef int (*str_off_visit_fn)(__u32 *str_off, void *ctx);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | atom.c | 1384 unsigned long str_off; in atom_find_str_in_rom() local 1388 str_off = 0; in atom_find_str_in_rom() 1393 for (str_off = 0; str_off < str_len; ++str_off) { in atom_find_str_in_rom() 1394 if (str[str_off] != *(p_rom + start + str_off)) in atom_find_str_in_rom() 1398 if (str_off == str_len || str[str_off] == 0) in atom_find_str_in_rom()
|
/linux-6.3-rc2/include/linux/ |
A D | init.h | 343 #define early_param_on_off(str_on, str_off, var, config) \ argument 359 early_param(str_off, parse_##var##_off)
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | btf.h | 20 __u32 str_off; /* offset of string section */ member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | btf.h | 20 __u32 str_off; /* offset of string section */ member
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | syscall.c | 42 .str_off = sizeof(__u32) * 8, in btf_load()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/map_tests/ |
A D | sk_storage_map.c | 128 .str_off = sizeof(btf_raw_types), in load_btf()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | ds.c | 419 __u32 str_off; member
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_verifier.c | 753 .str_off = types_len, in load_btf_spec()
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | btf.rst | 49 __u32 str_off; /* offset of string section */
|
/linux-6.3-rc2/kernel/bpf/ |
A D | btf.c | 1543 __btf_verifier_log(log, "str_off: %u\n", hdr->str_off); in btf_verifier_log_hdr() 5175 start = btf->nohdr_data + hdr->str_off; in btf_parse_str_sec() 5201 offsetof(struct btf_header, str_off),
|