Home
last modified time | relevance | path

Searched refs:at_head (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/block/
Dblk-exec.c52 struct request *rq, int at_head, in blk_execute_rq_nowait() argument
55 int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK; in blk_execute_rq_nowait()
68 blk_mq_insert_request(rq, at_head, true, false); in blk_execute_rq_nowait()
100 struct request *rq, int at_head) in blk_execute_rq() argument
114 blk_execute_rq_nowait(q, bd_disk, rq, at_head, blk_end_sync_rq); in blk_execute_rq()
Dbsg.c328 int at_head = (0 == (bc->hdr.flags & BSG_FLAG_Q_AT_TAIL)); in bsg_add_command() local
345 blk_execute_rq_nowait(q, NULL, rq, at_head, bsg_rq_end_io); in bsg_add_command()
910 int at_head; in bsg_ioctl() local
924 at_head = (0 == (hdr.flags & BSG_FLAG_Q_AT_TAIL)); in bsg_ioctl()
925 blk_execute_rq(bd->queue, NULL, rq, at_head); in bsg_ioctl()
Dblk-mq.c493 void blk_mq_add_to_requeue_list(struct request *rq, bool at_head) in blk_mq_add_to_requeue_list() argument
505 if (at_head) { in blk_mq_add_to_requeue_list()
978 bool at_head) in __blk_mq_insert_req_list() argument
982 if (at_head) in __blk_mq_insert_req_list()
989 struct request *rq, bool at_head) in __blk_mq_insert_request() argument
993 __blk_mq_insert_req_list(hctx, ctx, rq, at_head); in __blk_mq_insert_request()
997 void blk_mq_insert_request(struct request *rq, bool at_head, bool run_queue, in blk_mq_insert_request() argument
1011 __blk_mq_insert_request(hctx, rq, at_head); in blk_mq_insert_request()
Dscsi_ioctl.c292 int at_head = 0; in sg_io() local
315 at_head = 1; in sg_io()
368 blk_execute_rq(q, bd_disk, rq, at_head); in sg_io()
/linux-4.4.14/include/linux/
Dblk-mq.h222 void blk_mq_add_to_requeue_list(struct request *rq, bool at_head);
/linux-4.4.14/drivers/scsi/
Dsg.c767 int k, at_head; in sg_common_write() local
806 at_head = 0; in sg_common_write()
808 at_head = 1; in sg_common_write()
813 srp->rq, at_head, sg_rq_end_io); in sg_common_write()