Function report |
Source Code:fs\posix_acl.c |
Create Date:2022-07-28 20:29:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_acl
Proto:struct posix_acl *get_acl(struct inode *inode, int type)
Type:struct posix_acl
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| int | type |
| 108 | acl = get_cached_acl(inode, type) |
| 109 | If Not is_uncached_acl(acl) Then Return acl |
| 112 | If Not IS_POSIXACL(inode) Then Return NULL |
| 116 | p = acl_by_type(inode, type) |
| 126 | If cmpxchg(p, ACL_NOT_CACHED, sentinel) != ACL_NOT_CACHED Then If Not get_acl Then |
| 138 | set_cached_acl(inode, type, NULL) |
| 139 | Return NULL |
| 148 | cmpxchg(p, sentinel, ACL_NOT_CACHED) |
| 149 | Return acl |
| 156 | If Value for the false possibility is greater at compile time(cmpxchg(p, sentinel, acl) != sentinel) Then Free an ACL handle. |
| 158 | Return acl |
| Name | Describe |
|---|---|
| posix_acl_chmod | |
| posix_acl_create | |
| posix_acl_xattr_get |
| 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 |