Searched refs:BB_MAKE (Results 1 – 2 of 2) sorted by relevance
/linux/block/ |
H A D | badblocks.c | 567 p[behind] = BB_MAKE(s, BB_LEN(p[behind]) + merged, bad->ack); in behind_merge() 615 p[prev] = BB_MAKE(BB_OFFSET(p[prev]), in front_merge() 658 p[prev - 1] = BB_MAKE(BB_OFFSET(p[prev - 1]), in front_combine() 770 p[prev] = BB_MAKE(BB_OFFSET(p[prev]), BB_LEN(p[prev]), in front_overwrite() 775 p[prev] = BB_MAKE(BB_OFFSET(p[prev]), in front_overwrite() 779 p[prev + 1] = BB_MAKE(bad->start + bad->len, in front_overwrite() 783 p[prev] = BB_MAKE(BB_OFFSET(p[prev]), in front_overwrite() 793 p[prev + 1] = BB_MAKE(bad->start, bad->len, bad->ack); in front_overwrite() 797 p[prev] = BB_MAKE(BB_OFFSET(p[prev]), in front_overwrite() 807 p[prev + 1] = BB_MAKE(bad->start, bad->len, bad->ack); in front_overwrite() [all …]
|
/linux/include/linux/ |
H A D | badblocks.h | 19 #define BB_MAKE(a, l, ack) (((a)<<9) | ((l)-1) | ((u64)(!!(ack)) << 63)) macro
|