Home
last modified time | relevance | path

Searched refs:open_cnt (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/phy/freescale/
Dphy-fsl-imx8qm-hsio.c91 u32 open_cnt; member
353 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()
/linux-6.12.1/drivers/scsi/
Dsg.c172 int open_cnt; /* count of opens (perhaps < num(sfds) ) */ member
251 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()
/linux-6.12.1/drivers/block/drbd/
Ddrbd_main.c1894 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()
Ddrbd_int.h854 int open_cnt; member
Ddrbd_state.c850 else if (ns.role == R_SECONDARY && device->open_cnt) in is_valid_state()