Home
last modified time | relevance | path

Searched refs:rnbd_clt_dev (Results 1 – 3 of 3) sorted by relevance

/drivers/block/rnbd/
Drnbd-clt.h58 struct rnbd_clt_dev *dev;
104 struct rnbd_clt_dev *dev;
108 struct rnbd_clt_dev { struct
131 struct rnbd_clt_dev *rnbd_clt_map_device(const char *sessname, argument
137 int rnbd_clt_unmap_device(struct rnbd_clt_dev *dev, bool force,
140 int rnbd_clt_remap_device(struct rnbd_clt_dev *dev);
141 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, sector_t newsize);
149 void rnbd_clt_remove_dev_symlink(struct rnbd_clt_dev *dev);
Drnbd-clt-sysfs.c226 struct rnbd_clt_dev *dev; in state_show()
228 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in state_show()
251 struct rnbd_clt_dev *dev; in nr_poll_queues_show()
253 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in nr_poll_queues_show()
264 struct rnbd_clt_dev *dev; in mapping_path_show()
266 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in mapping_path_show()
277 struct rnbd_clt_dev *dev; in access_mode_show()
279 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in access_mode_show()
298 struct rnbd_clt_dev *dev; in rnbd_clt_unmap_dev_store()
308 dev = container_of(kobj, struct rnbd_clt_dev, kobj); in rnbd_clt_unmap_dev_store()
[all …]
Drnbd-clt.c51 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()
381 struct rnbd_clt_dev *dev = iu->dev; in msg_io_conf()
437 struct rnbd_clt_dev *dev = iu->dev; in msg_close_conf()
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()
[all …]