Searched refs:open_cnt (Results 1 – 5 of 5) sorted by relevance
91 u32 open_cnt; member353 if (!priv->open_cnt) in imx_hsio_power_on()355 priv->open_cnt++; in imx_hsio_power_on()394 priv->open_cnt--; in imx_hsio_power_off()395 if (priv->open_cnt == 0) { in imx_hsio_power_off()
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()2620 sdp->sg_tablesize, sdp->exclude, sdp->open_cnt); in sg_proc_seq_show_debug()
1894 device->open_cnt++; in drbd_open()1906 device->open_cnt--; in drbd_release()2188 D_ASSERT(device, device->open_cnt == 0); in drbd_destroy_device()
854 int open_cnt; member
850 else if (ns.role == R_SECONDARY && device->open_cnt) in is_valid_state()