Lines Matching refs:block_num
177 * block_num - block number we are interested in.
182 * for the device & block_num.
187 * the device, block_num combination. If the block does not exist,
193 _sd_hash_search(int cd, nsc_off_t block_num, _sd_hash_table_t *table)
204 i = HASH(cd, block_num, table);
232 if ((hptr->hh_cd == cd) && (hptr->hh_blk_num == block_num))
234 if (hptr->hh_blk_num > block_num) {
246 i = HASH(cd, block_num, table);
252 if ((hptr->hh_cd == cd) && (hptr->hh_blk_num == block_num))
258 if (hptr->hh_blk_num > block_num) {
275 * block_num - block number we are interested in.
280 * Pointer to block that was passed in, except if the cd, block_num
286 * sets the cd, block_num in the block for future references.
291 nsc_off_t block_num,
299 i = HASH(cd, block_num, table);
309 hptr->hh_blk_num = block_num;
313 for (p = bucket->hb_head; (p && (p->hh_blk_num <= block_num));
315 if ((p->hh_cd == cd) && (p->hh_blk_num == block_num)) {