Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:SOCK_INODE

Proto:static inline struct inode *SOCK_INODE(struct socket *socket)

Type:struct inode

Parameter:

TypeParameterName
struct socket *socket
1374  Return & ({
1374  __mptr = socket
1374  Do
1374  When 0 cycle
1374  __mptr - __builtin_offsetof(structsocket_alloc, socket)
1374  })->vfs_inode
Caller
NameDescribe
selinux_socket_post_create
selinux_socket_accept
selinux_socket_getpeersec_dgram
selinux_sock_graft