Lines Matching refs:aclcnt
105 sunacl_get(int cmd, int *aclcnt, int fd, const char *path) in sunacl_get() argument
123 *aclcnt = -1; in sunacl_get()
154 *aclcnt = cnt; in sunacl_get()
163 sun_acl_is_trivial(void *aclp, int aclcnt, mode_t mode, int is_nfs4, in sun_acl_is_trivial() argument
191 if (aclcnt == 4) in sun_acl_is_trivial()
281 if (aclcnt != p) in sun_acl_is_trivial()
316 struct archive_entry *entry, void *aclp, int aclcnt, in translate_acl() argument
328 if (aclcnt <= 0) in translate_acl()
331 for (e = 0; e < aclcnt; e++) { in translate_acl()
714 int aclcnt; in archive_read_disk_entry_setup_acls() local
731 aclp = sunacl_get(ACE_GETACL, &aclcnt, *fd, NULL); in archive_read_disk_entry_setup_acls()
738 aclp = sunacl_get(ACE_GETACL, &aclcnt, 0, accpath); in archive_read_disk_entry_setup_acls()
740 if (aclp != NULL && sun_acl_is_trivial(aclp, aclcnt, in archive_read_disk_entry_setup_acls()
749 r = translate_acl(a, entry, aclp, aclcnt, in archive_read_disk_entry_setup_acls()
764 aclp = sunacl_get(GETACL, &aclcnt, *fd, NULL); in archive_read_disk_entry_setup_acls()
771 aclp = sunacl_get(GETACL, &aclcnt, 0, accpath); in archive_read_disk_entry_setup_acls()
774 if (aclp != NULL && sun_acl_is_trivial(aclp, aclcnt, in archive_read_disk_entry_setup_acls()
783 r = translate_acl(a, entry, aclp, aclcnt, in archive_read_disk_entry_setup_acls()