Home
last modified time | relevance | path

Searched refs:min_free (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/fs/btrfs/
Dvolumes.c2391 u64 max_avail, min_free; in __btrfs_alloc_tiny_space() local
2438 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() local
2525 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()
Dextent-tree.c8344 u64 min_free = btrfs_block_group_used(&block_group->item); in btrfs_can_relocate() local
8351 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()
/linux-2.6.39/fs/jffs2/
Dscan.c49 static inline int min_free(struct jffs2_sb_info *c) in min_free() function
193 if (jeb->free_size > min_free(c) && in jffs2_scan_medium()