Searched refs:new_locks_want (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | btree_locking.c | 617 unsigned new_locks_want, in bch2_btree_path_upgrade_noupgrade_sibs() argument 620 EBUG_ON(path->locks_want >= new_locks_want); in bch2_btree_path_upgrade_noupgrade_sibs() 622 path->locks_want = new_locks_want; in bch2_btree_path_upgrade_noupgrade_sibs() 631 unsigned new_locks_want, in __bch2_btree_path_upgrade() argument 634 bool ret = bch2_btree_path_upgrade_noupgrade_sibs(trans, path, new_locks_want, f); in __bch2_btree_path_upgrade() 665 linked->locks_want < new_locks_want) { in __bch2_btree_path_upgrade() 666 linked->locks_want = new_locks_want; in __bch2_btree_path_upgrade() 677 unsigned new_locks_want) in __bch2_btree_path_downgrade() argument 684 EBUG_ON(path->locks_want < new_locks_want); in __bch2_btree_path_downgrade() 686 path->locks_want = new_locks_want; in __bch2_btree_path_downgrade()
|
D | btree_locking.h | 386 unsigned new_locks_want) in bch2_btree_path_upgrade() argument 391 new_locks_want = min(new_locks_want, BTREE_MAX_DEPTH); in bch2_btree_path_upgrade() 393 if (path->locks_want < new_locks_want in bch2_btree_path_upgrade() 394 ? __bch2_btree_path_upgrade(trans, path, new_locks_want, &f) in bch2_btree_path_upgrade() 399 old_locks_want, new_locks_want, &f); in bch2_btree_path_upgrade()
|
D | trace.h | 1121 unsigned new_locks_want, 1123 TP_ARGS(trans, caller_ip, path, old_locks_want, new_locks_want, f), 1130 __field(u8, new_locks_want ) 1142 __entry->new_locks_want = new_locks_want; 1157 __entry->new_locks_want, 1330 __field(unsigned, new_locks_want ) 1339 __entry->new_locks_want = path->locks_want; 1348 __entry->new_locks_want,
|
D | btree_iter.h | 369 unsigned new_locks_want = path->level + !!path->intent_ref; in bch2_btree_path_downgrade() local 371 if (path->locks_want > new_locks_want) in bch2_btree_path_downgrade() 372 __bch2_btree_path_downgrade(trans, path, new_locks_want); in bch2_btree_path_downgrade()
|