Lines Matching refs:bpf_sockopt_kern
1742 static int sockopt_alloc_buf(struct bpf_sockopt_kern *ctx, int max_optlen, in sockopt_alloc_buf()
1773 static void sockopt_free_buf(struct bpf_sockopt_kern *ctx, in sockopt_free_buf()
1781 static bool sockopt_buf_allocated(struct bpf_sockopt_kern *ctx, in sockopt_buf_allocated()
1793 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_setsockopt()
1878 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt()
1947 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt_kern()
2261 BPF_CALL_1(bpf_get_netns_cookie_sockopt, struct bpf_sockopt_kern *, ctx) in BPF_CALL_1() argument
2380 T(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F), \
2382 offsetof(struct bpf_sockopt_kern, F))
2425 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2426 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2428 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()
2436 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2438 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2440 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()