Searched refs:arg_no (Results 1 – 3 of 3) sorted by relevance
| /linux/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 100 for (u32 arg_no = 0; arg_no < btf_type_vlen(func_proto) ; ++arg_no) { in check_test_run_args() local 101 const struct btf_param *param = &btf_params(func_proto)[arg_no]; in check_test_run_args() 106 if (args->args[arg_no] != 0) in check_test_run_args() 116 offset = btf_ctx_arg_offset(bpf_dummy_ops_btf, func_proto, arg_no); in check_test_run_args()
|
| /linux/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 181 u32 nargs, arg_no, info_cnt = 0; in prepare_arg_info() local 227 for (arg_no = 0; arg_no < nargs; arg_no++) { in prepare_arg_info() 231 is_nullable = btf_param_match_suffix(btf, &stub_args[arg_no], in prepare_arg_info() 233 is_refcounted = btf_param_match_suffix(btf, &stub_args[arg_no], in prepare_arg_info() 245 args[arg_no].type, in prepare_arg_info() 254 offset = btf_ctx_arg_offset(btf, func_proto, arg_no); in prepare_arg_info() 257 stub_fname, arg_no); in prepare_arg_info() 261 if (args[arg_no].type != stub_args[arg_no].type) { in prepare_arg_info() 263 arg_no, stub_fname); in prepare_arg_info()
|
| H A D | btf.c | 6572 u32 arg_no) in btf_ctx_arg_offset() argument 6580 for (i = 0; i < arg_no; i++) { in btf_ctx_arg_offset()
|