Home
last modified time | relevance | path

Searched refs:m_chash (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_iget.c109 mp->m_chash = (xfs_chash_t *)kmem_zalloc(mp->m_chsize in xfs_chash_init()
112 ASSERT(mp->m_chash != NULL); in xfs_chash_init()
115 spinlock_init(&mp->m_chash[i].ch_lock,"xfshash"); in xfs_chash_init()
128 spinlock_destroy(&mp->m_chash[i].ch_lock); in xfs_chash_free()
131 kmem_free(mp->m_chash, mp->m_chsize*sizeof(xfs_chash_t)); in xfs_chash_free()
132 mp->m_chash = NULL; in xfs_chash_free()
Dxfs_inode.h456 #define XFS_CHASH(mp,blk) ((mp)->m_chash + (((uint)blk) % (mp)->m_chsize))
Dxfs_mount.h380 struct xfs_chash *m_chash; /* fs private inode per-cluster member
Dxfs_mount.c160 if (mp->m_chash) in xfs_mount_free()