Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/
Dmrlock.h29 static inline void mraccess_nested(mrlock_t *mrp, int subclass) in mraccess_nested() argument
31 down_read_nested(&mrp->mr_lock, subclass); in mraccess_nested()
34 static inline void mrupdate_nested(mrlock_t *mrp, int subclass) in mrupdate_nested() argument
36 down_write_nested(&mrp->mr_lock, subclass); in mrupdate_nested()
Dxfs_inode.c380 int subclass) in xfs_lockdep_subclass_ok() argument
382 return subclass < MAX_LOCKDEP_SUBCLASSES; in xfs_lockdep_subclass_ok()
385 #define xfs_lockdep_subclass_ok(subclass) (true) argument
395 xfs_lock_inumorder(int lock_mode, int subclass) in xfs_lock_inumorder() argument
401 ASSERT(xfs_lockdep_subclass_ok(subclass)); in xfs_lock_inumorder()
404 ASSERT(subclass <= XFS_IOLOCK_MAX_SUBCLASS); in xfs_lock_inumorder()
405 class += subclass << XFS_IOLOCK_SHIFT; in xfs_lock_inumorder()
409 ASSERT(subclass <= XFS_MMAPLOCK_MAX_SUBCLASS); in xfs_lock_inumorder()
410 class += subclass << XFS_MMAPLOCK_SHIFT; in xfs_lock_inumorder()
414 ASSERT(subclass <= XFS_ILOCK_MAX_SUBCLASS); in xfs_lock_inumorder()
[all …]
/fs/jfs/
Djfs_incore.h100 #define IREAD_LOCK(ip, subclass) \ argument
101 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
103 #define IWRITE_LOCK(ip, subclass) \ argument
104 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
/fs/nfsd/
Dnfsfh.h285 fh_lock_nested(struct svc_fh *fhp, unsigned int subclass) in fh_lock_nested() argument
299 inode_lock_nested(inode, subclass); in fh_lock_nested()
/fs/ocfs2/
Ddlmglue.h141 int subclass);
Ddlmglue.c2414 int subclass) in ocfs2_inode_lock_full_nested() argument
2450 arg_flags, subclass, _RET_IP_); in ocfs2_inode_lock_full_nested()
/fs/
Dpipe.c60 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument
63 mutex_lock_nested(&pipe->mutex, subclass); in pipe_lock_nested()
/fs/reiserfs/
Dreiserfs.h821 reiserfs_mutex_lock_nested_safe(struct mutex *m, unsigned int subclass, in reiserfs_mutex_lock_nested_safe() argument
827 mutex_lock_nested(m, subclass); in reiserfs_mutex_lock_nested_safe()
/fs/ext4/
Dsuper.c5748 static void lockdep_set_quota_inode(struct inode *inode, int subclass) in lockdep_set_quota_inode() argument
5759 lockdep_set_subclass(&ei->i_data_sem, subclass); in lockdep_set_quota_inode()