Lines Matching defs:new_hash
375 dt_ahash_t new_hash;
388 bzero(&new_hash, sizeof (dt_ahash_t));
391 new_size = new_hash.dtah_size = dtrace_ahashsize[hash->dtah_sizendx];
394 if ((new_hash.dtah_hash = malloc(size)) == NULL) {
400 bzero(new_hash.dtah_hash, size);
407 if (new_hash.dtah_hash[ndx] != NULL)
408 new_hash.dtah_hash[ndx]->dtahe_prev = moving;
409 moving->dtahe_next = new_hash.dtah_hash[ndx];
410 new_hash.dtah_hash[ndx] = moving;
412 if (new_hash.dtah_all != NULL)
413 new_hash.dtah_all->dtahe_prevall = moving;
415 moving->dtahe_nextall = new_hash.dtah_all;
416 new_hash.dtah_all = moving;
423 hash->dtah_size = new_hash.dtah_size;
425 hash->dtah_hash = new_hash.dtah_hash;
426 hash->dtah_all = new_hash.dtah_all;