Home
last modified time | relevance | path

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

/drivers/md/bcache/
A Dbset.h172 struct bkey end;
203 struct bkey *l, struct bkey *r);
323 struct bkey *k, *end;
342 struct bkey *end);
429 void bch_bkey_copy_single_ptr(struct bkey *dest, const struct bkey *src,
431 bool __bch_cut_front(const struct bkey *where, struct bkey *k);
432 bool __bch_cut_back(const struct bkey *where, struct bkey *k);
434 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front()
440 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back()
495 struct bkey *keys;
[all …]
A Dbcache_ondisk.h23 struct bkey { struct
30 BITMASK(name, struct bkey, field, offset, size) argument
56 static inline __u64 KEY_OFFSET(const struct bkey *k) in KEY_OFFSET()
72 ((struct bkey) { \
112 static inline void bkey_copy_key(struct bkey *dest, const struct bkey *src) in bkey_copy_key()
118 static inline struct bkey *bkey_next(const struct bkey *k) in bkey_next()
122 return (struct bkey *) (d + bkey_u64s(k)); in bkey_next()
125 static inline struct bkey *bkey_idx(const struct bkey *k, unsigned int nr_keys) in bkey_idx()
129 return (struct bkey *) (d + nr_keys); in bkey_idx()
363 DECLARE_FLEX_ARRAY(struct bkey, start);
[all …]
A Dbset.c23 struct bkey *k, *next; in bch_dump_bset()
58 struct bkey *k; in __bch_count_data()
69 struct bkey *k, *p = NULL; in __bch_check_keys()
184 void bch_bkey_copy_single_ptr(struct bkey *dest, const struct bkey *src, in bch_bkey_copy_single_ptr()
197 bool __bch_cut_front(const struct bkey *where, struct bkey *k) in __bch_cut_front()
217 bool __bch_cut_back(const struct bkey *where, struct bkey *k) in __bch_cut_back()
539 struct bkey *k) in bkey_to_cacheline_offset()
936 struct bkey *l, *r;
962 struct bkey *l, *r; in bset_search_tree()
1095 struct bkey *end) in bch_btree_iter_push()
[all …]
A Dbtree.h200 void bkey_put(struct cache_set *c, struct bkey *k);
272 struct bkey *k, int level, bool write,
276 struct bkey *check_key);
278 atomic_t *journal_ref, struct bkey *replace_key);
382 struct bkey *from, btree_map_nodes_fn *fn) in bch_btree_map_nodes()
389 struct bkey *from, in bch_btree_map_leaf_nodes()
396 struct bkey *k);
400 struct bkey *from, btree_map_keys_fn *fn,
407 struct bkey *end, keybuf_pred_fn *pred);
409 struct bkey *end);
[all …]
A Dextents.c228 struct bkey *insert, in bch_btree_ptr_insert_fixup()
230 struct bkey *replace_key) in bch_btree_ptr_insert_fixup()
267 struct bkey *tmp) in bch_extent_sort_fixup()
313 static void bch_subtract_dirty(struct bkey *k, in bch_subtract_dirty()
324 struct bkey *insert, in bch_extent_insert_fixup()
326 struct bkey *replace_key) in bch_extent_insert_fixup()
337 struct bkey *k = bch_btree_iter_next(iter); in bch_extent_insert_fixup()
405 struct bkey *top; in bch_extent_insert_fixup()
575 static uint64_t merge_chksums(struct bkey *l, struct bkey *r) in merge_chksums()
582 struct bkey *l, in bch_extent_merge()
[all …]
A Dextents.h8 struct bkey;
11 void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
12 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
13 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
A Dbcache.h233 struct bkey last_scanned;
241 struct bkey start;
242 struct bkey end;
639 struct bkey gc_done;
748 struct bkey key;
814 const struct bkey *k, in PTR_BUCKET_NR()
821 const struct bkey *k, in PTR_BUCKET()
978 struct bkey *k, unsigned int ptr);
987 void bch_bucket_free(struct cache_set *c, struct bkey *k);
991 struct bkey *k, bool wait);
[all …]
A Dbtree.c1226 struct bkey *k) in __bch_btree_mark_key()
1308 struct bkey *k; in btree_gc_mark_node()
1365 struct bkey *k; in btree_gc_coalesce()
1569 struct bkey *k; in btree_gc_count_keys()
1610 struct bkey *k; in btree_gc_recurse()
1957 struct bkey *k, *p; in bch_btree_check_thread()
2507 struct bkey *k; in bch_btree_insert()
2552 struct bkey *k; in bch_btree_map_nodes_recurse()
2585 struct bkey *k; in bch_btree_map_keys_recurse()
2637 struct bkey *end;
[all …]
A Dalloc.c477 void bch_bucket_free(struct cache_set *c, struct bkey *k) in bch_bucket_free()
486 struct bkey *k, bool wait) in __bch_bucket_alloc_set()
514 struct bkey *k, bool wait) in bch_bucket_alloc_set()
559 const struct bkey *search, in pick_data_bucket()
561 struct bkey *alloc) in pick_data_bucket()
600 struct bkey *k, in bch_alloc_sectors()
A Dwriteback.c641 static bool dirty_pred(struct keybuf *buf, struct bkey *k) in dirty_pred()
704 struct bkey start = KEY(dc->disk.id, 0, 0); in refill_dirty()
705 struct bkey end = KEY(dc->disk.id, MAX_KEY_OFFSET, 0); in refill_dirty()
706 struct bkey start_pos; in refill_dirty()
854 struct bkey *k) in sectors_dirty_init_fn()
874 struct bkey *k) in bch_root_node_dirty_init()
912 struct bkey *k, *p; in bch_dirty_init_thread()
981 struct bkey *k = NULL; in bch_sectors_dirty_init()
A Drequest.c40 static void bio_csum(struct bio *bio, struct bkey *k) in bio_csum()
62 struct bkey *replace_key = op->replace ? &op->replace_key : NULL; in CLOSURE_CALLBACK()
152 struct bkey *src = op->insert_keys.keys, *dst = op->insert_keys.keys; in CLOSURE_CALLBACK()
155 struct bkey *n = bkey_next(src); in CLOSURE_CALLBACK()
206 struct bkey *k; in CLOSURE_CALLBACK()
527 static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k) in cache_lookup_fn()
531 struct bkey *bio_key; in cache_lookup_fn()
985 struct bkey start = KEY(dc->disk.id, bio->bi_iter.bi_sector, 0); in cached_dev_write()
986 struct bkey end = KEY(dc->disk.id, bio_end_sector(bio), 0); in cached_dev_write()
A Djournal.c296 struct bkey *k; in bch_journal_mark()
352 struct bkey *k; in bch_journal_replay()
651 struct bkey *k = &c->journal.key; in journal_reclaim()
754 struct bkey *k = &c->journal.key;
A Dio.c47 struct bkey *k, unsigned int ptr) in bch_submit_bbio()
A Ddebug.c167 static bool dump_pred(struct keybuf *buf, struct bkey *k) in dump_pred()
A Dmovinggc.c22 static bool moving_pred(struct keybuf *buf, struct bkey *k) in moving_pred()
A Dsuper.c416 static void uuid_io(struct cache_set *c, blk_opf_t opf, struct bkey *k, in uuid_io()
459 struct bkey *k = &j->uuid_bucket; in uuid_read()
1985 struct bkey *k; in run_cache_set()
A Dsysfs.c661 struct bkey *k; in bch_root_usage()
/drivers/soc/qcom/
A Dice.c305 const struct blk_crypto_key *bkey) in qcom_ice_program_wrapped_key() argument
309 .dusize = bkey->crypto_cfg.data_unit_size / 512, in qcom_ice_program_wrapped_key()
328 err = qcom_scm_ice_set_key(translate_hwkm_slot(ice, slot), bkey->bytes, in qcom_ice_program_wrapped_key()
329 bkey->size, cfg.capidx, cfg.dusize); in qcom_ice_program_wrapped_key()
/drivers/s390/cio/
A Dqdio_setup.c306 desc->bkey = PAGE_DEFAULT_KEY >> 4; in qdio_fill_qdr_desc()
/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_selftests.c1453 struct flow_dissector_key_basic bkey; in __stmmac_test_l4filt() member
1509 keys.bkey.ip_proto = udp ? IPPROTO_UDP : IPPROTO_TCP; in __stmmac_test_l4filt()

Completed in 60 milliseconds