Lines Matching refs:swd
379 set_walk_data_t *swd; in rctl_set_walk_init() local
400 swd = mdb_alloc(sizeof (set_walk_data_t), UM_SLEEP); in rctl_set_walk_init()
401 swd->hashsize = hashsz; in rctl_set_walk_init()
402 swd->hashcur = 0; in rctl_set_walk_init()
403 swd->hashloc = (void **)rctls; in rctl_set_walk_init()
406 wsp->walk_data = swd; in rctl_set_walk_init()
415 set_walk_data_t *swd = wsp->walk_data; in rctl_set_walk_step() local
417 void **rhash = swd->hashloc; in rctl_set_walk_step()
420 if (swd->hashcur >= swd->hashsize) in rctl_set_walk_step()
424 while (swd->hashcur < swd->hashsize) { in rctl_set_walk_step()
425 if (rhash[swd->hashcur] != NULL) { in rctl_set_walk_step()
428 swd->hashcur++; in rctl_set_walk_step()
431 if (rhash[swd->hashcur] == NULL || in rctl_set_walk_step()
432 swd->hashcur >= swd->hashsize) in rctl_set_walk_step()
435 wsp->walk_addr = (uintptr_t)rhash[swd->hashcur]; in rctl_set_walk_step()
436 swd->hashcur++; in rctl_set_walk_step()