Lines Matching refs:ctx_size_in
721 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_raw_tp() local
732 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_raw_tp()
733 ctx_size_in > MAX_BPF_FUNC_ARGS * sizeof(u64)) in bpf_prog_test_run_raw_tp()
739 if (ctx_size_in) { in bpf_prog_test_run_raw_tp()
740 info.ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_raw_tp()
778 u32 size = kattr->test.ctx_size_in; in bpf_ctx_init()
1474 __u32 ctx_size_in = kattr->test.ctx_size_in; in bpf_prog_test_run_syscall() local
1486 if (ctx_size_in < prog->aux->max_ctx_offset || in bpf_prog_test_run_syscall()
1487 ctx_size_in > U16_MAX) in bpf_prog_test_run_syscall()
1490 if (ctx_size_in) { in bpf_prog_test_run_syscall()
1491 ctx = memdup_user(ctx_in, ctx_size_in); in bpf_prog_test_run_syscall()
1504 if (ctx_size_in) in bpf_prog_test_run_syscall()
1505 if (copy_to_user(ctx_in, ctx, ctx_size_in)) in bpf_prog_test_run_syscall()