/linux-6.1.9/fs/nfs_common/ |
D | nfsacl.c | 95 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfsacl_encode() 113 if (encode_entries && acl && acl->a_count == 3) { in nfsacl_encode() 157 u32 entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfs_stream_encode_acl() 178 if (encode_entries && acl && acl->a_count == 3) { in nfs_stream_encode_acl() 298 sort(acl->a_entries, acl->a_count, sizeof(struct posix_acl_entry), in posix_acl_from_nfsacl() 316 if (acl->a_count == 4 && group_obj && mask && in posix_acl_from_nfsacl() 321 acl->a_count = 3; in posix_acl_from_nfsacl()
|
/linux-6.1.9/include/linux/ |
D | nfsacl.h | 29 w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; in nfsacl_size() 31 w += max((int)acl_default->a_count, 4) * 12; in nfsacl_size()
|
D | posix_acl.h | 32 unsigned int a_count; member 37 for(pa=(acl)->a_entries, pe=pa+(acl)->a_count; pa<pe; pa++)
|
/linux-6.1.9/fs/reiserfs/ |
D | xattr_acl.c | 27 int size = acl ? posix_acl_xattr_size(acl->a_count) : 0; in reiserfs_set_acl() 143 *size = reiserfs_acl_size(acl->a_count); in reiserfs_posix_acl_to_disk() 145 acl->a_count * in reiserfs_posix_acl_to_disk() 152 for (n = 0; n < acl->a_count; n++) { in reiserfs_posix_acl_to_disk() 377 int size = reiserfs_acl_size(acl->a_count); in reiserfs_cache_default_acl()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_acl.c | 104 aclp->acl_cnt = cpu_to_be32(acl->a_count); in xfs_acl_to_disk() 105 for (i = 0; i < acl->a_count; i++) { in xfs_acl_to_disk() 199 args.valuelen = XFS_ACL_SIZE(acl->a_count); in __xfs_set_acl() 256 if (acl->a_count > XFS_ACL_MAX_ENTRIES(XFS_M(inode->i_sb))) in xfs_set_acl()
|
/linux-6.1.9/fs/ext4/ |
D | acl.c | 97 *size = ext4_acl_size(acl->a_count); in ext4_acl_to_disk() 98 ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count * in ext4_acl_to_disk() 104 for (n = 0; n < acl->a_count; n++) { in ext4_acl_to_disk() 233 size_t acl_size = acl ? ext4_acl_size(acl->a_count) : 0; in ext4_set_acl()
|
/linux-6.1.9/fs/ext2/ |
D | acl.c | 98 *size = ext2_acl_size(acl->a_count); in ext2_acl_to_disk() 99 ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count * in ext2_acl_to_disk() 105 for (n=0; n < acl->a_count; n++) { in ext2_acl_to_disk()
|
/linux-6.1.9/fs/ceph/ |
D | acl.c | 126 size = posix_acl_xattr_size(acl->a_count); in ceph_set_acl() 193 val_size1 = posix_acl_xattr_size(acl->a_count); in ceph_pre_init_acls() 195 val_size2 = posix_acl_xattr_size(default_acl->a_count); in ceph_pre_init_acls()
|
/linux-6.1.9/fs/gfs2/ |
D | acl.c | 91 len = posix_acl_xattr_size(acl->a_count); in __gfs2_set_acl() 121 if (acl && acl->a_count > GFS2_ACL_MAX_ENTRIES(GFS2_SB(inode))) in gfs2_set_acl()
|
/linux-6.1.9/fs/jffs2/ |
D | acl.c | 135 *size = jffs2_acl_size(acl->a_count); in jffs2_acl_to_medium() 136 header = kmalloc(struct_size(header, a_entries, acl->a_count), in jffs2_acl_to_medium() 142 for (i=0; i < acl->a_count; i++) { in jffs2_acl_to_medium()
|
/linux-6.1.9/fs/f2fs/ |
D | acl.c | 121 acl->a_count * sizeof(struct f2fs_acl_entry), in f2fs_acl_to_disk() 129 for (i = 0; i < acl->a_count; i++) { in f2fs_acl_to_disk() 160 *size = f2fs_acl_size(acl->a_count); in f2fs_acl_to_disk() 298 int size = sizeof(struct posix_acl) + acl->a_count * in f2fs_acl_clone()
|
/linux-6.1.9/fs/nfs/ |
D | nfs3acl.c | 128 res.acl_access->a_count == 0) { in nfs3_get_acl() 190 if (acl != NULL && acl->a_count > NFS_ACL_MAX_ENTRIES) in __nfs3_proc_setacls() 192 if (dfacl != NULL && dfacl->a_count > NFS_ACL_MAX_ENTRIES) in __nfs3_proc_setacls()
|
/linux-6.1.9/fs/nfsd/ |
D | nfs4acl.c | 146 size += 2 * pacl->a_count; in nfsd4_get_nfs4_acl() 157 size += 2 * dpacl->a_count; in nfsd4_get_nfs4_acl() 201 pe = acl->a_entries + acl->a_count; in summarize_posix_acl() 243 BUG_ON(pacl->a_count < 3); in _posix_to_nfsv4_one() 401 if (!pacl || pacl->a_count <= 4) in sort_pacl()
|
/linux-6.1.9/fs/fuse/ |
D | acl.c | 85 size_t size = posix_acl_xattr_size(acl->a_count); in fuse_set_acl()
|
/linux-6.1.9/fs/lockd/ |
D | clntproc.c | 209 refcount_set(&call->a_count, 1); in nlm_alloc_call() 227 if (!refcount_dec_and_test(&call->a_count)) in nlmclnt_release_call() 683 refcount_inc(&req->a_count); in nlmclnt_unlock() 774 refcount_inc(&req->a_count); in nlmclnt_cancel()
|
D | svcproc.c | 311 if (!refcount_dec_and_test(&call->a_count)) in nlmsvc_release_call()
|
/linux-6.1.9/fs/btrfs/ |
D | acl.c | 81 size = posix_acl_xattr_size(acl->a_count); in __btrfs_set_acl()
|
/linux-6.1.9/fs/ocfs2/ |
D | acl.c | 83 *size = acl->a_count * sizeof(struct posix_acl_entry); in ocfs2_acl_to_xattr() 90 for (n = 0; n < acl->a_count; n++, entry++) { in ocfs2_acl_to_xattr()
|
/linux-6.1.9/fs/ |
D | posix_acl.c | 181 acl->a_count = count; in posix_acl_init() 209 int size = sizeof(struct posix_acl) + acl->a_count * in posix_acl_clone() 1085 real_size = posix_acl_xattr_size(acl->a_count); in posix_acl_to_xattr() 1094 for (n=0; n < acl->a_count; n++, ext_entry++) { in posix_acl_to_xattr()
|
/linux-6.1.9/fs/jfs/ |
D | acl.c | 79 size = posix_acl_xattr_size(acl->a_count); in __jfs_set_acl()
|
/linux-6.1.9/fs/orangefs/ |
D | acl.c | 94 size = posix_acl_xattr_size(acl->a_count); in __orangefs_set_acl()
|
/linux-6.1.9/include/linux/lockd/ |
D | lockd.h | 141 refcount_t a_count; member
|
/linux-6.1.9/fs/9p/ |
D | acl.c | 123 size = posix_acl_xattr_size(acl->a_count); in v9fs_set_acl()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 1383 sizeof(struct xattr_acl_entry) * posix_acls->a_count, in ksmbd_vfs_make_xattr_posix_acl() 1388 smb_acl->count = posix_acls->a_count; in ksmbd_vfs_make_xattr_posix_acl() 1391 for (i = 0; i < posix_acls->a_count; i++, pa_entry++, xa_entry++) { in ksmbd_vfs_make_xattr_posix_acl() 1891 for (i = 0; i < acls->a_count; i++, pace++) { in ksmbd_vfs_inherit_posix_acl()
|
D | smbacl.c | 592 for (i = 0; i < fattr->cf_acls->a_count; i++, pace++) { in set_posix_acl_entries_dacl() 661 for (i = 0; i < fattr->cf_dacls->a_count; i++, pace++) { in set_posix_acl_entries_dacl() 1297 for (i = 0; i < posix_acls->a_count; i++, pa_entry++) { in smb_check_perm_dacl()
|