Searched refs:openers (Results 1 – 10 of 10) sorted by relevance
41 if (atomic_add_unless(&REISERFS_I(inode)->openers, -1, 1)) in reiserfs_file_release()46 if (!atomic_dec_and_test(&REISERFS_I(inode)->openers)) { in reiserfs_file_release()120 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()123 atomic_inc(&REISERFS_I(inode)->openers); in reiserfs_file_open()
527 atomic_set(&ei->openers, 0); in reiserfs_alloc_inode()
198 idkp->openers++;200 if ((drive->dev_flags & IDE_DFLAG_REMOVABLE) && idkp->openers == 1) {236 idkp->openers--;261 if (idkp->openers == 1)264 if ((drive->dev_flags & IDE_DFLAG_REMOVABLE) && idkp->openers == 1) {269 idkp->openers--;
21 unsigned int openers; /* protected by BKL for now */ member
145 if (floppy->openers > 1) { in ide_floppy_format_unit()242 if (floppy->openers > 1) in ide_floppy_lockdoor()
55 atomic_t openers; member
60 atomic_t openers; member
977 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open()1011 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release()2565 atomic_set(&sdkp->openers, 0); in sd_probe()
258 atomic_t openers; /* number of active opens */ member
550 atomic_set(&mddev->openers, 0); in mddev_init()3440 if (atomic_read(&mddev->openers) > 0) in array_state_store()3447 if (atomic_read(&mddev->openers) > 0) in array_state_store()4785 if (atomic_read(&mddev->openers) > is_open) { in md_set_readonly()4817 if (atomic_read(&mddev->openers) > is_open || in do_md_stop()6027 atomic_inc(&mddev->openers); in md_open()6040 atomic_dec(&mddev->openers); in md_release()