Home
last modified time | relevance | path

Searched refs:bkey_err (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/fs/bcachefs/
Dalloc_background.c468 int ret = bkey_err(k); in bch2_trans_start_alloc_update_noupdate()
711 ret = bkey_err(old); in bch2_bucket_do_index()
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()
1155 ret = bkey_err(k); in bch2_check_alloc_key()
1185 ret = bkey_err(k); in bch2_check_alloc_key()
1216 ret = bkey_err(k); in bch2_check_alloc_key()
1272 ret = bkey_err(k); in bch2_check_alloc_hole_freespace()
[all …]
Dbtree_iter.h20 #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; \
Dtests.c352 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()
Drebalance.c48 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()
Dfs-io.c607 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()
Dbtree_update.c144 !(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()
Dinode.c349 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()
Dlru.c93 int ret = bkey_err(lru_k); in bch2_lru_check_set()
145 ret = bkey_err(k); in bch2_check_lru_key()
Dsubvolume.c78 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()
Dbackpointers.c200 ret = bkey_err(k); in bch2_bucket_backpointer_mod_nowritebuffer()
240 ret = bkey_err(k); in bch2_get_next_backpointer()
328 if (bkey_err(k)) { in bch2_backpointer_get_key()
410 ret = bkey_err(alloc_k); in bch2_check_btree_backpointer()
556 ret = bkey_err(bp_k); in check_bp_exists()
585 ret = bkey_err(other_extent); in check_bp_exists()
974 ret = bkey_err(k); in check_one_backpointer()
Dsubvolume.h62 bkey_err(_k) ?: (_do); \
Dfsck.c149 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()
497 int ret = bkey_err(d) ?: in remove_backpointer()
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()
1195 int ret = bkey_err(k) ?: k.k->type == KEY_TYPE_set; in check_inode_deleted_list()
1210 int ret = bkey_err(d); in check_inode_dirent_inode()
1757 ret = bkey_err(k1); in overlapping_extents_found()
[all …]
Ddirent.c301 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()
Dio_misc.c47 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()
Dstr_hash.h325 int ret = bkey_err(k); in bch2_hash_set_in_snapshot()
387 int ret = bkey_err(k); in bch2_hash_delete()
Dacl.c293 int ret = bkey_err(k); in bch2_get_acl()
418 int ret = bkey_err(k); in bch2_acl_chmod()
Dio_read.c413 ret = lockrestart_do(trans, bkey_err(k = bch2_btree_iter_peek_slot(&iter))); in bch2_read_retry_nodecode()
518 if ((ret = bkey_err(k))) in __bch2_rbio_narrow_crcs()
767 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()
Dmove.c441 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()
Dbtree_iter.c290 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()
Dreflink.c357 ret = bkey_err(k); in bch2_make_extent_indirect()
503 ret = bkey_err(src_k); in bch2_remap_range()
Dsnapshot.c702 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()
Ddata_update.c202 ret = bkey_err(k); in __bch2_data_update_index_update()
466 bkey_err(k); in bch2_update_unwritten_extent()
Dmovinggc.c90 ret = bkey_err(k); in bch2_bucket_is_movable()
Dfs-common.c299 ret = bkey_err(k); in bch2_unlink_trans()
Dec.c827 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()

12