Function report |
Source Code:fs\xattr.c |
Create Date:2022-07-28 20:10:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xattr LIST operation for in-memory/pseudo filesystems
Proto:ssize_t simple_xattr_list(struct inode *inode, struct simple_xattrs *xattrs, char *buffer, size_t size)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| struct simple_xattrs * | xattrs | |
| char * | buffer | |
| size_t | size |
| 948 | remaining_size = size |
| 949 | err = 0 |
| 952 | If IS_POSIXACL(inode) Then |
| 953 | If i_acl Then |
| 954 | err = xattr_list_one( & buffer, & remaining_size, XATTR_NAME_POSIX_ACL_ACCESS) |
| 959 | If i_default_acl Then |
| 960 | err = xattr_list_one( & buffer, & remaining_size, XATTR_NAME_POSIX_ACL_DEFAULT) |
| 971 | If Not trusted && xattr_is_trusted(name) Then Continue |
| 974 | err = xattr_list_one( & buffer, & remaining_size, name) |
| 975 | If err Then Break |
| 978 | spin_unlock( & lock) |
| 980 | Return If err Then err Else size - remaining_size |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |