Home
last modified time | relevance | path

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

/linux/block/
H A Dbadblocks.c543 ((BB_END(p[behind]) - s) <= BB_MAX_LEN) && in can_merge_behind()
569 WARN_ON((BB_LEN(p[behind]) + merged) >= BB_MAX_LEN); in behind_merge()
587 (s == BB_END(p[prev]) && (BB_LEN(p[prev]) < BB_MAX_LEN)))) in can_merge_front()
609 merged = min_t(sector_t, sectors, BB_MAX_LEN - BB_LEN(p[prev])); in front_merge()
641 (BB_LEN(p[prev - 1]) + BB_LEN(p[prev]) <= BB_MAX_LEN) && in can_combine_front()
830 len = min_t(sector_t, bad->len, BB_MAX_LEN); in insert_at()
1028 (BB_LEN(p[prev]) + BB_LEN(p[prev + 1])) <= BB_MAX_LEN && in _badblocks_set()
/linux/include/linux/
H A Dbadblocks.h14 #define BB_MAX_LEN 512 macro