Home
last modified time | relevance | path

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

/drivers/block/rnbd/
Drnbd-srv.h35 struct rnbd_srv_dev { struct
56 struct rnbd_srv_dev *dev;
68 int rnbd_srv_create_dev_sysfs(struct rnbd_srv_dev *dev,
71 void rnbd_srv_destroy_dev_sysfs(struct rnbd_srv_dev *dev);
Drnbd-srv.c181 static void destroy_device(struct rnbd_srv_dev *dev) in destroy_device()
203 struct rnbd_srv_dev *dev; in destroy_device_cb()
205 dev = container_of(kref, struct rnbd_srv_dev, kref); in destroy_device_cb()
210 static void rnbd_put_srv_dev(struct rnbd_srv_dev *dev) in rnbd_put_srv_dev()
423 static struct rnbd_srv_dev *rnbd_srv_init_srv_dev(const char *id) in rnbd_srv_init_srv_dev()
425 struct rnbd_srv_dev *dev; in rnbd_srv_init_srv_dev()
439 static struct rnbd_srv_dev *
440 rnbd_srv_find_or_add_srv_dev(struct rnbd_srv_dev *new_dev) in rnbd_srv_find_or_add_srv_dev()
442 struct rnbd_srv_dev *dev; in rnbd_srv_find_or_add_srv_dev()
463 static int rnbd_srv_check_update_open_perm(struct rnbd_srv_dev *srv_dev, in rnbd_srv_check_update_open_perm()
[all …]
Drnbd-srv-sysfs.c29 struct rnbd_srv_dev *dev; in rnbd_srv_dev_release()
31 dev = container_of(kobj, struct rnbd_srv_dev, dev_kobj); in rnbd_srv_dev_release()
41 int rnbd_srv_create_dev_sysfs(struct rnbd_srv_dev *dev, in rnbd_srv_create_dev_sysfs()
72 void rnbd_srv_destroy_dev_sysfs(struct rnbd_srv_dev *dev) in rnbd_srv_destroy_dev_sysfs()