Home
last modified time | relevance | path

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

/linux/scripts/livepatch/
H A Dinit.c46 unsigned int nr_funcs = obj_ext->nr_funcs; in livepatch_mod_init() local
50 funcs = kzalloc(sizeof(struct klp_func) * (nr_funcs + 1), GFP_KERNEL); in livepatch_mod_init()
58 for (int j = 0; j < nr_funcs; j++) { in livepatch_mod_init()
/linux/tools/objtool/
H A Dklp-diff.c2000 unsigned int nr_funcs = 0;
2057 unsigned long offset = nr_funcs * func_size;
2094 nr_funcs++;
2097 /* klp_object_ext.nr_funcs */
2098 BUILD_BUG_ON(sizeof(nr_funcs) != sizeof_field(struct klp_object_ext, nr_funcs));
2099 memcpy(obj_data + offsetof(struct klp_object_ext, nr_funcs), &nr_funcs,
2100 sizeof_field(struct klp_object_ext, nr_funcs));
1580 unsigned int nr_funcs = 0; create_klp_sections() local
/linux/tools/bpf/resolve_btfids/
H A Dmain.c165 int nr_funcs; member
632 obj->nr_funcs++; in symbols_collect()
721 int nr_funcs = obj->nr_funcs; in symbols_resolve() local
746 if (btf_is_func(type) && nr_funcs) { in symbols_resolve()
747 nr = &nr_funcs; in symbols_resolve()