Searched refs:acl_size (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/smb/server/ |
H A D | smbacl.c | 372 unsigned int acl_size; in parse_dacl() local 395 acl_size = sizeof(struct smb_acl); in parse_dacl() 426 if (end_of_acl - acl_base < acl_size) in parse_dacl() 429 ppace[i] = (struct smb_ace *)(acl_base + acl_size); in parse_dacl() 431 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl() 434 if (end_of_acl - acl_base < acl_size || in parse_dacl() 439 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth)) in parse_dacl() 442 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl() 1245 acl_size = pntsd_size - dacl_offset; in smb_check_perm_dacl() 1265 aces_size = acl_size - sizeof(struct smb_acl); in smb_check_perm_dacl() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | acl.c | 233 size_t acl_size = acl ? ext4_acl_size(acl->a_count) : 0; in ext4_set_acl() local 242 error = ext4_xattr_set_credits(inode, acl_size, false /* is_create */, in ext4_set_acl()
|
H A D | ialloc.c | 880 int acl_size = p->a_count * sizeof(ext4_acl_entry); in ext4_xattr_credits_for_new_inode() local 884 NULL /* block_bh */, acl_size, in ext4_xattr_credits_for_new_inode()
|
/openbmc/linux/fs/smb/client/ |
H A D | cifsacl.c | 767 int acl_size; in parse_dacl() local 796 acl_size = sizeof(struct cifs_acl); in parse_dacl() 810 ppace[i] = (struct cifs_ace *) (acl_base + acl_size); in parse_dacl() 855 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl()
|
H A D | smb2pdu.c | 2619 unsigned int acelen, acl_size, ace_count; in create_sd_buf() local 2675 acl_size = acelen + sizeof(struct smb3_acl); in create_sd_buf() 2682 acl_size += acelen; in create_sd_buf() 2689 acl_size += acelen; in create_sd_buf() 2693 acl.AclSize = cpu_to_le16(acl_size); in create_sd_buf()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | commands.c | 347 size_t acl_size = struct_size(s->acl, mac_addrs, in qtnf_cmd_send_start_ap() local 351 sizeof(*tlv) + round_up(acl_size, QLINK_ALIGN)); in qtnf_cmd_send_start_ap() 354 tlv->len = cpu_to_le16(acl_size); in qtnf_cmd_send_start_ap() 2550 size_t acl_size = struct_size(params, mac_addrs, params->n_acl_entries); in qtnf_cmd_set_mac_acl() local 2559 tlv = skb_put(cmd_skb, sizeof(*tlv) + round_up(acl_size, QLINK_ALIGN)); in qtnf_cmd_set_mac_acl() 2561 tlv->len = cpu_to_le16(acl_size); in qtnf_cmd_set_mac_acl()
|