Home
last modified time | relevance | path

Searched refs:openers (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/reiserfs/
H A Dfile.c41 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()
H A Dsuper.c645 atomic_set(&ei->openers, 0); in reiserfs_alloc_inode()
H A Dreiserfs.h94 atomic_t openers; member
/openbmc/linux/drivers/scsi/
H A Dsd.h114 atomic_t openers; member
H A Dsd.c1429 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()
/openbmc/linux/drivers/md/
H A Dmd.h432 atomic_t openers; /* number of active opens */ member
H A Dmd.c670 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()