OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inodeblks
(Results
1 - 2
of
2
) sorted by relevancy
/src/sbin/newfs/
mkfs.c
186
uint64_t
inodeblks
, cgall;
local in function:mkfs
384
inodeblks
= howmany(num_inodes, FFS_INOPB(&sblock));
392
inodeblks
= (sblock.fs_size - sblock.fs_iblkno) /
395
if (
inodeblks
== 0)
396
inodeblks
= 1;
398
if (
inodeblks
> (uint64_t)(sblock.fs_size - sblock.fs_iblkno)/sblock.fs_frag - 2)
399
inodeblks
= (sblock.fs_size-sblock.fs_iblkno)/sblock.fs_frag-2;
401
if (
inodeblks
* FFS_INOPB(&sblock) >= 1ull << 31)
402
inodeblks
= ((1ull << 31) - NBBY) / FFS_INOPB(&sblock);
408
cgall = CGSIZE_IF(&sblock,
inodeblks
* FFS_INOPB(&sblock), sblock.fs_size)
[
all
...]
mkfs.c
186
uint64_t
inodeblks
, cgall;
local in function:mkfs
384
inodeblks
= howmany(num_inodes, FFS_INOPB(&sblock));
392
inodeblks
= (sblock.fs_size - sblock.fs_iblkno) /
395
if (
inodeblks
== 0)
396
inodeblks
= 1;
398
if (
inodeblks
> (uint64_t)(sblock.fs_size - sblock.fs_iblkno)/sblock.fs_frag - 2)
399
inodeblks
= (sblock.fs_size-sblock.fs_iblkno)/sblock.fs_frag-2;
401
if (
inodeblks
* FFS_INOPB(&sblock) >= 1ull << 31)
402
inodeblks
= ((1ull << 31) - NBBY) / FFS_INOPB(&sblock);
408
cgall = CGSIZE_IF(&sblock,
inodeblks
* FFS_INOPB(&sblock), sblock.fs_size)
[
all
...]
Completed in 22 milliseconds
Indexes created Sat Oct 11 19:10:01 GMT 2025