Lines Matching refs:nr_args

4301 	u16 nr_args = btf_type_vlen(t), i;  in btf_func_proto_log()  local
4304 if (!nr_args) { in btf_func_proto_log()
4309 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
4318 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
4323 if (nr_args > 1) { in btf_func_proto_log()
4324 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
4806 u16 nr_args, i; in btf_func_proto_check() local
4811 nr_args = btf_type_vlen(t); in btf_func_proto_check()
4842 if (!nr_args) in btf_func_proto_check()
4846 if (!args[nr_args - 1].type) { in btf_func_proto_check()
4847 if (args[nr_args - 1].name_off) { in btf_func_proto_check()
4849 nr_args); in btf_func_proto_check()
4852 nr_args--; in btf_func_proto_check()
4855 for (i = 0; i < nr_args; i++) { in btf_func_proto_check()
4901 u16 nr_args, i; in btf_func_check() local
4912 nr_args = btf_type_vlen(proto_type); in btf_func_check()
4913 for (i = 0; i < nr_args; i++) { in btf_func_check()
5887 u32 offset = 0, nr_args; in get_ctx_arg_idx() local
5893 nr_args = btf_type_vlen(func_proto); in get_ctx_arg_idx()
5895 for (i = 0; i < nr_args; i++) { in get_ctx_arg_idx()
5905 return nr_args; in get_ctx_arg_idx()
5907 return nr_args + 1; in get_ctx_arg_idx()
5937 u32 nr_args, arg; in btf_ctx_access() local
5950 nr_args = t ? btf_type_vlen(t) : MAX_BPF_FUNC_REG_ARGS; in btf_ctx_access()
5954 nr_args--; in btf_ctx_access()
5957 if (arg > nr_args) { in btf_ctx_access()
5963 if (arg == nr_args) { in btf_ctx_access()
6569 m->nr_args = MAX_BPF_FUNC_REG_ARGS; in btf_distill_func_proto()
6615 m->nr_args = nargs; in btf_distill_func_proto()
7580 u32 nr_args; in BTF_ID_LIST_GLOBAL() local
7587 nr_args = btf_type_vlen(func); in BTF_ID_LIST_GLOBAL()
7588 if (nr_args < 1) in BTF_ID_LIST_GLOBAL()
7625 if (!(flags & KF_ITER_NEW) && nr_args != 1) in BTF_ID_LIST_GLOBAL()
7957 u32 nr_args, i; in btf_check_dtor_kfuncs() local
7975 nr_args = btf_type_vlen(dtor_func_proto); in btf_check_dtor_kfuncs()
7976 if (nr_args != 1) in btf_check_dtor_kfuncs()