Home
last modified time | relevance | path

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

/linux/block/
H A Dbadblocks.c567 p[behind] = BB_MAKE(s, BB_LEN(p[behind]) + merged, bad->ack); in behind_merge()
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()
616 BB_LEN(p[prev]) + merged, bad->ack); in front_merge()
641 (BB_LEN(p[prev - 1]) + BB_LEN(p[prev]) <= BB_MAX_LEN) && in can_combine_front()
659 BB_LEN(p[prev - 1]) + BB_LEN(p[prev]), in front_combine()
770 p[prev] = BB_MAKE(BB_OFFSET(p[prev]), BB_LEN(p[prev]), in front_overwrite()
1028 (BB_LEN(p[prev]) + BB_LEN(p[prev + 1])) <= BB_MAX_LEN && in _badblocks_set()
1031 BB_LEN(p[prev]) + BB_LEN(p[prev + 1]), in _badblocks_set()
[all …]
/linux/include/linux/
H A Dbadblocks.h16 #define BB_LEN(x) (((x) & BB_LEN_MASK) + 1) macro
18 #define BB_END(x) (BB_OFFSET(x) + BB_LEN(x))
/linux/drivers/md/
H A Dmd.c2120 | BB_LEN(internal_bb)); in super_1_sync()