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

123456

/freebsd-11-stable/contrib/apr-util/dbm/sdbm/
H A Dsdbm_pair.c45 * ino | n | keyoff | datoff | keyoff |
57 * of entries (ino[0]) is zero, the offset to the END of
59 * nth (ino[ino[0]]) entry's offset.
70 register short *ino = (short *) pag; local
72 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
89 register short *ino = (short *) pag; local
91 off = ((n = ino[0]) > 0) ? ino[
118 register short *ino = (short *) pag; local
136 register short *ino = (short *) pag; local
147 register short *ino = (short *) pag; local
168 register short *ino = (short *) pag; local
242 register short *ino = (short *) pag; local
265 register short *ino = (short *) cur; local
303 register short *ino = (short *) pag; local
[all...]
/freebsd-11-stable/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.c58 listfile(char *name, ino_t ino, int type) argument
62 if (TSTINO(ino, dumpmap) == 0)
65 fprintf(stdout, "%10ju\t%s\n", (uintmax_t)ino, name);
74 addfile(char *name, ino_t ino, int type) argument
80 if (TSTINO(ino, dumpmap) == 0) {
84 if (ino == WINO && command == 'i' && !vflag)
87 (void) sprintf(buf, "./%ju", (uintmax_t)ino);
90 (void) genliteraldir(name, ino);
94 ep = lookupino(ino);
102 ep = addentry(name, ino, typ
115 deletefile(char *name, ino_t ino, int type) argument
206 nodeupdates(char *name, ino_t ino, int type) argument
839 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
674 genliteraldir(char *name, ino_t ino) argument
718 inodetype(ino_t ino) argument
770 inotablookup(ino_t ino) argument
[all...]
/freebsd-11-stable/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
458 dumpino(union dinode *dp, ino_t ino) argument
583 dmpindir(union dinode *dp, ino_t ino, ufs2_daddr_t blk, int ind_level, off_t *size) argument
627 ufs1_blksout(ufs1_daddr_t *blkp, int frags, ino_t ino) argument
662 ufs2_blksout(union dinode *dp, ufs2_daddr_t *blkp, int frags, ino_t ino, int last) argument
771 writeextdata(union dinode *dp, ino_t ino, int added) argument
831 dumpmap(char *map, int type, ino_t ino) argument
847 writeheader(ino_t ino) argument
[all...]
/freebsd-11-stable/sbin/growfs/
H A Ddebug.c668 dbg_dump_ufs1_ino(struct fs *sb, const char *comment, struct ufs1_dinode *ino) argument
677 fprintf(dbg_log, "# %d@%lx: %s\n", indent, (unsigned long)ino, comment);
680 fprintf(dbg_log, "mode u_int16_t 0%o\n", ino->di_mode);
681 fprintf(dbg_log, "nlink int16_t 0x%04x\n", ino->di_nlink);
683 ((unsigned int *)&(ino->di_size))[1],
684 ((unsigned int *)&(ino->di_size))[0]);
685 fprintf(dbg_log, "atime int32_t 0x%08x\n", ino->di_atime);
687 ino->di_atimensec);
689 ino->di_mtime);
691 ino
735 dbg_dump_ufs2_ino(struct fs *sb, const char *comment, struct ufs2_dinode *ino) argument
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/sys/fs/cd9660/
H A Dcd9660_lookup.c54 ino_t ino; member in struct:cd9660_ino_alloc_arg
67 dd_arg->i_ino != dd_arg->ino, dd_arg->ep));
127 ino_t ino, i_ino; local
150 ino = reclen = 0;
263 ino = isodirino(ep, imp);
265 ino = dbtob(bp->b_blkno)
268 } else if (ino)
280 ino = isodirino(ep, imp);
282 ino = dbtob(bp->b_blkno) + entryoffsetinblock;
283 i_ino = ino;
[all...]
/freebsd-11-stable/contrib/netbsd-tests/include/sys/
H A Dt_types.c121 ino_t ino; local
125 ino = 0;
131 ATF_CHECK((ino - 1) > 0);
/freebsd-11-stable/sbin/fsck_ffs/
H A Dsuj.c287 ino_lookup(ino_t ino, int creat) argument
293 sc = cg_lookup(ino_to_cg(fs, ino));
294 if (sc->sc_lastino && sc->sc_lastino->si_ino == ino)
296 hd = &sc->sc_inohash[SUJ_HASH(ino)];
298 if (sino->si_ino == ino)
304 sino->si_ino = ino;
413 ino_read(ino_t ino) argument
421 blk = ino_to_fsba(fs, ino);
422 sc = cg_lookup(ino_to_cg(fs, ino));
442 off = ino_to_fsbo(fs, ino);
450 ino_dirty(ino_t ino) argument
502 blk_equals(struct jblkrec *brec, ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t start, int frags) argument
533 blk_freemask(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags) argument
585 blk_isindir(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn) argument
607 ino_free(ino_t ino, int mode) argument
702 indir_blkatoff(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t cur, ufs_lbn_t lbn) argument
753 ino_blkatoff(union dinode *ip, ino_t ino, ufs_lbn_t lbn, int *frags) argument
806 blk_isat(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int *frags) argument
962 indir_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, uint64_t *frags, ino_visitor visitor, int flags) argument
1026 ino_visit(union dinode *ip, ino_t ino, ino_visitor visitor, int flags) argument
1086 null_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1106 ino_t ino; local
1147 blk_free_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1159 blk_free_lbn(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags, int follow) argument
1237 ino_free_children(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1279 ino_reclaim(union dinode *ip, ino_t ino, int mode) argument
1310 ino_decr(ino_t ino) argument
1356 ino_t ino; local
1447 indir_trunc(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, ufs_lbn_t lastlbn) argument
1515 ino_trunc(ino_t ino, off_t size) argument
1643 ino_t ino; local
1935 ino_t ino; local
2540 suj_add_block(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
2649 suj_find(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
[all...]
H A Ddir.c64 static void freedir(ino_t ino, ino_t parent);
67 static int lftempname(char *bufp, ino_t ino);
315 printf("Bad dir: ino %d reclen %d namlen %d type %d name %s\n",
322 direrror(ino_t ino, const char *errmesg) argument
325 fileerror(ino, ino, errmesg);
329 fileerror(ino_t cwd, ino_t ino, const char *errmesg) argument
335 pinode(ino);
337 getpathname(pathbuf, cwd, ino);
338 if (ino < ROOTIN
596 makeentry(ino_t parent, ino_t ino, const char *name) argument
688 ino_t ino; local
741 freedir(ino_t ino, ino_t parent) argument
757 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)
410 void blkerror(ino_t ino, const char *type, ufs2_daddr_t blk);
427 void direrror(ino_t ino, const char *errmesg);
431 void fileerror(ino_t cwd, ino_t ino, const char *errmesg);
437 void freeino(ino_t ino);
446 void getpathname(char *namebuf, ino_t curdir, ino_t ino);
455 int makeentry(ino_t parent, ino_t ino, cons
[all...]
/freebsd-11-stable/lib/libc/db/hash/
H A Dhash_page.c186 u_int16_t *ino; local
205 ino = (u_int16_t *)(op = old_bufp->page);
210 for (n = 1, ndx = 1; n < ino[0]; n += 2) {
211 if (ino[n + 1] < REAL_KEY) {
219 key.data = (u_char *)op + ino[n];
220 key.size = off - ino[n];
226 copyto = ino[n + 1] + diff;
227 memmove(op + copyto, op + ino[n + 1],
228 off - ino[n + 1]);
229 ino[nd
285 u_int16_t *ino; /* Page keys come off of */ local
[all...]
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_socket.c76 ino_t ino; /* Inode where the socket lives on */ member in struct:svr4_sockcache_entry
87 svr4_find_socket(td, fp, dev, ino, saun)
91 ino_t ino;
98 (uintmax_t)ino));
101 if (e->p == td->td_proc && e->dev == dev && e->ino == ino) {
131 e->ino = st->st_ino;
148 td->td_proc, (uintmax_t)e->dev, (uintmax_t)e->ino));
167 (uintmax_t)e->ino));
200 (uintmax_t)e->ino));
[all...]
/freebsd-11-stable/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-11-stable/sbin/kldload/
H A Dkldload.c60 ino_t ino; local
72 ino = sb.st_ino;
99 if (sb.st_dev != dev || sb.st_ino != ino) {
104 } else if (sb.st_dev == dev && sb.st_ino == ino)
/freebsd-11-stable/stand/i386/isoboot/
H A Disoboot.c220 uint64_t ino; local
253 if ((ino = cd9660_lookup(PATH_CONFIG)) ||
254 (ino = cd9660_lookup(PATH_DOTCONFIG))) {
255 sz = cd9660_fsread(ino, cmd, sizeof(cmd) - 1);
333 uint64_t ino; local
337 if (!(ino = cd9660_lookup(kname))) {
346 if (xfsread(ino, &hdr, sizeof(hdr)))
360 if (xfsread(ino, p, hdr.ex.a_text))
363 if (xfsread(ino, p, hdr.ex.a_data))
370 if (xfsread(ino,
[all...]
/freebsd-11-stable/sys/sparc64/include/
H A Dbus_common.h67 #define INTMAP_VEC(ign, ino) \
69 ((ino) & INTMAP_INO_MASK))
/freebsd-11-stable/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)
/freebsd-11-stable/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-11-stable/sys/ufs/ufs/
H A Dufs_gjournal.c65 ino_t ino; local
71 ino = ip->i_number;
73 cg = ino_to_cg(fs, ino);
86 if ((u_int)ino >= fs->fs_ipg * fs->fs_ncg)
87 panic("ufs_gjournal_modref: range: dev = %s, ino = %lu, fs = %s",
88 devtoname(dev), (u_long)ino, fs->fs_fsmnt);
/freebsd-11-stable/stand/efi/boot1/
H A Dufs_module.c142 ufs_ino_t ino; local
160 if ((ino = lookup(filepath)) == 0) {
165 if (fsread_size(ino, NULL, 0, &size) < 0 || size <= 0) {
166 printf("Failed to read size of '%s' ino: %d\n", filepath, ino);
177 read = fsread(ino, buf, size);
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_dir.c55 nandfs_add_dirent(struct vnode *dvp, uint64_t ino, char *nameptr, long namelen, argument
126 dirent->inode = ino;
157 uint64_t filesize, blocknr, ino, offset; local
170 ino = node->nn_ino;
173 ino = NANDFS_WHT_INO;
180 DPRINTF(LOOKUP, ("rm direntry dvp %p node %p ino %#jx at off %#jx\n",
181 dvp, node, (uintmax_t)ino, (uintmax_t)offset));
198 (dirent->inode == ino)) {
213 ("rm dirent ino %#jx at %#x with size %#x\n",
277 ("chg direntry dvp %p ino
304 nandfs_init_dir(struct vnode *dvp, uint64_t ino, uint64_t parent_ino) argument
[all...]

Completed in 184 milliseconds

123456