Searched refs:i_pincount (Results 1 – 3 of 3) sorted by relevance
272 atomic_t i_pincount; /* inode pin count */ member540 #define xfs_ipincount(ip) ((unsigned int) atomic_read(&ip->i_pincount))
2840 atomic_inc(&ip->i_pincount); in xfs_ipin()2852 ASSERT(atomic_read(&ip->i_pincount) > 0); in xfs_iunpin()2854 if (atomic_dec_and_test(&ip->i_pincount)) { in xfs_iunpin()2885 if (atomic_read(&ip->i_pincount) == 0) { in xfs_iunpin_wait()2901 wait_event(ip->i_ipin_wait, (atomic_read(&ip->i_pincount) == 0)); in xfs_iunpin_wait()
531 atomic_set(&ip->i_pincount, 0); in xfs_inode_lock_init()