Lines Matching refs:LFS_UNUSED_INUM
180 if (tail == LFS_UNUSED_INUM) {
184 KASSERTMSG((lfs_sb_getfreehd(fs) != LFS_UNUSED_INUM),
270 KASSERT(*ino != LFS_UNUSED_INUM && *ino != LFS_IFILE_INUM);
307 lfs_if_setnextfree(fs, ifp, LFS_UNUSED_INUM);
310 if (lfs_sb_getfreehd(fs) == LFS_UNUSED_INUM) {
324 KASSERTMSG((lfs_sb_getfreehd(fs) != LFS_UNUSED_INUM),
408 while (thisino != LFS_UNUSED_INUM) {
414 nextfree == LFS_UNUSED_INUM)
427 if (nextfree == LFS_UNUSED_INUM) {
448 lfs_if_setnextfree(fs, ifp, LFS_UNUSED_INUM);
453 if (lfs_sb_getfreehd(fs) == LFS_UNUSED_INUM) {
468 KASSERTMSG((lfs_sb_getfreehd(fs) != LFS_UNUSED_INUM),
492 for (ino = maxino - 1; ino > LFS_UNUSED_INUM; --ino) {
501 * If there is none, return LFS_UNUSED_INUM.
510 if (lfs_sb_getfreehd(fs) == LFS_UNUSED_INUM) {
512 return LFS_UNUSED_INUM;
517 for (tino = ino - 1; tino >= bound && tino > LFS_UNUSED_INUM; tino--)
522 return LFS_UNUSED_INUM;
533 return LFS_UNUSED_INUM;
537 tino > LFS_UNUSED_INUM; tino--)
543 tino = LFS_UNUSED_INUM;
680 lfs_if_setnextfree(fs, ifp, LFS_UNUSED_INUM);
690 if (tino == LFS_UNUSED_INUM) {
710 if (otail == LFS_UNUSED_INUM) {
742 if (onf == LFS_UNUSED_INUM) {
753 KASSERTMSG((ino != LFS_UNUSED_INUM), "inode 0 freed");
826 firstino = lastino = LFS_UNUSED_INUM;
835 if (ino == LFS_UNUSED_INUM || ino == LFS_IFILE_INUM)
876 if (firstino == LFS_UNUSED_INUM) {
877 /* XXX: assert lastino == LFS_UNUSED_INUM? */
884 /* XXX: assert lastino != LFS_UNUSED_INUM? */
1069 if (lfs_if_getnextfree(fs, ifp) == LFS_UNUSED_INUM
1107 while (thisino != LFS_UNUSED_INUM) {
1114 if (nextfree == LFS_UNUSED_INUM)