/linux/fs/bcachefs/ |
H A D | alloc_background.c | 756 ret = bkey_err(k); in bch2_bucket_gen_update() 1027 if (bkey_err(k)) in bch2_get_key_or_hole() 1054 if (bkey_err(k)) in bch2_get_key_or_hole() 1098 if (bkey_err(k)) in bch2_get_key_or_real_bucket_hole() 1529 goto bkey_err; in bch2_check_alloc_info() 1543 goto bkey_err; in bch2_check_alloc_info() 1556 goto bkey_err; in bch2_check_alloc_info() 1562 goto bkey_err; in bch2_check_alloc_info() 1565 bkey_err: in bch2_check_alloc_info() 2224 goto bkey_err; in bch2_dev_freespace_init() [all …]
|
H A D | tests.c | 352 lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)))); in test_peek_end() 355 lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)))); in test_peek_end() 372 lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)))); in test_peek_end_extents() 375 lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)))); in test_peek_end_extents() 491 lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)))); in test_snapshot_filter() 607 lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek(&iter))); in rand_lookup() 608 ret = bkey_err(k); in rand_lookup() 629 ret = bkey_err(k); in rand_mixed_trans() 676 ret = bkey_err(k); in __do_delete()
|
H A D | btree_iter.h | 20 #define bkey_err(_k) __bkey_err((_k).k) macro 577 if (!bkey_err(k) && type && k.k->type != type) in __bch2_bkey_get_iter() 579 if (unlikely(bkey_err(k))) in __bch2_bkey_get_iter() 615 ret = bkey_err(k); in __bch2_bkey_get_val_typed() 762 bkey_err(_k) ?: (_do); \ 807 bkey_err(_k) ?: (_do); \ 846 !((_ret) = bkey_err(_k)) && (_k).k; \ 852 !((_ret) = bkey_err(_k)) && (_k).k; \ 865 !((_ret) = bkey_err(_k)) && (_k).k; \
|
H A D | rebalance.c | 48 ret = bkey_err(k); in __bch2_set_rebalance_needs_scan() 97 ret = bkey_err(k); in bch2_clear_rebalance_needs_scan() 148 if (bkey_err(k)) in next_rebalance_extent() 214 ret = bkey_err(k = next_rebalance_extent(trans, work_pos, in do_rebalance_extent() 352 ret = bkey_err(k = next_rebalance_entry(trans, &rebalance_work_iter)); in do_rebalance()
|
H A D | fs-io.c | 607 goto bkey_err; in __bchfs_fallocate() 612 if ((ret = bkey_err(k))) in __bchfs_fallocate() 613 goto bkey_err; in __bchfs_fallocate() 647 goto bkey_err; in __bchfs_fallocate() 652 goto bkey_err; in __bchfs_fallocate() 664 goto bkey_err; in __bchfs_fallocate() 671 goto bkey_err; in __bchfs_fallocate() 681 goto bkey_err; in __bchfs_fallocate() 683 bkey_err: in __bchfs_fallocate()
|
H A D | btree_update.c | 144 !(ret = bkey_err(old_k)) && in __bch2_insert_snapshot_whiteouts() 156 ret = bkey_err(new_k); in __bch2_insert_snapshot_whiteouts() 300 if ((ret = bkey_err(k))) in bch2_trans_update_extent() 327 if ((ret = bkey_err(k))) in bch2_trans_update_extent() 596 ret = bkey_err(k); in bch2_bkey_get_empty_slot() 602 ret = bkey_err(k); in bch2_bkey_get_empty_slot() 729 ret = bkey_err(k); in bch2_btree_delete_range_trans()
|
H A D | inode.c | 349 ret = bkey_err(k); in __bch2_inode_peek() 639 bkey_err(k) || in bch2_inode_get_iter_snapshot_parent() 691 int ret = bkey_err(k); in update_parent_inode_has_children() 900 !(ret = bkey_err(k)) && in bch2_inode_create() 931 ret = bkey_err(k); in bch2_inode_create() 970 ret = bkey_err(k); in bch2_inode_delete_keys() 1030 ret = bkey_err(k); in bch2_inode_rm() 1194 ret = bkey_err(k); in __bch2_inode_rm_snapshot() 1239 bkey_err(k = bch2_inode_get_iter_snapshot_parent(trans, &iter, pos, 0))); in delete_ancestor_snapshot_inodes() 1279 ret = bkey_err(k); in may_delete_deleted_inode()
|
H A D | lru.c | 93 int ret = bkey_err(lru_k); in bch2_lru_check_set() 145 ret = bkey_err(k); in bch2_check_lru_key()
|
H A D | subvolume.c | 78 ret = bkey_err(subvol_children_k); in check_subvol() 281 return bkey_err(k) ?: k.k && k.k->p.inode == subvol in bch2_subvol_has_children() 345 ret = bkey_err(subvol); in __bch2_subvolume_get_snapshot() 423 ret = bkey_err(subvol); in __bch2_subvolume_delete() 654 ret = bkey_err(k); in __bch2_fs_upgrade_for_subvolumes()
|
H A D | backpointers.c | 195 ret = bkey_err(k); in bch2_bucket_backpointer_mod_nowritebuffer() 235 ret = bkey_err(k); in bch2_get_next_backpointer() 323 if (bkey_err(k)) { in bch2_backpointer_get_key() 405 ret = bkey_err(alloc_k); in bch2_check_btree_backpointer() 551 ret = bkey_err(bp_k); in check_bp_exists() 580 ret = bkey_err(other_extent); in check_bp_exists() 965 ret = bkey_err(k); in check_one_backpointer()
|
H A D | subvolume.h | 62 bkey_err(_k) ?: (_do); \
|
H A D | fsck.c | 149 ret = bkey_err(k); in lookup_inode() 169 int ret = bkey_err(k); in lookup_dirent_in_snapshot() 345 int ret = bkey_err(k); in maybe_delete_dirent() 618 int ret = bkey_err(k); in reconstruct_inode() 945 int ret = bkey_err(k); in dirent_has_target() 1121 ret = bkey_err(k); in hash_check_key() 1210 int ret = bkey_err(d); in check_inode_dirent_inode() 1757 ret = bkey_err(k1); in overlapping_extents_found() 1782 ret = bkey_err(k2); in overlapping_extents_found() 2373 ret = bkey_err(s.s_c); in check_dirent_to_subvol() [all …]
|
H A D | dirent.c | 301 ret = bkey_err(old_src); in bch2_dirent_rename() 325 ret = bkey_err(old_dst); in bch2_dirent_rename() 470 int ret = bkey_err(k); in bch2_dirent_lookup_trans()
|
H A D | io_misc.c | 47 ret = bkey_err(k); in bch2_extent_fallocate() 173 ret = bkey_err(k); in bch2_fpunch_at() 431 if ((ret = bkey_err(k))) in __bch2_resume_logged_op_finsert()
|
H A D | str_hash.h | 325 int ret = bkey_err(k); in bch2_hash_set_in_snapshot() 387 int ret = bkey_err(k); in bch2_hash_delete()
|
H A D | acl.c | 293 int ret = bkey_err(k); in bch2_get_acl() 418 int ret = bkey_err(k); in bch2_acl_chmod()
|
H A D | io_read.c | 412 ret = lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_slot(&iter))); in bch2_read_retry_nodecode() 517 if ((ret = bkey_err(k))) in __bch2_rbio_narrow_crcs() 766 ret = bkey_err(k); in __bch2_read_indirect_extent() 816 ret = lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_slot(&iter))); in read_from_stale_dirty_pointer() 1183 ret = bkey_err(k); in __bch2_read()
|
H A D | move.c | 441 ret = bkey_err(k); in bch2_move_get_io_opts_one() 540 ret = bkey_err(k); in bch2_move_data_btree() 685 bkey_err(k = bch2_btree_iter_peek_slot(&iter))); in bch2_evacuate_bucket() 720 ret = bkey_err(k); in bch2_evacuate_bucket()
|
H A D | btree_iter.c | 290 if (bkey_err(k) || !k.k) in bch2_btree_iter_verify_ret() 304 ret = bkey_err(prev); in bch2_btree_iter_verify_ret() 2187 if (k.k && !bkey_err(k)) { in btree_trans_peek_key_cache() 2236 ret = bkey_err(k); in __bch2_btree_iter_peek() 2313 if (unlikely(bkey_err(k))) in bch2_btree_iter_peek_upto() 2652 if (!bkey_err(k)) in bch2_btree_iter_peek_slot() 2676 if (k.k && !bkey_err(k)) { in bch2_btree_iter_peek_slot() 2686 if (unlikely(bkey_err(k))) in bch2_btree_iter_peek_slot() 2692 if (unlikely(bkey_err(k))) in bch2_btree_iter_peek_slot() 2749 bch2_err_matches(bkey_err(k), BCH_ERR_transaction_restart))) in bch2_btree_iter_peek_and_restart_outlined()
|
H A D | reflink.c | 357 ret = bkey_err(k); in bch2_make_extent_indirect() 503 ret = bkey_err(src_k); in bch2_remap_range()
|
H A D | snapshot.c | 702 ret = bkey_err(root); in snapshot_tree_ptr_repair() 1147 ret = bkey_err(s); in bch2_snapshot_node_delete() 1257 ret = bkey_err(k); in create_snapids() 1263 ret = bkey_err(k); in create_snapids() 1743 ret = bkey_err(k); in __bch2_key_has_snapshot_overwrites()
|
H A D | data_update.c | 202 ret = bkey_err(k); in __bch2_data_update_index_update() 466 bkey_err(k); in bch2_update_unwritten_extent()
|
H A D | movinggc.c | 90 ret = bkey_err(k); in bch2_bucket_is_movable()
|
H A D | fs-common.c | 299 ret = bkey_err(k); in bch2_unlink_trans()
|
H A D | ec.c | 827 ret = bkey_err(k); in get_stripe_key_trans() 1148 ret = bkey_err(k); in ec_stripe_delete() 1218 int ret = bkey_err(k); in ec_stripe_key_update() 1318 ret = bkey_err(k); in ec_stripe_update_extent()
|