Lines Matching refs:nullb_cmd
645 static void free_cmd(struct nullb_cmd *cmd) in free_cmd()
652 static struct nullb_cmd *__alloc_cmd(struct nullb_queue *nq) in __alloc_cmd()
654 struct nullb_cmd *cmd; in __alloc_cmd()
674 static struct nullb_cmd *alloc_cmd(struct nullb_queue *nq, int can_wait) in alloc_cmd()
676 struct nullb_cmd *cmd; in alloc_cmd()
696 static void end_cmd(struct nullb_cmd *cmd) in end_cmd()
715 end_cmd(container_of(timer, struct nullb_cmd, timer)); in null_cmd_timer_expired()
720 static void null_cmd_end_timer(struct nullb_cmd *cmd) in null_cmd_end_timer()
1161 static int null_handle_rq(struct nullb_cmd *cmd) in null_handle_rq()
1188 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()
1284 static void nullb_zero_read_cmd_buffer(struct nullb_cmd *cmd) in nullb_zero_read_cmd_buffer()
1300 static inline void nullb_complete_cmd(struct nullb_cmd *cmd) in nullb_complete_cmd()
1337 blk_status_t null_process_cmd(struct nullb_cmd *cmd, in null_process_cmd()
1356 static blk_status_t null_handle_cmd(struct nullb_cmd *cmd, sector_t sector, in null_handle_cmd()
1431 struct nullb_cmd *cmd; in null_submit_bio()
1460 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq); in null_timeout_rq()
1480 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(bd->rq); in null_queue_rq()
1643 struct nullb_cmd *cmd; in setup_commands()
1731 set->cmd_size = sizeof(struct nullb_cmd); in null_init_tag_set()