Searched refs:ino (Results 1 - 25 of 140) sorted by relevance

123456

/freebsd-9.3-release/sbin/restore/
H A Drestore.h107 ino_t ino; /* inumber of file */ member in struct:context
140 #define TSTINO(ino, map) \
141 (map[(u_int)((ino) - 1) / CHAR_BIT] & \
142 (1 << ((u_int)((ino) - 1) % CHAR_BIT)))
143 #define SETINO(ino, map) \
144 map[(u_int)((ino) - 1) / CHAR_BIT] |= \
145 1 << ((u_int)((ino) - 1) % CHAR_BIT)
H A Drestore.c57 listfile(char *name, ino_t ino, int type) argument
61 if (TSTINO(ino, dumpmap) == 0)
64 fprintf(stdout, "%10d\t%s\n", ino, name);
73 addfile(char *name, ino_t ino, int type) argument
79 if (TSTINO(ino, dumpmap) == 0) {
83 if (ino == WINO && command == 'i' && !vflag)
86 (void) sprintf(buf, "./%u", ino);
89 (void) genliteraldir(name, ino);
93 ep = lookupino(ino);
101 ep = addentry(name, ino, typ
114 deletefile(char *name, ino_t ino, int type) argument
205 nodeupdates(char *name, ino_t ino, int type) argument
838 verifyfile(char *name, ino_t ino, int type) argument
[all...]
H A Ddirs.c82 ino_t ino; member in struct:modeinfo
205 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) {
215 treescan(char *pname, ino_t ino, long (*todo)(char *, ino_t, int)) argument
223 itp = inotablookup(ino);
228 (void) (*todo)(pname, ino, LEAF);
234 if ((*todo)(pname, ino, NODE) == FAIL)
280 ino_t ino; local
286 ino = ROOTINO;
291 if ((dp = searchdir(ino, name)) == NULL)
293 ino
498 ino_t ino; local
673 genliteraldir(char *name, ino_t ino) argument
716 inodetype(ino_t ino) argument
768 inotablookup(ino_t ino) argument
[all...]
/freebsd-9.3-release/sbin/dump/
H A Ddump.h44 #define SETINO(ino, map) \
45 map[(u_int)((ino) - 1) / CHAR_BIT] |= \
46 1 << ((u_int)((ino) - 1) % CHAR_BIT)
47 #define CLRINO(ino, map) \
48 map[(u_int)((ino) - 1) / CHAR_BIT] &= \
49 ~(1 << ((u_int)((ino) - 1) % CHAR_BIT))
50 #define TSTINO(ino, map) \
51 (map[(u_int)((ino) - 1) / CHAR_BIT] & \
52 (1 << ((u_int)((ino) - 1) % CHAR_BIT)))
111 void dumpino(union dinode *dp, ino_t ino);
[all...]
H A Dtraverse.c76 static int dirindir(ino_t ino, ufs2_daddr_t blkno, int level, long *size,
78 static void dmpindir(union dinode *dp, ino_t ino, ufs2_daddr_t blk, int level,
80 static void ufs1_blksout(ufs1_daddr_t *blkp, int frags, ino_t ino);
82 ino_t ino, int last);
84 static void writeextdata(union dinode *dp, ino_t ino, int added);
85 static int searchdir(ino_t ino, ufs2_daddr_t blkno, long size, long filesize,
157 ino_t ino; local
163 ino = cg * sblock->fs_ipg;
194 for (i = 0; i < inosused; i++, ino++) {
195 if (ino < ROOTIN
257 ino_t ino; local
328 dirindir( ino_t ino, ufs2_daddr_t blkno, int ind_level, long *filesize, long *tapesize, int nodump, ino_t maxino) argument
380 searchdir( ino_t ino, ufs2_daddr_t blkno, long size, long filesize, long *tapesize, int nodump, ino_t maxino) argument
457 dumpino(union dinode *dp, ino_t ino) argument
582 dmpindir(union dinode *dp, ino_t ino, ufs2_daddr_t blk, int ind_level, off_t *size) argument
626 ufs1_blksout(ufs1_daddr_t *blkp, int frags, ino_t ino) argument
661 ufs2_blksout(union dinode *dp, ufs2_daddr_t *blkp, int frags, ino_t ino, int last) argument
765 writeextdata(union dinode *dp, ino_t ino, int added) argument
825 dumpmap(char *map, int type, ino_t ino) argument
841 writeheader(ino_t ino) argument
[all...]
/freebsd-9.3-release/sbin/growfs/
H A Ddebug.c667 dbg_dump_ufs1_ino(struct fs *sb, const char *comment, struct ufs1_dinode *ino) argument
676 fprintf(dbg_log, "# %d@%lx: %s\n", indent, (unsigned long)ino, comment);
679 fprintf(dbg_log, "mode u_int16_t 0%o\n", ino->di_mode);
680 fprintf(dbg_log, "nlink int16_t 0x%04x\n", ino->di_nlink);
682 ((unsigned int *)&(ino->di_size))[1],
683 ((unsigned int *)&(ino->di_size))[0]);
684 fprintf(dbg_log, "atime int32_t 0x%08x\n", ino->di_atime);
686 ino->di_atimensec);
688 ino->di_mtime);
690 ino
734 dbg_dump_ufs2_ino(struct fs *sb, const char *comment, struct ufs2_dinode *ino) argument
[all...]
/freebsd-9.3-release/contrib/amd/scripts/
H A Dtest-attrcache.in73 ino=`ls -lLi $a/a | awk '{print $1}'`
74 if test -z "$ino"
84 if test $ino -ne $inode_a
109 ino=`ls -lLi $a/a | awk '{print $1}'`
110 if test -z "$ino"
120 if test $ino -ne $inode_b
/freebsd-9.3-release/bin/pax/
H A Dtables.h54 * file hard link structure (hashed by dev/ino and chained) used to find the
58 char *name; /* name of first file seen with this ino/dev */
60 ino_t ino; /* files inode number */ member in struct:hrdlnk
145 ino_t ino; member in struct:atdir
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_itable.h27 xfs_ino_t ino,
75 xfs_ino_t ino,
H A Dxfs_ialloc_btree.h134 extern int xfs_inobt_get_rec(struct xfs_btree_cur *cur, xfs_agino_t *ino,
150 * Lookup the record equal to ino in the btree given by cur.
152 extern int xfs_inobt_lookup_eq(struct xfs_btree_cur *cur, xfs_agino_t ino,
156 * Lookup the first record greater than or equal to ino
159 extern int xfs_inobt_lookup_ge(struct xfs_btree_cur *cur, xfs_agino_t ino,
163 * Lookup the first record less than or equal to ino
166 extern int xfs_inobt_lookup_le(struct xfs_btree_cur *cur, xfs_agino_t ino,
171 * by [ino, fcnt, free].
174 extern int xfs_inobt_update(struct xfs_btree_cur *cur, xfs_agino_t ino,
H A Dxfs_itable.c52 xfs_ino_t ino, /* inode number to get data for */
62 error = xfs_iget(mp, NULL, ino, 0, XFS_ILOCK_SHARED, &ip, bno);
84 buf->bs_ino = ino;
131 xfs_ino_t ino, /* inode number to get data for */
158 buf->bs_ino = ino;
208 xfs_ino_t ino, /* inode number to get data for */
223 if (!buffer || ino == mp->m_sb.sb_rbmino || ino == mp->m_sb.sb_rsumino ||
225 (ino == mp->m_sb.sb_uquotino || ino
50 xfs_bulkstat_one_iget( xfs_mount_t *mp, xfs_ino_t ino, xfs_daddr_t bno, xfs_bstat_t *buf, int *stat) argument
129 xfs_bulkstat_one_dinode( xfs_mount_t *mp, xfs_ino_t ino, xfs_dinode_t *dip, xfs_bstat_t *buf) argument
206 xfs_bulkstat_one( xfs_mount_t *mp, xfs_ino_t ino, void __user *buffer, int ubsize, void *private_data, xfs_daddr_t bno, int *ubused, void *dibuff, int *stat) argument
294 xfs_ino_t ino; /* inode number (filesystem) */ local
683 xfs_ino_t ino; /* filesystem inode number */ local
741 xfs_ino_t ino; local
[all...]
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dsuj.c284 ino_lookup(ino_t ino, int creat) argument
290 sc = cg_lookup(ino_to_cg(fs, ino));
291 if (sc->sc_lastino && sc->sc_lastino->si_ino == ino)
293 hd = &sc->sc_inohash[SUJ_HASH(ino)];
295 if (sino->si_ino == ino)
301 sino->si_ino = ino;
410 ino_read(ino_t ino) argument
418 blk = ino_to_fsba(fs, ino);
419 sc = cg_lookup(ino_to_cg(fs, ino));
439 off = ino_to_fsbo(fs, ino);
447 ino_dirty(ino_t ino) argument
499 blk_equals(struct jblkrec *brec, ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t start, int frags) argument
530 blk_freemask(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags) argument
582 blk_isindir(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn) argument
604 ino_free(ino_t ino, int mode) argument
699 indir_blkatoff(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t cur, ufs_lbn_t lbn) argument
750 ino_blkatoff(union dinode *ip, ino_t ino, ufs_lbn_t lbn, int *frags) argument
803 blk_isat(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int *frags) argument
956 indir_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, uint64_t *frags, ino_visitor visitor, int flags) argument
1020 ino_visit(union dinode *ip, ino_t ino, ino_visitor visitor, int flags) argument
1080 null_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1100 ino_t ino; local
1141 blk_free_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1153 blk_free_lbn(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags, int follow) argument
1231 ino_free_children(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1273 ino_reclaim(union dinode *ip, ino_t ino, int mode) argument
1304 ino_decr(ino_t ino) argument
1350 ino_t ino; local
1437 indir_trunc(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, ufs_lbn_t lastlbn) argument
1505 ino_trunc(ino_t ino, off_t size) argument
1632 ino_t ino; local
1920 ino_t ino; local
2521 suj_add_block(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
2630 suj_find(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
[all...]
H A Ddir.c69 static void freedir(ino_t ino, ino_t parent);
72 static int lftempname(char *bufp, ino_t ino);
239 printf("Bad dir: ino %d reclen %d namlen %d type %d name %s\n",
246 direrror(ino_t ino, const char *errmesg) argument
249 fileerror(ino, ino, errmesg);
253 fileerror(ino_t cwd, ino_t ino, const char *errmesg) argument
259 pinode(ino);
261 getpathname(pathbuf, cwd, ino);
262 if (ino < ROOTIN
520 makeentry(ino_t parent, ino_t ino, const char *name) argument
612 ino_t ino; local
665 freedir(ino_t ino, ino_t parent) argument
681 lftempname(char *bufp, ino_t ino) argument
[all...]
H A Dfsck.h122 #define INO_IS_DUNFOUND(ino) S_IS_DUNFOUND(inoinfo(ino)->ino_state)
123 #define INO_IS_DVALID(ino) S_IS_DVALID(inoinfo(ino)->ino_state)
401 void blkerror(ino_t ino, const char *type, ufs2_daddr_t blk);
418 void direrror(ino_t ino, const char *errmesg);
422 void fileerror(ino_t cwd, ino_t ino, const char *errmesg);
428 void freeino(ino_t ino);
436 void getpathname(char *namebuf, ino_t curdir, ino_t ino);
445 int makeentry(ino_t parent, ino_t ino, cons
[all...]
/freebsd-9.3-release/sys/ufs/ufs/
H A Dufs_gjournal.c64 ino_t ino; local
70 ino = ip->i_number;
72 cg = ino_to_cg(fs, ino);
82 if ((u_int)ino >= fs->fs_ipg * fs->fs_ncg)
83 panic("ufs_gjournal_modref: range: dev = %s, ino = %lu, fs = %s",
84 devtoname(dev), (u_long)ino, fs->fs_fsmnt);
/freebsd-9.3-release/lib/libc/db/hash/
H A Dhash_page.c185 u_int16_t *ino; local
204 ino = (u_int16_t *)(op = old_bufp->page);
209 for (n = 1, ndx = 1; n < ino[0]; n += 2) {
210 if (ino[n + 1] < REAL_KEY) {
218 key.data = (u_char *)op + ino[n];
219 key.size = off - ino[n];
225 copyto = ino[n + 1] + diff;
226 memmove(op + copyto, op + ino[n + 1],
227 off - ino[n + 1]);
228 ino[nd
284 u_int16_t *ino; /* Page keys come off of */ local
[all...]
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_socket.c75 ino_t ino; /* Inode where the socket lives on */ member in struct:svr4_sockcache_entry
86 svr4_find_socket(td, fp, dev, ino, saun)
90 ino_t ino;
96 DPRINTF(("svr4_find_socket: [%p,%d,%d]: ", td, dev, ino));
99 if (e->p == td->td_proc && e->dev == dev && e->ino == ino) {
129 e->ino = st->st_ino;
146 td->td_proc, e->dev, e->ino));
164 e->sock.sun_path, p, (int)e->dev, e->ino));
183 e->sock.sun_path, p, (int)e->dev, e->ino));
[all...]
/freebsd-9.3-release/sys/fs/cd9660/
H A Dcd9660_lookup.c109 ino_t ino, i_ino; local
133 ino = reclen = 0;
246 ino = isodirino(ep, imp);
248 ino = dbtob(bp->b_blkno)
251 } else if (ino)
263 ino = isodirino(ep, imp);
265 ino = dbtob(bp->b_blkno) + entryoffsetinblock;
266 i_ino = ino;
271 ino = 0;
277 if (ino) {
[all...]
/freebsd-9.3-release/lib/libufs/
H A Dcgroup.c142 ino_t ino; local
148 for (ino = 0; ino < fs->fs_ipg; ino++)
149 if (isclr(inosused, ino))
154 ino + INOPB(fs) > cgp->cg_initediblk &&
170 setbit(inosused, ino);
171 cgp->cg_irotor = ino;
177 return (ino + (cgp->cg_cgx * fs->fs_ipg));
/freebsd-9.3-release/sbin/kldload/
H A Dkldload.c61 ino_t ino; local
75 ino = sb.st_ino;
107 if (sb.st_dev != dev || sb.st_ino != ino) {
113 } else if (sb.st_dev == dev && sb.st_ino == ino) {
/freebsd-9.3-release/sys/boot/arm/at91/boot2/
H A Dboot2.c156 ino_t ino; local
164 if ((ino = lookup(PATH_CONFIG)) ||
165 (ino = lookup(PATH_DOTCONFIG)))
166 fsread(ino, cmd, sizeof(cmd));
201 ino_t ino; local
211 if (!(ino = lookup(kname))) {
216 if (xfsread(ino, &eh, sizeof(eh)))
224 if (xfsread(ino, ep + j, sizeof(ep[0])))
237 if (xfsread(ino, p, ep[i].p_filesz))
/freebsd-9.3-release/sys/boot/i386/gptboot/
H A Dgptboot.c141 ino_t ino; local
167 if ((ino = lookup(PATH_CONFIG)) ||
168 (ino = lookup(PATH_DOTCONFIG)))
169 fsread(ino, cmd, sizeof(cmd));
250 ino_t ino; local
254 if (!(ino = lookup(kname))) {
262 if (xfsread(ino, &hdr, sizeof(hdr)))
276 if (xfsread(ino, p, hdr.ex.a_text))
279 if (xfsread(ino, p, hdr.ex.a_data))
286 if (xfsread(ino,
[all...]
/freebsd-9.3-release/sys/sparc64/include/
H A Dbus_common.h67 #define INTMAP_VEC(ign, ino) \
69 ((ino) & INTMAP_INO_MASK))
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dgetcwd.c57 ino_t ino; local
113 ino = s.st_ino;
117 if (root_dev == dev && root_ino == ino) {
164 if (dp->d_fileno == ino)
182 if (s.st_dev == dev && s.st_ino == ino)
/freebsd-9.3-release/lib/libc/gen/
H A Dgetcwd.c63 ino_t ino; local
124 ino = s.st_ino;
128 if (root_dev == dev && root_ino == ino) {
163 if (dp->d_fileno == ino)
181 if (s.st_dev == dev && s.st_ino == ino)

Completed in 174 milliseconds

123456