Lines Matching defs:cmd
635 static void free_cmd(struct nullb_cmd *cmd) in free_cmd()
644 struct nullb_cmd *cmd; in __alloc_cmd() local
666 struct nullb_cmd *cmd; in alloc_cmd() local
686 static void end_cmd(struct nullb_cmd *cmd) in end_cmd()
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()
1426 struct nullb_cmd *cmd; in null_submit_bio() local
1455 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq); in null_timeout_rq() local
1475 struct nullb_cmd *cmd = blk_mq_rq_to_pdu(bd->rq); in null_queue_rq() local
1633 struct nullb_cmd *cmd; in setup_commands() local