Searched refs:ino (Results 26 - 50 of 140) sorted by relevance

123456

/freebsd-9.3-release/sbin/fsck_ffs/
H A Dinode.c545 printf("adjrefcnt ino %ld amt %lld\n",
596 pinode(ino_t ino) argument
603 printf(" I=%lu ", (u_long)ino);
604 if (ino < ROOTINO || ino > maxino)
606 dp = ginode(ino);
622 blkerror(ino_t ino, const char *type, ufs2_daddr_t blk) argument
625 pfatal("%jd %s I=%ju", (intmax_t)blk, type, (uintmax_t)ino);
627 switch (inoinfo(ino)->ino_state) {
631 inoinfo(ino)
655 ino_t ino; local
716 freeino(ino_t ino) argument
[all...]
/freebsd-9.3-release/sbin/restore/
H A Dinteractive.c99 ino_t ino; local
133 ino = dirlookup(name);
134 if (ino == 0)
138 treescan(name, ino, addfile);
146 ino = dirlookup(name);
147 if (ino == 0)
149 if (inodetype(ino) == LEAF) {
H A Dmain.c85 ino_t ino; local
260 ino = dirlookup(name);
261 if (ino == 0)
263 treescan(name, ino, listfile);
275 ino = dirlookup(name);
276 if (ino == 0)
280 treescan(name, ino, addfile);
/freebsd-9.3-release/sbin/tunefs/
H A Dtunefs.c674 ino_t ino; local
693 if ((ino = dir_search(dp1->di_db[i],
695 return (ino);
705 if ((ino = dir_search(dp2->di_db[i],
707 return (ino);
728 * Insert the journal at inode 'ino' into directory blk 'blk' at the first
733 dir_insert(ufs2_daddr_t blk, off_t off, ino_t ino) argument
744 dp->d_ino = ino;
762 dir_extend(ufs2_daddr_t blk, ufs2_daddr_t nblk, off_t size, ino_t ino) argument
778 return (dir_insert(nblk, size, ino));
786 journal_insertfile(ino_t ino) argument
911 ino_t ino; local
946 ino_t ino; local
[all...]
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_cpio.c124 * only allows 18 bits and relies on the ino values to identify hardlinked
125 * files. So, we can't merely "hash" the ino numbers since collisions
126 * would corrupt the archive. Instead, we generate synthetic ino values
127 * to store in the archive and maintain a map of original ino values to
134 * TODO: Work with dev/ino pairs here instead of just ino values.
139 int64_t ino = archive_entry_ino64(entry); local
149 if (ino == 0)
157 /* Look up old ino; if we have it, this is a hardlink
160 if (cpio->ino_list[i].old == ino)
193 int64_t ino; local
[all...]
H A Darchive_write_set_format_cpio_newc.c117 int64_t ino; local
137 ino = archive_entry_ino64(entry);
138 if (ino > 0xffffffff) {
144 format_hex(ino & 0xffffffff, &h.c_ino, sizeof(h.c_ino));
/freebsd-9.3-release/sys/boot/arm/ixp425/boot2/
H A Dboot2.c161 ino_t ino; local
172 if ((ino = lookup(PATH_CONFIG)) ||
173 (ino = lookup(PATH_DOTCONFIG)))
174 fsread(ino, cmd, sizeof(cmd));
210 ino_t ino; local
220 if (!(ino = lookup(kname))) {
226 if (xfsread(ino, &eh, sizeof(eh)))
234 if (xfsread(ino, ep + j, sizeof(ep[0])))
247 if (xfsread(ino, p, ep[i].p_filesz))
/freebsd-9.3-release/contrib/libarchive/cpio/test/
H A Dtest_option_c.c59 int dev, ino, gid; local
118 assert(is_octal(e + 12, 6)); /* ino */
119 ino = from_octal(e + 12, 6);
149 assert(ino != from_octal(e + 12, 6)); /* ino */
178 assert(is_octal(e + 12, 6)); /* ino */
179 assert(ino != from_octal(e + 12, 6));
209 assertEqualMem(e + 12, "000000", 6); /* ino */
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dbounce-resender.pl192 ($dev, $ino) = (stat($df))[0 .. 1];
198 print MSGHDR "I$maj/$min/$ino\n";
217 $dev = $ino = $maj = $min = $r = $time = undef;
223 ($dev, $ino) = (stat($df))[0 .. 1];
229 print MSGHDR "I$maj/$min/$ino\n";
248 $dev = $ino = $maj = $min = $r = $time = undef;
/freebsd-9.3-release/sbin/ffsinfo/
H A Dffsinfo.c342 struct ufs1_dinode *ino; local
353 if (getino(&disk, (void **)&ino, inode, &mode) == -1)
356 if(ino->di_nlink==0) {
368 ino);
379 rb=howmany(ino->di_size, sblock.fs_bsize)-NDADDR;
384 if (bread(&disk, fsbtodb(&sblock, ino->di_ib[0]), (void *)&i1blk,
400 if (bread(&disk, fsbtodb(&sblock, ino->di_ib[1]), (void *)&i2blk,
431 if (bread(&disk, fsbtodb(&sblock, ino->di_ib[2]), (void *)&i3blk,
494 struct ufs2_dinode *ino; local
505 if (getino(&disk, (void **)&ino, inod
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_dir2.h66 xfs_intino_t ino; /* inode number */ member in struct:xfs_dir2_put_args
H A Dxfs_dir2_sf.c614 xfs_ino_t ino; /* entry inode number */ local
623 ino = XFS_DIR2_SF_GET_INUMBER(sfp, &sfp->hdr.parent);
624 i8count = ino > XFS_DIR2_MAX_SHORT_INUM;
630 ino = XFS_DIR2_SF_GET_INUMBER(sfp, XFS_DIR2_SF_INUMBERP(sfep));
631 i8count += ino > XFS_DIR2_MAX_SHORT_INUM;
757 p.ino = dp->i_ino;
759 p.ino += mp->m_inoadd;
782 p.ino = XFS_DIR2_SF_GET_INUMBER(sfp, &sfp->hdr.parent);
784 p.ino += mp->m_inoadd;
818 p.ino
1011 xfs_ino_t ino=0; /* entry old inode number */ local
1155 xfs_ino_t ino; /* entry inode number */ local
1232 xfs_ino_t ino; /* entry inode number */ local
[all...]
H A Dxfs_dir.h70 xfs_ino_t ino,
124 #define XFS_DIR_REMOVENAME(mp,tp,dp,name,namelen,ino,first,flist,total) \
125 ((mp)->m_dirops.xd_removename(tp,dp,name,namelen,ino,first,flist,total))
H A Dxfs_ialloc.h120 xfs_ino_t ino, /* inode to locate */
H A Dxfs_trans_inode.c83 xfs_ino_t ino,
97 return xfs_iget(mp, NULL, ino, flags, lock_flags, ipp, 0);
108 if ((ip = xfs_inode_incore(tp->t_mountp, ino, tp)) != NULL) {
137 error = xfs_iget(tp->t_mountp, tp, ino, flags, lock_flags, &ip, 0);
80 xfs_trans_iget( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp) argument
/freebsd-9.3-release/contrib/gcc/
H A Dc-incpath.c217 INO_T_COPY (cur->ino, st.st_ino);
223 if (INO_T_EQ (tmp->ino, cur->ino) && tmp->dev == cur->dev
232 if (INO_T_EQ (cur->ino, tmp->ino) && cur->dev == tmp->dev
239 && INO_T_EQ (cur->ino, join->ino)
/freebsd-9.3-release/sys/boot/common/
H A Dufsread.c95 fsfind(const char *name, ino_t * ino) argument
103 while ((n = fsread(*ino, buf, DEV_BSIZE)) > 0)
109 *ino = d->d_ino;
124 ino_t ino; local
128 ino = ROOTINO;
145 if ((dt = fsfind(name, &ino)) <= 0)
149 return dt == DT_REG ? ino : 0;
/freebsd-9.3-release/bin/pax/
H A Dtables.c153 if ((pt->ino == arcn->sb.st_ino) &&
195 pt->ino = arcn->sb.st_ino;
244 if ((pt->ino == arcn->sb.st_ino) &&
954 add_atdir(char *fname, dev_t dev, ino_t ino, time_t mtime, time_t atime) argument
969 indx = ((unsigned)ino) % A_TAB_SZ;
972 if ((pt->ino == ino) && (pt->dev == dev))
990 pt->ino = ino;
1016 get_atdir(dev_t dev, ino_t ino, time_ argument
[all...]
/freebsd-9.3-release/sbin/dump/
H A Dmain.c99 ino_t ino; local
547 for (map = dumpdirmap, ino = 1; ino < maxino; ino++) {
548 if (((ino - 1) % CHAR_BIT) == 0) /* map is offset by 1 */
557 dp = getino(ino, &mode);
560 (void)dumpino(dp, ino);
566 for (map = dumpinomap, ino = 1; ino < maxino; ino
[all...]
/freebsd-9.3-release/sys/boot/i386/boot2/
H A Dboot2.c225 ino_t ino; local
242 if ((ino = lookup(PATH_CONFIG)) ||
243 (ino = lookup(PATH_DOTCONFIG))) {
244 nbyte = fsread(ino, cmd, sizeof(cmd) - 1);
310 ino_t ino; local
314 if (!(ino = lookup(kname))) {
319 if (xfsread(ino, &hdr, sizeof(hdr)))
326 if (xfsread(ino, p, hdr.ex.a_text))
329 if (xfsread(ino, p, hdr.ex.a_data))
334 if (xfsread(ino, e
[all...]
/freebsd-9.3-release/sys/boot/pc98/boot2/
H A Dboot2.c354 ino_t ino; local
381 if ((ino = lookup(PATH_CONFIG)) ||
382 (ino = lookup(PATH_DOTCONFIG))) {
383 nbyte = fsread(ino, cmd, sizeof(cmd) - 1);
449 ino_t ino; local
453 if (!(ino = lookup(kname))) {
458 if (xfsread(ino, &hdr, sizeof(hdr)))
465 if (xfsread(ino, p, hdr.ex.a_text))
468 if (xfsread(ino, p, hdr.ex.a_data))
473 if (xfsread(ino, e
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dgfs.c160 ino64_t *pino, ino64_t *ino)
166 *ino = dp->gfsd_file.gfs_ino;
170 *pino = *ino; /* root of filesystem */
314 * ino - the entry's inode
325 ino64_t ino, const char *name, int eflags, int *ncookies, u_long **cookies)
332 edp->ed_ino = ino;
338 dp->d_ino = ino;
357 ino64_t ino, unsigned long num)
362 return (gfs_readdir_emit(st, uiop, voff, ino, buf, 0));
580 gfs_root_create(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino, argument
159 gfs_get_parent_ino(vnode_t *dvp, cred_t *cr, caller_context_t *ct, ino64_t *pino, ino64_t *ino) argument
324 gfs_readdir_emit(gfs_readdir_state_t *st, uio_t *uiop, offset_t voff, ino64_t ino, const char *name, int eflags, int *ncookies, u_long **cookies) argument
356 gfs_readdir_emitn(gfs_readdir_state_t *st, uio_t *uiop, offset_t voff, ino64_t ino, unsigned long num) argument
604 gfs_root_create_file(size_t size, vfs_t *vfsp, vnodeops_t *ops, ino64_t ino) argument
768 ino64_t ino; local
1025 ino64_t ino, pino; local
[all...]
/freebsd-9.3-release/usr.sbin/makefs/
H A Dffs.c760 cur->inode->ino = cur->parent->inode->ino;
762 cur->inode->ino = fsopts->curinode;
813 printf("ffs_populate_dir: writing ino %d, %s",
814 cur->inode->ino, inode_type(cur->type));
821 ffs_write_file(&din, cur->inode->ino, membuf, fsopts);
823 ffs_write_file(&din, cur->inode->ino,
827 ffs_write_inode(&din, cur->inode->ino, fsopts);
857 ffs_write_file(union dinode *din, uint32_t ino, void *buf, fsinfo_t *fsopts) argument
881 "ffs_write_file: ino
1051 ffs_write_inode(union dinode *dp, uint32_t ino, const fsinfo_t *fsopts) argument
[all...]
/freebsd-9.3-release/sys/fs/hpfs/
H A Dhpfs_vfsops.c441 ino_t ino,
451 dprintf(("hpfs_vget(0x%x): ",ino));
453 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL);
487 if (ino == (ino_t)hpmp->hpm_su.su_rootfno)
496 hp->h_no = ino;
509 error = vfs_hash_insert(vp, ino, flags, curthread, vpp, NULL, NULL);
513 error = bread(hpmp->hpm_devvp, ino, FNODESIZE, NOCRED, &bp);
515 printf("hpfs_vget: can't read ino %d\n",ino);
439 hpfs_vget( struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
/freebsd-9.3-release/usr.bin/ar/
H A Dar.h72 ino_t ino; /* inode's number */ member in struct:ar_obj

Completed in 303 milliseconds

123456