Lines Matching refs:bpf_sockopt_kern
1950 static int sockopt_alloc_buf(struct bpf_sockopt_kern *ctx, int max_optlen, in sockopt_alloc_buf()
1981 static void sockopt_free_buf(struct bpf_sockopt_kern *ctx, in sockopt_free_buf()
1989 static bool sockopt_buf_allocated(struct bpf_sockopt_kern *ctx, in sockopt_buf_allocated()
2001 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_setsockopt()
2093 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt()
2176 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt_kern()
2488 BPF_CALL_1(bpf_get_netns_cookie_sockopt, struct bpf_sockopt_kern *, ctx) in BPF_CALL_1() argument
2603 BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F), \
2605 offsetof(struct bpf_sockopt_kern, F))
2608 BPF_RAW_INSN((BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F) | \
2611 offsetof(struct bpf_sockopt_kern, F), \
2655 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2656 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2658 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()
2668 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2670 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2672 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()