Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 8 of 8) sorted by relevance

/kernel/
Dauditsc.c1380 int nargs = context->socketcall.nargs; in show_special() local
1382 audit_log_format(ab, "nargs=%d", nargs); in show_special()
1383 for (i = 0; i < nargs; i++) in show_special()
2674 int __audit_socketcall(int nargs, unsigned long *args) in __audit_socketcall() argument
2678 if (nargs <= 0 || nargs > AUDITSC_ARGS || !args) in __audit_socketcall()
2681 context->socketcall.nargs = nargs; in __audit_socketcall()
2682 memcpy(context->socketcall.args, args, nargs * sizeof(unsigned long)); in __audit_socketcall()
Daudit.h156 int nargs; member
/kernel/bpf/
Dbtf.c6557 u32 i, nargs; in btf_distill_func_proto() local
6574 nargs = btf_type_vlen(func); in btf_distill_func_proto()
6575 if (nargs > MAX_BPF_FUNC_ARGS) { in btf_distill_func_proto()
6578 tname, nargs); in btf_distill_func_proto()
6591 for (i = 0; i < nargs; i++) { in btf_distill_func_proto()
6592 if (i == nargs - 1 && args[i].type == 0) { in btf_distill_func_proto()
6616 m->nr_args = nargs; in btf_distill_func_proto()
6773 u32 i, nargs, ref_id; in btf_check_func_arg_match() local
6793 nargs = btf_type_vlen(t); in btf_check_func_arg_match()
6794 if (nargs > MAX_BPF_FUNC_REG_ARGS) { in btf_check_func_arg_match()
[all …]
Dverifier.c10779 int argno, int nargs) in get_kfunc_ptr_arg_type() argument
10834 if (argno + 1 < nargs && in get_kfunc_ptr_arg_type()
11284 u32 i, nargs; in check_kfunc_args() local
11288 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()
11289 if (nargs > MAX_BPF_FUNC_REG_ARGS) { in check_kfunc_args()
11290 verbose(env, "Function %s has %d > %d args\n", func_name, nargs, in check_kfunc_args()
11298 for (i = 0; i < nargs; i++) { in check_kfunc_args()
11383 kf_arg_type = get_kfunc_ptr_arg_type(env, meta, t, ref_t, ref_tname, args, i, nargs); in check_kfunc_args()
11733 u32 i, nargs, ptr_type_id, release_ref_obj_id; in check_kfunc_call() local
12053 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call()
[all …]
/kernel/trace/
Dtrace_eprobe.c197 int nargs) in alloc_event_probe() argument
210 ep = kzalloc(struct_size(ep, tp.args, nargs), GFP_KERNEL); in alloc_event_probe()
Dtrace_fprobe.c371 int nargs, bool is_return) in alloc_trace_fprobe() argument
376 tf = kzalloc(struct_size(tf, tp.args, nargs), GFP_KERNEL); in alloc_trace_fprobe()
Dtrace_uprobe.c331 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument
336 tu = kzalloc(struct_size(tu, tp.args, nargs), GFP_KERNEL); in alloc_trace_uprobe()
Dtrace_kprobe.c262 int nargs, bool is_return) in alloc_trace_kprobe() argument
267 tk = kzalloc(struct_size(tk, tp.args, nargs), GFP_KERNEL); in alloc_trace_kprobe()