| /linux-6.15/fs/bcachefs/ |
| H A D | btree_iter.h | 135 trans_for_each_path_from(_trans, _path, _idx, 1) 653 bch2_trans_begin((_trans)); \ 660 _ret3 = lockrestart_do((_trans), ({ \ 667 lockrestart_do((_trans), \ 724 #define lockrestart_do(_trans, _do) \ argument 773 _ret3 = lockrestart_do(_trans, ({ \ 818 _ret3 = lockrestart_do(_trans, ({ \ 894 #define drop_locks_do(_trans, _do) \ argument 896 bch2_trans_unlock(_trans); \ 897 (_do) ?: bch2_trans_relock(_trans); \ [all …]
|
| H A D | btree_update.h | 198 #define commit_do(_trans, _disk_res, _journal_seq, _flags, _do) \ argument 199 lockrestart_do(_trans, _do ?: bch2_trans_commit(_trans, (_disk_res),\ 203 nested_lockrestart_do(_trans, _do ?: bch2_trans_commit(_trans, (_disk_res),\ 209 #define trans_for_each_update(_trans, _i) \ argument 210 for (struct btree_insert_entry *_i = (_trans)->updates; \ 211 (_i) < (_trans)->updates + (_trans)->nr_updates; \ 253 #define bch2_bkey_make_mut_noupdate_typed(_trans, _k, _type) \ argument 254 bkey_i_to_##_type(__bch2_bkey_make_mut_noupdate(_trans, _k, \ 351 bkey_i_to_##_type(__bch2_bkey_get_mut(_trans, _iter, \ 376 #define bch2_bkey_alloc(_trans, _iter, _flags, _type) \ argument [all …]
|
| H A D | subvolume.h | 48 #define for_each_btree_key_in_subvolume_max_continue(_trans, _iter, \ argument 55 _ret3 = lockrestart_do(_trans, ({ \ 63 } while (!_ret3 && bch2_btree_iter_advance(_trans, &(_iter))); \ 65 bch2_trans_iter_exit((_trans), &(_iter)); \ 69 #define for_each_btree_key_in_subvolume_max(_trans, _iter, _btree_id, \ argument 73 bch2_trans_iter_init((_trans), &(_iter), (_btree_id), \ 76 for_each_btree_key_in_subvolume_max_continue(_trans, _iter, \
|
| H A D | disk_accounting.h | 98 #define bch2_disk_accounting_mod2_nr(_trans, _gc, _v, _nr, ...) \ argument 105 #define bch2_disk_accounting_mod2(_trans, _gc, _v, ...) \ argument 106 bch2_disk_accounting_mod2_nr(_trans, _gc, _v, ARRAY_SIZE(_v), __VA_ARGS__)
|
| H A D | buckets.h | 264 #define trigger_run_overwrite_then_insert(_fn, _trans, _btree_id, _level, _old, _new, _flags)\ argument 269 ret = _fn(_trans, _btree_id, _level, _old, _flags & ~BTREE_TRIGGER_insert); \ 271 ret = _fn(_trans, _btree_id, _level, _new.s_c, _flags & ~BTREE_TRIGGER_overwrite);\
|
| H A D | fs.h | 200 #define bch2_inode_update_after_write(_trans, _inode, _inode_u, _fields) ({ do {} while (0); }) argument
|