Searched refs:btf_id_cmp_func (Results 1 - 2 of 2) sorted by relevance
/linux-master/include/linux/ |
H A D | btf.h | 481 static inline int btf_id_cmp_func(const void *a, const void *b) function 490 return bsearch(&id, set->ids, set->cnt, sizeof(u32), btf_id_cmp_func) != NULL; 495 return bsearch(&id, set->pairs, set->cnt, sizeof(set->pairs[0]), btf_id_cmp_func);
|
/linux-master/kernel/bpf/ |
H A D | btf.c | 5413 sort(&aof.set.ids, aof.set.cnt, sizeof(aof.set.ids[0]), btf_id_cmp_func, NULL); 5477 return bsearch(&btf_id, tab->types, tab->cnt, sizeof(tab->types[0]), btf_id_cmp_func); 8067 sort(set->pairs, set->cnt, sizeof(set->pairs[0]), btf_id_cmp_func, NULL); 8234 * to compare the first u32 with btf_id, so we can reuse btf_id_cmp_func. 8237 dtor = bsearch(&btf_id, tab->dtors, tab->cnt, sizeof(tab->dtors[0]), btf_id_cmp_func); 8339 sort(tab->dtors, tab->cnt, sizeof(tab->dtors[0]), btf_id_cmp_func, NULL);
|
Completed in 275 milliseconds