Searched refs:acl_len (Results 1 – 7 of 7) sorted by relevance
/fs/ksmbd/ |
D | smbacl.c | 813 int acl_len, struct smb_fattr *fattr) in parse_sec_desc() argument 818 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc() 825 if (acl_len < sizeof(struct smb_ntsd)) in parse_sec_desc() 1008 int rc = 0, num_aces, dacloffset, pntsd_type, pntsd_size, acl_len, aces_size; in smb_inherit_dacl() local 1023 acl_len = pntsd_size - dacloffset; in smb_inherit_dacl() 1028 if (pdacl_size > acl_len || pdacl_size < sizeof(struct smb_acl)) { in smb_inherit_dacl() 1042 aces_size = acl_len - sizeof(struct smb_acl); in smb_inherit_dacl()
|
D | smbacl.h | 194 int acl_len, struct smb_fattr *fattr);
|
/fs/ocfs2/ |
D | xattr.c | 624 int s_size = 0, a_size = 0, acl_len = 0, new_clusters; in ocfs2_calc_xattr_init() local 632 acl_len = ocfs2_xattr_get_nolock(dir, dir_bh, in ocfs2_calc_xattr_init() 636 if (acl_len > 0) { in ocfs2_calc_xattr_init() 637 a_size = ocfs2_xattr_entry_real_size(0, acl_len); in ocfs2_calc_xattr_init() 640 } else if (acl_len != 0 && acl_len != -ENODATA) { in ocfs2_calc_xattr_init() 641 ret = acl_len; in ocfs2_calc_xattr_init() 687 acl_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_xattr_init() 690 ocfs2_clusters_for_bytes(dir->i_sb, acl_len); in ocfs2_calc_xattr_init()
|
/fs/nfs/ |
D | nfs4proc.c | 5871 …void nfs4_write_cached_acl(struct inode *inode, struct page **pages, size_t pgbase, size_t acl_len) in nfs4_write_cached_acl() argument 5874 size_t buflen = sizeof(*acl) + acl_len; in nfs4_write_cached_acl() 5881 _copy_from_pages(acl->data, pages, pgbase, acl_len); in nfs4_write_cached_acl() 5888 acl->len = acl_len; in nfs4_write_cached_acl() 5908 .acl_len = buflen, in __nfs4_get_acl_uncached() 5911 .acl_len = buflen, in __nfs4_get_acl_uncached() 5943 args.acl_len = npages * PAGE_SIZE; in __nfs4_get_acl_uncached() 5946 __func__, buf, buflen, npages, args.acl_len); in __nfs4_get_acl_uncached() 5960 nfs4_write_cached_acl(inode, pages, res.acl_data_offset, res.acl_len); in __nfs4_get_acl_uncached() 5962 if (res.acl_len > buflen) { in __nfs4_get_acl_uncached() [all …]
|
D | nfs4xdr.c | 1695 *p = cpu_to_be32(arg->acl_len); in encode_setacl() 1696 xdr_write_pages(xdr, arg->acl_pages, 0, arg->acl_len); in encode_setacl() 2603 args->acl_len, replen); in nfs4_xdr_enc_getacl() 5359 res->acl_len = 0; in decode_getacl() 5378 res->acl_len = attrlen; in decode_getacl() 5381 if (res->acl_len > xdr_stream_remaining(xdr) || in decode_getacl() 5382 res->acl_len + res->acl_data_offset > xdr->buf->page_len) { in decode_getacl()
|
/fs/cifs/ |
D | cifsacl.c | 1189 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr, in parse_sec_desc() argument 1195 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc()
|
D | cifssmb.c | 3822 __u32 acl_len; in CIFSSMBGetCIFSACL() local 3844 acl_len = le32_to_cpu(*parm); in CIFSSMBGetCIFSACL() 3845 if (acl_len != *pbuflen) { in CIFSSMBGetCIFSACL() 3847 acl_len, *pbuflen); in CIFSSMBGetCIFSACL() 3848 if (*pbuflen > acl_len) in CIFSSMBGetCIFSACL() 3849 *pbuflen = acl_len; in CIFSSMBGetCIFSACL()
|