Home
last modified time | relevance | path

Searched refs:list (Results 1 – 5 of 5) sorted by relevance

/block/
Dblk-softirq.c32 rq = list_entry(local_list.next, struct request, csd.list); in blk_done_softirq()
33 list_del_init(&rq->csd.list); in blk_done_softirq()
43 struct list_head *list; in trigger_softirq() local
46 list = &__get_cpu_var(blk_cpu_done); in trigger_softirq()
47 list_add_tail(&rq->csd.list, list); in trigger_softirq()
49 if (list->next == &rq->csd.list) in trigger_softirq()
125 struct list_head *list; in __blk_complete_request() local
127 list = &__get_cpu_var(blk_cpu_done); in __blk_complete_request()
128 list_add_tail(&req->csd.list, list); in __blk_complete_request()
136 if (list->next == &req->csd.list) in __blk_complete_request()
Dblk-timeout.c212 LIST_HEAD(list); in blk_abort_queue()
222 list_splice_init(&q->timeout_list, &list); in blk_abort_queue()
224 list_for_each_entry_safe(rq, tmp, &list, timeout_list) in blk_abort_queue()
Dbsg.c81 struct list_head list; member
125 INIT_LIST_HEAD(&bc->list); in bsg_alloc_command()
342 list_move_tail(&bc->list, &bd->done_list); in bsg_rq_end_io()
365 list_add_tail(&bc->list, &bd->busy_list); in bsg_add_command()
380 bc = list_first_entry(&bd->done_list, struct bsg_command, list); in bsg_next_done_cmd()
381 list_del(&bc->list); in bsg_next_done_cmd()
Delevator.c136 list_for_each_entry(e, &elv_list, list) { in elevator_find()
1039 list_add_tail(&e->list, &elv_list); in elv_register()
1071 list_del_init(&e->list); in elv_unregister()
1196 list_for_each_entry(__e, &elv_list, list) { in elv_iosched_show()
Dblk-core.c738 #define blkdev_free_rq(list) list_entry((list)->next, struct request, queuelist) argument