Lines Matching refs:nr_args
3306 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local
3309 if (!nr_args) { in btf_func_proto_log()
3314 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
3323 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
3328 if (nr_args > 1) { in btf_func_proto_log()
3329 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
3621 u16 nr_args, i; in btf_func_proto_check() local
3626 nr_args = btf_type_vlen(t); in btf_func_proto_check()
3652 if (!nr_args) in btf_func_proto_check()
3656 if (!args[nr_args - 1].type) { in btf_func_proto_check()
3657 if (args[nr_args - 1].name_off) { in btf_func_proto_check()
3659 nr_args); in btf_func_proto_check()
3662 nr_args--; in btf_func_proto_check()
3666 for (i = 0; i < nr_args; i++) { in btf_func_proto_check()
3710 u16 nr_args, i; in btf_func_check() local
3721 nr_args = btf_type_vlen(proto_type); in btf_func_check()
3722 for (i = 0; i < nr_args; i++) { in btf_func_check()
4438 u32 nr_args, arg; in btf_ctx_access() local
4449 nr_args = t ? btf_type_vlen(t) : 5; in btf_ctx_access()
4453 nr_args--; in btf_ctx_access()
4456 if (arg > nr_args) { in btf_ctx_access()
4462 if (arg == nr_args) { in btf_ctx_access()
4942 m->nr_args = 5; in btf_distill_func_proto()
4972 m->nr_args = nargs; in btf_distill_func_proto()