Home
last modified time | relevance | path

Searched refs:open_write_cnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv.c226 sess_dev->dev->open_write_cnt--; in rnbd_destroy_sess_dev()
477 if (srv_dev->open_write_cnt == 0) { in rnbd_srv_check_update_open_perm()
478 srv_dev->open_write_cnt++; in rnbd_srv_check_update_open_perm()
482 srv_dev->open_write_cnt, in rnbd_srv_check_update_open_perm()
488 if (srv_dev->open_write_cnt < 2) { in rnbd_srv_check_update_open_perm()
489 srv_dev->open_write_cnt++; in rnbd_srv_check_update_open_perm()
493 srv_dev->open_write_cnt, in rnbd_srv_check_update_open_perm()
789 srv_dev->open_write_cnt--; in process_msg_open()
H A Drnbd-srv.h42 int open_write_cnt; member