Lines Matching refs:nullb_cmd
635 static void free_cmd(struct nullb_cmd *cmd)
642 static struct nullb_cmd *__alloc_cmd(struct nullb_queue *nq)
644 struct nullb_cmd *cmd;
664 static struct nullb_cmd *alloc_cmd(struct nullb_queue *nq, int can_wait)
666 struct nullb_cmd *cmd;
686 static void end_cmd(struct nullb_cmd *cmd)
705 end_cmd(container_of(timer, struct nullb_cmd, timer));
710 static void null_cmd_end_timer(struct nullb_cmd *cmd)
1146 static int null_handle_rq(struct nullb_cmd *cmd)
1180 static int null_handle_bio(struct nullb_cmd *cmd)
1230 static inline blk_status_t null_handle_throttled(struct nullb_cmd *cmd)
1251 static inline blk_status_t null_handle_badblocks(struct nullb_cmd *cmd,
1265 static inline blk_status_t null_handle_memory_backed(struct nullb_cmd *cmd,
1279 static void nullb_zero_read_cmd_buffer(struct nullb_cmd *cmd)
1295 static inline void nullb_complete_cmd(struct nullb_cmd *cmd)
1331 blk_status_t null_process_cmd(struct nullb_cmd *cmd,
1350 static blk_status_t null_handle_cmd(struct nullb_cmd *cmd, sector_t sector,
1425 struct nullb_cmd *cmd;
1454 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq);
1474 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(bd->rq);
1633 struct nullb_cmd *cmd;
1725 set->cmd_size = sizeof(struct nullb_cmd);