/fs/ |
D | generic_acl.c | 141 struct posix_acl *clone; in generic_acl_init() local 144 clone = posix_acl_clone(acl, GFP_KERNEL); in generic_acl_init() 146 if (!clone) in generic_acl_init() 148 ops->setacl(inode, ACL_TYPE_DEFAULT, clone); in generic_acl_init() 149 posix_acl_release(clone); in generic_acl_init() 151 clone = posix_acl_clone(acl, GFP_KERNEL); in generic_acl_init() 153 if (!clone) in generic_acl_init() 155 error = posix_acl_create_masq(clone, &mode); in generic_acl_init() 159 ops->setacl(inode, ACL_TYPE_ACCESS, clone); in generic_acl_init() 161 posix_acl_release(clone); in generic_acl_init() [all …]
|
D | posix_acl.c | 56 struct posix_acl *clone = NULL; in posix_acl_clone() local 61 clone = kmemdup(acl, size, flags); in posix_acl_clone() 62 if (clone) in posix_acl_clone() 63 atomic_set(&clone->a_refcount, 1); in posix_acl_clone() 65 return clone; in posix_acl_clone()
|
/fs/jfs/ |
D | acl.c | 151 struct posix_acl *clone; in jfs_init_acl() local 168 clone = posix_acl_clone(acl, GFP_KERNEL); in jfs_init_acl() 169 if (!clone) { in jfs_init_acl() 174 rc = posix_acl_create_masq(clone, &mode); in jfs_init_acl() 179 clone); in jfs_init_acl() 181 posix_acl_release(clone); in jfs_init_acl() 195 struct posix_acl *acl, *clone; in jfs_acl_chmod() local 205 clone = posix_acl_clone(acl, GFP_KERNEL); in jfs_acl_chmod() 207 if (!clone) in jfs_acl_chmod() 210 rc = posix_acl_chmod_masq(clone, inode->i_mode); in jfs_acl_chmod() [all …]
|
/fs/btrfs/ |
D | acl.c | 263 struct posix_acl *clone; in btrfs_init_acl() local 271 clone = posix_acl_clone(acl, GFP_NOFS); in btrfs_init_acl() 273 if (!clone) in btrfs_init_acl() 277 ret = posix_acl_create_masq(clone, &mode); in btrfs_init_acl() 282 ret = btrfs_set_acl(inode, clone, in btrfs_init_acl() 295 struct posix_acl *acl, *clone; in btrfs_acl_chmod() local 308 clone = posix_acl_clone(acl, GFP_KERNEL); in btrfs_acl_chmod() 310 if (!clone) in btrfs_acl_chmod() 313 ret = posix_acl_chmod_masq(clone, inode->i_mode); in btrfs_acl_chmod() 315 ret = btrfs_set_acl(inode, clone, ACL_TYPE_ACCESS); in btrfs_acl_chmod() [all …]
|
/fs/ocfs2/ |
D | acl.c | 251 struct posix_acl *acl, *clone; in ocfs2_acl_chmod() local 263 clone = posix_acl_clone(acl, GFP_KERNEL); in ocfs2_acl_chmod() 265 if (!clone) in ocfs2_acl_chmod() 267 ret = posix_acl_chmod_masq(clone, inode->i_mode); in ocfs2_acl_chmod() 270 clone, NULL, NULL); in ocfs2_acl_chmod() 271 posix_acl_release(clone); in ocfs2_acl_chmod() 302 struct posix_acl *clone; in ocfs2_init_acl() local 312 clone = posix_acl_clone(acl, GFP_NOFS); in ocfs2_init_acl() 314 if (!clone) in ocfs2_init_acl() 318 ret = posix_acl_create_masq(clone, &mode); in ocfs2_init_acl() [all …]
|
/fs/jffs2/ |
D | acl.c | 325 struct posix_acl *acl, *clone; in jffs2_init_acl_pre() local 344 clone = posix_acl_clone(acl, GFP_KERNEL); in jffs2_init_acl_pre() 345 if (!clone) in jffs2_init_acl_pre() 347 rc = posix_acl_create_masq(clone, (mode_t *)i_mode); in jffs2_init_acl_pre() 349 posix_acl_release(clone); in jffs2_init_acl_pre() 353 jffs2_iset_acl(inode, &f->i_acl_access, clone); in jffs2_init_acl_pre() 355 posix_acl_release(clone); in jffs2_init_acl_pre() 394 struct posix_acl *acl, *clone; in jffs2_acl_chmod() local 402 clone = posix_acl_clone(acl, GFP_KERNEL); in jffs2_acl_chmod() 404 if (!clone) in jffs2_acl_chmod() [all …]
|
/fs/ext2/ |
D | acl.c | 324 struct posix_acl *clone; in ext2_init_acl() local 332 clone = posix_acl_clone(acl, GFP_KERNEL); in ext2_init_acl() 334 if (!clone) in ext2_init_acl() 337 error = posix_acl_create_masq(clone, &mode); in ext2_init_acl() 343 ACL_TYPE_ACCESS, clone); in ext2_init_acl() 346 posix_acl_release(clone); in ext2_init_acl() 370 struct posix_acl *acl, *clone; in ext2_acl_chmod() local 380 clone = posix_acl_clone(acl, GFP_KERNEL); in ext2_acl_chmod() 382 if (!clone) in ext2_acl_chmod() 384 error = posix_acl_chmod_masq(clone, inode->i_mode); in ext2_acl_chmod() [all …]
|
/fs/ext4/ |
D | acl.c | 329 struct posix_acl *clone; in ext4_init_acl() local 338 clone = posix_acl_clone(acl, GFP_NOFS); in ext4_init_acl() 340 if (!clone) in ext4_init_acl() 344 error = posix_acl_create_masq(clone, &mode); in ext4_init_acl() 350 ACL_TYPE_ACCESS, clone); in ext4_init_acl() 353 posix_acl_release(clone); in ext4_init_acl() 377 struct posix_acl *acl, *clone; in ext4_acl_chmod() local 387 clone = posix_acl_clone(acl, GFP_KERNEL); in ext4_acl_chmod() 389 if (!clone) in ext4_acl_chmod() 391 error = posix_acl_chmod_masq(clone, inode->i_mode); in ext4_acl_chmod() [all …]
|
/fs/ext3/ |
D | acl.c | 329 struct posix_acl *clone; in ext3_init_acl() local 338 clone = posix_acl_clone(acl, GFP_NOFS); in ext3_init_acl() 340 if (!clone) in ext3_init_acl() 344 error = posix_acl_create_masq(clone, &mode); in ext3_init_acl() 350 ACL_TYPE_ACCESS, clone); in ext3_init_acl() 353 posix_acl_release(clone); in ext3_init_acl() 377 struct posix_acl *acl, *clone; in ext3_acl_chmod() local 387 clone = posix_acl_clone(acl, GFP_KERNEL); in ext3_acl_chmod() 389 if (!clone) in ext3_acl_chmod() 391 error = posix_acl_chmod_masq(clone, inode->i_mode); in ext3_acl_chmod() [all …]
|
/fs/gfs2/ |
D | acl.c | 201 struct posix_acl *acl = NULL, *clone; in gfs2_acl_create() local 225 clone = posix_acl_clone(acl, GFP_NOFS); in gfs2_acl_create() 227 if (!clone) in gfs2_acl_create() 230 acl = clone; in gfs2_acl_create() 263 struct posix_acl *acl = NULL, *clone; in gfs2_acl_chmod() local 275 clone = posix_acl_clone(acl, GFP_NOFS); in gfs2_acl_chmod() 277 if (!clone) in gfs2_acl_chmod() 280 acl = clone; in gfs2_acl_chmod()
|
/fs/9p/ |
D | fid.c | 111 int i, n, l, clone, any, access; in v9fs_fid_lookup() local 180 clone = 1; in v9fs_fid_lookup() 184 fid = p9_client_walk(fid, l, &wnames[i], clone); in v9fs_fid_lookup() 191 clone = 0; in v9fs_fid_lookup()
|
/fs/reiserfs/ |
D | xattr_acl.c | 421 struct posix_acl *acl, *clone; in reiserfs_acl_chmod() local 439 clone = posix_acl_clone(acl, GFP_NOFS); in reiserfs_acl_chmod() 441 if (!clone) in reiserfs_acl_chmod() 443 error = posix_acl_chmod_masq(clone, inode->i_mode); in reiserfs_acl_chmod() 451 error = reiserfs_set_acl(inode, ACL_TYPE_ACCESS, clone); in reiserfs_acl_chmod() 458 posix_acl_release(clone); in reiserfs_acl_chmod()
|