/linux-6.12.1/fs/bcachefs/ |
D | btree_iter.h | 128 #define trans_for_each_path_from(_trans, _path, _idx, _start) \ argument 130 (_path = __trans_next_path((_trans), &_idx)); \ 133 #define trans_for_each_path(_trans, _path, _idx) \ argument 134 trans_for_each_path_from(_trans, _path, _idx, 1) 156 #define trans_for_each_path_idx_inorder(_trans, _iter) \ argument 159 _iter.sorted_idx < (_trans)->nr_sorted); \ 167 #define trans_for_each_path_inorder(_trans, _path, _iter) \ argument 170 _path = (_trans)->paths + _iter.path_idx, \ 171 _iter.sorted_idx < (_trans)->nr_sorted); \ 174 #define trans_for_each_path_inorder_reverse(_trans, _path, _i) \ argument [all …]
|
D | btree_update.h | 187 #define commit_do(_trans, _disk_res, _journal_seq, _flags, _do) \ argument 188 lockrestart_do(_trans, _do ?: bch2_trans_commit(_trans, (_disk_res),\ 191 #define nested_commit_do(_trans, _disk_res, _journal_seq, _flags, _do) \ argument 192 nested_lockrestart_do(_trans, _do ?: bch2_trans_commit(_trans, (_disk_res),\ 198 #define trans_for_each_update(_trans, _i) \ argument 199 for (struct btree_insert_entry *_i = (_trans)->updates; \ 200 (_i) < (_trans)->updates + (_trans)->nr_updates; \ 242 #define bch2_bkey_make_mut_noupdate_typed(_trans, _k, _type) \ argument 243 bkey_i_to_##_type(__bch2_bkey_make_mut_noupdate(_trans, _k, \ 270 #define bch2_bkey_make_mut_typed(_trans, _iter, _k, _flags, _type) \ argument [all …]
|
D | subvolume.h | 49 #define for_each_btree_key_in_subvolume_upto_continue(_trans, _iter, \ argument 56 _ret3 = lockrestart_do(_trans, ({ \ 66 bch2_trans_iter_exit((_trans), &(_iter)); \ 70 #define for_each_btree_key_in_subvolume_upto(_trans, _iter, _btree_id, \ argument 74 bch2_trans_iter_init((_trans), &(_iter), (_btree_id), \ 77 for_each_btree_key_in_subvolume_upto_continue(_trans, _iter, \
|
D | buckets.h | 289 #define trigger_run_overwrite_then_insert(_fn, _trans, _btree_id, _level, _old, _new, _flags)\ argument 294 ret = _fn(_trans, _btree_id, _level, _old, _flags & ~BTREE_TRIGGER_insert); \ 296 ret = _fn(_trans, _btree_id, _level, _new.s_c, _flags & ~BTREE_TRIGGER_overwrite);\
|
D | fs.h | 199 #define bch2_inode_update_after_write(_trans, _inode, _inode_u, _fields) ({ do {} while (0); }) argument
|