Home
last modified time | relevance | path

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

/drivers/md/bcache/
Dbtree.c1693 uint64_t offset = KEY_START(k) - in fix_overlapping_extents()
1694 KEY_START(&op->replace); in fix_overlapping_extents()
1697 if (KEY_START(k) < KEY_START(&op->replace) || in fix_overlapping_extents()
1702 if (KEY_START(k) > KEY_START(insert) + sectors_found) in fix_overlapping_extents()
1717 sectors_found = KEY_OFFSET(k) - KEY_START(insert); in fix_overlapping_extents()
1809 struct bkey search = KEY(KEY_INODE(k), KEY_START(k), 0); in btree_insert_key()
2174 if (KEY_START(k) <= bio->bi_sector) in submit_partial_cache_miss()
2178 KEY_START(k) - bio->bi_sector); in submit_partial_cache_miss()
2213 (bio->bi_sector - KEY_START(k)); in submit_partial_cache_hit()
Dwriteback.c274 io->bio.bi_sector = KEY_START(&w->key); in write_dirty()
326 (KEY_START(&w->key) != dc->last_read || in read_dirty()
Dbcache.h1053 #define KEY_START(k) (KEY_OFFSET(k) - KEY_SIZE(k)) macro
1054 #define START_KEY(k) KEY(KEY_INODE(k), KEY_START(k), 0)
Dmovinggc.c101 io->bio.bio.bi_sector = KEY_START(&io->w->key); in write_moving()
Dbset.c218 len = KEY_OFFSET(where) - KEY_START(k); in __bch_cut_back()