Searched refs:openers (Results 1 – 7 of 7) sorted by relevance
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()
94 atomic_t openers; member
114 atomic_t openers; member
1357 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open()1389 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release()3471 atomic_set(&sdkp->openers, 0); in sd_probe()
431 atomic_t openers; /* number of active opens */ member
673 atomic_set(&mddev->openers, 0); in mddev_init()6304 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in md_set_readonly()6365 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in do_md_stop()7555 if (mddev->pers && atomic_read(&mddev->openers) > 1) { in md_ioctl()7802 atomic_inc(&mddev->openers); in md_open()7820 atomic_dec(&mddev->openers); in md_release()