Searched refs:mandatory_lock (Results 1 – 5 of 5) sorted by relevance
2289 static inline int mandatory_lock(struct inode *ino) in mandatory_lock() function2296 if (mandatory_lock(locks_inode(file))) in locks_verify_locked()2305 if (!inode->i_flctx || !mandatory_lock(inode)) in locks_verify_truncate()2335 static inline int mandatory_lock(struct inode *inode) in mandatory_lock() function
2257 if (mandatory_lock(inode) && mapping_writably_mapped(filp->f_mapping)) { in fcntl_setlk()2388 if (mandatory_lock(inode) && mapping_writably_mapped(filp->f_mapping)) { in fcntl_setlk64()2646 mandatory_lock(inode) ? "MANDATORY" : "ADVISORY "); in lock_get_status()
385 if (unlikely(inode->i_flctx && mandatory_lock(inode))) { in rw_verify_area()1706 if (unlikely(inode->i_flctx && mandatory_lock(inode))) { in clone_verify_area()
757 if (S_ISREG((inode)->i_mode) && mandatory_lock(inode)) in nfsd_open()
4942 return opens_in_grace(net) && mandatory_lock(inode); in grace_disallows_io()