Home
last modified time | relevance | path

Searched refs:SOCK_INODE (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_netlink.c9 static __attribute__((noinline)) struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() function
53 /* FIXME: container_of inside SOCK_INODE has a forced in dump_netlink()
57 inode = SOCK_INODE(sk); in dump_netlink()
/linux/net/x25/
H A Dx25_proc.c107 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in x25_seq_socket_show()
/linux/net/mptcp/
H A Dsubflow.c1679 iput(SOCK_INODE(sf)); in __mptcp_subflow_connect()
1792 SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino; in mptcp_subflow_create_socket()
1793 SOCK_INODE(sf)->i_uid = SOCK_INODE(sk->sk_socket)->i_uid; in mptcp_subflow_create_socket()
1794 SOCK_INODE(sf)->i_gid = SOCK_INODE(sk->sk_socket)->i_gid; in mptcp_subflow_create_socket()
H A Dprotocol.c90 iput(SOCK_INODE(ssock)); in __mptcp_socket_create()
3616 sk->sk_uid = SOCK_INODE(parent)->i_uid; in mptcp_sock_graft()
/linux/net/
H A Dsocket.c468 file = alloc_file_pseudo(SOCK_INODE(sock), sock_mnt, dname, in sock_alloc_file()
479 stream_open(SOCK_INODE(sock), file); in sock_alloc_file()
652 iput(SOCK_INODE(sock)); in __sock_release()
/linux/include/net/
H A Dsock.h1486 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() function
2039 sk->sk_uid = SOCK_INODE(parent)->i_uid; in sock_graft()
/linux/security/selinux/
H A Dhooks.c4661 struct inode_security_struct *isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_post_create()
4966 isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_accept()
4972 newisec = inode_security_novalidate(SOCK_INODE(newsock)); in selinux_socket_accept()
5241 isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_getpeersec_dgram()
5297 inode_security_novalidate(SOCK_INODE(parent)); in selinux_sock_graft()
/linux/net/core/
H A Dsock.c2697 uid = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_uid : GLOBAL_ROOT_UID; in sock_i_uid()
2708 ino = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_ino : 0; in __sock_i_ino()
3615 SOCK_INODE(sock)->i_uid : in sock_init_data()
/linux/include/trace/events/
H A Dsunrpc.h860 struct inode *inode = SOCK_INODE(socket);
915 struct inode *inode = SOCK_INODE(socket);
/linux/net/netrom/
H A Daf_netrom.c1332 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in nr_info_show()
/linux/net/rose/
H A Daf_rose.c1491 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in rose_info_show()
/linux/net/smc/
H A Daf_smc.c3431 smcsock->file->f_inode = SOCK_INODE(smcsock); /* replace inode when sock_close */ in smc_ulp_init()
3432 smcsock->file->f_path.dentry->d_inode = SOCK_INODE(smcsock); /* dput() in __fput */ in smc_ulp_init()
/linux/net/unix/
H A Daf_unix.c1258 (SOCK_INODE(sk->sk_socket)->i_mode & ~current_umask()); in unix_bind_bsd()