Searched refs:bpf_ksock (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | ksock_common.h | 12 struct bpf_ksock *bpf_ksock_create(const struct bpf_ksock_create_opts *opts, 14 int bpf_ksock_connect(struct bpf_ksock *ks, const union bpf_ksock_addr *addr, 16 struct bpf_ksock *bpf_ksock_acquire(struct bpf_ksock *ks) __ksym; 17 void bpf_ksock_release(struct bpf_ksock *ks) __ksym; 18 int bpf_ksock_send(struct bpf_ksock *ks, const void *data, u32 data__sz) __ksym; 23 struct bpf_ksock __kptr * ctx; 40 static inline struct bpf_ksock *ksock_ctx_get(void) in ksock_ctx_get() 43 struct bpf_ksock *ks = NULL, *tmp; in ksock_ctx_get() 58 static inline int ksock_ctx_insert(struct bpf_ksock *ctx) in ksock_ctx_insert() 61 struct bpf_ksock *old; in ksock_ctx_insert()
|
| H A D | ksock_lsm.c | 23 struct bpf_ksock *ks; in ksock_setup() 54 struct bpf_ksock *ks; in BPF_PROG()
|
| H A D | ksock_lsm_verifier.c | 19 struct bpf_ksock *ks; in BPF_PROG()
|
| H A D | ksock_wq.c | 32 struct bpf_ksock *ks; in ksock_wq_callback()
|
| /linux/net/core/ |
| H A D | bpf_ksock.c | 25 struct bpf_ksock { struct 33 struct bpf_ksock *ks; in ksock_release_work_fn() argument 35 ks = container_of(to_rcu_work(work), struct bpf_ksock, rwork); in ksock_release_work_fn() 68 __bpf_kfunc struct bpf_ksock * 73 struct bpf_ksock *ks; in bpf_ksock_create() 161 __bpf_kfunc int bpf_ksock_connect(struct bpf_ksock *ks, in bpf_ksock_connect() 199 __bpf_kfunc struct bpf_ksock *bpf_ksock_acquire(struct bpf_ksock *ks) in bpf_ksock_acquire() 213 __bpf_kfunc void bpf_ksock_release(struct bpf_ksock *ks) in bpf_ksock_release() 238 __bpf_kfunc int bpf_ksock_send(struct bpf_ksock *ks, const void *data, in bpf_ksock_send() 304 BTF_ID(struct, bpf_ksock) in BTF_ID() argument
|
| H A D | Makefile | 48 obj-$(CONFIG_BPF_SYSCALL) += bpf_ksock.o
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 4576 BTF_ID(struct, bpf_ksock) in BTF_ID()
|