Home
last modified time | relevance | path

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

/linux-6.1.9/fs/reiserfs/
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()
Dsuper.c645 atomic_set(&ei->openers, 0); in reiserfs_alloc_inode()
Dreiserfs.h94 atomic_t openers; member
/linux-6.1.9/drivers/scsi/
Dsd.h114 atomic_t openers; member
Dsd.c1357 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()
/linux-6.1.9/drivers/md/
Dmd.h431 atomic_t openers; /* number of active opens */ member
Dmd.c673 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()