Searched refs:socket_alloc (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_netlink.c | 11 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()
|
H A D | bpf_iter_unix.c | 19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | bpf_iter_udp4.c | 19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | bpf_iter_udp6.c | 26 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | lsm_cgroup.c | 148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG() argument
|
H A D | bpf_iter_tcp4.c | 58 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | bpf_iter_tcp6.c | 58 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 103 alloc_prog_fd = bpf_program__fd(skel->progs.socket_alloc); in test_lsm_cgroup_functional()
|
/linux/net/ |
H A D | socket.c | 305 struct socket_alloc *ei; in sock_alloc_inode() 325 struct socket_alloc *ei; in sock_free_inode() 327 ei = container_of(inode, struct socket_alloc, vfs_inode); in sock_free_inode() 333 struct socket_alloc *ei = (struct socket_alloc *)foo; in init_once() 341 sizeof(struct socket_alloc), in init_inodecache()
|
/linux/include/net/ |
H A D | sock.h | 1470 struct socket_alloc { struct 1477 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I() argument 1482 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()
|