Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dsmbacl.c815 int acl_len, struct smb_fattr *fattr) in parse_sec_desc() argument
820 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc()
827 if (acl_len < sizeof(struct smb_ntsd)) in parse_sec_desc()
1010 int rc = 0, num_aces, dacloffset, pntsd_type, pntsd_size, acl_len, aces_size; in smb_inherit_dacl() local
1025 acl_len = pntsd_size - dacloffset; in smb_inherit_dacl()
1030 if (pdacl_size > acl_len || pdacl_size < sizeof(struct smb_acl)) { in smb_inherit_dacl()
1044 aces_size = acl_len - sizeof(struct smb_acl); in smb_inherit_dacl()
H A Dsmbacl.h194 int acl_len, struct smb_fattr *fattr);
/openbmc/linux/include/linux/
H A Dnfs_xdr.h815 size_t acl_len; member
827 size_t acl_len; member
836 size_t acl_len; member
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_hw.h758 __le16 acl_len; member
887 u8 acl_len; member
H A Denetc_qos.c90 gcl_config->acl_len = cpu_to_le16(gcl_len); in enetc_setup_taprio()
795 sgcl_config->acl_len = (sgi->num_entries - 1) & 0x3; in enetc_streamgate_hw_set()
/openbmc/linux/fs/ocfs2/
H A Dxattr.c620 int s_size = 0, a_size = 0, acl_len = 0, new_clusters; in ocfs2_calc_xattr_init() local
628 acl_len = ocfs2_xattr_get_nolock(dir, dir_bh, in ocfs2_calc_xattr_init()
632 if (acl_len > 0) { in ocfs2_calc_xattr_init()
633 a_size = ocfs2_xattr_entry_real_size(0, acl_len); in ocfs2_calc_xattr_init()
636 } else if (acl_len != 0 && acl_len != -ENODATA) { in ocfs2_calc_xattr_init()
637 ret = acl_len; in ocfs2_calc_xattr_init()
683 acl_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_xattr_init()
686 ocfs2_clusters_for_bytes(dir->i_sb, acl_len); in ocfs2_calc_xattr_init()
/openbmc/linux/fs/nfs/
H A Dnfs4proc.c5918 size_t pgbase, size_t acl_len, in nfs4_write_cached_acl() argument
5922 size_t buflen = sizeof(*acl) + acl_len; in nfs4_write_cached_acl()
5929 _copy_from_pages(acl->data, pages, pgbase, acl_len); in nfs4_write_cached_acl()
5937 acl->len = acl_len; in nfs4_write_cached_acl()
5959 .acl_len = buflen, in __nfs4_get_acl_uncached()
5963 .acl_len = buflen, in __nfs4_get_acl_uncached()
5995 args.acl_len = npages * PAGE_SIZE; in __nfs4_get_acl_uncached()
5998 __func__, buf, buflen, npages, args.acl_len); in __nfs4_get_acl_uncached()
6015 if (res.acl_len > buflen) { in __nfs4_get_acl_uncached()
6022 ret = res.acl_len; in __nfs4_get_acl_uncached()
[all …]
H A Dnfs4xdr.c1711 encode_uint32(xdr, arg->acl_len); in encode_setacl()
1712 xdr_write_pages(xdr, arg->acl_pages, 0, arg->acl_len); in encode_setacl()
2619 args->acl_len, replen); in nfs4_xdr_enc_getacl()
5408 res->acl_len = 0; in decode_getacl()
5443 res->acl_len = attrlen; in decode_getacl()
5446 if (res->acl_len > xdr_stream_remaining(xdr) || in decode_getacl()
5447 res->acl_len + res->acl_data_offset > xdr->buf->page_len) { in decode_getacl()
/openbmc/linux/fs/smb/client/
H A Dcifsacl.c1194 struct cifs_ntsd *pntsd, int acl_len, struct cifs_fattr *fattr, in parse_sec_desc() argument
1200 char *end_of_acl = ((char *)pntsd) + acl_len; in parse_sec_desc()
H A Dcifssmb.c3426 __u32 acl_len; in CIFSSMBGetCIFSACL() local
3448 acl_len = le32_to_cpu(*parm); in CIFSSMBGetCIFSACL()
3449 if (acl_len != *pbuflen) { in CIFSSMBGetCIFSACL()
3451 acl_len, *pbuflen); in CIFSSMBGetCIFSACL()
3452 if (*pbuflen > acl_len) in CIFSSMBGetCIFSACL()
3453 *pbuflen = acl_len; in CIFSSMBGetCIFSACL()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c206 unsigned int acl_len = struct_size(s->acl, mac_addrs, in qtnf_cmd_start_ap_can_fit() local
210 round_up(acl_len, QLINK_ALIGN); in qtnf_cmd_start_ap_can_fit()