Home
last modified time | relevance | path

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

/mirbsd/src/sys/ufs/ext2fs/
Dext2fs_alloc.c144 ino_t ino, ipref; in ext2fs_inode_alloc() local
157 ipref = cg * fs->e2fs.e2fs_ipg + 1; in ext2fs_inode_alloc()
158 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg); in ext2fs_inode_alloc()
415 ext2fs_nodealloccg(ip, cg, ipref, mode) in ext2fs_nodealloccg() argument
418 ufs1_daddr_t ipref;
426 ipref--; /* to avoid a lot of (ipref -1) */
438 if (ipref) {
439 ipref %= fs->e2fs.e2fs_ipg;
440 if (isclr(ibp, ipref))
443 start = ipref / NBBY;
[all …]
/mirbsd/src/sys/ufs/ffs/
Dffs_alloc.c574 ino_t ino, ipref; in ffs_inode_alloc() local
583 ipref = ffs_dirpref(pip); in ffs_inode_alloc()
585 ipref = pip->i_number; in ffs_inode_alloc()
586 if (ipref >= fs->fs_ncg * fs->fs_ipg) in ffs_inode_alloc()
587 ipref = 0; in ffs_inode_alloc()
588 cg = ino_to_cg(fs, ipref); in ffs_inode_alloc()
601 ino = (ino_t)ffs_hashalloc(pip, cg, (long)ipref, mode, ffs_nodealloccg); in ffs_inode_alloc()
1316 ffs_nodealloccg(ip, cg, ipref, mode) in ffs_nodealloccg() argument
1319 daddr_t ipref;
1342 if (ipref) {
[all …]