Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dbtf.c1445 typedef int (*str_off_fn_t)(__u32 *str_off_ptr, void *ctx);
1565 static int btf_str_mark_as_used(__u32 *str_off_ptr, void *ctx) in btf_str_mark_as_used() argument
1570 if (*str_off_ptr == 0) in btf_str_mark_as_used()
1574 s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, in btf_str_mark_as_used()
1582 static int btf_str_remap_offset(__u32 *str_off_ptr, void *ctx) in btf_str_remap_offset() argument
1587 if (*str_off_ptr == 0) in btf_str_remap_offset()
1591 s = bsearch(strs->data + *str_off_ptr, strs->ptrs, strs->cnt, in btf_str_remap_offset()
1595 *str_off_ptr = s->new_off; in btf_str_remap_offset()