Lines Matching refs:tp
81 aclent_t *tp; in aclsort() local
99 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort()
101 if (tp->a_type == map_to_sort[k].entry_type) { in aclsort()
102 tp->a_type = map_to_sort[k].sort_order; in aclsort()
112 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort()
114 if (tp->a_type == map_to_sort[k].sort_order) { in aclsort()
115 tp->a_type = map_to_sort[k].entry_type; in aclsort()
141 for (tp = aclbufp; tp->a_type != OTHER_OBJ; tp++) { in aclsort()
142 if (tp->a_type == USER || tp->a_type == GROUP || in aclsort()
143 tp->a_type == GROUP_OBJ) in aclsort()
144 newmask |= tp->a_perm; in aclsort()
145 if (tp->a_type == CLASS_OBJ) in aclsort()
148 if (tp->a_type == CLASS_OBJ) in aclsort()
149 tp->a_perm = (unsigned char)newmask; in aclsort()
160 aclent_t *tp; in sortid() local
164 for (tp = ap; cnt-- > 0; tp++) { in sortid()
165 if (tp->a_type != type) in sortid()
167 startp = tp; in sortid()
169 for (tp++, cnt--; cnt > 0 && tp->a_type == type; tp++, cnt--) in sortid()