Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dnamei.c626 ret = bkey_err(d.s_c); in bch2_inum_to_path()
678 bch2_bkey_val_to_text(&buf, c, d.s_c), in bch2_check_dirent_inode_dirent()
687 bch2_bkey_val_to_text(&buf, c, d.s_c), in bch2_check_dirent_inode_dirent()
701 (bch2_bkey_val_to_text(&buf, c, d.s_c), in bch2_check_dirent_inode_dirent()
733 bch2_bkey_val_to_text(&buf, c, d.s_c); in bch2_check_dirent_inode_dirent()
735 bch2_bkey_val_to_text(&buf, c, bp_dirent.s_c); in bch2_check_dirent_inode_dirent()
807 bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf))) { in __bch2_check_dirent_target()
813 bkey_reassemble(&n->k_i, d.s_c); in __bch2_check_dirent_target()
H A Dbkey_types.h60 struct bkey_s_c s_c; member
114 struct bkey_s_c s_c; \
126 struct bkey_s_c s_c; \
H A Dec.c214 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
225 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
235 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
245 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
257 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in __mark_stripe_bucket()
309 bch2_extent_ptr_to_bp(c, BTREE_ID_stripes, 0, s.s_c, p, in mark_stripe_bucket()
316 bch2_bucket_backpointer_mod(trans, s.s_c, &bp, in mark_stripe_bucket()
326 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in mark_stripe_bucket()
389 struct bkey_s_c new = _new.s_c; in bch2_trigger_stripe()
398 return bch2_check_fix_ptrs(trans, btree, level, _new.s_c, flags); in bch2_trigger_stripe()
[all …]
H A Dsubvolume.c65 bch2_bkey_make_mut_typed(trans, iter, &subvol.s_c, 0, subvolume); in check_subvol()
147 bch2_bkey_make_mut_typed(trans, iter, &subvol.s_c, 0, subvolume); in check_subvol()
261 struct bpos children_pos_new = subvolume_children_pos(new.s_c); in bch2_subvolume_trigger()
453 &snapshot_tree.s_c, in __bch2_subvolume_delete()
H A Dreflink.c152 struct bkey_i_reflink_p *new = bch2_bkey_make_mut_noupdate_typed(trans, p.s_c, reflink_p); in bch2_indirect_extent_not_missing()
197 bch2_bkey_val_to_text(&buf, c, p.s_c); in bch2_indirect_extent_missing_error()
203 struct bkey_i_reflink_p *new = bch2_bkey_make_mut_noupdate_typed(trans, p.s_c, reflink_p); in bch2_indirect_extent_missing_error()
325 bch2_bkey_val_to_text(&buf, c, p.s_c); in trans_trigger_reflink_p_segment()
H A Dmigrate.c32 nr_good = bch2_bkey_durability(c, k.s_c); in drop_dev_ptrs()
H A Dsnapshot.c348 return __bch2_mark_snapshot(trans, btree, level, old, new.s_c, flags); in bch2_mark_snapshot()
489 (bch2_bkey_val_to_text(&buf, c, st.s_c), in check_snapshot_tree()
493 : bch2_bkey_val_to_text(&buf, c, snapshot_k.s_c), in check_snapshot_tree()
510 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf)) || in check_snapshot_tree()
517 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf)) || in check_snapshot_tree()
522 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf))) { in check_snapshot_tree()
654 u = bch2_bkey_make_mut_typed(trans, &root_iter, &root.s_c, 0, snapshot); in snapshot_tree_ptr_repair()
H A Dfsck.c43 bch2_bkey_val_to_text(out, c, dirent.s_c); in dirent_inode_mismatch_msg()
2046 (bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf)) || in check_dirent_to_subvol()
2051 (bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf))) { in check_dirent_to_subvol()
2057 struct bkey_i_dirent *new_dirent = bch2_bkey_make_mut_typed(trans, iter, &d.s_c, 0, dirent); in check_dirent_to_subvol()
2069 ret = bkey_err(s.s_c); in check_dirent_to_subvol()
2076 (bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf))) in check_dirent_to_subvol()
2086 (bch2_bkey_val_to_text(&buf, c, s.s_c), buf.buf))) { in check_dirent_to_subvol()
2088 bch2_bkey_make_mut_typed(trans, &subvol_iter, &s.s_c, 0, subvolume); in check_dirent_to_subvol()
2502 (bch2_bkey_val_to_text(&buf, c, s.s_c), in check_subvol_path()
2607 ret = bkey_err(d.s_c); in check_path_loop()
H A Drebalance.c161 (struct bch_extent_rebalance *) bch2_bkey_rebalance_opts(k.s_c); in bch2_bkey_set_needs_rebalance()
163 if (k.k->type == KEY_TYPE_reflink_v || bch2_bkey_ptrs_need_rebalance(c, opts, k.s_c)) { in bch2_bkey_set_needs_rebalance()
H A Dextents.h278 struct bkey_ptrs_c p = bch2_bkey_ptrs_c(k.s_c); in bch2_bkey_ptrs()
611 return (void *) bch2_bkey_has_device_c(k.s_c, dev); in bch2_bkey_has_device()
H A Dbuckets.c862 struct bkey_ptrs_c new_ptrs = bch2_bkey_ptrs_c(new.s_c); in bch2_trigger_extent()
868 return bch2_check_fix_ptrs(trans, btree, level, new.s_c, flags); in bch2_trigger_extent()
889 int ret = __trigger_extent(trans, btree, level, new.s_c, in bch2_trigger_extent()
903 s = bch2_bkey_sectors_need_rebalance(c, new.s_c); in bch2_trigger_extent()
H A Dbuckets.h271 ret = _fn(_trans, _btree_id, _level, _new.s_c, _flags & ~BTREE_TRIGGER_overwrite);\
H A Dextents.c897 struct bkey_ptrs_c ptrs = bch2_bkey_ptrs_c(k.s_c); in bch2_bkey_drop_ptr()
908 bool have_dirty = bch2_bkey_dirty_devs(k.s_c).nr; in bch2_bkey_drop_ptr()
919 !bch2_bkey_dirty_devs(k.s_c).nr) { in bch2_bkey_drop_ptr()
922 } else if (!bch2_bkey_nr_ptrs(k.s_c)) { in bch2_bkey_drop_ptr()
H A Dalloc_background.c851 struct bkey_i_alloc_v4 *new_ka = bch2_alloc_to_v4_mut_inlined(trans, new.s_c); in bch2_trigger_alloc()
886 bch2_bucket_do_index(trans, ca, new.s_c, new_a, true); in bch2_trigger_alloc()
938 (bch2_bkey_val_to_text(&buf, c, new.s_c), buf.buf))) in bch2_trigger_alloc()
1033 (bch2_bkey_val_to_text(&buf, c, new.s_c), buf.buf)); in bch2_trigger_alloc()
H A Dbackpointers.c208 ? bch2_backpointers_maybe_flush(trans, bp.s_c, last_flushed) in backpointer_target_not_found()
215 bch2_bkey_val_to_text(&buf, c, bp.s_c); in backpointer_target_not_found()
H A Dinode.c680 u64 f = bkey_inode_flags(k.s_c); in update_inode_has_children()
743 int unlinked_delta = (int) bkey_is_unlinked_inode(new.s_c) - in bch2_trigger_inode()
H A Dbtree_io.c879 return !__bch2_bkey_validate(c, u.s_c, in bkey_packed_valid()
945 ret = bset_key_validate(c, b, u.s_c, updated_range, write); in validate_bset_keys()
1256 ret = btree_node_bkey_val_validate(c, b, u.s_c, READ); in bch2_btree_node_read_done()
H A Dbtree_iter.h623 __bkey_val_copy(_dst_v, sizeof(*_dst_v), _src_k.s_c); \
H A Ddisk_accounting.c350 bch2_accounting_to_text(&buf, c, a.s_c); in __bch2_accounting_mem_insert()
H A Dfs.c701 (bch2_bkey_val_to_text(&buf, c, d.s_c), buf.buf)); in bch2_lookup_trans()