函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-27 07:06:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:SOCKET_I

函数原型:static inline struct socket *SOCKET_I(struct inode *inode)

返回类型:struct socket

参数:

类型参数名称
struct inode *inode
1369  返回 & ({
1369  __mptr等于inode
1369  循环
1369  当0循环
1369  __mptr__builtin_offsetof(structsocket_alloc, vfs_inode)
1369  })->socket
调用者
名称描述
smack_inode_getsecuritysmack_inode_getsecurity - get smack xattrs*@inode: the object*@name: attribute name*@buffer: where to put the result*@alloc: duplicate memory* Returns the size of the attribute or an error code
smack_file_receivesmack_file_receive - Smack file receive check*@file: the object* Returns 0 if current has access, error code otherwise
smack_inode_setsecuritysmack_inode_setsecurity - set smack xattrs*@inode: the object*@name: attribute name*@value: attribute value*@size: size of the attribute*@flags: unused* Sets the named attribute in the appropriate blob* Returns 0 on success, or an error code