Lines Matching defs:dev
51 static void rnbd_clt_put_dev(struct rnbd_clt_dev *dev) in rnbd_clt_put_dev()
66 static inline bool rnbd_clt_get_dev(struct rnbd_clt_dev *dev) in rnbd_clt_get_dev()
71 static void rnbd_clt_change_capacity(struct rnbd_clt_dev *dev, in rnbd_clt_change_capacity()
85 static int process_msg_open_rsp(struct rnbd_clt_dev *dev, in process_msg_open_rsp()
119 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, sector_t newsize) in rnbd_clt_resize_disk()
368 struct rnbd_clt_dev *dev = rq->q->disk->private_data; in rnbd_softirq_done_fn() local
381 struct rnbd_clt_dev *dev = iu->dev; in msg_io_conf() local
437 struct rnbd_clt_dev *dev = iu->dev; in msg_close_conf() local
444 static int send_msg_close(struct rnbd_clt_dev *dev, u32 device_id, in send_msg_close()
484 struct rnbd_clt_dev *dev = iu->dev; in msg_open_conf() local
530 static int send_msg_open(struct rnbd_clt_dev *dev, enum wait_type wait) in send_msg_open()
632 struct rnbd_clt_dev *dev; in set_dev_states_to_disconnected() local
652 struct rnbd_clt_dev *dev; in remap_devs() local
926 struct rnbd_clt_dev *dev = disk->private_data; in rnbd_client_open() local
940 struct rnbd_clt_dev *dev = gen->private_data; in rnbd_client_release() local
949 struct rnbd_clt_dev *dev = block_device->bd_disk->private_data; in rnbd_client_getgeo() local
988 static int rnbd_client_xfer_request(struct rnbd_clt_dev *dev, in rnbd_client_xfer_request()
1051 static bool rnbd_clt_dev_add_to_requeue(struct rnbd_clt_dev *dev, in rnbd_clt_dev_add_to_requeue()
1095 static void rnbd_clt_dev_kick_mq_queue(struct rnbd_clt_dev *dev, in rnbd_clt_dev_kick_mq_queue()
1115 struct rnbd_clt_dev *dev = rq->q->disk->private_data; in rnbd_queue_rq() local
1161 struct rnbd_clt_dev *dev = q->dev; in rnbd_rdma_poll() local
1310 static inline void rnbd_init_hw_queue(struct rnbd_clt_dev *dev, in rnbd_init_hw_queue()
1319 static void rnbd_init_mq_hw_queues(struct rnbd_clt_dev *dev) in rnbd_init_mq_hw_queues()
1332 static void setup_request_queue(struct rnbd_clt_dev *dev, in setup_request_queue()
1367 static int rnbd_clt_setup_gen_disk(struct rnbd_clt_dev *dev, in rnbd_clt_setup_gen_disk()
1401 static int rnbd_client_setup_device(struct rnbd_clt_dev *dev, in rnbd_client_setup_device()
1424 struct rnbd_clt_dev *dev; in init_dev() local
1483 struct rnbd_clt_dev *dev; in __exists_dev() local
1517 static bool insert_dev_if_not_exists_devpath(struct rnbd_clt_dev *dev) in insert_dev_if_not_exists_devpath()
1534 static void delete_dev(struct rnbd_clt_dev *dev) in delete_dev()
1551 struct rnbd_clt_dev *dev; in rnbd_clt_map_device() local
1663 static void destroy_gen_disk(struct rnbd_clt_dev *dev) in destroy_gen_disk()
1669 static void destroy_sysfs(struct rnbd_clt_dev *dev, in destroy_sysfs()
1682 int rnbd_clt_unmap_device(struct rnbd_clt_dev *dev, bool force, in rnbd_clt_unmap_device()
1729 int rnbd_clt_remap_device(struct rnbd_clt_dev *dev) in rnbd_clt_remap_device()
1755 struct rnbd_clt_dev *dev; in unmap_device_work() local
1764 struct rnbd_clt_dev *dev, *tn; in rnbd_destroy_sessions() local