Lines Matching refs:nullb_cmd
776 static void free_cmd(struct nullb_cmd *cmd)
783 static struct nullb_cmd *__alloc_cmd(struct nullb_queue *nq)
785 struct nullb_cmd *cmd;
805 static struct nullb_cmd *alloc_cmd(struct nullb_queue *nq, struct bio *bio)
807 struct nullb_cmd *cmd;
826 static void end_cmd(struct nullb_cmd *cmd)
845 end_cmd(container_of(timer, struct nullb_cmd, timer));
850 static void null_cmd_end_timer(struct nullb_cmd *cmd)
1274 static int null_handle_rq(struct nullb_cmd *cmd)
1301 static int null_handle_bio(struct nullb_cmd *cmd)
1343 static inline blk_status_t null_handle_throttled(struct nullb_cmd *cmd)
1364 static inline blk_status_t null_handle_badblocks(struct nullb_cmd *cmd,
1378 static inline blk_status_t null_handle_memory_backed(struct nullb_cmd *cmd,
1397 static void nullb_zero_read_cmd_buffer(struct nullb_cmd *cmd)
1413 static inline void nullb_complete_cmd(struct nullb_cmd *cmd)
1449 blk_status_t null_process_cmd(struct nullb_cmd *cmd, enum req_op op,
1467 static blk_status_t null_handle_cmd(struct nullb_cmd *cmd, sector_t sector,
1550 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq);
1558 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq);
1655 struct nullb_cmd *cmd;
1675 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq);
1709 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq);
1879 struct nullb_cmd *cmd;
1993 set->cmd_size = sizeof(struct nullb_cmd);