Searched refs:nr_funcs (Results 1 – 4 of 4) sorted by relevance
| /linux/scripts/livepatch/ |
| H A D | init.c | 46 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/drivers/pinctrl/ |
| H A D | pinctrl-equilibrium.c | 585 unsigned int nr_funcs, unsigned int *idx) in is_func_exist() argument 592 for (i = 0; i < nr_funcs; i++) { in is_func_exist() 603 unsigned int *nr_funcs, funcs_util_ops op) in funcs_utils() argument 627 if (!is_func_exist(funcs, fn_name, *nr_funcs, &fid)) in funcs_utils() 628 *nr_funcs = *nr_funcs + 1; in funcs_utils() 632 if (!is_func_exist(funcs, fn_name, *nr_funcs, &fid)) in funcs_utils() 637 if (is_func_exist(funcs, fn_name, *nr_funcs, &fid)) in funcs_utils() 642 if (is_func_exist(funcs, fn_name, *nr_funcs, &fid)) { in funcs_utils() 664 unsigned int nr_funcs = 0; in eqbr_build_functions() local 667 ret = funcs_utils(dev, funcs, &nr_funcs, OP_COUNT_NR_FUNCS); in eqbr_build_functions() [all …]
|
| /linux/tools/objtool/ |
| H A D | klp-diff.c | 1492 unsigned int nr_funcs = 0; in create_klp_sections() local 1549 unsigned long offset = nr_funcs * func_size; in create_klp_sections() 1585 nr_funcs++; in create_klp_sections() 1589 BUILD_BUG_ON(sizeof(nr_funcs) != sizeof_field(struct klp_object_ext, nr_funcs)); in create_klp_sections() 1590 memcpy(obj_data + offsetof(struct klp_object_ext, nr_funcs), &nr_funcs, in create_klp_sections() 1591 sizeof_field(struct klp_object_ext, nr_funcs)); in create_klp_sections()
|
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 149 int nr_funcs; member 540 obj->nr_funcs++; in symbols_collect() 622 int nr_funcs = obj->nr_funcs; in symbols_resolve() local 647 if (btf_is_func(type) && nr_funcs) { in symbols_resolve() 648 nr = &nr_funcs; in symbols_resolve()
|