Searched refs:str_off_ptr (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | btf.c | 3020 typedef int (*str_off_fn_t)(__u32 *str_off_ptr, void *ctx); 3140 static int btf_str_mark_as_used(__u32 *str_off_ptr, void *ctx) in btf_str_mark_as_used() argument 3145 if (*str_off_ptr == 0) in btf_str_mark_as_used() 3149 s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, in btf_str_mark_as_used() 3157 static int btf_str_remap_offset(__u32 *str_off_ptr, void *ctx) in btf_str_remap_offset() argument 3162 if (*str_off_ptr == 0) in btf_str_remap_offset() 3166 s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, in btf_str_remap_offset() 3170 *str_off_ptr = s->new_off; in btf_str_remap_offset()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | btf.c | 3298 static int strs_dedup_remap_str_off(__u32 *str_off_ptr, void *ctx) in strs_dedup_remap_str_off() argument 3301 __u32 str_off = *str_off_ptr; in strs_dedup_remap_str_off() 3313 *str_off_ptr = err; in strs_dedup_remap_str_off() 3324 *str_off_ptr = d->btf->start_str_off + off; in strs_dedup_remap_str_off()
|
Completed in 11 milliseconds