Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/bcache/
H A Dextents.c331 unsigned int old_size, sectors_found = 0; in bch_extent_insert_fixup() local
378 if (KEY_START(k) > KEY_START(insert) + sectors_found) in bch_extent_insert_fixup()
393 sectors_found = KEY_OFFSET(k) - KEY_START(insert); in bch_extent_insert_fixup()
463 if (!sectors_found) { in bch_extent_insert_fixup()
465 } else if (sectors_found < KEY_SIZE(insert)) { in bch_extent_insert_fixup()
467 (KEY_SIZE(insert) - sectors_found)); in bch_extent_insert_fixup()
468 SET_KEY_SIZE(insert, sectors_found); in bch_extent_insert_fixup()