Lines Matching refs:nbd_cmd
126 struct nbd_cmd { struct
164 static void nbd_requeue_cmd(struct nbd_cmd *cmd) in nbd_requeue_cmd()
174 static u64 nbd_cmd_handle(struct nbd_cmd *cmd) in nbd_cmd_handle()
336 struct nbd_cmd *cmd = blk_mq_rq_to_pdu(req); in nbd_complete_rq()
385 struct nbd_cmd *cmd = blk_mq_rq_to_pdu(req); in nbd_xmit_timeout()
529 static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index) in nbd_send_cmd()
676 static struct nbd_cmd *nbd_read_stat(struct nbd_device *nbd, int index) in nbd_read_stat()
681 struct nbd_cmd *cmd; in nbd_read_stat()
787 struct nbd_cmd *cmd; in recv_work()
813 struct nbd_cmd *cmd = blk_mq_rq_to_pdu(req); in nbd_clear_req()
894 static int nbd_handle_cmd(struct nbd_cmd *cmd, int index) in nbd_handle_cmd()
976 struct nbd_cmd *cmd = blk_mq_rq_to_pdu(bd->rq); in nbd_queue_rq()
1691 struct nbd_cmd *cmd = blk_mq_rq_to_pdu(rq); in nbd_init_request()
1739 nbd->tag_set.cmd_size = sizeof(struct nbd_cmd); in nbd_dev_add()