• Home
  • Raw
  • Download

Lines Matching full:bitmaps

713 	 * bitmaps, we may end up using more memory than this.  in recalculate_thresholds()
743 LIST_HEAD(bitmaps); in __load_free_space_cache()
865 list_add_tail(&e->list, &bitmaps); in __load_free_space_cache()
874 * We add the bitmaps at the end of the entries in order that in __load_free_space_cache()
877 list_for_each_entry_safe(e, n, &bitmaps, list) { in __load_free_space_cache()
1072 int *entries, int *bitmaps, in write_cache_extent_entries() argument
1109 *bitmaps += 1; in write_cache_extent_entries()
1150 int entries, int bitmaps) in update_cache_item() argument
1187 btrfs_set_free_space_bitmaps(leaf, header, bitmaps); in update_cache_item()
1254 /* Write out the bitmaps */ in write_bitmap_entries()
1315 io_ctl->entries, io_ctl->bitmaps); in __btrfs_wait_cache_io()
1386 int bitmaps = 0; in __btrfs_write_out_cache() local
1427 block_group, &entries, &bitmaps, in __btrfs_write_out_cache()
1445 * At last, we write out all the bitmaps and keep cache_writeout_mutex in __btrfs_write_out_cache()
1483 io_ctl->bitmaps = bitmaps; in __btrfs_write_out_cache()
2269 /* This is a way to reclaim large regions from the bitmaps. */ in use_bitmap()
2332 * Since we link bitmaps right into the cluster we need to see if we in insert_into_bitmap()
2437 * 3) Always pull neighboring regions from bitmaps
2589 * there is, migrate that space from the bitmaps to the extent.
2662 * Only steal free space from adjacent bitmaps if we're sure we're not in __btrfs_add_free_space()
2665 * attempt to steal space from bitmaps if we're adding an extent entry. in __btrfs_add_free_space()
2966 * start converting things over to using bitmaps in btrfs_init_free_space_ctl()
3415 struct list_head *bitmaps, u64 offset, u64 bytes, in setup_cluster_no_bitmap() argument
3434 * We don't want bitmaps, so just move along until we find a normal in setup_cluster_no_bitmap()
3439 list_add_tail(&entry->list, bitmaps); in setup_cluster_no_bitmap()
3457 list_add_tail(&entry->list, bitmaps); in setup_cluster_no_bitmap()
3502 * This specifically looks for bitmaps that may work in the cluster, we assume
3508 struct list_head *bitmaps, u64 offset, u64 bytes, in setup_cluster_bitmap() argument
3523 if (!list_empty(bitmaps)) in setup_cluster_bitmap()
3524 entry = list_first_entry(bitmaps, struct btrfs_free_space, list); in setup_cluster_bitmap()
3529 list_add(&entry->list, bitmaps); in setup_cluster_bitmap()
3532 list_for_each_entry(entry, bitmaps, list) { in setup_cluster_bitmap()
3542 * The bitmaps list has all the bitmaps that record free space in setup_cluster_bitmap()
3563 LIST_HEAD(bitmaps); in btrfs_find_space_cluster()
3607 ret = setup_cluster_no_bitmap(block_group, cluster, &bitmaps, offset, in btrfs_find_space_cluster()
3611 ret = setup_cluster_bitmap(block_group, cluster, &bitmaps, in btrfs_find_space_cluster()
3616 list_for_each_entry_safe(entry, tmp, &bitmaps, list) in btrfs_find_space_cluster()
3738 /* Skip bitmaps and if async, already trimmed entries */ in trim_no_bitmap()
3906 * Bitmaps are marked trimmed lossily now to prevent constant in trim_bitmaps()
3908 * by the filters). So, retrim the block group bitmaps when we in trim_bitmaps()