Searched refs:openers (Results 1 – 10 of 10) sorted by relevance
199 idkp->openers++;201 if ((drive->dev_flags & IDE_DFLAG_REMOVABLE) && idkp->openers == 1) {241 idkp->openers--;266 if (idkp->openers == 1)269 if ((drive->dev_flags & IDE_DFLAG_REMOVABLE) && idkp->openers == 1) {274 idkp->openers--;
22 unsigned int openers; /* protected by BKL for now */ member
147 if (floppy->openers > 1) { in ide_floppy_format_unit()244 if (floppy->openers > 1) in ide_floppy_lockdoor()
41 if (!atomic_dec_and_mutex_lock(&REISERFS_I(inode)->openers, in reiserfs_file_release()122 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()124 atomic_inc(&REISERFS_I(inode)->openers); in reiserfs_file_open()
645 atomic_set(&ei->openers, 0); in reiserfs_alloc_inode()
96 atomic_t openers; member
91 atomic_t openers; member
1472 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open()1504 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release()3434 atomic_set(&sdkp->openers, 0); in sd_probe()
406 atomic_t openers; /* number of active opens */ member
697 atomic_set(&mddev->openers, 0); in mddev_init()6322 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in md_set_readonly()6383 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in do_md_stop()7573 if (mddev->pers && atomic_read(&mddev->openers) > 1) { in md_ioctl()7834 atomic_inc(&mddev->openers); in md_open()7849 atomic_dec(&mddev->openers); in md_release()