Searched refs:replace_key (Results 1 – 6 of 6) sorted by relevance
/drivers/md/bcache/ |
D | extents.c | 228 struct bkey *replace_key) in bch_btree_ptr_insert_fixup() argument 324 struct bkey *replace_key) in bch_extent_insert_fixup() argument 360 if (replace_key && KEY_SIZE(k)) { in bch_extent_insert_fixup() 367 KEY_START(replace_key); in bch_extent_insert_fixup() 370 if (KEY_START(k) < KEY_START(replace_key) || in bch_extent_insert_fixup() 371 KEY_OFFSET(k) > KEY_OFFSET(replace_key)) in bch_extent_insert_fixup() 378 if (!bch_bkey_equal_header(k, replace_key)) in bch_extent_insert_fixup() 384 BUG_ON(!KEY_PTRS(replace_key)); in bch_extent_insert_fixup() 386 for (i = 0; i < KEY_PTRS(replace_key); i++) in bch_extent_insert_fixup() 387 if (k->ptr[i] != replace_key->ptr[i] + offset) in bch_extent_insert_fixup() [all …]
|
D | btree.c | 1890 struct bkey *replace_key) in btree_insert_key() argument 1896 status = bch_btree_insert_key(&b->keys, k, replace_key); in btree_insert_key() 1899 replace_key ? "replace" : "insert"); in btree_insert_key() 1901 trace_bcache_btree_insert_key(b, k, replace_key != NULL, in btree_insert_key() 1923 struct bkey *replace_key) in bch_btree_insert_keys() argument 1938 ret |= btree_insert_key(b, k, replace_key); in bch_btree_insert_keys() 1947 ret |= btree_insert_key(b, &temp.key, replace_key); in bch_btree_insert_keys() 1965 struct bkey *replace_key) in btree_split() argument 2008 bch_btree_insert_keys(n1, op, insert_keys, replace_key); in btree_split() 2040 bch_btree_insert_keys(n1, op, insert_keys, replace_key); in btree_split() [all …]
|
D | request.h | 32 BKEY_PADDED(replace_key);
|
D | request.c | 59 struct bkey *replace_key = op->replace ? &op->replace_key : NULL; in bch_data_insert_keys() local 79 journal_ref, replace_key); in bch_data_insert_keys() 814 s->iop.replace_key = KEY(s->iop.inode, in cached_dev_cache_miss() 818 ret = bch_btree_insert_check_key(b, &s->op, &s->iop.replace_key); in cached_dev_cache_miss()
|
D | movinggc.c | 110 bkey_copy(&op->replace_key, &io->w->key); in write_moving()
|
D | bset.c | 820 struct bkey *replace_key) in bch_btree_insert_key() argument 833 if (b->ops->insert_fixup(b, k, &iter, replace_key)) in bch_btree_insert_key()
|