Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_netlink.c11 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()
H A Dbpf_iter_unix.c19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
H A Dbpf_iter_udp4.c19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
H A Dbpf_iter_udp6.c26 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
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/tools/testing/selftests/bpf/prog_tests/
H A Dlsm_cgroup.c103 alloc_prog_fd = bpf_program__fd(skel->progs.socket_alloc); in test_lsm_cgroup_functional()
/linux/net/
H A Dsocket.c305 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 Dsock.h1470 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()