Lines Matching defs:table

79  * _sdbc_hash_configure - create a hash table
86 * The address of the hash table just created
92 * and returns the hash table that is created.
95 * It is also the caller's responsibility to destroy the hash table
143 * _sdbc_hash_deconfigure - deconfigure a hash table
146 * hash_table - hash table that was created earlier on.
173 * _sd_hash_search - search the hash table for an entry
178 * hash_table - hash table to search in.
181 * returns a hash header if a match was found in the hash table
189 * table for future references.
193 _sd_hash_search(int cd, nsc_off_t block_num, _sd_hash_table_t *table)
204 i = HASH(cd, block_num, table);
205 bucket = (table->ht_buckets + i);
246 i = HASH(cd, block_num, table);
247 bucket = (table->ht_buckets + i);
271 * _sd_hash_insert - insert an entry into the hash table
277 * table - hash table to search in.
293 _sd_hash_table_t *table)
299 i = HASH(cd, block_num, table);
300 bucket = (table->ht_buckets + i);
362 * _sd_hash_delete - delete an entry from the hash table
365 * hptr - pointer to delete from hash table.
366 * hash_table - hash table that was created earlier on.
372 * this routine deletes a hash entry from the hash table.
376 _sd_hash_delete(_sd_hash_hd_t *hptr, _sd_hash_table_t *table)
386 i = HASH(hptr->hh_cd, hptr->hh_blk_num, table);
387 bucket = (table->ht_buckets + i);
430 * table - hash table to search in.
442 _sd_hash_table_t *table)
455 hptr = _sd_hash_insert(new->hh_cd, new->hh_blk_num, new, table);
463 i = HASH(old->hh_cd, old->hh_blk_num, table);
464 bucket = (table->ht_buckets + i);
473 hptr = _sd_hash_insert(new->hh_cd, new->hh_blk_num, new, table);