Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 10 of 10) 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.c386 int subclass) in xfs_lockdep_subclass_ok() argument
388 return subclass < MAX_LOCKDEP_SUBCLASSES; in xfs_lockdep_subclass_ok()
391 #define xfs_lockdep_subclass_ok(subclass) (true) argument
401 xfs_lock_inumorder(int lock_mode, int subclass) in xfs_lock_inumorder() argument
407 ASSERT(xfs_lockdep_subclass_ok(subclass)); in xfs_lock_inumorder()
410 ASSERT(subclass <= XFS_IOLOCK_MAX_SUBCLASS); in xfs_lock_inumorder()
411 class += subclass << XFS_IOLOCK_SHIFT; in xfs_lock_inumorder()
415 ASSERT(subclass <= XFS_MMAPLOCK_MAX_SUBCLASS); in xfs_lock_inumorder()
416 class += subclass << XFS_MMAPLOCK_SHIFT; in xfs_lock_inumorder()
420 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.h288 fh_lock_nested(struct svc_fh *fhp, unsigned int subclass) in fh_lock_nested() argument
302 inode_lock_nested(inode, subclass); in fh_lock_nested()
/fs/ocfs2/
Ddlmglue.h141 int subclass);
Ddlmglue.c2420 int subclass) in ocfs2_inode_lock_full_nested() argument
2456 arg_flags, subclass, _RET_IP_); in ocfs2_inode_lock_full_nested()
/fs/
Dpipe.c78 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument
81 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/f2fs/
Df2fs.h2180 static inline void f2fs_down_read_nested(struct f2fs_rwsem *sem, int subclass) in f2fs_down_read_nested() argument
2182 down_read_nested(&sem->internal_rwsem, subclass); in f2fs_down_read_nested()
2185 #define f2fs_down_read_nested(sem, subclass) f2fs_down_read(sem) argument
/fs/ext4/
Dsuper.c6278 static void lockdep_set_quota_inode(struct inode *inode, int subclass) in lockdep_set_quota_inode() argument
6289 lockdep_set_subclass(&ei->i_data_sem, subclass); in lockdep_set_quota_inode()