• Home
  • Raw
  • Download

Lines Matching refs:nr_args

3928 	u16 nr_args = btf_type_vlen(t), i;  in btf_func_proto_log()  local
3931 if (!nr_args) { in btf_func_proto_log()
3936 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
3945 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
3950 if (nr_args > 1) { in btf_func_proto_log()
3951 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
4433 u16 nr_args, i; in btf_func_proto_check() local
4438 nr_args = btf_type_vlen(t); in btf_func_proto_check()
4469 if (!nr_args) in btf_func_proto_check()
4473 if (!args[nr_args - 1].type) { in btf_func_proto_check()
4474 if (args[nr_args - 1].name_off) { in btf_func_proto_check()
4476 nr_args); in btf_func_proto_check()
4479 nr_args--; in btf_func_proto_check()
4483 for (i = 0; i < nr_args; i++) { in btf_func_proto_check()
4532 u16 nr_args, i; in btf_func_check() local
4543 nr_args = btf_type_vlen(proto_type); in btf_func_check()
4544 for (i = 0; i < nr_args; i++) { in btf_func_check()
5357 u32 offset = 0, nr_args; in get_ctx_arg_idx() local
5363 nr_args = btf_type_vlen(func_proto); in get_ctx_arg_idx()
5365 for (i = 0; i < nr_args; i++) { in get_ctx_arg_idx()
5375 return nr_args; in get_ctx_arg_idx()
5377 return nr_args + 1; in get_ctx_arg_idx()
5391 u32 nr_args, arg; in btf_ctx_access() local
5404 nr_args = t ? btf_type_vlen(t) : MAX_BPF_FUNC_REG_ARGS; in btf_ctx_access()
5408 nr_args--; in btf_ctx_access()
5411 if (arg > nr_args) { in btf_ctx_access()
5417 if (arg == nr_args) { in btf_ctx_access()
5958 m->nr_args = MAX_BPF_FUNC_REG_ARGS; in btf_distill_func_proto()
6003 m->nr_args = nargs; in btf_distill_func_proto()
7525 u32 nr_args, i; in btf_check_dtor_kfuncs() local
7543 nr_args = btf_type_vlen(dtor_func_proto); in btf_check_dtor_kfuncs()
7544 if (nr_args != 1) in btf_check_dtor_kfuncs()