Searched refs:ace_size (Results 1 – 3 of 3) sorted by relevance
867 unsigned int ace_size = 20; in setup_authusers_ACE() local880 pntace->size = cpu_to_le16(ace_size); in setup_authusers_ACE()881 return ace_size; in setup_authusers_ACE()891 unsigned int ace_size = 28; in setup_special_mode_ACE() local906 pntace->size = cpu_to_le16(ace_size); in setup_special_mode_ACE()907 return ace_size; in setup_special_mode_ACE()913 unsigned int ace_size = 28; in setup_special_user_owner_ACE() local928 pntace->size = cpu_to_le16(ace_size); in setup_special_user_owner_ACE()929 return ace_size; in setup_special_user_owner_ACE()1049 u16 ace_size = 0; in replace_sids_and_copy_aces() local[all …]
740 u16 size = 0, ace_size = 0; in set_mode_dacl() local758 ace_size = fill_ace_for_sid(pace, sid, ACCESS_ALLOWED, 0, in set_mode_dacl()761 pace->size = cpu_to_le16(ace_size + 4); in set_mode_dacl()766 ace_size = fill_ace_for_sid(pace, &sid_unix_groups, in set_mode_dacl()770 pace->size = cpu_to_le16(ace_size + 4); in set_mode_dacl()1231 unsigned short ace_size; in smb_check_perm_dacl() local1269 ace_size = le16_to_cpu(ace->size); in smb_check_perm_dacl()1270 if (ace_size > aces_size) in smb_check_perm_dacl()1272 aces_size -= ace_size; in smb_check_perm_dacl()1290 ace_size = le16_to_cpu(ace->size); in smb_check_perm_dacl()[all …]
1747 u16 ace_count, ace_size; in is_acl_valid() local1776 ace_size = le16_to_cpu(ace->AceSize); in is_acl_valid()1777 if (len < ace_size) in is_acl_valid()1780 len -= ace_size; in is_acl_valid()1781 ace = Add2Ptr(ace, ace_size); in is_acl_valid()