Lines Matching refs:bpf_sockopt_kern
1773 static int sockopt_alloc_buf(struct bpf_sockopt_kern *ctx, int max_optlen, in sockopt_alloc_buf()
1804 static void sockopt_free_buf(struct bpf_sockopt_kern *ctx, in sockopt_free_buf()
1812 static bool sockopt_buf_allocated(struct bpf_sockopt_kern *ctx, in sockopt_buf_allocated()
1824 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_setsockopt()
1916 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt()
1999 struct bpf_sockopt_kern ctx = { in __cgroup_bpf_run_filter_getsockopt_kern()
2315 BPF_CALL_1(bpf_get_netns_cookie_sockopt, struct bpf_sockopt_kern *, ctx) in BPF_CALL_1() argument
2434 BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F), \
2436 offsetof(struct bpf_sockopt_kern, F))
2439 BPF_RAW_INSN((BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, F) | \
2442 offsetof(struct bpf_sockopt_kern, F), \
2486 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2487 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2489 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()
2499 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2501 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_sockopt_kern, current_task), in cg_sockopt_convert_ctx_access()
2503 offsetof(struct bpf_sockopt_kern, current_task)); in cg_sockopt_convert_ctx_access()