Searched refs:socket_alloc (Results 1 - 17 of 17) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_netlink.c | 12 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()
|
H A D | bpf_iter_udp6.c | 27 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | bpf_iter_udp4.c | 20 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | bpf_iter_tcp4.c | 59 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | bpf_iter_tcp6.c | 59 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
/kernel/linux/linux-6.6/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_udp6.c | 26 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_unix.c | 19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
|
H A D | lsm_cgroup.c | 144 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG()
|
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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/net/ |
H A D | socket.c | 251 struct socket_alloc *ei; in sock_alloc_inode() 271 struct socket_alloc *ei; in sock_free_inode() 273 ei = container_of(inode, struct socket_alloc, vfs_inode); in sock_free_inode() 279 struct socket_alloc *ei = (struct socket_alloc *)foo; in init_once() 287 sizeof(struct socket_alloc), in init_inodecache()
|
/kernel/linux/linux-6.6/net/ |
H A D | socket.c | 306 struct socket_alloc *ei; in sock_alloc_inode() 326 struct socket_alloc *ei; in sock_free_inode() 328 ei = container_of(inode, struct socket_alloc, vfs_inode); in sock_free_inode() 334 struct socket_alloc *ei = (struct socket_alloc *)foo; in init_once() 342 sizeof(struct socket_alloc), in init_inodecache()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | sock.h | 1468 struct socket_alloc { struct 1475 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I() 1480 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE() 1818 * Assumes struct socket *sock is embedded in a struct socket_alloc.
|
/kernel/linux/linux-6.6/include/net/ |
H A D | sock.h | 1579 struct socket_alloc { struct 1586 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I() 1591 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE() 1956 * Assumes struct socket *sock is embedded in a struct socket_alloc.
|
Completed in 23 milliseconds