Searched refs:openers (Results 1 – 4 of 4) sorted by relevance
114 atomic_t openers; member
1360 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open()1392 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release()3496 atomic_set(&sdkp->openers, 0); in sd_probe()
431 atomic_t openers; /* number of active opens */ member
699 atomic_set(&mddev->openers, 0); in mddev_init()6389 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in md_set_readonly()6451 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in do_md_stop()7641 if (mddev->pers && atomic_read(&mddev->openers) > 1) { in md_ioctl()7887 atomic_inc(&mddev->openers); in md_open()7905 atomic_dec(&mddev->openers); in md_release()