Home
last modified time | relevance | path

Searched refs:BHASH (Results 1 – 2 of 2) sorted by relevance

/freebsd/stand/common/
H A Dbcache.c83 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1)) macro
85 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno))
270 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size); in read_strategy()
280 p_buf = bc->bcache_data + (bcache_blksize * BHASH(bc, p_blk)); in read_strategy()
281 r_size = bc->bcache_nblks - BHASH(bc, p_blk); /* remaining blocks */ in read_strategy()
312 ra = bc->bcache_nblks - BHASH(bc, p_blk + p_size); in read_strategy()
373 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)), buf, size); in read_strategy()
423 cblk = bcache_nblks - BHASH(bc, blk); /* # of blocks left */ in bcache_strategy()
479 cand = BHASH(bc, blkno); in bcache_insert()
494 i = BHASH(bc, blkno); in bcache_invalidate()
/freebsd/sbin/routed/
H A Dif.c49 #define BHASH(a) &bhash_tbl[(a)%BHASH_LEN] macro
108 hifp = BHASH(ifp->int_brdaddr); in if_link()
155 for (ifp = *BHASH(addr); ifp; ifp = ifp->int_bhash) { in ifwithaddr()