Home
last modified time | relevance | path

Searched refs:socket_alloc (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dlsm_cgroup.c148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG() argument
H A Dbpf_iter_tcp4.c58 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
H A Dbpf_iter_tcp6.c58 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
/linux/net/
H A Dsocket.c307 struct socket_alloc *ei; in sock_alloc_inode()
327 struct socket_alloc *ei; in sock_free_inode()
329 ei = container_of(inode, struct socket_alloc, vfs_inode); in sock_free_inode()
335 struct socket_alloc *ei = (struct socket_alloc *)foo; in init_once()
343 sizeof(struct socket_alloc), in init_inodecache()
/linux/include/net/
H A Dsock.h1490 struct socket_alloc { struct
1497 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I() argument
1502 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()