Searched refs:min_free (Results 1 – 3 of 3) sorted by relevance
2391 u64 max_avail, min_free; in __btrfs_alloc_tiny_space() local2438 min_free = max_avail * 2; in __btrfs_alloc_tiny_space()2440 min_free = max_avail; in __btrfs_alloc_tiny_space()2442 if (min_free > devices[min_devices - 1].max_avail) in __btrfs_alloc_tiny_space()2481 u64 min_free; in __btrfs_alloc_chunk() local2525 min_free = calc_size * 2; in __btrfs_alloc_chunk()2528 min_free = calc_size; in __btrfs_alloc_chunk()2542 if (device->in_fs_metadata && avail >= min_free) { in __btrfs_alloc_chunk()2543 ret = find_free_dev_extent(trans, device, min_free, in __btrfs_alloc_chunk()
8344 u64 min_free = btrfs_block_group_used(&block_group->item); in btrfs_can_relocate() local8351 if (device->total_bytes > device->bytes_used + min_free) { in btrfs_can_relocate()8352 ret = find_free_dev_extent(NULL, device, min_free, in btrfs_can_relocate()
49 static inline int min_free(struct jffs2_sb_info *c) in min_free() function193 if (jeb->free_size > min_free(c) && in jffs2_scan_medium()