Searched refs:acl_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/smb/server/ |
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() 437 acl_size + sizeof(__le32) * ppace[i]->sid.num_subauth) || 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() 1222 int rc = 0, pntsd_size, acl_size, aces_size, pdacl_size, dacl_offset; in smb_check_perm_dacl() local [all …]
|
/linux-6.12.1/fs/ext4/ |
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()
|
D | ialloc.c | 877 int acl_size = p->a_count * sizeof(ext4_acl_entry); in ext4_xattr_credits_for_new_inode() local 881 NULL /* block_bh */, acl_size, in ext4_xattr_credits_for_new_inode()
|
/linux-6.12.1/fs/smb/client/ |
D | cifsacl.c | 767 int acl_size; in parse_dacl() local 796 acl_size = sizeof(struct smb_acl); in parse_dacl() 810 ppace[i] = (struct smb_ace *) (acl_base + acl_size); in parse_dacl() 855 acl_size = le16_to_cpu(ppace[i]->size); in parse_dacl()
|
D | smb2pdu.c | 2632 unsigned int acelen, acl_size, ace_count; in create_sd_buf() local 2688 acl_size = acelen + sizeof(struct smb3_acl); in create_sd_buf() 2695 acl_size += acelen; in create_sd_buf() 2702 acl_size += acelen; in create_sd_buf() 2706 acl.AclSize = cpu_to_le16(acl_size); in create_sd_buf()
|
/linux-6.12.1/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() 2551 size_t acl_size = struct_size(params, mac_addrs, params->n_acl_entries); in qtnf_cmd_set_mac_acl() local 2560 tlv = skb_put(cmd_skb, sizeof(*tlv) + round_up(acl_size, QLINK_ALIGN)); in qtnf_cmd_set_mac_acl() 2562 tlv->len = cpu_to_le16(acl_size); in qtnf_cmd_set_mac_acl()
|