Searched refs:nr_funcs (Results 1 – 3 of 3) sorted by relevance
46 unsigned int nr_funcs = obj_ext->nr_funcs; in livepatch_mod_init() local50 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()
2000 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
165 int nr_funcs; member632 obj->nr_funcs++; in symbols_collect()721 int nr_funcs = obj->nr_funcs; in symbols_resolve() local746 if (btf_is_func(type) && nr_funcs) { in symbols_resolve()747 nr = &nr_funcs; in symbols_resolve()