HomeSort by: relevance | last modified time | path
    Searched refs:IFILE (Results 1 - 22 of 22) 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/sys/ufs/lfs/
lfs_itimes.c 78 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", \
830 /* Read in the block with a specific inode from the ifile. */
838 panic("lfs: ifile ino %d read %d", (int)(IN), _e); \
840 (IP) = (IFILE *)((IFILE64 *)(BP)->b_data + \
843 (IP) = (IFILE *)((IFILE32 *)(BP)->b_data + \
846 (IP) = (IFILE *)((IFILE_V1 *)(BP)->b_data + \
853 (IP) = (IFILE *)((IFILE64 *)(IP) + 1); \
855 (IP) = (IFILE *)((IFILE32 *)(IP) + 1); \
857 (IP) = (IFILE *)((IFILE_V1 *)(IP) + 1);
    [all...]
lfs_syscalls.c 219 IFILE *ifp;
265 * any Ifile blocks that we might be asked to clean will never get
285 * Get the IFILE entry (only once) and see if the file still
419 /* Indirect block or ifile */
448 * XXX should account indirect blocks and ifile pages as well
634 IFILE *ifp;
675 * Get the IFILE entry (only once) and see if the file still
lfs_rfw.c 102 * Called with the Ifile inode locked.
399 IFILE *ifp;
477 error = LFS_BWRITE_LOG(ibp); /* Ifile */
499 * Note the highest generation number of each inode in the Ifile.
509 IFILE *ifp;
522 /* Check each inode against ifile entry */
533 error = LFS_BWRITE_LOG(ibp); /* Ifile */
938 /* Get rid of our vnodes, except the ifile */
lfs.h 176 #define LFS_IFILE_INUM 1 /* 1: IFILE inode number */
211 # define LFS_ATIME_IFILE 0 /* Store atime info in ifile (optional in LFSv1) */
678 typedef union ifile { union
682 } IFILE;
683 __CTASSERT(__alignof(union ifile) == __alignof(struct ifile64));
685 __CTASSERT(__alignof(union ifile) == __alignof(struct ifile32));
686 __CTASSERT(__alignof(union ifile) == __alignof(struct ifile_v1));
690 * Cleaner information structure. This resides in the ifile and is used
882 uint32_t dlfs_ifpb; /* 104: IFILE entries per block */
957 uint32_t dlfs_ifpb; /* 152: IFILE entries per block *
    [all...]
lfs_segment.c 166 * XXX KS - Set modification time on the Ifile, so the cleaner can
169 * case that wouldn't happen to the Ifile until we checkpoint).
185 * Ifile and meta data blocks are not marked busy, so segment writes MUST be
418 * the Ifile, it creates an inconsistent checkpoint,
419 * since the Ifile information for the new segment
421 * sending the Ifile through again in case there
423 * This second Ifile write could *also* cross a segment
547 * Write the inode/file if dirty and it's not the IFILE.
655 * If we're cleaning we only write cleaning and ifile blocks, and
710 panic("lfs_segwrite: ifile read:
    [all...]
lfs_vfsops.c 1107 /* Set up the ifile and lock aflags */
1182 * We use the ifile vnode for almost every operation. Instead of
1188 DLOG((DLOG_MOUNT, "lfs_mountfs: ifile vget failed, error=%d\n", error));
1296 * Initialize the ifile cleaner info with information from
1307 (void) LFS_BWRITE_LOG(bp); /* Ifile */
1320 LFS_WRITESEGENTRY(sup, fs, lfs_dtosn(fs, lfs_sb_getoffset(fs)), bp); /* Ifile */
1323 /* Now that roll-forward is done, unlock the Ifile */
1430 /* Finish with the Ifile, now that we're done with it */
1520 panic("lfs_unmount: still dirty blocks on ifile vnode");
1724 IFILE *ifp
    [all...]
  /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/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
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 */
820 LFS_WRITESEGENTRY(sup, fs, sp->seg_number, bp); /* Ifile */
    [all...]
lfs.c 410 IFILE *ifp;
909 IFILE *ifp;
928 /* Extend IFILE so that the next lfs_valloc will succeed. */
948 * Add a new block to the Ifile, to accommodate future file creations.
  /src/usr.sbin/dumplfs/
dumplfs.c 116 /* Ifile formats */
121 print_ientry(int i, struct lfs *lfsp, IFILE *ip)
211 case 'i': /* Dump ifile entries */
214 case 'I': /* Use this ifile inode */
342 * We are reading all the blocks of an inode and dumping out the ifile table.
379 warnx("unable to locate ifile inode at disk address 0x%jx",
513 print_ientry(cnt, lfsp, (IFILE *)ip);
911 "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.
851 /* 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 28 milliseconds