Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dalloc_foreground.c74 memset(ca->alloc_cursor, 0, sizeof(ca->alloc_cursor)); in bch2_reset_alloc_cursors()
396 u64 *dev_alloc_cursor = &ca->alloc_cursor[s->btree_bitmap]; in bch2_bucket_alloc_early()
398 u64 alloc_cursor = alloc_start; in bch2_bucket_alloc_early() local
411 for_each_btree_key_norestart(trans, iter, BTREE_ID_alloc, POS(ca->dev_idx, alloc_cursor), in bch2_bucket_alloc_early()
464 alloc_cursor = iter.pos.offset; in bch2_bucket_alloc_early()
470 alloc_cursor = alloc_start = first_bucket; in bch2_bucket_alloc_early()
474 *dev_alloc_cursor = alloc_cursor; in bch2_bucket_alloc_early()
488 u64 *dev_alloc_cursor = &ca->alloc_cursor[s->btree_bitmap]; in bch2_bucket_alloc_freelist()
490 u64 alloc_cursor = alloc_start; in bch2_bucket_alloc_freelist() local
496 POS(ca->dev_idx, alloc_cursor), 0, k, ret) { in bch2_bucket_alloc_freelist()
[all …]
Dbcachefs.h555 u64 alloc_cursor[3]; member