Lines Matching refs:cursor
587 struct list_head cursor; in audit_trim_trees() local
590 list_add(&cursor, &tree_list); in audit_trim_trees()
591 while (cursor.next != &tree_list) { in audit_trim_trees()
598 tree = container_of(cursor.next, struct audit_tree, list); in audit_trim_trees()
600 list_del(&cursor); in audit_trim_trees()
601 list_add(&cursor, &tree->list); in audit_trim_trees()
629 list_del(&cursor); in audit_trim_trees()
781 struct list_head cursor, barrier; in audit_tag_tree() local
803 list_add(&cursor, &barrier); in audit_tag_tree()
805 while (cursor.next != &tree_list) { in audit_tag_tree()
809 tree = container_of(cursor.next, struct audit_tree, list); in audit_tag_tree()
811 list_del(&cursor); in audit_tag_tree()
812 list_add(&cursor, &tree->list); in audit_tag_tree()
867 list_del(&cursor); in audit_tag_tree()