Lines Matching refs:olist
209 validate_allowed_attribute(struct attr_type *at, struct obj_list *olist) in validate_allowed_attribute() argument
214 if (olist == NULL) in validate_allowed_attribute()
217 SLIST_FOREACH(optr, olist, next) { in validate_allowed_attribute()
232 olist_push(struct obj_list *olist, struct object *obj) in olist_push() argument
236 SLIST_FOREACH(optr, olist, next) in olist_push()
243 SLIST_INSERT_HEAD(olist, optr, next); in olist_push()
249 olist_push(olist, sup->object); in olist_push()
253 olist_free(struct obj_list *olist) in olist_free() argument
257 if (olist == NULL) in olist_free()
260 while ((optr = SLIST_FIRST(olist)) != NULL) { in olist_free()
261 SLIST_REMOVE_HEAD(olist, next); in olist_free()
265 free(olist); in olist_free()
293 struct obj_list *olist = NULL; in validate_entry() local
307 if ((olist = calloc(1, sizeof(*olist))) == NULL) in validate_entry()
309 SLIST_INIT(olist); in validate_entry()
341 olist_push(olist, obj); in validate_entry()
363 SLIST_FOREACH(optr, olist, next) { in validate_entry()
372 SLIST_FOREACH(optr2, olist, next) { in validate_entry()
390 SLIST_FOREACH(optr, olist, next) { in validate_entry()
412 (rc = validate_allowed_attribute(at, olist)) != LDAP_SUCCESS) { in validate_entry()
423 olist_free(olist); in validate_entry()