Home
last modified time | relevance | path

Searched refs:i_lock (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_trans_inode.c130 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_iget()
204 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_ijoin()
251 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_ihold()
268 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_ihold_release()
294 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_log_inode()
Dxfs_iget.c527 mrlock_init(&ip->i_lock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER, in xfs_inode_lock_init()
848 mrupdate(&ip->i_lock); in xfs_ilock()
850 mraccess(&ip->i_lock); in xfs_ilock()
899 ilocked = mrtryupdate(&ip->i_lock); in xfs_ilock_nowait()
907 ilocked = mrtryaccess(&ip->i_lock); in xfs_ilock_nowait()
957 (ismrlocked(&ip->i_lock, MR_ACCESS))); in xfs_iunlock()
959 (ismrlocked(&ip->i_lock, MR_UPDATE))); in xfs_iunlock()
960 mrunlock(&ip->i_lock); in xfs_iunlock()
988 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_ilock_demote()
989 mrdemote(&ip->i_lock); in xfs_ilock_demote()
Dxfs_iocore.c126 io->io_lock = &ip->i_lock; in xfs_iocore_inode_init()
Dxfs_inode_item.c552 ASSERT(ismrlocked(&(iip->ili_inode->i_lock), MR_UPDATE)); in xfs_inode_item_pin()
669 ASSERT(ismrlocked(&(iip->ili_inode->i_lock), MR_UPDATE)); in xfs_inode_item_unlock()
789 ASSERT(ismrlocked(&(ip->i_lock), MR_ACCESS)); in xfs_inode_item_pushbuf()
872 ASSERT(ismrlocked(&(ip->i_lock), MR_ACCESS)); in xfs_inode_item_push()
Dxfs_inode.c1579 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE) != 0); in xfs_itruncate_finish()
1823 ASSERT(ismrlocked(&(ip->i_lock), MR_UPDATE) != 0); in xfs_igrow_start()
1856 ASSERT(ismrlocked(&(ip->i_lock), MR_UPDATE) != 0); in xfs_igrow_finish()
2344 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_ifree()
2801 mrfree(&ip->i_lock); in xfs_idestroy()
2838 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_ipin()
2883 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE | MR_ACCESS)); in xfs_iunpin_wait()
2934 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE|MR_ACCESS)); in xfs_iextents_copy()
3115 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE|MR_ACCESS)); in xfs_iflush()
3373 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE|MR_ACCESS)); in xfs_iflush_int()
Dxfs_utils.c359 ASSERT(ismrlocked (&ip->i_lock, MR_UPDATE)); in xfs_bump_ino_vers2()
Dxfs_inode.h269 mrlock_t i_lock; /* inode lock */ member
Dxfs_iomap.c562 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE) != 0); in xfs_iomap_write_delay()
Dxfs_vnodeops.c1970 ASSERT(ismrlocked (&ip->i_lock, MR_UPDATE)); in xfs_create()
Dxfs_bmap.c3898 ASSERT(ismrlocked(&ip->i_lock,MR_UPDATE)); in xfs_bmap_add_attrfork()
/linux-2.4.37.9/fs/xfs/quota/
Dxfs_quota_priv.h44 #define XFS_ISLOCKED_INODE(ip) (ismrlocked(&(ip)->i_lock, \
46 #define XFS_ISLOCKED_INODE_EXCL(ip) (ismrlocked(&(ip)->i_lock, \