Searched refs:BHASH (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 84 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1)) macro 86 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno)) 249 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)) + offset, 260 p_buf = bc->bcache_data + (bcache_blksize * BHASH(bc, p_blk)); 261 r_size = bc->bcache_nblks - BHASH(bc, p_blk); /* remaining blocks */ 265 ra = bc->bcache_nblks - BHASH(bc, p_blk + p_size); 310 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)) + offset, 364 cblk = bcache_nblks - BHASH(bc, blk); /* # of blocks left */ 427 cand = BHASH(bc, blkno); 442 i = BHASH(b [all...] |
Completed in 55 milliseconds