Home
last modified time | relevance | path

Searched refs:ACL_TYPE_ACCESS (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/fs/
Dgeneric_acl.c31 case ACL_TYPE_ACCESS: in generic_acl_list()
91 case ACL_TYPE_ACCESS: in generic_acl_set()
153 set_cached_acl(inode, ACL_TYPE_ACCESS, clone); in generic_acl_init()
178 acl = get_cached_acl(inode, ACL_TYPE_ACCESS); in generic_acl_chmod()
186 set_cached_acl(inode, ACL_TYPE_ACCESS, clone); in generic_acl_chmod()
196 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in generic_check_acl()
201 acl = get_cached_acl(inode, ACL_TYPE_ACCESS); in generic_check_acl()
213 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/9p/
Dacl.c65 set_cached_acl(inode, ACL_TYPE_ACCESS, NULL); in v9fs_get_acl()
74 set_cached_acl(inode, ACL_TYPE_ACCESS, pacl); in v9fs_get_acl()
116 acl = v9fs_get_cached_acl(inode, ACL_TYPE_ACCESS); in v9fs_check_acl()
150 case ACL_TYPE_ACCESS: in v9fs_set_acl()
173 acl = v9fs_get_cached_acl(inode, ACL_TYPE_ACCESS); in v9fs_acl_chmod()
181 retval = v9fs_set_acl(dentry, ACL_TYPE_ACCESS, clone); in v9fs_acl_chmod()
191 v9fs_set_acl(dentry, ACL_TYPE_ACCESS, pacl); in v9fs_set_create_acl()
243 case ACL_TYPE_ACCESS: in v9fs_remote_get_acl()
290 case ACL_TYPE_ACCESS: in v9fs_remote_set_acl()
342 case ACL_TYPE_ACCESS: in v9fs_xattr_set_acl()
[all …]
/linux-2.6.39/fs/btrfs/
Dacl.c48 case ACL_TYPE_ACCESS: in btrfs_get_acl()
124 case ACL_TYPE_ACCESS: in btrfs_set_acl()
203 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in btrfs_check_acl()
208 acl = btrfs_get_acl(inode, ACL_TYPE_ACCESS); in btrfs_check_acl()
268 ACL_TYPE_ACCESS); in btrfs_init_acl()
290 acl = btrfs_get_acl(inode, ACL_TYPE_ACCESS); in btrfs_acl_chmod()
301 ret = btrfs_set_acl(NULL, inode, clone, ACL_TYPE_ACCESS); in btrfs_acl_chmod()
317 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/jfs/
Dacl.c42 case ACL_TYPE_ACCESS: in jfs_get_acl()
87 case ACL_TYPE_ACCESS: in jfs_set_acl()
124 acl = jfs_get_acl(inode, ACL_TYPE_ACCESS); in jfs_check_acl()
166 rc = jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, in jfs_init_acl()
189 acl = jfs_get_acl(inode, ACL_TYPE_ACCESS); in jfs_acl_chmod()
202 rc = jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, clone); in jfs_acl_chmod()
Dxattr.c711 forget_cached_acl(inode, ACL_TYPE_ACCESS); in can_set_system_xattr()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_acl.c118 case ACL_TYPE_ACCESS: in xfs_get_acl()
174 case ACL_TYPE_ACCESS: in xfs_set_acl()
239 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in xfs_check_acl()
244 acl = xfs_get_acl(inode, ACL_TYPE_ACCESS); in xfs_check_acl()
334 error = xfs_set_acl(inode, ACL_TYPE_ACCESS, clone); in xfs_inherit_acl()
350 acl = xfs_get_acl(inode, ACL_TYPE_ACCESS); in xfs_acl_chmod()
361 error = xfs_set_acl(inode, ACL_TYPE_ACCESS, clone); in xfs_acl_chmod()
425 if (type == ACL_TYPE_ACCESS) { in xfs_xattr_acl_set()
452 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/nfs/
Dnfs3acl.c27 acl = nfs3_proc_getacl(inode, ACL_TYPE_ACCESS); in nfs3_listxattr()
60 type = ACL_TYPE_ACCESS; in nfs3_getxattr()
70 if (type == ACL_TYPE_ACCESS && acl->a_count == 0) in nfs3_getxattr()
89 type = ACL_TYPE_ACCESS; in nfs3_setxattr()
110 type = ACL_TYPE_ACCESS; in nfs3_removexattr()
147 case ACL_TYPE_ACCESS: in nfs3_get_cached_acl()
221 if (type == ACL_TYPE_ACCESS) in nfs3_proc_getacl()
270 case ACL_TYPE_ACCESS: in nfs3_proc_getacl()
383 case ACL_TYPE_ACCESS: in nfs3_proc_setacl()
393 ACL_TYPE_ACCESS); in nfs3_proc_setacl()
[all …]
/linux-2.6.39/fs/gfs2/
Dacl.c33 case ACL_TYPE_ACCESS: in gfs2_acl_name()
84 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in gfs2_check_acl()
89 acl = gfs2_acl_get(GFS2_I(inode), ACL_TYPE_ACCESS); in gfs2_check_acl()
184 error = gfs2_acl_set(inode, ACL_TYPE_ACCESS, acl); in gfs2_acl_create()
201 acl = gfs2_acl_get(ip, ACL_TYPE_ACCESS); in gfs2_acl_chmod()
224 set_cached_acl(&ip->i_inode, ACL_TYPE_ACCESS, acl); in gfs2_acl_chmod()
235 return ACL_TYPE_ACCESS; in gfs2_acl_type()
317 if (type == ACL_TYPE_ACCESS) { in gfs2_xattr_system_set()
/linux-2.6.39/include/linux/
Dposix_acl.h16 #define ACL_TYPE_ACCESS (0x8000) macro
92 case ACL_TYPE_ACCESS: in get_cached_acl()
116 case ACL_TYPE_ACCESS: in negative_cached_acl()
138 case ACL_TYPE_ACCESS: in set_cached_acl()
157 case ACL_TYPE_ACCESS: in forget_cached_acl()
/linux-2.6.39/fs/ext2/
Dacl.c147 case ACL_TYPE_ACCESS: in ext2_get_acl()
194 case ACL_TYPE_ACCESS: in ext2_set_acl()
240 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in ext2_check_acl()
245 acl = ext2_get_acl(inode, ACL_TYPE_ACCESS); in ext2_check_acl()
298 ACL_TYPE_ACCESS, clone); in ext2_init_acl()
332 acl = ext2_get_acl(inode, ACL_TYPE_ACCESS); in ext2_acl_chmod()
341 error = ext2_set_acl(inode, ACL_TYPE_ACCESS, clone); in ext2_acl_chmod()
433 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/ext3/
Dacl.c150 case ACL_TYPE_ACCESS: in ext3_get_acl()
199 case ACL_TYPE_ACCESS: in ext3_set_acl()
248 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in ext3_check_acl()
253 acl = ext3_get_acl(inode, ACL_TYPE_ACCESS); in ext3_check_acl()
308 ACL_TYPE_ACCESS, clone); in ext3_init_acl()
342 acl = ext3_get_acl(inode, ACL_TYPE_ACCESS); in ext3_acl_chmod()
362 error = ext3_set_acl(handle, inode, ACL_TYPE_ACCESS, clone); in ext3_acl_chmod()
469 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/ext4/
Dacl.c150 case ACL_TYPE_ACCESS: in ext4_get_acl()
198 case ACL_TYPE_ACCESS: in ext4_set_acl()
246 if (!negative_cached_acl(inode, ACL_TYPE_ACCESS)) in ext4_check_acl()
251 acl = ext4_get_acl(inode, ACL_TYPE_ACCESS); in ext4_check_acl()
306 ACL_TYPE_ACCESS, clone); in ext4_init_acl()
340 acl = ext4_get_acl(inode, ACL_TYPE_ACCESS); in ext4_acl_chmod()
360 error = ext4_set_acl(handle, inode, ACL_TYPE_ACCESS, clone); in ext4_acl_chmod()
467 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/reiserfs/
Dxattr_acl.c213 case ACL_TYPE_ACCESS: in reiserfs_get_acl()
272 case ACL_TYPE_ACCESS: in reiserfs_set_acl()
311 if (type == ACL_TYPE_ACCESS) { in reiserfs_set_acl()
386 ACL_TYPE_ACCESS, in reiserfs_inherit_default_acl()
460 acl = reiserfs_get_acl(inode, ACL_TYPE_ACCESS); in reiserfs_acl_chmod()
481 error = reiserfs_set_acl(&th, inode, ACL_TYPE_ACCESS, in reiserfs_acl_chmod()
507 .flags = ACL_TYPE_ACCESS,
Dxattr.c881 acl = reiserfs_get_acl(inode, ACL_TYPE_ACCESS); in reiserfs_check_acl()
/linux-2.6.39/fs/ocfs2/
Dacl.c109 case ACL_TYPE_ACCESS: in ocfs2_get_acl_nolock()
247 case ACL_TYPE_ACCESS: in ocfs2_set_acl()
313 acl = ocfs2_get_acl_nolock(inode, ACL_TYPE_ACCESS, di_bh); in ocfs2_check_acl()
342 acl = ocfs2_get_acl(inode, ACL_TYPE_ACCESS); in ocfs2_acl_chmod()
351 ret = ocfs2_set_acl(NULL, inode, NULL, ACL_TYPE_ACCESS, in ocfs2_acl_chmod()
416 di_bh, ACL_TYPE_ACCESS, in ocfs2_init_acl()
523 .flags = ACL_TYPE_ACCESS,
/linux-2.6.39/fs/jffs2/
Dacl.c170 case ACL_TYPE_ACCESS: in jffs2_get_acl()
227 case ACL_TYPE_ACCESS: in jffs2_set_acl()
270 acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS); in jffs2_check_acl()
310 set_cached_acl(inode, ACL_TYPE_ACCESS, clone); in jffs2_init_acl_pre()
343 acl = jffs2_get_acl(inode, ACL_TYPE_ACCESS); in jffs2_acl_chmod()
352 rc = jffs2_set_acl(inode, ACL_TYPE_ACCESS, clone); in jffs2_acl_chmod()
/linux-2.6.39/fs/nfsd/
Dnfs3acl.c46 acl = nfsd_get_posix_acl(fh, ACL_TYPE_ACCESS); in nfsd3_proc_getacl()
107 fh, ACL_TYPE_ACCESS, argp->acl_access) ); in nfsd3_proc_setacl()
Dnfs2acl.c49 acl = nfsd_get_posix_acl(fh, ACL_TYPE_ACCESS); in nfsacld_proc_getacl()
112 fh, ACL_TYPE_ACCESS, argp->acl_access) ); in nfsacld_proc_setacl()
Dvfs.c2186 case ACL_TYPE_ACCESS: in nfsd_get_posix_acl()
2218 case ACL_TYPE_ACCESS: in nfsd_set_posix_acl()
/linux-2.6.39/fs/cifs/
Dxattr.c178 ACL_TYPE_ACCESS, cifs_sb->local_nls, in cifs_setxattr()
277 ea_value, buf_size, ACL_TYPE_ACCESS, in cifs_getxattr()
Dcifssmb.c2652 if (acl_type & ACL_TYPE_ACCESS) { in cifs_copy_posix_acl()
2734 if (acl_type == ACL_TYPE_ACCESS) in ACL_to_cifs_posix()