Searched refs:sess_dev (Results 1 – 3 of 3) sorted by relevance
88 struct rnbd_srv_sess_dev *sess_dev; in read_only_show() local102 struct rnbd_srv_sess_dev *sess_dev; in access_mode_show() local116 struct rnbd_srv_sess_dev *sess_dev; in mapping_path_show() local137 struct rnbd_srv_sess_dev *sess_dev; in rnbd_srv_dev_session_force_close_store() local175 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 …]
95 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() local145 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 …]
62 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);