Lines Matching refs:bitmaps
596 struct list_head bitmaps; in __load_free_space_cache() local
603 INIT_LIST_HEAD(&bitmaps); in __load_free_space_cache()
709 list_add_tail(&e->list, &bitmaps); in __load_free_space_cache()
721 list_for_each_entry_safe(e, n, &bitmaps, list) { in __load_free_space_cache()
846 int bitmaps = 0; in __btrfs_write_out_cache() local
900 bitmaps++; in __btrfs_write_out_cache()
1011 btrfs_set_free_space_bitmaps(leaf, header, bitmaps); in __btrfs_write_out_cache()
2361 struct list_head *bitmaps, u64 offset, u64 bytes, in setup_cluster_no_bitmap() argument
2384 list_add_tail(&entry->list, bitmaps); in setup_cluster_no_bitmap()
2403 list_add_tail(&entry->list, bitmaps); in setup_cluster_no_bitmap()
2454 struct list_head *bitmaps, u64 offset, u64 bytes, in setup_cluster_bitmap() argument
2469 entry = list_first_entry(bitmaps, struct btrfs_free_space, list); in setup_cluster_bitmap()
2473 list_add(&entry->list, bitmaps); in setup_cluster_bitmap()
2476 list_for_each_entry(entry, bitmaps, list) { in setup_cluster_bitmap()
2508 LIST_HEAD(bitmaps); in btrfs_find_space_cluster()
2551 INIT_LIST_HEAD(&bitmaps); in btrfs_find_space_cluster()
2552 ret = setup_cluster_no_bitmap(block_group, cluster, &bitmaps, offset, in btrfs_find_space_cluster()
2556 ret = setup_cluster_bitmap(block_group, cluster, &bitmaps, in btrfs_find_space_cluster()
2561 list_for_each_entry_safe(entry, tmp, &bitmaps, list) in btrfs_find_space_cluster()