Home
last modified time | relevance | path

Searched refs:mandatory_lock (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/fs/
Dlocks.c2458 if (mandatory_lock(inode) && mapping_writably_mapped(filp->f_mapping)) { in fcntl_setlk()
2589 if (mandatory_lock(inode) && mapping_writably_mapped(filp->f_mapping)) { in fcntl_setlk64()
2821 mandatory_lock(inode) ? "MANDATORY" : "ADVISORY "); in lock_get_status()
Dread_write.c391 if (unlikely(inode->i_flctx && mandatory_lock(inode))) { in rw_verify_area()
1763 if (unlikely(inode->i_flctx && mandatory_lock(inode))) { in remap_verify_area()
/Linux-v5.4/include/linux/
Dfs.h2353 static inline int mandatory_lock(struct inode *ino) in mandatory_lock() function
2360 if (mandatory_lock(locks_inode(file))) in locks_verify_locked()
2369 if (!inode->i_flctx || !mandatory_lock(inode)) in locks_verify_truncate()
2399 static inline int mandatory_lock(struct inode *inode) in mandatory_lock() function
/Linux-v5.4/fs/nfsd/
Dvfs.c717 if (S_ISREG((inode)->i_mode) && mandatory_lock(inode)) in __nfsd_open()
Dnfs4state.c5401 return opens_in_grace(net) && mandatory_lock(inode); in grace_disallows_io()