Home
last modified time | relevance | path

Searched refs:bset (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.12.1/block/
Dbsg-lib.c278 struct bsg_set *bset = in bsg_queue_rq() local
291 ret = bset->job_fn(blk_mq_rq_to_pdu(req)); in bsg_queue_rq()
323 struct bsg_set *bset = in bsg_remove_queue() local
326 bsg_unregister_queue(bset->bd); in bsg_remove_queue()
329 blk_mq_free_tag_set(&bset->tag_set); in bsg_remove_queue()
330 kfree(bset); in bsg_remove_queue()
337 struct bsg_set *bset = in bsg_timeout() local
340 if (!bset->timeout_fn) in bsg_timeout()
342 return bset->timeout_fn(rq); in bsg_timeout()
366 struct bsg_set *bset; in bsg_setup_queue() local
[all …]
/linux-6.12.1/fs/bcachefs/
Dbtree_types.h656 static inline struct bset *bset(const struct btree *b, in bset() function
665 __btree_node_ptr_to_offset(b, vstruct_last(bset(b, t))); in set_btree_bset_end()
669 const struct bset *i) in set_btree_bset()
675 static inline struct bset *btree_bset_first(struct btree *b) in btree_bset_first()
677 return bset(b, b->set); in btree_bset_first()
680 static inline struct bset *btree_bset_last(struct btree *b) in btree_bset_last()
682 return bset(b, bset_tree_last(b)); in btree_bset_last()
699 return t->data_offset + offsetof(struct bset, _data) / sizeof(u64); in btree_bkey_first_offset()
704 EBUG_ON(bset(_b, _t)->start != \
707 bset(_b, _t)->start; \
[all …]
Dbset.h257 static inline struct bset *bset_next_set(struct btree *b, in bset_next_set()
260 struct bset *i = btree_bset_last(b); in bset_next_set()
269 void bch2_bset_init_first(struct btree *, struct bset *);
466 unsigned bset, in btree_keys_account_key() argument
471 n->bset_u64s[bset] += k->u64s * sign; in btree_keys_account_key()
516 void bch2_dump_bset(struct bch_fs *, struct btree *, struct bset *, unsigned);
Dbkey_sort.h43 bch2_key_sort_fix_overlapping(struct bch_fs *, struct bset *,
47 bch2_sort_repack(struct bset *, struct btree *,
Dbtree_io.c98 static void set_needs_whiteout(struct bset *i, int v) in set_needs_whiteout()
216 (compacting && !bset_written(b, bset(b, t))); in should_compact_bset()
229 struct bset *i = bset(b, t); in bch2_drop_whiteouts()
301 struct bset *start_bset = bset(b, &b->set[start_idx]); in btree_node_sort()
313 u64s += le16_to_cpu(bset(b, t)->u64s); in btree_node_sort()
339 seq = max(seq, le64_to_cpu(bset(b, t)->journal_seq)); in btree_node_sort()
429 if (!bset_written(b, bset(b, &b->set[unwritten_idx]))) in btree_node_compact()
449 !bset_written(b, bset(b, t)) && in bch2_btree_build_aux_trees()
487 BUG_ON(bset_written(b, bset(b, &b->set[1]))); in bch2_btree_init_next()
516 struct btree *b, struct bset *i, struct bkey_packed *k, in btree_err_msg()
[all …]
Dbset.c56 struct bset *i, unsigned set) in bch2_dump_bset()
108 bch2_dump_bset(c, b, bset(b, t), t - b->set); in bch2_dump_btree_node()
187 k2->_data - bset(b, t)->_data); in bch2_btree_node_iter_next_check()
784 void bch2_bset_init_first(struct btree *b, struct bset *i) in bch2_bset_init_first()
800 struct bset *i = &bne->keys; in bch2_bset_init_next()
1001 EBUG_ON((int) le16_to_cpu(bset(b, t)->u64s) < in bch2_bset_insert()
1005 le16_add_cpu(&bset(b, t)->u64s, src->u64s - clobber_u64s); in bch2_bset_insert()
1030 EBUG_ON(le16_to_cpu(bset(b, t)->u64s) < clobber_u64s); in bch2_bset_delete()
1033 le16_add_cpu(&bset(b, t)->u64s, -clobber_u64s); in bch2_bset_delete()
1527 stats->sets[type].bytes += le16_to_cpu(bset(b, t)->u64s) * in bch2_btree_keys_stats()
Dbkey_sort.c95 bch2_key_sort_fix_overlapping(struct bch_fs *c, struct bset *dst, in bch2_key_sort_fix_overlapping()
123 bch2_sort_repack(struct bset *dst, struct btree *src, in bch2_sort_repack()
Dbcachefs_format.h1380 struct bset { struct
1400 LE32_BITMASK(BSET_CSUM_TYPE, struct bset, flags, 0, 4); argument
1402 LE32_BITMASK(BSET_BIG_ENDIAN, struct bset, flags, 4, 5);
1404 struct bset, flags, 5, 6);
1407 LE32_BITMASK(BSET_OFFSET, struct bset, flags, 16, 32);
1423 struct bset keys;
1456 struct bset keys;
Dbtree_io.h91 static inline struct nonce btree_nonce(struct bset *i, unsigned offset) in btree_nonce()
101 static inline int bset_encrypt(struct bch_fs *c, struct bset *i, unsigned offset) in bset_encrypt()
Dbtree_update_interior.h231 static inline bool bset_written(struct btree *b, struct bset *i) in bset_written()
285 if (unlikely(bset_written(b, bset(b, t)))) { in want_new_bset()
/linux-6.12.1/drivers/md/bcache/
Dbset.h186 struct bset *data;
251 struct bset *i) in bset_byte_offset()
257 struct bset *i) in bset_sector_offset()
285 static inline struct bset *bset_next_set(struct btree_keys *b, in bset_next_set()
288 struct bset *i = bset_tree_last(b)->data; in bset_next_set()
299 void bch_bset_init_next(struct btree_keys *b, struct bset *i, uint64_t magic);
405 static inline struct bkey *bset_bkey_idx(struct bset *i, unsigned int idx) in bset_bkey_idx()
562 void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned int set);
571 void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned int set);
Dbtree.h180 static inline struct bset *btree_bset_first(struct btree *b) in btree_bset_first()
185 static inline struct bset *btree_bset_last(struct btree *b) in btree_bset_last()
190 static inline unsigned int bset_block_offset(struct btree *b, struct bset *i) in bset_block_offset()
DMakefile5 bcache-y := alloc.o bset.o btree.o debug.o extents.o io.o\
Ddebug.c34 struct bset *ondisk, *sorted, *inmemory; in bch_btree_verify()
72 struct bset *i; in bch_btree_verify()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dcom.fuc68 bset $flags $p1
96 bset $r12 31 // MMIO_CTRL_PENDING
115 bset $r12 31 // MMIO_CTRL_PENDING
116 bset $r12 30 // MMIO_CTRL_WRITE
190 bset $r9 0 // BASE_EN
196 bset $r9 1 // MULTI_EN
201 bset $r11 12 // QLIMIT = 0x10
237 bset $r11 12 // QLIMIT = 0x10
238 bset $r11 18 // STOP_TRIGGER
Dhub.fuc118 bset $flags ie0
215 bset $r1 31
224 bset $flags $p0
245 bset $flags $p2
250 bset $flags $p1
266 bset $flags $p1
304 bset $r2 31
/linux-6.12.1/arch/arc/lib/
Dstrcmp.S42 bset.lo r0,r0,31
58 bset.lo r0,r0,31
80 bset.lo r0,r0,31
Dmemcmp.S60 bset r0,r0,SHIFT
104 bset.cs r0,r0,31
109 bset.cs r0,r0,31
Dstrcmp-archs.S42 bset.lo r0, r0, 31
61 bset.lo r0, r0, 31
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Di2c_.fuc106 bset $flags $p1
115 bset $flags $p1
230 bset $flags $p1
292 bset $r13 3
322 bset $flags $p2
Didle.fuc53 bset $flags $p0
72 bset $flags $p2
/linux-6.12.1/arch/arc/kernel/
Dhead.S44 bset r5, r5, 0 ; Disable (+Inv)
56 bset r5, r5, STATUS_AD_BIT
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc151 bset $flags ie0
159 bset $flags $p0
265 bset $flags $p1
408 bset $r3 0x1e
448 bset $flags $p2
556 bset $r4 $r7
813 bset $r4 7
816 bset $flags $p2
824 bset $r4 8
/linux-6.12.1/arch/m68k/math-emu/
Dfp_util.S138 bset #31,%d0 | set explizit bit
176 bset #31,%d0 | set explizit bit
Dfp_cond.S181 bset #15,%d1
182 bset #7,%d1

12