Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/md/bcache/
A Dbset.h172 struct bkey end;
203 struct bkey *l, struct bkey *r);
323 struct bkey *k, *end;
335 struct bkey *end);
421 void bch_bkey_copy_single_ptr(struct bkey *dest, const struct bkey *src,
423 bool __bch_cut_front(const struct bkey *where, struct bkey *k);
424 bool __bch_cut_back(const struct bkey *where, struct bkey *k);
426 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front()
432 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back()
487 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);
381 struct bkey *from, btree_map_nodes_fn *fn) in bch_btree_map_nodes()
388 struct bkey *from, in bch_btree_map_leaf_nodes()
395 struct bkey *k);
399 struct bkey *from, btree_map_keys_fn *fn,
406 struct bkey *end, keybuf_pred_fn *pred);
408 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.h232 struct bkey last_scanned;
240 struct bkey start;
241 struct bkey end;
635 struct bkey gc_done;
744 struct bkey key;
810 const struct bkey *k, in PTR_BUCKET_NR()
817 const struct bkey *k, in PTR_BUCKET()
974 struct bkey *k, unsigned int ptr);
983 void bch_bucket_free(struct cache_set *c, struct bkey *k);
987 struct bkey *k, bool wait);
[all …]
A Dbtree.c1194 struct bkey *k) in __bch_btree_mark_key()
1276 struct bkey *k; in btree_gc_mark_node()
1333 struct bkey *k; in btree_gc_coalesce()
1535 struct bkey *k; in btree_gc_count_keys()
1576 struct bkey *k; in btree_gc_recurse()
1917 struct bkey *k, *p; in bch_btree_check_thread()
2458 struct bkey *k; in bch_btree_insert()
2503 struct bkey *k; in bch_btree_map_nodes_recurse()
2536 struct bkey *k; in bch_btree_map_keys_recurse()
2587 struct bkey *end;
[all …]
A Dalloc.c480 void bch_bucket_free(struct cache_set *c, struct bkey *k) in bch_bucket_free()
489 struct bkey *k, bool wait) in __bch_bucket_alloc_set()
521 struct bkey *k, bool wait) in bch_bucket_alloc_set()
566 const struct bkey *search, in pick_data_bucket()
568 struct bkey *alloc) in pick_data_bucket()
607 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()
902 struct bkey *k, *p; in bch_dirty_init_thread()
970 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 bch_data_insert_keys()
152 struct bkey *src = op->insert_keys.keys, *dst = op->insert_keys.keys; in bch_data_insert_error()
155 struct bkey *n = bkey_next(src); in bch_data_insert_error()
206 struct bkey *k; in bch_data_insert_start()
513 static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k) in cache_lookup_fn()
517 struct bkey *bio_key; in cache_lookup_fn()
971 struct bkey start = KEY(dc->disk.id, bio->bi_iter.bi_sector, 0); in cached_dev_write()
972 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; in journal_write_unlocked()
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.c417 static void uuid_io(struct cache_set *c, blk_opf_t opf, struct bkey *k, in uuid_io()
460 struct bkey *k = &j->uuid_bucket; in uuid_read()
1985 struct bkey *k; in run_cache_set()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_lookup_key.c28 struct bpf_key *bkey; in BPF_PROG() local
36 bkey = bpf_lookup_user_key(key_serial, flags); in BPF_PROG()
38 bkey = bpf_lookup_system_key(key_id); in BPF_PROG()
40 if (!bkey) in BPF_PROG()
43 bpf_key_put(bkey); in BPF_PROG()
A Drcu_read_lock.c256 struct bpf_key *bkey; in BPF_PROG() local
260 bkey = bpf_lookup_user_key(key_serial, flags); in BPF_PROG()
262 if (!bkey) in BPF_PROG()
264 bpf_key_put(bkey); in BPF_PROG()
/linux-6.3-rc2/include/trace/events/
A Dbcache.h41 DECLARE_EVENT_CLASS(bkey,
42 TP_PROTO(struct bkey *k),
187 DEFINE_EVENT(bkey, bcache_cache_insert,
188 TP_PROTO(struct bkey *k),
210 TP_PROTO(struct bkey *k),
322 DEFINE_EVENT(bkey, bcache_gc_copy,
323 TP_PROTO(struct bkey *k),
328 TP_PROTO(struct bkey *k),
492 DEFINE_EVENT(bkey, bcache_writeback,
493 TP_PROTO(struct bkey *k),
[all …]
/linux-6.3-rc2/lib/
A Dbtree.c161 longcpy(bkey(geo, node, n), key, geo->keylen); in setkey()
172 longset(bkey(geo, node, n), 0, geo->keylen); in clearpair()
219 longcpy(key, bkey(geo, node, 0), geo->keylen); in btree_last()
334 retry_key = bkey(geo, oldnode, i); in btree_get_prev()
343 longcpy(__key, bkey(geo, node, i), geo->keylen); in btree_get_prev()
473 bkey(geo, node, fill / 2 - 1), in btree_insert_level()
480 setkey(geo, new, i, bkey(geo, node, i)); in btree_insert_level()
487 setkey(geo, node, i, bkey(geo, node, fill - 1)); in btree_insert_level()
497 setkey(geo, node, i, bkey(geo, node, i - 1)); in btree_insert_level()
610 setkey(geo, node, i, bkey(geo, node, i + 1)); in btree_remove_level()
[all …]
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c1241 struct bpf_key *bkey; in bpf_lookup_user_key() local
1254 bkey = kmalloc(sizeof(*bkey), GFP_KERNEL); in bpf_lookup_user_key()
1255 if (!bkey) { in bpf_lookup_user_key()
1261 bkey->has_ref = true; in bpf_lookup_user_key()
1263 return bkey; in bpf_lookup_user_key()
1294 bkey = kmalloc(sizeof(*bkey), GFP_ATOMIC); in bpf_lookup_system_key()
1295 if (!bkey) in bpf_lookup_system_key()
1301 return bkey; in bpf_lookup_system_key()
1313 if (bkey->has_ref) in bpf_key_put()
1314 key_put(bkey->key); in bpf_key_put()
[all …]
/linux-6.3-rc2/arch/arm64/boot/dts/ti/
A Dk3-am6548-iot2050-advanced-m2.dts36 main_bkey_pcie_reset: main-bkey-pcie-reset {
/linux-6.3-rc2/arch/s390/include/asm/
A Dqdio.h42 u32 bkey : 4; member
/linux-6.3-rc2/drivers/s390/cio/
A Dqdio_setup.c299 desc->bkey = PAGE_DEFAULT_KEY >> 4; in qdio_fill_qdr_desc()
/linux-6.3-rc2/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 53 milliseconds

12