Home
last modified time | relevance | path

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

/net/bpf/
Dtest_run.c340 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local
351 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp()
352 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp()
358 if (ctx_size_in) { in bpf_prog_test_run_raw_tp()
359 info.ctx = kzalloc(ctx_size_in, GFP_USER); in bpf_prog_test_run_raw_tp()
362 if (copy_from_user(info.ctx, ctx_in, ctx_size_in)) { in bpf_prog_test_run_raw_tp()
402 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init()
1029 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local
1040 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_syscall()
1041 ctx_size_in > U16_MAX) in bpf_prog_test_run_syscall()
[all …]