Home
last modified time | relevance | path

Searched refs:ineed (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_ialloc.c938 xfs_extlen_t ineed; /* blocks needed for inode allocation */ in xfs_ialloc_ag_select() local
1012 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_ialloc_ag_select()
1013 if (flags && ineed > 1) in xfs_ialloc_ag_select()
1014 ineed += M_IGEO(mp)->cluster_align; in xfs_ialloc_ag_select()
1019 if (pag->pagf_freeblks >= needspace + ineed && in xfs_ialloc_ag_select()
1020 longest >= ineed) { in xfs_ialloc_ag_select()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_ialloc.c1610 xfs_extlen_t ineed; in xfs_dialloc_good_ag() local
1661 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_dialloc_good_ag()
1662 if (flags && ineed > 1) in xfs_dialloc_good_ag()
1663 ineed += M_IGEO(mp)->cluster_align; in xfs_dialloc_good_ag()
1669 if (pag->pagf_freeblks < needspace + ineed || longest < ineed) in xfs_dialloc_good_ag()

Completed in 7 milliseconds