Lines Matching refs:tally

73 	struct entry_stat	tally;  in aclent_aclcheck()  local
79 memset(&tally, '\0', sizeof (tally)); in aclent_aclcheck()
85 if (tally.user_obj.count > 0) { in aclent_aclcheck()
87 (void) free_mem(&tally); in aclent_aclcheck()
91 tally.user_obj.count = 1; in aclent_aclcheck()
96 if (tally.group_obj.count > 0) { in aclent_aclcheck()
98 (void) free_mem(&tally); in aclent_aclcheck()
102 tally.group_obj.count = 1; in aclent_aclcheck()
107 if (tally.other_obj.count > 0) { in aclent_aclcheck()
109 (void) free_mem(&tally); in aclent_aclcheck()
113 tally.other_obj.count = 1; in aclent_aclcheck()
118 if (tally.class_obj.count > 0) { in aclent_aclcheck()
120 (void) free_mem(&tally); in aclent_aclcheck()
124 tally.class_obj.count = 1; in aclent_aclcheck()
133 cnt = (tally.def_user.count)++; in aclent_aclcheck()
134 idp = &(tally.def_user.id); in aclent_aclcheck()
136 cnt = (tally.def_group.count)++; in aclent_aclcheck()
137 idp = &(tally.def_group.id); in aclent_aclcheck()
139 cnt = (tally.user.count)++; in aclent_aclcheck()
140 idp = &(tally.user.id); in aclent_aclcheck()
142 cnt = (tally.group.count)++; in aclent_aclcheck()
143 idp = &(tally.group.id); in aclent_aclcheck()
152 &tally) == -1) { in aclent_aclcheck()
162 if (tally.def_user_obj.count > 0) { in aclent_aclcheck()
164 (void) free_mem(&tally); in aclent_aclcheck()
168 tally.def_user_obj.count = 1; in aclent_aclcheck()
173 if (tally.def_group_obj.count > 0) { in aclent_aclcheck()
175 (void) free_mem(&tally); in aclent_aclcheck()
179 tally.def_group_obj.count = 1; in aclent_aclcheck()
184 if (tally.def_other_obj.count > 0) { in aclent_aclcheck()
186 (void) free_mem(&tally); in aclent_aclcheck()
190 tally.def_other_obj.count = 1; in aclent_aclcheck()
195 if (tally.def_class_obj.count > 0) { in aclent_aclcheck()
197 (void) free_mem(&tally); in aclent_aclcheck()
201 tally.def_class_obj.count = 1; in aclent_aclcheck()
205 (void) free_mem(&tally); in aclent_aclcheck()
212 if (tally.user.count > 0 || tally.group.count > 0) in aclent_aclcheck()
213 if (tally.class_obj.count != 1) { in aclent_aclcheck()
214 (void) free_mem(&tally); in aclent_aclcheck()
219 if (tally.def_user.count > 0 || tally.def_group.count > 0) in aclent_aclcheck()
220 if (tally.def_class_obj.count != 1) { in aclent_aclcheck()
221 (void) free_mem(&tally); in aclent_aclcheck()
227 if (tally.user_obj.count != 1 || in aclent_aclcheck()
228 tally.group_obj.count != 1 || in aclent_aclcheck()
229 tally.other_obj.count != 1) { in aclent_aclcheck()
230 (void) free_mem(&tally); in aclent_aclcheck()
236 if (tally.def_user.count > 0 || tally.def_user_obj.count > 0 || in aclent_aclcheck()
237 tally.def_group.count > 0 || tally.def_group_obj.count > 0 || in aclent_aclcheck()
238 tally.def_class_obj.count > 0 || tally.def_other_obj.count > 0) { in aclent_aclcheck()
244 (void) free_mem(&tally); in aclent_aclcheck()
249 if (tally.def_user_obj.count != 1 || in aclent_aclcheck()
250 tally.def_group_obj.count != 1 || in aclent_aclcheck()
251 tally.def_other_obj.count != 1) { in aclent_aclcheck()
252 (void) free_mem(&tally); in aclent_aclcheck()
258 (void) free_mem(&tally); in aclent_aclcheck()