Lines Matching refs:nullb_cmd
635 static void free_cmd(struct nullb_cmd *cmd) in free_cmd()
642 static struct nullb_cmd *__alloc_cmd(struct nullb_queue *nq) in __alloc_cmd()
644 struct nullb_cmd *cmd; in __alloc_cmd()
664 static struct nullb_cmd *alloc_cmd(struct nullb_queue *nq, int can_wait) in alloc_cmd()
666 struct nullb_cmd *cmd; in alloc_cmd()
686 static void end_cmd(struct nullb_cmd *cmd) in end_cmd()
705 end_cmd(container_of(timer, struct nullb_cmd, timer)); in null_cmd_timer_expired()
710 static void null_cmd_end_timer(struct nullb_cmd *cmd) in null_cmd_end_timer()
1146 static int null_handle_rq(struct nullb_cmd *cmd) in null_handle_rq()
1180 static int null_handle_bio(struct nullb_cmd *cmd) in null_handle_bio()
1230 static inline blk_status_t null_handle_throttled(struct nullb_cmd *cmd) in null_handle_throttled()
1251 static inline blk_status_t null_handle_badblocks(struct nullb_cmd *cmd, in null_handle_badblocks()
1265 static inline blk_status_t null_handle_memory_backed(struct nullb_cmd *cmd, in null_handle_memory_backed()
1279 static void nullb_zero_read_cmd_buffer(struct nullb_cmd *cmd) in nullb_zero_read_cmd_buffer()
1295 static inline void nullb_complete_cmd(struct nullb_cmd *cmd) in nullb_complete_cmd()
1332 blk_status_t null_process_cmd(struct nullb_cmd *cmd, in null_process_cmd()
1351 static blk_status_t null_handle_cmd(struct nullb_cmd *cmd, sector_t sector, in null_handle_cmd()
1423 struct nullb_cmd *cmd; in null_submit_bio()
1460 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(bd->rq); in null_queue_rq()
1617 struct nullb_cmd *cmd; in setup_commands()
1709 set->cmd_size = sizeof(struct nullb_cmd); in null_init_tag_set()