Lines Matching defs:ipref
176 ino_t ino, ipref;
188 ipref = cg * fs->e2fs.e2fs_ipg + 1;
189 ino = (ino_t)ext2fs_hashalloc(pip, cg, (long)ipref, mode, ext2fs_nodealloccg);
440 ext2fs_nodealloccg(struct inode *ip, int cg, daddr_t ipref, int mode)
447 ipref--; /* to avoid a lot of (ipref -1) */
448 if (ipref == -1)
449 ipref = 0;
473 if (ipref) {
474 ipref %= fs->e2fs.e2fs_ipg;
475 if (isclr(ibp, ipref))
478 start = ipref / NBBY;
479 len = howmany(fs->e2fs.e2fs_ipg - ipref, NBBY);
486 printf("%s: cg = %d, ipref = %lld, fs = %s\n", __func__,
487 cg, (long long)ipref, fs->e2fs_fsmnt);
498 ipref = i * NBBY + ffs(map) - 1;
500 setbit(ibp, ipref);
503 0, -1, ((mode & IFMT) == IFDIR) ? 1 : 0, ipref);
506 return cg * fs->e2fs.e2fs_ipg + ipref + 1;