Lines Matching refs:ntace
588 struct smb_ace *ntace; in set_posix_acl_entries_dacl() local
621 ntace = pndace; in set_posix_acl_entries_dacl()
623 if (ntace->sid.sub_auth[ntace->sid.num_subauth - 1] == in set_posix_acl_entries_dacl()
626 ntace = (struct smb_ace *)((char *)ntace + in set_posix_acl_entries_dacl()
627 le16_to_cpu(ntace->size)); in set_posix_acl_entries_dacl()
633 ntace = (struct smb_ace *)((char *)pndace + *size); in set_posix_acl_entries_dacl()
634 *size += fill_ace_for_sid(ntace, sid, ACCESS_ALLOWED, flags, in set_posix_acl_entries_dacl()
638 ntace->access_req |= in set_posix_acl_entries_dacl()
643 ntace = (struct smb_ace *)((char *)pndace + *size); in set_posix_acl_entries_dacl()
644 *size += fill_ace_for_sid(ntace, sid, ACCESS_ALLOWED, in set_posix_acl_entries_dacl()
648 ntace->access_req |= in set_posix_acl_entries_dacl()
684 ntace = (struct smb_ace *)((char *)pndace + *size); in set_posix_acl_entries_dacl()
685 *size += fill_ace_for_sid(ntace, sid, ACCESS_ALLOWED, 0x0b, in set_posix_acl_entries_dacl()
689 ntace->access_req |= in set_posix_acl_entries_dacl()
703 struct smb_ace *ntace, *pndace; in set_ntacl_dacl() local
710 ntace = (struct smb_ace *)((char *)nt_dacl + sizeof(struct smb_acl)); in set_ntacl_dacl()
717 nt_ace_size = le16_to_cpu(ntace->size); in set_ntacl_dacl()
721 memcpy((char *)pndace + size, ntace, nt_ace_size); in set_ntacl_dacl()
724 ntace = (struct smb_ace *)((char *)ntace + nt_ace_size); in set_ntacl_dacl()