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
1429 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open()1460 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release()3707 atomic_set(&sdkp->openers, 0); in sd_probe()
432 atomic_t openers; /* number of active opens */ member
670 atomic_set(&mddev->openers, 0); in mddev_init()6405 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in md_set_readonly()6469 if ((mddev->pers && atomic_read(&mddev->openers) > !!bdev) || in do_md_stop()7686 if (mddev->pers && atomic_read(&mddev->openers) > 1) { in md_ioctl()7902 atomic_inc(&mddev->openers); in md_open()7920 atomic_dec(&mddev->openers); in md_release()