Lines Matching refs:cur
261 struct list_head *cur = NULL; in get_next_work() local
264 cur = prio_head->next; in get_next_work()
271 cur = head->next; in get_next_work()
273 if (cur) in get_next_work()
282 cur = prio_head->next; in get_next_work()
284 cur = head->next; in get_next_work()
287 if (!cur) in get_next_work()
291 work = list_entry(cur, struct btrfs_work, list); in get_next_work()
410 struct list_head *cur; in btrfs_stop_workers() local
417 cur = workers->worker_list.next; in btrfs_stop_workers()
418 worker = list_entry(cur, struct btrfs_worker_thread, in btrfs_stop_workers()