Lines Matching defs:iw
51 inode_walk_data_t *iw;
76 iw = mdb_alloc(sizeof (inode_walk_data_t), UM_SLEEP);
77 iw->iw_inohsz = inohsz;
78 iw->iw_inohcnt = 0;
79 iw->iw_ihead = ihead;
82 wsp->walk_data = iw;
91 inode_walk_data_t *iw = wsp->walk_data;
94 while (addr == iw->iw_ihead) {
95 if (++iw->iw_inohcnt >= iw->iw_inohsz)
98 iw->iw_ihead += sizeof (union ihead);
100 if (mdb_vread(&ih, sizeof (union ihead), iw->iw_ihead) == -1) {
101 mdb_warn("failed to read ihead at %p", iw->iw_ihead);
107 if (mdb_vread(&iw->iw_inode, sizeof (inode_t), addr) == -1) {
112 wsp->walk_addr = (uintptr_t)iw->iw_inode.i_forw;
114 return (wsp->walk_callback(addr, (void *)(uintptr_t)iw->iw_inohcnt,