Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A Dbtf_write.c14 int id, err, str_off; in gen_btf() local
16 str_off = btf__find_str(btf, "int"); in gen_btf()
17 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in gen_btf()
19 str_off = btf__add_str(btf, "int"); in gen_btf()
20 ASSERT_EQ(str_off, 1, "int_str_off"); in gen_btf()
22 str_off = btf__find_str(btf, "int"); in gen_btf()
23 ASSERT_EQ(str_off, 1, "int_str_found_off"); in gen_btf()
31 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in gen_btf()
A Dbtf_split.c20 int str_off, i, err; in test_btf_split() local
42 str_off = btf__find_str(btf2, "int"); in test_btf_split()
43 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
A Dbtf_dedup_split.c10 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 Dbtf.c4040 ret_hdr->str_off = type_sec_size; in btf_raw_create()
4084 hdr->str_off = (int)hdr->str_off + test->str_off_delta; in do_test_raw()
6184 const char *str, __u32 str_off, in patch_name_tbd() argument
6190 const char *next_str = str + str_off; in patch_name_tbd()
7358 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup()
7360 expect_strs = expect_btf_data + sizeof(*test_hdr) + expect_hdr->str_off; in do_test_dedup()
/linux/tools/lib/bpf/
A Dlinker.c296 int err, str_off; in init_output_elf() local
361 if (str_off < 0) in init_output_elf()
362 return str_off; in init_output_elf()
400 if (str_off < 0) in init_output_elf()
401 return str_off; in init_output_elf()
2432 int rec_sz, str_off, i; in linker_append_btf_ext() local
2494 if (str_off < 0) in linker_append_btf_ext()
2500 if (str_off < 0) in linker_append_btf_ext()
2537 if (str_off < 0) in linker_append_btf_ext()
2727 int str_off; in emit_btf_ext_data() local
[all …]
A Dbtf.c216 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
1579 btf->hdr->str_off += data_sz; in btf_commit_type()
1601 *str_off = off; in btf_rewrite_str()
1718 btf->hdr->str_off += data_sz; in btf__add_btf()
2049 btf->hdr->str_off += sz; in btf__add_field()
2145 btf->hdr->str_off += sz; in btf__add_enum_value()
2351 btf->hdr->str_off += sz; in btf__add_func_param()
2488 btf->hdr->str_off += sz; in btf__add_datasec_var_info()
3255 __u32 str_off = *str_off_ptr; in strs_dedup_remap_str_off() local
3260 if (str_off == 0 || str_off < d->btf->start_str_off) in strs_dedup_remap_str_off()
[all …]
A Dlibbpf_probes.c154 .str_off = types_len, in libbpf__load_raw_btf()
A Dlibbpf_internal.h428 typedef int (*str_off_visit_fn)(__u32 *str_off, void *ctx);
/linux/drivers/gpu/drm/amd/amdgpu/
A Datom.c1382 unsigned long str_off; in atom_find_str_in_rom() local
1386 str_off = 0; in atom_find_str_in_rom()
1391 for (str_off = 0; str_off < str_len; ++str_off) { in atom_find_str_in_rom()
1392 if (str[str_off] != *(p_rom + start + str_off)) in atom_find_str_in_rom()
1396 if (str_off == str_len || str[str_off] == 0) in atom_find_str_in_rom()
/linux/include/linux/
A Dinit.h333 #define early_param_on_off(str_on, str_off, var, config) \ argument
349 early_param(str_off, parse_##var##_off)
/linux/tools/include/uapi/linux/
A Dbtf.h20 __u32 str_off; /* offset of string section */ member
/linux/include/uapi/linux/
A Dbtf.h20 __u32 str_off; /* offset of string section */ member
/linux/tools/testing/selftests/bpf/progs/
A Dsyscall.c42 .str_off = sizeof(__u32) * 8, in btf_load()
/linux/tools/testing/selftests/bpf/map_tests/
A Dsk_storage_map.c132 .str_off = sizeof(btf_raw_types), in load_btf()
/linux/arch/sparc/kernel/
A Dds.c419 __u32 str_off; member
/linux/tools/testing/selftests/bpf/
A Dtest_verifier.c641 .str_off = sizeof(btf_raw_types), in load_btf()
/linux/kernel/bpf/
A Dbtf.c1445 __btf_verifier_log(log, "str_off: %u\n", hdr->str_off); in btf_verifier_log_hdr()
4277 start = btf->nohdr_data + hdr->str_off; in btf_parse_str_sec()
4303 offsetof(struct btf_header, str_off),
/linux/Documentation/bpf/
A Dbtf.rst49 __u32 str_off; /* offset of string section */

Completed in 67 milliseconds