Home
last modified time | relevance | path

Searched refs:alloc_k (Results 1 – 2 of 2) sorted by relevance

/linux/fs/bcachefs/
H A Dalloc_background.c669 struct bkey_s_c alloc_k, in bch2_bucket_do_index() argument
697 k->k.p = alloc_freespace_pos(alloc_k.k->p, *a); in bch2_bucket_do_index()
702 k->k.p = alloc_k.k->p; in bch2_bucket_do_index()
726 (bch2_bkey_val_to_text(&buf, c, alloc_k), buf.buf))) { in bch2_bucket_do_index()
1123 struct bkey_s_c alloc_k, in bch2_check_alloc_key() argument
1138 struct bch_dev *ca = bch2_dev_bucket_tryget_noerror(c, alloc_k.k->p); in bch2_check_alloc_key()
1142 alloc_k.k->p.inode, alloc_k.k->p.offset)) in bch2_check_alloc_key()
1150 a = bch2_alloc_to_v4(alloc_k, &a_convert); in bch2_check_alloc_key()
1153 bch2_btree_iter_set_pos(discard_iter, alloc_k.k->p); in bch2_check_alloc_key()
1165 (bch2_bkey_val_to_text(&buf, c, alloc_k), buf.buf))) { in bch2_check_alloc_key()
[all …]
H A Dbackpointers.c391 struct bkey_s_c alloc_k; in bch2_check_btree_backpointer() local
404 alloc_k = bch2_bkey_get_iter(trans, &alloc_iter, BTREE_ID_alloc, bucket, 0); in bch2_check_btree_backpointer()
405 ret = bkey_err(alloc_k); in bch2_check_btree_backpointer()
409 if (fsck_err_on(alloc_k.k->type != KEY_TYPE_alloc_v4, in bch2_check_btree_backpointer()