Lines Matching refs:hash_table
355 for (db = h->hash_table[idx]; db != NULL; db = db->db_hash_next) { in dbuf_find()
411 for (dbf = h->hash_table[idx], i = 0; dbf != NULL; in dbuf_hash_insert()
432 db->db_hash_next = h->hash_table[idx]; in dbuf_hash_insert()
433 h->hash_table[idx] = db; in dbuf_hash_insert()
497 dbp = &h->hash_table[idx]; in dbuf_hash_remove()
504 if (h->hash_table[idx] && in dbuf_hash_remove()
505 h->hash_table[idx]->db_hash_next == NULL) in dbuf_hash_remove()
950 h->hash_table = NULL; in dbuf_init()
951 while (h->hash_table == NULL) { in dbuf_init()
954 h->hash_table = vmem_zalloc(hsize * sizeof (void *), KM_SLEEP); in dbuf_init()
955 if (h->hash_table == NULL) in dbuf_init()
1057 vmem_free(h->hash_table, (h->hash_table_mask + 1) * sizeof (void *)); in dbuf_fini()