Searched refs:alloc_iter (Results 1 – 2 of 2) sorted by relevance
/linux/fs/bcachefs/ |
H A D | backpointers.c | 230 struct btree_iter alloc_iter = { NULL }, bp_iter = { NULL }; in bch2_get_next_backpointer() local 238 k = bch2_bkey_get_iter(trans, &alloc_iter, BTREE_ID_alloc, in bch2_get_next_backpointer() 264 bch2_trans_iter_exit(trans, &alloc_iter); in bch2_get_next_backpointer() 395 struct btree_iter alloc_iter = { NULL }; in bch2_check_btree_backpointer() local 409 alloc_k = bch2_bkey_get_iter(trans, &alloc_iter, BTREE_ID_alloc, bucket, 0); in bch2_check_btree_backpointer() 417 alloc_iter.pos.inode, alloc_iter.pos.offset, in bch2_check_btree_backpointer() 424 bch2_trans_iter_exit(trans, &alloc_iter); in bch2_check_btree_backpointer()
|
H A D | alloc_background.c | 1124 struct btree_iter *alloc_iter, in bch2_check_alloc_key() argument 1143 ret = bch2_btree_delete_at(trans, alloc_iter, 0); in bch2_check_alloc_key() 1375 struct btree_iter alloc_iter; in bch2_check_discard_freespace_key() local 1391 alloc_k = bch2_bkey_get_iter(trans, &alloc_iter, BTREE_ID_alloc, pos, 0); in bch2_check_discard_freespace_key() 1418 bch2_set_btree_iter_dontneed(&alloc_iter); in bch2_check_discard_freespace_key() 1419 bch2_trans_iter_exit(trans, &alloc_iter); in bch2_check_discard_freespace_key() 1629 struct btree_iter *alloc_iter, in bch2_check_alloc_to_lru_ref() argument 1639 alloc_k = bch2_btree_iter_peek(alloc_iter); in bch2_check_alloc_to_lru_ref() 1677 ret = bch2_trans_update(trans, alloc_iter, in bch2_check_alloc_to_lru_ref()
|