Home
last modified time | relevance | path

Searched refs:func_cnt (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-misc/usb-ctrl/
H A Dusb-ctrl234 local func_cnt
237 func_cnt=$(find "$GADGET_BASE/${name}/functions/" -maxdepth 1 -mindepth 1 | wc -l)
247 if [ "${func_cnt}" -gt 1 ]; then
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c746 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 …]
/openbmc/linux/kernel/bpf/
H A Dsyscall.c2783 __bpf_prog_put_noref(prog, prog->aux->func_cnt); in bpf_prog_load()
4489 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd()
4493 for (i = 0; i < prog->aux->func_cnt; i++) in bpf_prog_get_info_by_fd()
4507 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd()
4512 for (i = 0; i < prog->aux->func_cnt; i++) { in bpf_prog_get_info_by_fd()
4533 info.nr_jited_ksyms = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd()
4545 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd()
4564 info.nr_jited_func_lens = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd()
4573 if (prog->aux->func_cnt) { in bpf_prog_get_info_by_fd()
4644 info.nr_prog_tags = prog->aux->func_cnt ? : 1; in bpf_prog_get_info_by_fd()
[all …]
H A Dcore.c550 for (i = 0; i < fp->aux->func_cnt; i++) in bpf_prog_kallsyms_del_subprogs()
1228 off >= 0 && off < prog->aux->func_cnt) in bpf_jit_get_func_addr()
2762 for (i = 0; i < aux->func_cnt; i++) { in bpf_prog_free_deferred()
2770 if (aux->func_cnt) { in bpf_prog_free_deferred()
H A Dverifier.c18614 func[i]->aux->func_cnt = env->subprog_cnt; in jit_subprogs()
18660 prog->aux->func_cnt = env->subprog_cnt; in jit_subprogs()
/openbmc/linux/Documentation/bpf/
H A Ddrgn.rst134 .func_cnt = (u32)0,
/openbmc/linux/include/linux/
H A Dbpf.h1412 u32 func_cnt; /* used by non-func prog as the number of func progs */ member
/openbmc/linux/kernel/events/
H A Dcore.c9321 for (i = 1; i < prog->aux->func_cnt; i++) { in perf_event_bpf_emit_ksymbols()