Lines Matching defs:gw
104 group_walk_t *gw;
107 gw = mdb_alloc(sizeof (group_walk_t), UM_SLEEP | UM_GC);
114 gw->gw_size = group.grp_size;
115 gw->gw_initialized = 0;
116 gw->gw_pos = 0;
118 if (gw->gw_size < 0) {
123 if (gw->gw_size == 0)
129 gw->gw_set = mdb_alloc(group.grp_size * sizeof (uintptr_t),
132 if (mdb_vread(gw->gw_set, group.grp_size * sizeof (uintptr_t),
138 wsp->walk_data = gw;
139 wsp->walk_addr = gw->gw_set[0];
140 gw->gw_pos = 0;
151 group_walk_t *gw = (group_walk_t *)wsp->walk_data;
157 if (gw->gw_size < 0)
171 gw->gw_size--;
173 if (gw->gw_size > 0)
174 wsp->walk_addr = gw->gw_set[++gw->gw_pos];