Lines Matching refs:nr_args
3425 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local
3428 if (!nr_args) { in btf_func_proto_log()
3433 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
3442 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
3447 if (nr_args > 1) { in btf_func_proto_log()
3448 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
3810 u16 nr_args, i; in btf_func_proto_check() local
3815 nr_args = btf_type_vlen(t); in btf_func_proto_check()
3841 if (!nr_args) in btf_func_proto_check()
3845 if (!args[nr_args - 1].type) { in btf_func_proto_check()
3846 if (args[nr_args - 1].name_off) { in btf_func_proto_check()
3848 nr_args); in btf_func_proto_check()
3851 nr_args--; in btf_func_proto_check()
3855 for (i = 0; i < nr_args; i++) { in btf_func_proto_check()
3899 u16 nr_args, i; in btf_func_check() local
3910 nr_args = btf_type_vlen(proto_type); in btf_func_check()
3911 for (i = 0; i < nr_args; i++) { in btf_func_check()
4712 u32 nr_args, arg; in btf_ctx_access() local
4725 nr_args = t ? btf_type_vlen(t) : MAX_BPF_FUNC_REG_ARGS; in btf_ctx_access()
4729 nr_args--; in btf_ctx_access()
4732 if (arg > nr_args) { in btf_ctx_access()
4738 if (arg == nr_args) { in btf_ctx_access()
5242 m->nr_args = MAX_BPF_FUNC_REG_ARGS; in btf_distill_func_proto()
5284 m->nr_args = nargs; in btf_distill_func_proto()