Searched refs:open_cnt (Results 1 – 4 of 4) sorted by relevance
172 int open_cnt; /* count of opens (perhaps < num(sfds) ) */ member251 while (sdp->open_cnt > 0) { in open_wait()255 !sdp->open_cnt)); in open_wait()327 if (sdp->open_cnt > 0) { in sg_open()347 if (sdp->open_cnt < 1) { /* no existing opens */ in sg_open()359 sdp->open_cnt++; in sg_open()397 sdp->open_cnt--; in sg_release()404 } else if (0 == sdp->open_cnt) { in sg_release()2622 sdp->sg_tablesize, sdp->exclude, sdp->open_cnt); in sg_proc_seq_show_debug()
1908 device->open_cnt++; in drbd_open()1920 device->open_cnt--; in drbd_release()2202 D_ASSERT(device, device->open_cnt == 0); in drbd_destroy_device()
856 int open_cnt; member
850 else if (ns.role == R_SECONDARY && device->open_cnt) in is_valid_state()