Searched refs:acl_int (Results 1 – 5 of 5) sorted by relevance
44 struct acl *acl_int; in acl_create_entry() local51 acl_int = &(*acl_p)->ats_acl; in acl_create_entry()57 if (acl_int->acl_cnt + 1 >= ACL_MAX_ENTRIES) { in acl_create_entry()62 *entry_p = &acl_int->acl_entry[acl_int->acl_cnt++]; in acl_create_entry()79 struct acl *acl_int; in acl_create_entry_np() local86 acl_int = &(*acl_p)->ats_acl; in acl_create_entry_np()88 if (acl_int->acl_cnt + 1 >= ACL_MAX_ENTRIES) { in acl_create_entry_np()93 if (offset < 0 || offset > acl_int->acl_cnt) { in acl_create_entry_np()99 for (i = acl_int->acl_cnt; i > offset; i--) in acl_create_entry_np()100 acl_int->acl_entry[i] = acl_int->acl_entry[i - 1]; in acl_create_entry_np()[all …]
132 struct acl *acl_int; in _posix1e_acl_sort() local134 acl_int = &acl->ats_acl; in _posix1e_acl_sort()136 qsort(&acl_int->acl_entry[0], acl_int->acl_cnt, in _posix1e_acl_sort()172 struct acl *acl_int; in _posix1e_acl_check() local180 acl_int = &acl->ats_acl; in _posix1e_acl_check()184 while (i < acl_int->acl_cnt) { in _posix1e_acl_check()185 entry = &acl_int->acl_entry[i]; in _posix1e_acl_check()346 struct acl *acl_int; in _posix1e_acl_add_entry() local349 acl_int = &acl->ats_acl; in _posix1e_acl_add_entry()351 if (acl_int->acl_cnt >= ACL_MAX_ENTRIES) { in _posix1e_acl_add_entry()[all …]
57 struct acl *acl_int; in _posix1e_acl_to_text() local 71 acl_int = &acl->ats_acl; in _posix1e_acl_to_text() 74 for (i = 0; i < acl_int->acl_cnt; i++) in _posix1e_acl_to_text() 75 if (acl_int->acl_entry[i].ae_tag == ACL_MASK) in _posix1e_acl_to_text() 76 mask_perm = acl_int->acl_entry[i].ae_perm; in _posix1e_acl_to_text() 78 for (i = 0; i < acl_int->acl_cnt; i++) { in _posix1e_acl_to_text() 79 ae_tag = acl_int->acl_entry[i].ae_tag; in _posix1e_acl_to_text() 80 ae_id = acl_int->acl_entry[i].ae_id; in _posix1e_acl_to_text() 81 ae_perm = acl_int->acl_entry[i].ae_perm; in _posix1e_acl_to_text()
48 struct acl *acl_int, *acl_int_new; in acl_calc_mask() local70 acl_int = &(*acl_p)->ats_acl; in acl_calc_mask()71 if ((acl_int->acl_cnt < 3) || (acl_int->acl_cnt > ACL_MAX_ENTRIES)) { in acl_calc_mask()
126 struct acl *acl_int; in acl_delete_entry_np() local134 acl_int = &acl->ats_acl; in acl_delete_entry_np()136 if (offset < 0 || offset >= acl_int->acl_cnt) { in acl_delete_entry_np()