Lines Matching refs:hme_blk
507 struct hme_blk *chp_listp;
1121 * structure used to obtain a match on a hme_blk. Currently consists of
1123 * hme_blk, and the rehash count. The rehash count is actually only 2 bits
1140 uint64_t hblk_basepg: 51, /* hme_blk base pg # */
1142 hblk_rid: 10; /* hme_blk region id */
1197 #define NHMENTS 8 /* # of hments in an 8k hme_blk */
1223 * The hme_blk is the node data structure which the hash structure
1224 * mantains. An hme_blk can have 2 different sizes depending on the
1226 * or 4M hments there is one hment per hme_blk. When dealing with
1227 * 8k hments we allocate an hme_blk plus an additional 7 hments to
1229 * hme_blk.
1246 uint_t shadow_bit:1; /* set for a shadow hme_blk */
1247 uint_t nucleus_bit:1; /* set for a nucleus hme_blk */
1251 struct hme_blk {
1256 struct hme_blk *hblk_next; /* on free list or on hash list */
1259 struct hme_blk *hblk_shadow; /* pts to shadow hblk */
1372 struct hme_blk *hmeblkp;
1438 #define HME8BLK_SZ (sizeof (struct hme_blk) + \
1440 #define HME1BLK_SZ (sizeof (struct hme_blk))
1457 * An hme hash bucket contains a pointer to an hme_blk and the mutex that
1474 * be equivalent to 64K range or one hme_blk.
1479 * list, while adding/removing a hme_blk to the list, and while
1480 * modifying an hme_blk. A possible optimization is to replace these
1485 * hme_blk that contains the hment that corresponds to the passed
1526 * This macro will traverse a hmeblk hash link list looking for an hme_blk
1528 * will be set to NULL, otherwise it will point to the correct hme_blk.
1533 struct hme_blk *nx_hblk; \
1540 /* found hme_blk */ \
1556 struct hme_blk *pr_hblk; \
1562 * This macro will traverse a hmeblk hash link list looking for an hme_blk
1564 * will be set to NULL, otherwise it will point to the correct hme_blk.
1572 /* found hme_blk */ \
2312 extern struct hme_blk *sfmmu_hmetohblk(struct sf_hment *);