Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv-sysfs.c88 struct rnbd_srv_sess_dev *sess_dev; in read_only_show() local
102 struct rnbd_srv_sess_dev *sess_dev; in access_mode_show() local
116 struct rnbd_srv_sess_dev *sess_dev; in mapping_path_show() local
137 struct rnbd_srv_sess_dev *sess_dev; in rnbd_srv_dev_session_force_close_store() local
175 kobject_del(&sess_dev->kobj); in rnbd_srv_destroy_dev_session_sysfs()
176 kobject_put(&sess_dev->kobj); in rnbd_srv_destroy_dev_session_sysfs()
184 rnbd_destroy_sess_dev(sess_dev, sess_dev->keep_id); in rnbd_srv_sess_dev_release()
198 sess_dev->sess->sessname); in rnbd_srv_create_dev_session_sysfs()
200 kobject_put(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs()
207 kobject_del(&sess_dev->kobj); in rnbd_srv_create_dev_session_sysfs()
[all …]
H A Drnbd-srv.c95 if (sess_dev) in rnbd_get_sess_dev()
102 return sess_dev; in rnbd_get_sess_dev()
108 struct rnbd_srv_sess_dev *sess_dev = rnbd_priv->sess_dev; in rnbd_dev_bi_end_io() local
145 priv->sess_dev = sess_dev; in process_rdma()
212 xa_cmpxchg(&sess_dev->sess->index_idr, sess_dev->device_id, in rnbd_destroy_sess_dev()
215 xa_erase(&sess_dev->sess->index_idr, sess_dev->device_id); in rnbd_destroy_sess_dev()
232 kfree(sess_dev); in rnbd_destroy_sess_dev()
410 sess_dev = kzalloc(sizeof(*sess_dev), GFP_KERNEL); in rnbd_sess_dev_alloc()
411 if (!sess_dev) in rnbd_sess_dev_alloc()
418 kfree(sess_dev); in rnbd_sess_dev_alloc()
[all …]
H A Drnbd-srv.h62 void rnbd_srv_sess_dev_force_close(struct rnbd_srv_sess_dev *sess_dev,
69 int rnbd_srv_create_dev_session_sysfs(struct rnbd_srv_sess_dev *sess_dev);
70 void rnbd_srv_destroy_dev_session_sysfs(struct rnbd_srv_sess_dev *sess_dev);
73 void rnbd_destroy_sess_dev(struct rnbd_srv_sess_dev *sess_dev, bool keep_id);