Searched refs:min_free (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_alloc.c | 1881 unsigned int min_free; in xfs_alloc_min_freelist() local 1884 min_free = min_t(unsigned int, pag->pagf_levels[XFS_BTNUM_BNOi] + 1, in xfs_alloc_min_freelist() 1887 min_free += min_t(unsigned int, pag->pagf_levels[XFS_BTNUM_CNTi] + 1, in xfs_alloc_min_freelist() 1890 return min_free; in xfs_alloc_min_freelist() 1902 xfs_extlen_t min_free, in xfs_alloc_space_available() argument 1913 longest = xfs_alloc_longest_free_extent(args->mp, pag, min_free); in xfs_alloc_space_available() 1919 min_free - args->total); in xfs_alloc_space_available()
|
/linux-4.4.14/fs/jffs2/ |
D | scan.c | 51 static inline int min_free(struct jffs2_sb_info *c) in min_free() function 198 if (jeb->free_size > min_free(c) && in jffs2_scan_medium()
|
/linux-4.4.14/fs/btrfs/ |
D | extent-tree.c | 9315 u64 min_free; in btrfs_can_relocate() local 9329 min_free = btrfs_block_group_used(&block_group->item); in btrfs_can_relocate() 9332 if (!min_free) in btrfs_can_relocate() 9350 min_free < space_info->total_bytes)) { in btrfs_can_relocate() 9390 min_free >>= 1; in btrfs_can_relocate() 9395 min_free <<= 1; in btrfs_can_relocate() 9398 min_free = div64_u64(min_free, dev_min); in btrfs_can_relocate() 9416 if (device->total_bytes > device->bytes_used + min_free && in btrfs_can_relocate() 9418 ret = find_free_dev_extent(trans, device, min_free, in btrfs_can_relocate()
|