Searched refs:KEY_OFFSET (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/md/bcache/ |
D | extents.c | 234 if (!KEY_OFFSET(insert)) in bch_btree_ptr_insert_fixup() 333 BUG_ON(!KEY_OFFSET(insert)); in bch_extent_insert_fixup() 374 KEY_OFFSET(k) > KEY_OFFSET(replace_key)) in bch_extent_insert_fixup() 393 sectors_found = KEY_OFFSET(k) - KEY_START(insert); in bch_extent_insert_fixup() 466 SET_KEY_OFFSET(insert, KEY_OFFSET(insert) - in bch_extent_insert_fixup() 487 if (KEY_SIZE(k) > KEY_OFFSET(k)) in __bch_extent_invalid() 600 SET_KEY_OFFSET(l, KEY_OFFSET(l) + USHRT_MAX - KEY_SIZE(l)); in bch_extent_merge() 614 SET_KEY_OFFSET(l, KEY_OFFSET(l) + KEY_SIZE(r)); in bch_extent_merge()
|
D | bset.h | 418 : (int64_t) KEY_OFFSET(l) - (int64_t) KEY_OFFSET(r); in bkey_cmp() 449 if (KEY_INODE(k) || KEY_OFFSET(k)) { in preceding_key() 450 (**preceding_key_p) = KEY(KEY_INODE(k), KEY_OFFSET(k), 0); in preceding_key()
|
D | bcache_ondisk.h | 56 static inline __u64 KEY_OFFSET(const struct bkey *k) in KEY_OFFSET() function 83 #define KEY_START(k) (KEY_OFFSET(k) - KEY_SIZE(k)) 114 SET_KEY_OFFSET(dest, KEY_OFFSET(src)); in bkey_copy_key()
|
D | bset.c | 34 pr_cont("%llu:%llu\n", KEY_INODE(k), KEY_OFFSET(k)); in bch_dump_bset() 205 len = KEY_OFFSET(k) - KEY_OFFSET(where); in __bch_cut_front() 227 len = KEY_OFFSET(where) - KEY_START(k); in __bch_cut_back()
|
D | alloc.c | 658 SET_KEY_OFFSET(k, KEY_OFFSET(k) + sectors); in bch_alloc_sectors()
|
D | btree.c | 2554 KEY_OFFSET(&b->key), 0)); in bch_btree_map_keys_recurse() 2653 KEY_INODE(&start), KEY_OFFSET(&start), in bch_refill_keybuf() 2655 KEY_OFFSET(&buf->last_scanned)); in bch_refill_keybuf()
|
D | writeback.c | 659 stripe = offset_to_stripe(&dc->disk, KEY_OFFSET(&buf->last_scanned)); in refill_full_stripes()
|
D | request.c | 551 KEY_OFFSET(k) - bio->bi_iter.bi_sector), in cache_lookup_fn()
|
/Linux-v6.1/include/trace/events/ |
D | bcache.h | 54 __entry->offset = KEY_OFFSET(k); 351 __entry->offset = KEY_OFFSET(k);
|