Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_iter_netlink.c9 static __attribute__((noinline)) struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() function
57 inode = SOCK_INODE(sk); in dump_netlink()
/linux-6.1.9/security/apparmor/include/
Dnet.h55 #define SOCK_ctx(X) SOCK_INODE(X)->i_security
/linux-6.1.9/net/mptcp/
Dsubflow.c1544 iput(SOCK_INODE(sf)); in __mptcp_subflow_connect()
1651 SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino; in mptcp_subflow_create_socket()
1652 SOCK_INODE(sf)->i_uid = SOCK_INODE(sk->sk_socket)->i_uid; in mptcp_subflow_create_socket()
1653 SOCK_INODE(sf)->i_gid = SOCK_INODE(sk->sk_socket)->i_gid; in mptcp_subflow_create_socket()
Dprotocol.c2272 iput(SOCK_INODE(msk->subflow)); in mptcp_dispose_initial_subflow()
3411 sk->sk_uid = SOCK_INODE(parent)->i_uid; in mptcp_sock_graft()
/linux-6.1.9/net/x25/
Dx25_proc.c107 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in x25_seq_socket_show()
/linux-6.1.9/net/
Dsocket.c463 file = alloc_file_pseudo(SOCK_INODE(sock), sock_mnt, dname, in sock_alloc_file()
473 stream_open(SOCK_INODE(sock), file); in sock_alloc_file()
662 iput(SOCK_INODE(sock)); in __sock_release()
/linux-6.1.9/net/core/
Dsock.c2543 uid = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_uid : GLOBAL_ROOT_UID; in sock_i_uid()
2554 ino = sk->sk_socket ? SOCK_INODE(sk->sk_socket)->i_ino : 0; in sock_i_ino()
3379 sk->sk_uid = SOCK_INODE(sock)->i_uid; in sock_init_data()
/linux-6.1.9/include/net/
Dsock.h1590 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() function
2104 sk->sk_uid = SOCK_INODE(parent)->i_uid; in sock_graft()
/linux-6.1.9/security/selinux/
Dhooks.c4581 struct inode_security_struct *isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_post_create()
4882 isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_accept()
4888 newisec = inode_security_novalidate(SOCK_INODE(newsock)); in selinux_socket_accept()
5174 isec = inode_security_novalidate(SOCK_INODE(sock)); in selinux_socket_getpeersec_dgram()
5238 inode_security_novalidate(SOCK_INODE(parent)); in selinux_sock_graft()
/linux-6.1.9/include/trace/events/
Dsunrpc.h826 struct inode *inode = SOCK_INODE(socket);
881 struct inode *inode = SOCK_INODE(socket);
/linux-6.1.9/net/netrom/
Daf_netrom.c1322 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in nr_info_show()
/linux-6.1.9/net/rose/
Daf_rose.c1452 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in rose_info_show()
/linux-6.1.9/net/smc/
Daf_smc.c3310 smcsock->file->f_inode = SOCK_INODE(smcsock); /* replace inode when sock_close */ in smc_ulp_init()
3311 smcsock->file->f_path.dentry->d_inode = SOCK_INODE(smcsock); /* dput() in __fput */ in smc_ulp_init()
/linux-6.1.9/net/unix/
Daf_unix.c1189 (SOCK_INODE(sk->sk_socket)->i_mode & ~current_umask()); in unix_bind_bsd()