Lines Matching refs:ipref
144 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;
444 len = howmany(fs->e2fs.e2fs_ipg - ipref, NBBY);
452 cg, ipref, fs->e2fs_fsmnt);
459 ipref = i * NBBY;
460 for (i = 1; i < (1 << NBBY); i <<= 1, ipref++) {
469 setbit(ibp, ipref);
477 return (cg * fs->e2fs.e2fs_ipg + ipref +1);