Searched refs:BB_OFFSET (Results 1 - 3 of 3) sorted by relevance

/linux-master/block/
H A Dbadblocks.c464 (BB_OFFSET(p[hint]) <= s)) {
465 if ((hint + 1) == bb->count || BB_OFFSET(p[hint + 1]) > s) {
503 if (BB_OFFSET(p[lo]) > s)
505 if (BB_OFFSET(p[hi - 1]) <= s)
511 sector_t a = BB_OFFSET(p[mid]);
524 if (BB_OFFSET(p[lo]) <= s)
541 if ((s < BB_OFFSET(p[behind])) &&
542 ((s + sectors) >= BB_OFFSET(p[behind])) &&
562 WARN_ON(s >= BB_OFFSET(p[behind]));
563 WARN_ON((s + sectors) < BB_OFFSET(
[all...]
/linux-master/include/linux/
H A Dbadblocks.h15 #define BB_OFFSET(x) (((x) & BB_OFFSET_MASK) >> 9) macro
18 #define BB_END(x) (BB_OFFSET(x) + BB_LEN(x))
/linux-master/drivers/md/
H A Dmd.c2182 u64 store_bb = ((BB_OFFSET(internal_bb) << 10)

Completed in 141 milliseconds