HomeSort by: relevance | last modified time | path
    Searched refs:IFILE (Results 1 - 23 of 23) sorted by relevancy

  /src/libexec/lfs_cleanerd/
cleaner.h 27 /* Ifile */
28 int clfs_ifilefd; /* Ifile file descriptor */
29 struct uvnode *lfs_ivnode; /* Ifile vnode */
30 struct lfs_fhandle clfs_ifilefh; /* Ifile file handle */
68 void lfs_ientry(IFILE **, struct clfs *, ino_t, struct ubuf **);
coalesce.c 115 IFILE *ifp;
lfs_cleanerd.c 161 * Use fsck's lfs routines to load the Ifile from an unmounted fs.
201 * Set up the file descriptors, including the Ifile descriptor.
202 * If we can't get the Ifile, this is not an LFS (or the kernel is
251 /* Find the Ifile and open it */
313 /* Set up vnodes for Ifile and raw device */
339 * Invalidate all the currently held Ifile blocks so they will be
360 /* If Ifile is larger than buffer cache, rehash */
371 * Get IFILE entry for the given inode, store in ifpp. The buffer
378 lfs_ientry(IFILE **ifpp, struct clfs *fs, ino_t ino, struct ubuf **bpp)
394 *ifpp = (IFILE *)ifp64
    [all...]
  /src/usr.sbin/traceroute/
trrt2netbsd 56 open(IFILE, "<$f") || die "Cannot open $f";
71 while (<IFILE>) {
100 close(IFILE) || die "closing input file";
  /src/sbin/dump_lfs/
lfs_inode.c 305 static IFILE *
330 return (IFILE *) &((IFILE64 *)ifileblock)[index];
332 return (IFILE *) &((IFILE32 *)ifileblock)[index];
334 return (IFILE *) &((IFILE_V1 *)ifileblock)[index];
370 /* Load the ifile inode if not already */
  /src/sys/ufs/lfs/
lfs_itimes.c 79 IFILE *ifp;
lfs_alloc.c 112 * Add a new block to the Ifile, to accommodate future file creations.
134 * Get a block and extend the ifile inode. Leave the buffer for
189 * Initialize the ifile block.
230 (void) LFS_BWRITE_LOG(bp); /* Ifile */
251 IFILE *ifp;
278 * Fetch the ifile entry and make sure the inode is really
292 * Retrieve the version number from the ifile entry. It was
297 /* Done with ifile entry */
312 * No more inodes; extend the ifile so that the next
352 IFILE *ifp
    [all...]
lfs_accessors.h 677 /* Read in the block with a specific segment usage entry from the ifile. */
685 panic("lfs: ifile read: segentry %llu: error %d\n", \
837 /* Read in the block with a specific inode from the ifile. */
840 (IP) = (IFILE *)((IFILE64 *)(BP)->b_data + \
843 (IP) = (IFILE *)((IFILE32 *)(BP)->b_data + \
846 (IP) = (IFILE *)((IFILE_V1 *)(BP)->b_data + \
857 panic("lfs: ifile ino %d read %d", (int)(IN), _e); \
863 (IP) = (IFILE *)((IFILE64 *)(IP) + 1); \
865 (IP) = (IFILE *)((IFILE32 *)(IP) + 1); \
867 (IP) = (IFILE *)((IFILE_V1 *)(IP) + 1);
    [all...]
lfs_kclean.c 87 IFILE *ifp;
107 /* Check each inode against ifile entry */
116 /* Not ifile. Check address against ifile. */
160 IFILE *ifp;
180 /* Check each inode against ifile entry */
189 /* Not ifile. Check address against ifile. */
596 IFILE *ifp;
614 /* Check each inode against ifile entry *
    [all...]
lfs_rfw.c 108 * Called with the Ifile inode locked.
421 IFILE *ifp;
511 * Note the highest generation number of each inode in the Ifile.
523 IFILE *ifp;
538 /* Check each inode against ifile entry */
1064 /* Get rid of our vnodes, except the ifile */
lfs_syscalls.c 219 IFILE *ifp;
290 * any Ifile blocks that we might be asked to clean will never get
311 * Get the IFILE entry (only once) and see if the file still
443 /* Indirect block or ifile */
472 * XXX should account indirect blocks and ifile pages as well
660 IFILE *ifp;
701 * Get the IFILE entry (only once) and see if the file still
lfs.h 177 #define LFS_IFILE_INUM 1 /* 1: IFILE inode number */
212 # define LFS_ATIME_IFILE 0 /* Store atime info in ifile (optional in LFSv1) */
679 typedef union ifile { union
683 } IFILE;
684 __CTASSERT(__alignof(union ifile) == __alignof(struct ifile64));
686 __CTASSERT(__alignof(union ifile) == __alignof(struct ifile32));
687 __CTASSERT(__alignof(union ifile) == __alignof(struct ifile_v1));
691 * Cleaner information structure. This resides in the ifile and is used
883 uint32_t dlfs_ifpb; /* 104: IFILE entries per block */
958 uint32_t dlfs_ifpb; /* 152: IFILE entries per block *
    [all...]
lfs_segment.c 165 * XXX KS - Set modification time on the Ifile, so the cleaner can
168 * case that wouldn't happen to the Ifile until we checkpoint).
184 * Ifile and meta data blocks are not marked busy, so segment writes MUST be
349 * the Ifile, it creates an inconsistent checkpoint,
350 * since the Ifile information for the new segment
352 * sending the Ifile through again in case there
354 * This second Ifile write could *also* cross a segment
491 * Write the inode/file if dirty and it's not the IFILE.
599 * If we're cleaning we only write cleaning and ifile blocks, and
653 panic("lfs_segwrite: ifile read:
823 bool ifile, rolling, checkpointing, cleaning; local
    [all...]
lfs_vfsops.c 1129 /* Set up the ifile and lock aflags */
1212 * We use the ifile vnode for almost every operation. Instead of
1218 DLOG((DLOG_MOUNT, "lfs_mountfs: ifile vget failed, error=%d\n", error));
1321 * Initialize the ifile cleaner info with information from
1332 (void) LFS_BWRITE_LOG(bp); /* Ifile */
1345 LFS_WRITESEGENTRY(sup, fs, lfs_dtosn(fs, lfs_sb_getoffset(fs)), bp); /* Ifile */
1348 /* Now that roll-forward is done, unlock the Ifile */
1455 /* Check for dirty blocks on ifile */
1458 /* Finish with the Ifile, now that we're done with it */
1555 panic("lfs_flushfiles: still dirty blocks on ifile vnode")
    [all...]
  /src/sbin/fsck_lfs/
pass0.c 102 IFILE *ifp;
pass1.c 90 IFILE *ifp;
191 IFILE *ifp;
inode.c 102 IFILE *ifp;
469 IFILE *ifp;
496 LFS_WRITESEGENTRY(sup, fs, oldsn, bp); /* Ifile */
pass6.c 65 * as well as the Ifile; and so we can add the blocks to their new
209 IFILE *ifp;
420 IFILE *ifp;
431 /* Move ifile pointer to this location */
471 IFILE *ifp;
585 * Pass 1: find inode blocks. We ignore the Ifile inode but accept
lfs.c 410 IFILE *ifp;
903 IFILE *ifp;
922 /* Extend IFILE so that the next lfs_valloc will succeed. */
942 * Add a new block to the Ifile, to accommodate future file creations.
segwrite.c 200 IFILE *ifp;
246 IFILE *ifp;
295 /* XXX kludge --- don't redirty the ifile just to put times on it */
300 * If this is the Ifile, and we've already written the Ifile in this
335 * If updating the ifile, update the super-block. Update the disk
336 * address for this inode in the ifile.
347 (void)LFS_BWRITE_LOG(ibp); /* Ifile */
363 LFS_WRITESEGENTRY(sup, fs, oldsn, bp); /* Ifile */
819 LFS_WRITESEGENTRY(sup, fs, sp->seg_number, bp); /* Ifile */
    [all...]
  /src/usr.sbin/dumplfs/
dumplfs.c 122 /* Ifile formats */
127 print_ientry(int i, struct lfs *lfsp, IFILE *ip)
217 case 'i': /* Dump ifile entries */
220 case 'I': /* Use this ifile inode */
348 * We are reading all the blocks of an inode and dumping out the ifile table.
385 warnx("unable to locate ifile inode at disk address 0x%jx",
519 print_ientry(cnt, lfsp, (IFILE *)ip);
934 "ifile ", lfs_sb_getifile(lfsp));
  /src/sbin/newfs_lfs/
make_lfs.c 254 /*{ LFS_IFILE_INUM, "ifile", LFS_DT_REG },*/
318 /* XXX We are only called with nblocks > 1 for Ifile */
329 /* Assign the block addresses for the ifile */
396 IFILE *ipall; /* Pointer to array of ifile structures */
436 /* Initialize LFS subsystem with blank superblock and ifile. */
663 * we'll subtract off the room for the superblocks ifile entries
732 * Initialize the Ifile inode. Do this before we do anything
733 * with the Ifile or segment tables.
838 /* Set their IFILE entry version numbers to 1 *
    [all...]
  /src/sys/lib/libsa/
ufs.c 309 * Find an inode's block. Look it up in the ifile. Whee!
339 *isp = FSBTODB(fs, lfs_if_getdaddr(fs, (IFILE *)ent_in_buf));

Completed in 33 milliseconds