Searched refs:func_cnt (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.c | 746 unsigned int func_cnt = 0; in samsung_pinctrl_create_functions() local 760 ++func_cnt; in samsung_pinctrl_create_functions() 768 ++func_cnt; in samsung_pinctrl_create_functions() 772 functions = devm_kcalloc(dev, func_cnt, sizeof(*functions), in samsung_pinctrl_create_functions() 782 func_cnt = 0; in samsung_pinctrl_create_functions() 795 ++func_cnt; in samsung_pinctrl_create_functions() 810 ++func_cnt; in samsung_pinctrl_create_functions() 815 *cnt = func_cnt; in samsung_pinctrl_create_functions() 831 unsigned int grp_cnt = 0, func_cnt = 0; in samsung_pinctrl_parse_dt() local 839 functions = samsung_pinctrl_create_functions(dev, drvdata, &func_cnt); in samsung_pinctrl_parse_dt() [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.c | 746 unsigned int func_cnt = 0; in samsung_pinctrl_create_functions() local 760 ++func_cnt; in samsung_pinctrl_create_functions() 768 ++func_cnt; in samsung_pinctrl_create_functions() 772 functions = devm_kcalloc(dev, func_cnt, sizeof(*functions), in samsung_pinctrl_create_functions() 782 func_cnt = 0; in samsung_pinctrl_create_functions() 795 ++func_cnt; in samsung_pinctrl_create_functions() 810 ++func_cnt; in samsung_pinctrl_create_functions() 815 *cnt = func_cnt; in samsung_pinctrl_create_functions() 831 unsigned int grp_cnt = 0, func_cnt = 0; in samsung_pinctrl_parse_dt() local 839 functions = samsung_pinctrl_create_functions(dev, drvdata, &func_cnt); in samsung_pinctrl_parse_dt() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | syscall.c | 2277 __bpf_prog_put_noref(prog, prog->aux->func_cnt); in bpf_prog_load() 3525 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 3529 for (i = 0; i < prog->aux->func_cnt; i++) in bpf_prog_get_info_by_fd() 3543 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 3548 for (i = 0; i < prog->aux->func_cnt; i++) { in bpf_prog_get_info_by_fd() 3569 info.nr_jited_ksyms = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd() 3581 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 3600 info.nr_jited_func_lens = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd() 3609 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 3676 info.nr_prog_tags = prog->aux->func_cnt in bpf_prog_get_info_by_fd() [all...] |
H A D | core.c | 518 for (i = 0; i < fp->aux->func_cnt; i++) in bpf_prog_kallsyms_del_subprogs() 949 off >= 0 && off < prog->aux->func_cnt) in bpf_jit_get_func_addr() 2198 for (i = 0; i < aux->func_cnt; i++) { in bpf_prog_free_deferred() 2206 if (aux->func_cnt) { in bpf_prog_free_deferred()
|
H A D | verifier.c | 11515 func[i]->aux->func_cnt = env->subprog_cnt; in jit_subprogs() 11556 prog->aux->func_cnt = env->subprog_cnt; in jit_subprogs()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | syscall.c | 2780 __bpf_prog_put_noref(prog, prog->aux->func_cnt); in bpf_prog_load() 4414 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 4418 for (i = 0; i < prog->aux->func_cnt; i++) in bpf_prog_get_info_by_fd() 4432 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 4437 for (i = 0; i < prog->aux->func_cnt; i++) { in bpf_prog_get_info_by_fd() 4458 info.nr_jited_ksyms = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd() 4470 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 4489 info.nr_jited_func_lens = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd() 4498 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd() 4569 info.nr_prog_tags = prog->aux->func_cnt in bpf_prog_get_info_by_fd() [all...] |
H A D | core.c | 546 for (i = 0; i < fp->aux->func_cnt; i++) in bpf_prog_kallsyms_del_subprogs() 1224 off >= 0 && off < prog->aux->func_cnt) in bpf_jit_get_func_addr() 2737 for (i = 0; i < aux->func_cnt; i++) { in bpf_prog_free_deferred() 2745 if (aux->func_cnt) { in bpf_prog_free_deferred()
|
H A D | verifier.c | 18583 func[i]->aux->func_cnt = env->subprog_cnt; in jit_subprogs() 18629 prog->aux->func_cnt = env->subprog_cnt; in jit_subprogs()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | bpf.h | 849 u32 func_cnt; /* used by non-func prog as the number of func progs */ member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | bpf.h | 1398 u32 func_cnt; /* used by non-func prog as the number of func progs */ member
|
/kernel/linux/linux-5.10/kernel/events/ |
H A D | core.c | 8807 if (prog->aux->func_cnt == 0) { in perf_event_bpf_emit_ksymbols() 8813 for (i = 0; i < prog->aux->func_cnt; i++) { in perf_event_bpf_emit_ksymbols()
|
/kernel/linux/linux-6.6/kernel/events/ |
H A D | core.c | 9261 if (prog->aux->func_cnt == 0) { in perf_event_bpf_emit_ksymbols() 9267 for (i = 0; i < prog->aux->func_cnt; i++) { in perf_event_bpf_emit_ksymbols()
|
Completed in 97 milliseconds