Searched refs:acl_len (Results 1 – 5 of 5) sorted by relevance
/fs/cifs/ |
D | cifsacl.c | 892 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr, in parse_sec_desc() argument 898 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc()
|
D | cifssmb.c | 4004 __u32 acl_len; in CIFSSMBGetCIFSACL() local 4026 acl_len = le32_to_cpu(*parm); in CIFSSMBGetCIFSACL() 4027 if (acl_len != *pbuflen) { in CIFSSMBGetCIFSACL() 4029 acl_len, *pbuflen); in CIFSSMBGetCIFSACL() 4030 if (*pbuflen > acl_len) in CIFSSMBGetCIFSACL() 4031 *pbuflen = acl_len; in CIFSSMBGetCIFSACL()
|
/fs/nfs/ |
D | nfs4proc.c | 5631 …void nfs4_write_cached_acl(struct inode *inode, struct page **pages, size_t pgbase, size_t acl_len) in nfs4_write_cached_acl() argument 5634 size_t buflen = sizeof(*acl) + acl_len; in nfs4_write_cached_acl() 5641 _copy_from_pages(acl->data, pages, pgbase, acl_len); in nfs4_write_cached_acl() 5648 acl->len = acl_len; in nfs4_write_cached_acl() 5669 .acl_len = buflen, in __nfs4_get_acl_uncached() 5672 .acl_len = buflen, in __nfs4_get_acl_uncached() 5696 args.acl_len = npages * PAGE_SIZE; in __nfs4_get_acl_uncached() 5699 __func__, buf, buflen, npages, args.acl_len); in __nfs4_get_acl_uncached() 5713 nfs4_write_cached_acl(inode, pages, res.acl_data_offset, res.acl_len); in __nfs4_get_acl_uncached() 5715 if (res.acl_len > buflen) { in __nfs4_get_acl_uncached() [all …]
|
D | nfs4xdr.c | 1686 *p = cpu_to_be32(arg->acl_len); in encode_setacl() 1687 xdr_write_pages(xdr, arg->acl_pages, 0, arg->acl_len); in encode_setacl() 2594 args->acl_len, replen + 1); in nfs4_xdr_enc_getacl() 5292 res->acl_len = 0; in decode_getacl() 5314 res->acl_len = attrlen; in decode_getacl() 5317 if (res->acl_len > (xdr->nwords << 2) || in decode_getacl() 5318 res->acl_len + res->acl_data_offset > xdr->buf->page_len) { in decode_getacl()
|
/fs/ocfs2/ |
D | xattr.c | 626 int s_size = 0, a_size = 0, acl_len = 0, new_clusters; in ocfs2_calc_xattr_init() local 634 acl_len = ocfs2_xattr_get_nolock(dir, dir_bh, in ocfs2_calc_xattr_init() 638 if (acl_len > 0) { in ocfs2_calc_xattr_init() 639 a_size = ocfs2_xattr_entry_real_size(0, acl_len); in ocfs2_calc_xattr_init() 642 } else if (acl_len != 0 && acl_len != -ENODATA) { in ocfs2_calc_xattr_init() 643 ret = acl_len; in ocfs2_calc_xattr_init() 689 acl_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_xattr_init() 692 ocfs2_clusters_for_bytes(dir->i_sb, acl_len); in ocfs2_calc_xattr_init()
|