Home
last modified time | relevance | path

Searched refs:minfragsperinode (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/makefs/ffs/
H A Dmkfs.c140 int minfragsperinode; /* minimum ratio of frags to inodes */ in ffs_mkfs() local
333 minfragsperinode = 1 + fssize / maxinum; in ffs_mkfs()
334 mindensity = minfragsperinode * fsize; in ffs_mkfs()
336 density = MAX(2, minfragsperinode) * fsize; in ffs_mkfs()
345 density = MIN(density, MAX(2, minfragsperinode) * fsize); in ffs_mkfs()
/freebsd/sbin/newfs/
H A Dmkfs.c125 int minfragsperinode; /* minimum ratio of frags to inodes */ in mkfs() local
346 minfragsperinode = 1 + fssize / maxinum; in mkfs()
348 density = MAX(NFPI, minfragsperinode) * fsize; in mkfs()
349 } else if (density < minfragsperinode * fsize) { in mkfs()
351 density = minfragsperinode * fsize; in mkfs()
358 if (fragsperinode < minfragsperinode) { in mkfs()