Searched refs:OFF2BNO (Results 1 – 1 of 1) sorted by relevance
| /freebsd-14.2/sys/geom/cache/ |
| H A D | g_cache.c | 109 #define OFF2BNO(off, sc) ((off) >> (sc)->sc_bshift) macro 205 } else if (OFF2BNO(off + len, sc) > dp->d_bno) { in g_cache_deliver() 268 OFF2BNO(bp->bio_offset + bp->bio_completed, sc)); in g_cache_read() 321 bno = OFF2BNO(bp->bio_offset, sc); in g_cache_invalidate() 322 lim = OFF2BNO(bp->bio_offset + bp->bio_length - 1, sc); in g_cache_invalidate() 361 if (OFF2BNO(bp->bio_offset, sc) == in g_cache_start() 362 OFF2BNO(bp->bio_offset + bp->bio_length - 1, sc)) { in g_cache_start() 370 } else if (OFF2BNO(bp->bio_offset, sc) + 1 == in g_cache_start() 371 OFF2BNO(bp->bio_offset + bp->bio_length - 1, sc)) { in g_cache_start() 373 dp = g_cache_lookup(sc, OFF2BNO(bp->bio_offset, sc)); in g_cache_start() [all …]
|