Home
last modified time | relevance | path

Searched refs:s_c (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbkey_types.h60 struct bkey_s_c s_c; member
114 struct bkey_s_c s_c; \
126 struct bkey_s_c s_c; \
Dreflink.c96 bch2_bkey_val_to_text(&buf, c, p.s_c); in trans_trigger_reflink_p_segment()
105 bch2_bkey_val_to_text(&buf, c, p.s_c); in trans_trigger_reflink_p_segment()
177 (bch2_bkey_val_to_text(&buf, c, p.s_c), buf.buf), in gc_trigger_reflink_p_segment()
179 struct bkey_i *update = bch2_bkey_make_mut_noupdate(trans, p.s_c); in gc_trigger_reflink_p_segment()
Dfsck.c48 bch2_bkey_val_to_text(out, c, dirent.s_c); in dirent_inode_mismatch_msg()
2139 bch2_bkey_val_to_text(&buf, c, d.s_c), in check_dirent_inode_dirent()
2148 bch2_bkey_val_to_text(&buf, c, d.s_c), in check_dirent_inode_dirent()
2162 (bch2_bkey_val_to_text(&buf, c, d.s_c), in check_dirent_inode_dirent()
2193 bch2_bkey_val_to_text(&buf, c, d.s_c); in check_dirent_inode_dirent()
2196 bch2_bkey_val_to_text(&buf, c, bp_dirent.s_c); in check_dirent_inode_dirent()
2254 bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf))) { in check_dirent_target()
2260 bkey_reassemble(&n->k_i, d.s_c); in check_dirent_target()
2350 (bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf)) || in check_dirent_to_subvol()
2355 (bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf))) { in check_dirent_to_subvol()
[all …]
Dmigrate.c31 nr_good = bch2_bkey_durability(c, k.s_c); in drop_dev_ptrs()
Dsubvolume.c64 bch2_bkey_make_mut_typed(trans, iter, &subvol.s_c, 0, subvolume); in check_subvol()
146 bch2_bkey_make_mut_typed(trans, iter, &subvol.s_c, 0, subvolume); in check_subvol()
260 struct bpos children_pos_new = subvolume_children_pos(new.s_c); in bch2_subvolume_trigger()
Dextents.c822 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k.s_c); in bch2_bkey_drop_ptr()
833 bool have_dirty = bch2_bkey_dirty_devs(k.s_c).nr; in bch2_bkey_drop_ptr()
844 !bch2_bkey_dirty_devs(k.s_c).nr) { in bch2_bkey_drop_ptr()
847 } else if (!bch2_bkey_nr_ptrs(k.s_c)) { in bch2_bkey_drop_ptr()
1513 r = (struct bch_extent_rebalance *) bch2_bkey_rebalance_opts(k.s_c); in bch2_bkey_set_needs_rebalance()
1532 needs_rebalance = bch2_bkey_ptrs_need_rebalance(c, k.s_c, target, compression); in bch2_bkey_set_needs_rebalance()
Dec.c210 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
221 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
231 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
241 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
253 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
260 ret = bch2_bucket_ref_update(trans, ca, s.s_c, ptr, sectors, data_type, in __mark_stripe_bucket()
311 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in mark_stripe_bucket()
388 struct bkey_s_c new = _new.s_c; in bch2_trigger_stripe()
397 return bch2_check_fix_ptrs(trans, btree, level, _new.s_c, flags); in bch2_trigger_stripe()
Dsnapshot.c358 return __bch2_mark_snapshot(trans, btree, level, old, new.s_c, flags); in bch2_mark_snapshot()
557 (bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf))) { in check_snapshot_tree()
571 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf)) || in check_snapshot_tree()
578 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf)) || in check_snapshot_tree()
583 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf))) { in check_snapshot_tree()
713 u = bch2_bkey_make_mut_typed(trans, &root_iter, &root.s_c, 0, snapshot); in snapshot_tree_ptr_repair()
Dbuckets.c850 struct bkey_ptrs_c new_ptrs = bch2_bkey_ptrs_c(new.s_c); in bch2_trigger_extent()
856 return bch2_check_fix_ptrs(trans, btree, level, new.s_c, flags); in bch2_trigger_extent()
877 int ret = __trigger_extent(trans, btree, level, new.s_c, in bch2_trigger_extent()
891 s = bch2_bkey_sectors_need_rebalance(c, new.s_c); in bch2_trigger_extent()
Dextents.h279 struct bkey_ptrs_c p = bch2_bkey_ptrs_c(k.s_c); in bch2_bkey_ptrs()
618 return (void *) bch2_bkey_has_device_c(k.s_c, dev); in bch2_bkey_has_device()
Dbuckets.h296 ret = _fn(_trans, _btree_id, _level, _new.s_c, _flags & ~BTREE_TRIGGER_overwrite);\
Dbackpointers.c981 ret = bch2_btree_write_buffer_maybe_flush(trans, bp.s_c, last_flushed); in check_one_backpointer()
988 (bch2_bkey_val_to_text(&buf, c, bp.s_c), buf.buf))) { in check_one_backpointer()
Dinode.c678 u64 f = bkey_inode_flags(k.s_c); in update_inode_has_children()
742 int unlinked_delta = (int) bkey_is_unlinked_inode(new.s_c) - in bch2_trigger_inode()
Dalloc_background.c851 struct bkey_i_alloc_v4 *new_ka = bch2_alloc_to_v4_mut_inlined(trans, new.s_c); in bch2_trigger_alloc()
880 bch2_bucket_do_index(trans, ca, new.s_c, new_a, true); in bch2_trigger_alloc()
1014 (bch2_bkey_val_to_text(&buf, c, new.s_c), buf.buf)); in bch2_trigger_alloc()
Dbtree_io.c858 return !__bch2_bkey_validate(c, u.s_c, btree_node_type(b), BCH_VALIDATE_silent); in bkey_packed_valid()
910 ret = bset_key_validate(c, b, u.s_c, updated_range, write); in validate_bset_keys()
1219 ret = bch2_bkey_val_validate(c, u.s_c, READ); in bch2_btree_node_read_done()