Searched refs:a_count (Results 1 – 22 of 22) sorted by relevance
/linux-3.4.99/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() 213 sort(acl->a_entries, acl->a_count, sizeof(struct posix_acl_entry), in posix_acl_from_nfsacl() 235 if (acl->a_count == 4 && group_obj && mask && in posix_acl_from_nfsacl() 240 acl->a_count = 3; in posix_acl_from_nfsacl()
|
/linux-3.4.99/include/linux/ |
D | nfsacl.h | 48 w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; in nfsacl_size() 50 w += max((int)acl_default->a_count, 4) * 12; in nfsacl_size()
|
D | posix_acl.h | 47 unsigned int a_count; member 52 for(pa=(acl)->a_entries, pe=pa+(acl)->a_count; pa<pe; pa++)
|
/linux-3.4.99/fs/ |
D | xattr_acl.c | 83 real_size = posix_acl_xattr_size(acl->a_count); in posix_acl_to_xattr() 91 for (n=0; n < acl->a_count; n++, ext_entry++) { in posix_acl_to_xattr()
|
D | posix_acl.c | 38 acl->a_count = count; in posix_acl_init() 64 int size = sizeof(struct posix_acl) + acl->a_count * in posix_acl_clone()
|
/linux-3.4.99/fs/xfs/ |
D | xfs_acl.c | 94 aclp->acl_cnt = cpu_to_be32(acl->a_count); in xfs_acl_to_disk() 95 for (i = 0; i < acl->a_count; i++) { in xfs_acl_to_disk() 201 (XFS_ACL_MAX_ENTRIES - acl->a_count)); in xfs_set_acl() 382 if (acl->a_count > XFS_ACL_MAX_ENTRIES) in xfs_xattr_acl_set()
|
/linux-3.4.99/fs/reiserfs/ |
D | xattr_acl.c | 157 *size = reiserfs_acl_size(acl->a_count); in posix_acl_to_disk() 159 acl->a_count * in posix_acl_to_disk() 166 for (n = 0; n < acl->a_count; n++) { in posix_acl_to_disk() 405 int size = reiserfs_acl_size(acl->a_count); in reiserfs_cache_default_acl() 451 size = reiserfs_xattr_nblocks(inode, reiserfs_acl_size(acl->a_count)); in reiserfs_acl_chmod()
|
/linux-3.4.99/fs/ext2/ |
D | acl.c | 91 *size = ext2_acl_size(acl->a_count); in ext2_acl_to_disk() 92 ext_acl = kmalloc(sizeof(ext2_acl_header) + acl->a_count * in ext2_acl_to_disk() 98 for (n=0; n < acl->a_count; n++) { in ext2_acl_to_disk()
|
/linux-3.4.99/fs/jffs2/ |
D | acl.c | 127 *size = jffs2_acl_size(acl->a_count); in jffs2_acl_to_medium() 128 header = kmalloc(sizeof(*header) + acl->a_count * sizeof(*entry), GFP_KERNEL); in jffs2_acl_to_medium() 133 for (i=0; i < acl->a_count; i++) { in jffs2_acl_to_medium()
|
/linux-3.4.99/fs/ext4/ |
D | acl.c | 93 *size = ext4_acl_size(acl->a_count); in ext4_acl_to_disk() 94 ext_acl = kmalloc(sizeof(ext4_acl_header) + acl->a_count * in ext4_acl_to_disk() 100 for (n = 0; n < acl->a_count; n++) { in ext4_acl_to_disk()
|
/linux-3.4.99/fs/ext3/ |
D | acl.c | 86 *size = ext3_acl_size(acl->a_count); in ext3_acl_to_disk() 87 ext_acl = kmalloc(sizeof(ext3_acl_header) + acl->a_count * in ext3_acl_to_disk() 93 for (n=0; n < acl->a_count; n++) { in ext3_acl_to_disk()
|
/linux-3.4.99/fs/nfsd/ |
D | nfs4acl.c | 143 size += 2*pacl->a_count; in nfs4_acl_posix_to_nfsv4() 148 size += 2*dpacl->a_count; in nfs4_acl_posix_to_nfsv4() 187 pe = acl->a_entries + acl->a_count; in summarize_posix_acl() 229 BUG_ON(pacl->a_count < 3); in _posix_to_nfsv4_one() 377 if (!pacl || pacl->a_count <= 4) in sort_pacl()
|
D | vfs.c | 511 buflen = posix_acl_xattr_size(pacl->a_count); in set_nfsv4_acl_one() 2327 if (acl && acl->a_count) { in nfsd_set_posix_acl() 2328 size = posix_acl_xattr_size(acl->a_count); in nfsd_set_posix_acl()
|
/linux-3.4.99/fs/nfs/ |
D | nfs3acl.c | 70 if (type == ACL_TYPE_ACCESS && acl->a_count == 0) in nfs3_getxattr() 317 if (acl != NULL && acl->a_count > NFS_ACL_MAX_ENTRIES) in nfs3_proc_setacls() 319 if (dfacl != NULL && dfacl->a_count > NFS_ACL_MAX_ENTRIES) in nfs3_proc_setacls()
|
/linux-3.4.99/fs/lockd/ |
D | clntproc.c | 199 atomic_set(&call->a_count, 1); in nlm_alloc_call() 216 if (!atomic_dec_and_test(&call->a_count)) in nlmclnt_release_call() 684 atomic_inc(&req->a_count); in nlmclnt_unlock() 761 atomic_inc(&req->a_count); in nlmclnt_cancel()
|
D | svcproc.c | 263 if (!atomic_dec_and_test(&call->a_count)) in nlmsvc_release_call()
|
/linux-3.4.99/fs/jfs/ |
D | acl.c | 99 size = posix_acl_xattr_size(acl->a_count); in jfs_set_acl()
|
/linux-3.4.99/fs/ocfs2/ |
D | acl.c | 84 *size = acl->a_count * sizeof(struct posix_acl_entry); in ocfs2_acl_to_xattr() 91 for (n = 0; n < acl->a_count; n++, entry++) { in ocfs2_acl_to_xattr()
|
/linux-3.4.99/fs/btrfs/ |
D | acl.c | 137 size = posix_acl_xattr_size(acl->a_count); in btrfs_set_acl()
|
/linux-3.4.99/include/linux/lockd/ |
D | lockd.h | 136 atomic_t a_count; member
|
/linux-3.4.99/fs/gfs2/ |
D | acl.c | 272 if (acl->a_count > GFS2_ACL_MAX_ENTRIES) in gfs2_xattr_system_set()
|
/linux-3.4.99/fs/9p/ |
D | acl.c | 130 size = posix_acl_xattr_size(acl->a_count); in v9fs_set_acl()
|