Lines Matching refs:bpf_sockopt_kern
1743 static int sockopt_alloc_buf(struct bpf_sockopt_kern *ctx, int max_optlen, in sockopt_alloc_buf()
1774 static void sockopt_free_buf(struct bpf_sockopt_kern *ctx, in sockopt_free_buf()
1782 static bool sockopt_buf_allocated(struct bpf_sockopt_kern *ctx, in sockopt_buf_allocated()
1794 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_setsockopt()
1885 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt()
1966 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt_kern()
2282 BPF_CALL_1(bpf_get_netns_cookie_sockopt, struct bpf_sockopt_kern *, ctx) in BPF_CALL_1() argument
2401 BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F), \
2403 offsetof(struct bpf_sockopt_kern, F))
2406 BPF_RAW_INSN((BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F) | \
2409 offsetof(struct bpf_sockopt_kern, F), \
2453 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2454 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2456 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()
2466 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2468 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2470 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()