Home
last modified time | relevance | path

Searched refs:i_acl (Results 1 – 19 of 19) sorted by relevance

/fs/ext2/
Dacl.c129 ext2_iget_acl(struct inode *inode, struct posix_acl **i_acl) in ext2_iget_acl() argument
134 if (*i_acl != EXT2_ACL_NOT_CACHED) in ext2_iget_acl()
135 acl = posix_acl_dup(*i_acl); in ext2_iget_acl()
142 ext2_iset_acl(struct inode *inode, struct posix_acl **i_acl, in ext2_iset_acl() argument
146 if (*i_acl != EXT2_ACL_NOT_CACHED) in ext2_iset_acl()
147 posix_acl_release(*i_acl); in ext2_iset_acl()
148 *i_acl = posix_acl_dup(acl); in ext2_iset_acl()
169 acl = ext2_iget_acl(inode, &ei->i_acl); in ext2_get_acl()
203 ext2_iset_acl(inode, &ei->i_acl, acl); in ext2_get_acl()
269 ext2_iset_acl(inode, &ei->i_acl, acl); in ext2_set_acl()
Dext2.h51 struct posix_acl *i_acl; member
Dsuper.c150 ei->i_acl = EXT2_ACL_NOT_CACHED; in ext2_alloc_inode()
198 if (ei->i_acl && ei->i_acl != EXT2_ACL_NOT_CACHED) { in ext2_clear_inode()
199 posix_acl_release(ei->i_acl); in ext2_clear_inode()
200 ei->i_acl = EXT2_ACL_NOT_CACHED; in ext2_clear_inode()
Dinode.c1208 ei->i_acl = EXT2_ACL_NOT_CACHED; in ext2_iget()
/fs/ext4/
Dacl.c130 ext4_iget_acl(struct inode *inode, struct posix_acl **i_acl) in ext4_iget_acl() argument
135 if (*i_acl != EXT4_ACL_NOT_CACHED) in ext4_iget_acl()
136 acl = posix_acl_dup(*i_acl); in ext4_iget_acl()
143 ext4_iset_acl(struct inode *inode, struct posix_acl **i_acl, in ext4_iset_acl() argument
147 if (*i_acl != EXT4_ACL_NOT_CACHED) in ext4_iset_acl()
148 posix_acl_release(*i_acl); in ext4_iset_acl()
149 *i_acl = posix_acl_dup(acl); in ext4_iset_acl()
172 acl = ext4_iget_acl(inode, &ei->i_acl); in ext4_get_acl()
206 ext4_iset_acl(inode, &ei->i_acl, acl); in ext4_get_acl()
274 ext4_iset_acl(inode, &ei->i_acl, acl); in ext4_set_acl()
Dext4_i.h80 struct posix_acl *i_acl; member
Dsuper.c635 ei->i_acl = EXT4_ACL_NOT_CACHED; in ext4_alloc_inode()
702 if (EXT4_I(inode)->i_acl && in ext4_clear_inode()
703 EXT4_I(inode)->i_acl != EXT4_ACL_NOT_CACHED) { in ext4_clear_inode()
704 posix_acl_release(EXT4_I(inode)->i_acl); in ext4_clear_inode()
705 EXT4_I(inode)->i_acl = EXT4_ACL_NOT_CACHED; in ext4_clear_inode()
Dinode.c4209 ei->i_acl = EXT4_ACL_NOT_CACHED; in ext4_iget()
/fs/ext3/
Dacl.c130 ext3_iget_acl(struct inode *inode, struct posix_acl **i_acl) in ext3_iget_acl() argument
135 if (*i_acl != EXT3_ACL_NOT_CACHED) in ext3_iget_acl()
136 acl = posix_acl_dup(*i_acl); in ext3_iget_acl()
143 ext3_iset_acl(struct inode *inode, struct posix_acl **i_acl, in ext3_iset_acl() argument
147 if (*i_acl != EXT3_ACL_NOT_CACHED) in ext3_iset_acl()
148 posix_acl_release(*i_acl); in ext3_iset_acl()
149 *i_acl = posix_acl_dup(acl); in ext3_iset_acl()
172 acl = ext3_iget_acl(inode, &ei->i_acl); in ext3_get_acl()
206 ext3_iset_acl(inode, &ei->i_acl, acl); in ext3_get_acl()
274 ext3_iset_acl(inode, &ei->i_acl, acl); in ext3_set_acl()
Dsuper.c460 ei->i_acl = EXT3_ACL_NOT_CACHED; in ext3_alloc_inode()
514 if (EXT3_I(inode)->i_acl && in ext3_clear_inode()
515 EXT3_I(inode)->i_acl != EXT3_ACL_NOT_CACHED) { in ext3_clear_inode()
516 posix_acl_release(EXT3_I(inode)->i_acl); in ext3_clear_inode()
517 EXT3_I(inode)->i_acl = EXT3_ACL_NOT_CACHED; in ext3_clear_inode()
Dinode.c2715 ei->i_acl = EXT3_ACL_NOT_CACHED; in ext3_iget()
/fs/jfs/
Dacl.c42 p_acl = &ji->i_acl; in jfs_get_acl()
95 p_acl = &ji->i_acl; in jfs_set_acl()
131 if (ji->i_acl == JFS_ACL_NOT_CACHED) { in jfs_check_acl()
138 if (ji->i_acl) in jfs_check_acl()
139 return posix_acl_permission(inode, ji->i_acl, mask); in jfs_check_acl()
Dsuper.c131 if (ji->i_acl != JFS_ACL_NOT_CACHED) { in jfs_destroy_inode()
132 posix_acl_release(ji->i_acl); in jfs_destroy_inode()
133 ji->i_acl = JFS_ACL_NOT_CACHED; in jfs_destroy_inode()
777 jfs_ip->i_acl = JFS_ACL_NOT_CACHED; in init_once()
Djfs_incore.h78 struct posix_acl *i_acl; member
Dxattr.c730 acl =JFS_IP(inode)->i_acl; in can_set_system_xattr()
733 JFS_IP(inode)->i_acl = JFS_ACL_NOT_CACHED; in can_set_system_xattr()
/fs/jffs2/
Dacl.c159 static struct posix_acl *jffs2_iget_acl(struct inode *inode, struct posix_acl **i_acl) in jffs2_iget_acl() argument
164 if (*i_acl != JFFS2_ACL_NOT_CACHED) in jffs2_iget_acl()
165 acl = posix_acl_dup(*i_acl); in jffs2_iget_acl()
170 static void jffs2_iset_acl(struct inode *inode, struct posix_acl **i_acl, struct posix_acl *acl) in jffs2_iset_acl() argument
173 if (*i_acl != JFFS2_ACL_NOT_CACHED) in jffs2_iset_acl()
174 posix_acl_release(*i_acl); in jffs2_iset_acl()
175 *i_acl = posix_acl_dup(acl); in jffs2_iset_acl()
/fs/btrfs/
Dbtrfs_inode.h57 struct posix_acl *i_acl; member
Dacl.c53 p_acl = &BTRFS_I(inode)->i_acl; in btrfs_get_acl()
136 p_acl = &BTRFS_I(inode)->i_acl; in btrfs_set_acl()
Dinode.c2975 bi->i_acl = NULL; in init_btrfs_i()
4458 ei->i_acl = BTRFS_ACL_NOT_CACHED; in btrfs_alloc_inode()
4470 if (BTRFS_I(inode)->i_acl && in btrfs_destroy_inode()
4471 BTRFS_I(inode)->i_acl != BTRFS_ACL_NOT_CACHED) in btrfs_destroy_inode()
4472 posix_acl_release(BTRFS_I(inode)->i_acl); in btrfs_destroy_inode()