Home
last modified time | relevance | path

Searched refs:acl_size (Results 1 – 5 of 5) sorted by relevance

/fs/ksmbd/
Dsmbacl.c370 unsigned int acl_size; in parse_dacl() local
393 acl_size = sizeof(struct smb_acl); in parse_dacl()
424 if (end_of_acl - acl_base < acl_size) in parse_dacl()
427 ppace[i] = (struct smb_ace *)(acl_base + acl_size); in parse_dacl()
429 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl()
432 if (end_of_acl - acl_base < acl_size || in parse_dacl()
435 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth) || in parse_dacl()
437 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth)) in parse_dacl()
440 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl()
1220 int rc = 0, pntsd_size, acl_size, aces_size, pdacl_size, dacl_offset; in smb_check_perm_dacl() local
[all …]
/fs/ext4/
Dacl.c233 size_t acl_size = acl ? ext4_acl_size(acl->a_count) : 0; in ext4_set_acl() local
241 error = ext4_xattr_set_credits(inode, acl_size, false /* is_create */, in ext4_set_acl()
Dialloc.c879 int acl_size = p->a_count * sizeof(ext4_acl_entry); in ext4_xattr_credits_for_new_inode() local
883 NULL /* block_bh */, acl_size, in ext4_xattr_credits_for_new_inode()
/fs/cifs/
Dcifsacl.c762 int acl_size; in parse_dacl() local
791 acl_size = sizeof(struct cifs_acl); in parse_dacl()
805 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl()
850 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl()
Dsmb2pdu.c2381 unsigned int acelen, acl_size, ace_count; in create_sd_buf() local
2437 acl_size = acelen + sizeof(struct smb3_acl); in create_sd_buf()
2444 acl_size += acelen; in create_sd_buf()
2451 acl_size += acelen; in create_sd_buf()
2455 acl.AclSize = cpu_to_le16(acl_size); in create_sd_buf()