Searched refs:i_writecount (Results 1 - 15 of 15) sorted by relevance

/linux-master/fs/udf/
H A Dfile.c177 atomic_read(&inode->i_writecount) == 1) {
/linux-master/include/trace/events/
H A Dfilelock.h190 __entry->wcount = atomic_read(&inode->i_writecount);
/linux-master/include/linux/
H A Dfs.h708 atomic_t i_writecount; member in struct:inode
2925 * The i_writecount field of an inode can have the following values:
2927 * < 0: (-i_writecount) users that denied write access to the file.
2928 * > 0: (i_writecount) users that have write access to the file.
2931 * except for the cases where we don't hold i_writecount yet. Then we need to
2937 return atomic_inc_unless_negative(&inode->i_writecount) ? 0 : -ETXTBSY;
2942 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY;
2946 atomic_dec(&inode->i_writecount);
2951 atomic_inc(&file_inode(file)->i_writecount);
2955 return atomic_read(&inode->i_writecount) >
[all...]
/linux-master/security/integrity/evm/
H A Devm_main.c1033 if (iint && atomic_read(&inode->i_writecount) == 1)
/linux-master/fs/ext4/
H A Dfile.c174 (atomic_read(&inode->i_writecount) == 1) &&
/linux-master/fs/ntfs3/
H A Dfile.c1177 atomic_read(&inode->i_writecount) == 1)) {
/linux-master/security/integrity/ima/
H A Dima_main.c166 if (atomic_read(&inode->i_writecount) == 1) {
/linux-master/fs/
H A Dinode.c176 atomic_set(&inode->i_writecount, 0);
H A Dlocks.c1757 * Note that this will result in denying write leases when i_writecount
1766 if (atomic_read(&inode->i_writecount) != self_wcount ||
/linux-master/fs/gfs2/
H A Drgrp.c690 if (atomic_read(&inode->i_writecount) <= 1)
/linux-master/fs/quota/
H A Ddquot.c1034 !atomic_read(&inode->i_writecount) ||
/linux-master/fs/nfsd/
H A Dvfs.c1133 if (atomic_read(&inode->i_writecount) > 1
H A Dnfs4state.c5640 writes = atomic_read(&ino->i_writecount);
5655 * i_writecount:
5667 * but if they haven't incremented i_writecount yet then they
/linux-master/fs/f2fs/
H A Dfile.c1875 atomic_read(&inode->i_writecount) != 1)
3539 writecount = atomic_read(&inode->i_writecount);
/linux-master/drivers/md/
H A Dmd.c7234 } else if (atomic_read(&inode->i_writecount) != 1) {

Completed in 831 milliseconds