Home
last modified time | relevance | path

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

/linux/block/
H A Dbadblocks.c464 (BB_OFFSET(p[hint]) <= s)) { in prev_by_hint()
465 if ((hint + 1) == bb->count || BB_OFFSET(p[hint + 1]) > s) { in prev_by_hint()
503 if (BB_OFFSET(p[lo]) > s) in prev_badblocks()
505 if (BB_OFFSET(p[hi - 1]) <= s) in prev_badblocks()
511 sector_t a = BB_OFFSET(p[mid]); in prev_badblocks()
524 if (BB_OFFSET(p[lo]) <= s) in prev_badblocks()
541 if ((s < BB_OFFSET(p[behind])) && in can_merge_behind()
542 ((s + sectors) >= BB_OFFSET(p[behind])) && in can_merge_behind()
562 WARN_ON(s >= BB_OFFSET(p[behind])); in behind_merge()
563 WARN_ON((s + sectors) < BB_OFFSET(p[behind])); in behind_merge()
[all …]
/linux/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/drivers/md/
H A Dmd.c2119 u64 store_bb = ((BB_OFFSET(internal_bb) << 10) in super_1_sync()