/linux-6.12.1/fs/ceph/ |
D | acl.c | 172 struct posix_acl *acl, *default_acl; in ceph_pre_init_acls() local 178 err = posix_acl_create(dir, mode, &default_acl, &acl); in ceph_pre_init_acls() 192 if (!default_acl && !acl) in ceph_pre_init_acls() 197 if (default_acl) in ceph_pre_init_acls() 198 val_size2 = posix_acl_xattr_size(default_acl->a_count); in ceph_pre_init_acls() 212 ceph_pagelist_encode_32(pagelist, acl && default_acl ? 2 : 1); in ceph_pre_init_acls() 228 if (default_acl) { in ceph_pre_init_acls() 235 err = posix_acl_to_xattr(&init_user_ns, default_acl, in ceph_pre_init_acls() 246 as_ctx->default_acl = default_acl; in ceph_pre_init_acls() 252 posix_acl_release(default_acl); in ceph_pre_init_acls() [all …]
|
D | super.h | 1132 void *default_acl; member
|
D | xattr.c | 1451 posix_acl_release(as_ctx->default_acl); in ceph_release_acl_sec_ctx()
|
/linux-6.12.1/fs/jfs/ |
D | acl.c | 132 struct posix_acl *default_acl, *acl; in jfs_init_acl() local 135 rc = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl); in jfs_init_acl() 139 if (default_acl) { in jfs_init_acl() 140 rc = __jfs_set_acl(tid, inode, ACL_TYPE_DEFAULT, default_acl); in jfs_init_acl() 141 posix_acl_release(default_acl); in jfs_init_acl()
|
/linux-6.12.1/fs/f2fs/ |
D | acl.c | 363 struct posix_acl **default_acl, struct posix_acl **acl, in f2fs_acl_create() argument 371 *default_acl = NULL; in f2fs_acl_create() 402 *default_acl = p; in f2fs_acl_create() 416 struct posix_acl *default_acl = NULL, *acl = NULL; in f2fs_init_acl() local 419 error = f2fs_acl_create(dir, &inode->i_mode, &default_acl, &acl, dpage); in f2fs_init_acl() 425 if (default_acl) { in f2fs_init_acl() 426 error = __f2fs_set_acl(NULL, inode, ACL_TYPE_DEFAULT, default_acl, in f2fs_init_acl() 428 posix_acl_release(default_acl); in f2fs_init_acl()
|
/linux-6.12.1/fs/ext2/ |
D | acl.c | 255 struct posix_acl *default_acl, *acl; in ext2_init_acl() local 258 error = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl); in ext2_init_acl() 262 if (default_acl) { in ext2_init_acl() 263 error = __ext2_set_acl(inode, default_acl, ACL_TYPE_DEFAULT); in ext2_init_acl() 264 posix_acl_release(default_acl); in ext2_init_acl()
|
/linux-6.12.1/fs/ext4/ |
D | acl.c | 281 struct posix_acl *default_acl, *acl; in ext4_init_acl() local 284 error = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl); in ext4_init_acl() 288 if (default_acl) { in ext4_init_acl() 290 default_acl, XATTR_CREATE); in ext4_init_acl() 291 posix_acl_release(default_acl); in ext4_init_acl()
|
/linux-6.12.1/fs/jffs2/ |
D | acl.c | 276 struct posix_acl *default_acl, *acl; in jffs2_init_acl_pre() local 281 rc = posix_acl_create(dir_i, i_mode, &default_acl, &acl); in jffs2_init_acl_pre() 285 if (default_acl) { in jffs2_init_acl_pre() 286 set_cached_acl(inode, ACL_TYPE_DEFAULT, default_acl); in jffs2_init_acl_pre() 287 posix_acl_release(default_acl); in jffs2_init_acl_pre()
|
/linux-6.12.1/fs/reiserfs/ |
D | xattr_acl.c | 310 struct posix_acl *default_acl, *acl; in reiserfs_inherit_default_acl() local 332 err = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl); in reiserfs_inherit_default_acl() 336 if (default_acl) { in reiserfs_inherit_default_acl() 338 default_acl); in reiserfs_inherit_default_acl() 339 posix_acl_release(default_acl); in reiserfs_inherit_default_acl()
|
/linux-6.12.1/fs/nfs/ |
D | nfs3proc.c | 341 struct posix_acl *default_acl, *acl; in nfs3_proc_create() local 365 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_create() 419 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_create() 425 posix_acl_release(default_acl); in nfs3_proc_create() 585 struct posix_acl *default_acl, *acl; in nfs3_proc_mkdir() local 596 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mkdir() 615 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_mkdir() 620 posix_acl_release(default_acl); in nfs3_proc_mkdir() 716 struct posix_acl *default_acl, *acl; in nfs3_proc_mknod() local 728 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mknod() [all …]
|
/linux-6.12.1/fs/ |
D | posix_acl.c | 635 struct posix_acl **default_acl, struct posix_acl **acl) in posix_acl_create() argument 642 *default_acl = NULL; in posix_acl_create() 672 *default_acl = p; in posix_acl_create() 1038 struct posix_acl *default_acl, *acl; in simple_acl_create() local 1041 error = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl); in simple_acl_create() 1045 set_cached_acl(inode, ACL_TYPE_DEFAULT, default_acl); in simple_acl_create() 1048 if (default_acl) in simple_acl_create() 1049 posix_acl_release(default_acl); in simple_acl_create()
|
/linux-6.12.1/include/linux/ |
D | posix_acl.h | 129 struct posix_acl **default_acl, struct posix_acl **acl) in posix_acl_create() argument 131 *default_acl = *acl = NULL; in posix_acl_create()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_iops.c | 152 struct posix_acl *default_acl, in xfs_create_need_xattr() argument 157 if (default_acl) in xfs_create_need_xattr() 184 struct posix_acl *default_acl, *acl; in xfs_generic_create() local 200 error = posix_acl_create(dir, &args.mode, &default_acl, &acl); in xfs_generic_create() 210 if (xfs_create_need_xattr(dir, default_acl, acl)) in xfs_generic_create() 235 if (default_acl) { in xfs_generic_create() 236 error = __xfs_set_acl(inode, default_acl, ACL_TYPE_DEFAULT); in xfs_generic_create() 265 posix_acl_release(default_acl); in xfs_generic_create()
|
/linux-6.12.1/fs/ntfs3/ |
D | xattr.c | 679 struct posix_acl *default_acl, *acl; in ntfs_init_acl() local 682 err = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl); in ntfs_init_acl() 686 if (default_acl) { in ntfs_init_acl() 687 err = ntfs_set_acl_ex(idmap, inode, default_acl, in ntfs_init_acl() 689 posix_acl_release(default_acl); in ntfs_init_acl()
|
/linux-6.12.1/fs/orangefs/ |
D | inode.c | 1091 struct posix_acl *acl = NULL, *default_acl = NULL; in orangefs_new_inode() local 1108 error = posix_acl_create(dir, &mode, &default_acl, &acl); in orangefs_new_inode() 1122 if (default_acl) { in orangefs_new_inode() 1123 error = __orangefs_set_acl(inode, default_acl, in orangefs_new_inode() 1152 posix_acl_release(default_acl); in orangefs_new_inode() 1158 posix_acl_release(default_acl); in orangefs_new_inode()
|
/linux-6.12.1/fs/bcachefs/ |
D | fs-common.c | 25 struct posix_acl *default_acl, in bch2_create_trans() argument 135 if (default_acl) { in bch2_create_trans() 137 default_acl, ACL_TYPE_DEFAULT); in bch2_create_trans()
|
D | fs.c | 487 struct posix_acl *default_acl = NULL, *acl = NULL; in __bch2_create() local 500 ret = posix_acl_create(&dir->v, &mode, &default_acl, &acl); in __bch2_create() 529 default_acl, acl, snapshot_src, flags) ?: in __bch2_create() 559 set_cached_acl(&inode->v, ACL_TYPE_DEFAULT, default_acl); in __bch2_create() 577 posix_acl_release(default_acl); in __bch2_create()
|
/linux-6.12.1/fs/gfs2/ |
D | inode.c | 626 struct posix_acl *default_acl, *acl; in gfs2_create_inode() local 689 error = posix_acl_create(dir, &mode, &default_acl, &acl); in gfs2_create_inode() 736 if (default_acl || acl) in gfs2_create_inode() 783 if (default_acl) { in gfs2_create_inode() 784 error = __gfs2_set_acl(inode, default_acl, ACL_TYPE_DEFAULT); in gfs2_create_inode() 787 posix_acl_release(default_acl); in gfs2_create_inode() 788 default_acl = NULL; in gfs2_create_inode() 838 posix_acl_release(default_acl); in gfs2_create_inode()
|
/linux-6.12.1/fs/overlayfs/ |
D | dir.c | 457 struct posix_acl *acl, *default_acl; in ovl_create_over_whiteout() local 465 &cattr->mode, &default_acl, &acl); in ovl_create_over_whiteout() 512 XATTR_NAME_POSIX_ACL_DEFAULT, default_acl); in ovl_create_over_whiteout() 546 posix_acl_release(default_acl); in ovl_create_over_whiteout()
|
/linux-6.12.1/fs/btrfs/ |
D | btrfs_inode.h | 560 struct posix_acl *default_acl; member
|
D | inode.c | 466 if (args->default_acl) { in btrfs_init_inode_security() 467 err = __btrfs_set_acl(trans, args->inode, args->default_acl, in btrfs_init_inode_security() 477 if (!args->default_acl && !args->acl) in btrfs_init_inode_security() 6150 ret = posix_acl_create(dir, &inode->i_mode, &args->default_acl, &args->acl); in btrfs_new_inode_prepare() 6162 if (args->default_acl) in btrfs_new_inode_prepare() 6193 posix_acl_release(args->default_acl); in btrfs_new_inode_args_destroy()
|