Lines Matching refs:nbd_to_dev
175 static inline struct device *nbd_to_dev(struct nbd_device *nbd) in nbd_to_dev() function
309 dev_info(nbd_to_dev(nbd), in nbd_mark_nsock_dead()
347 kobject_uevent(&nbd_to_dev(nbd)->kobj, KOBJ_CHANGE); in nbd_set_size()
355 dev_dbg(nbd_to_dev(cmd->nbd), "request %p: %s\n", req, in nbd_complete_rq()
439 dev_err_ratelimited(nbd_to_dev(nbd), in nbd_xmit_timeout()
478 …dev_info(nbd_to_dev(nbd), "Possible stuck request %p: control (%s@%llu,%uB). Runtime %u seconds\n", in nbd_xmit_timeout()
497 dev_err_ratelimited(nbd_to_dev(nbd), "Connection timed out\n"); in nbd_xmit_timeout()
635 dev_dbg(nbd_to_dev(nbd), "request %p: sending control (%s@%llu,%uB)\n", in nbd_send_cmd()
673 dev_dbg(nbd_to_dev(nbd), "request %p: sending %d bytes data\n", in nbd_send_cmd()
809 dev_dbg(nbd_to_dev(nbd), "request %p: got reply\n", req); in nbd_handle_reply()
834 dev_dbg(nbd_to_dev(nbd), "request %p: got %d bytes data\n", in nbd_handle_reply()
1332 kobject_uevent(&nbd_to_dev(nbd)->kobj, KOBJ_CHANGE); in nbd_config_put()
1549 dev_err(nbd_to_dev(nbd), "Cannot use ioctl interface on a netlink controlled device.\n"); in nbd_ioctl()
1710 dev_err(nbd_to_dev(nbd), "Failed to create debugfs dir for '%s'\n", in nbd_dev_dbg_init()
2222 dev_err(nbd_to_dev(nbd), in nbd_genl_reconfigure()
2229 dev_err(nbd_to_dev(nbd), "must specify backend\n"); in nbd_genl_reconfigure()
2242 dev_err(nbd_to_dev(nbd), in nbd_genl_reconfigure()
2251 dev_err(nbd_to_dev(nbd), in nbd_genl_reconfigure()
2321 dev_info(nbd_to_dev(nbd), "reconnected socket\n"); in nbd_genl_reconfigure()