Home
last modified time | relevance | path

Searched refs:acl_len (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/include/linux/
Dnfs_xdr.h785 size_t acl_len; member
796 size_t acl_len; member
804 size_t acl_len; member
/Linux-v5.4/fs/cifs/
Dcifsacl.c892 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()
Dcifssmb.c4003 __u32 acl_len; in CIFSSMBGetCIFSACL() local
4025 acl_len = le32_to_cpu(*parm); in CIFSSMBGetCIFSACL()
4026 if (acl_len != *pbuflen) { in CIFSSMBGetCIFSACL()
4028 acl_len, *pbuflen); in CIFSSMBGetCIFSACL()
4029 if (*pbuflen > acl_len) in CIFSSMBGetCIFSACL()
4030 *pbuflen = acl_len; in CIFSSMBGetCIFSACL()
/Linux-v5.4/fs/ocfs2/
Dxattr.c626 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()
/Linux-v5.4/fs/nfs/
Dnfs4proc.c5542 …void nfs4_write_cached_acl(struct inode *inode, struct page **pages, size_t pgbase, size_t acl_len) in nfs4_write_cached_acl() argument
5545 size_t buflen = sizeof(*acl) + acl_len; in nfs4_write_cached_acl()
5552 _copy_from_pages(acl->data, pages, pgbase, acl_len); in nfs4_write_cached_acl()
5559 acl->len = acl_len; in nfs4_write_cached_acl()
5580 .acl_len = buflen, in __nfs4_get_acl_uncached()
5583 .acl_len = buflen, in __nfs4_get_acl_uncached()
5607 args.acl_len = npages * PAGE_SIZE; in __nfs4_get_acl_uncached()
5610 __func__, buf, buflen, npages, args.acl_len); in __nfs4_get_acl_uncached()
5624 nfs4_write_cached_acl(inode, pages, res.acl_data_offset, res.acl_len); in __nfs4_get_acl_uncached()
5626 if (res.acl_len > buflen) { in __nfs4_get_acl_uncached()
[all …]
Dnfs4xdr.c1686 *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()
5284 res->acl_len = 0; in decode_getacl()
5306 res->acl_len = attrlen; in decode_getacl()
5309 if (res->acl_len > (xdr->nwords << 2) || in decode_getacl()
5310 res->acl_len + res->acl_data_offset > xdr->buf->page_len) { in decode_getacl()