Lines Matching refs:ctx_size_in
758 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local
769 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp()
770 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp()
776 if (ctx_size_in) { in bpf_prog_test_run_raw_tp()
777 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp()
815 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init()
1537 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local
1549 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_syscall()
1550 ctx_size_in > U16_MAX) in bpf_prog_test_run_syscall()
1553 if (ctx_size_in) { in bpf_prog_test_run_syscall()
1554 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall()
1567 if (ctx_size_in) in bpf_prog_test_run_syscall()
1568 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()