Searched refs:acl_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | smbacl.c | 372 unsigned int acl_size; in parse_dacl() local 395 acl_size = sizeof(struct smb_acl); in parse_dacl() 423 if (end_of_acl - acl_base < acl_size) in parse_dacl() 426 ppace[i] = (struct smb_ace *)(acl_base + acl_size); in parse_dacl() 428 acl_size = offsetof(struct smb_ace, sid) + in parse_dacl() 431 if (end_of_acl - acl_base < acl_size || in parse_dacl() 434 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth) || in parse_dacl() 436 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth)) in parse_dacl() 439 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl() 1197 int rc = 0, pntsd_size, acl_size, aces_size, pdacl_size, dacl_offset; in smb_check_perm_dacl() local [all …]
|
/linux-6.1.9/fs/ext4/ |
D | acl.c | 233 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()
|
D | ialloc.c | 878 int acl_size = p->a_count * sizeof(ext4_acl_entry); in ext4_xattr_credits_for_new_inode() local 882 NULL /* block_bh */, acl_size, in ext4_xattr_credits_for_new_inode()
|
/linux-6.1.9/fs/cifs/ |
D | cifsacl.c | 762 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()
|
D | smb2pdu.c | 2426 unsigned int acelen, acl_size, ace_count; in create_sd_buf() local 2482 acl_size = acelen + sizeof(struct smb3_acl); in create_sd_buf() 2489 acl_size += acelen; in create_sd_buf() 2496 acl_size += acelen; in create_sd_buf() 2500 acl.AclSize = cpu_to_le16(acl_size); in create_sd_buf()
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
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() 2549 size_t acl_size = struct_size(params, mac_addrs, params->n_acl_entries); in qtnf_cmd_set_mac_acl() local 2558 tlv = skb_put(cmd_skb, sizeof(*tlv) + round_up(acl_size, QLINK_ALIGN)); in qtnf_cmd_set_mac_acl() 2560 tlv->len = cpu_to_le16(acl_size); in qtnf_cmd_set_mac_acl()
|