/freebsd-10-stable/contrib/apr-util/dbm/sdbm/ |
H A D | sdbm_pair.c | 45 * 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-10-stable/sbin/restore/ |
H A D | restore.h | 107 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 D | restore.c | 58 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 D | dirs.c | 82 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-10-stable/sbin/dump/ |
H A D | dump.h | 44 #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 D | traverse.c | 76 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-10-stable/sbin/growfs/ |
H A D | debug.c | 667 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-10-stable/contrib/amd/scripts/ |
H A D | test-attrcache.in | 73 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-10-stable/bin/pax/ |
H A D | tables.h | 54 * 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-10-stable/sys/fs/cd9660/ |
H A D | cd9660_lookup.c | 54 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-10-stable/contrib/netbsd-tests/include/sys/ |
H A D | t_types.c | 121 ino_t ino; local 125 ino = 0; 131 ATF_CHECK((ino - 1) > 0);
|
/freebsd-10-stable/sbin/fsck_ffs/ |
H A D | suj.c | 285 ino_lookup(ino_t ino, int creat) argument 291 sc = cg_lookup(ino_to_cg(fs, ino)); 292 if (sc->sc_lastino && sc->sc_lastino->si_ino == ino) 294 hd = &sc->sc_inohash[SUJ_HASH(ino)]; 296 if (sino->si_ino == ino) 302 sino->si_ino = ino; 411 ino_read(ino_t ino) argument 419 blk = ino_to_fsba(fs, ino); 420 sc = cg_lookup(ino_to_cg(fs, ino)); 440 off = ino_to_fsbo(fs, ino); 448 ino_dirty(ino_t ino) argument 500 blk_equals(struct jblkrec *brec, ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t start, int frags) argument 531 blk_freemask(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags) argument 583 blk_isindir(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn) argument 605 ino_free(ino_t ino, int mode) argument 700 indir_blkatoff(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t cur, ufs_lbn_t lbn) argument 751 ino_blkatoff(union dinode *ip, ino_t ino, ufs_lbn_t lbn, int *frags) argument 804 blk_isat(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int *frags) argument 960 indir_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, uint64_t *frags, ino_visitor visitor, int flags) argument 1024 ino_visit(union dinode *ip, ino_t ino, ino_visitor visitor, int flags) argument 1084 null_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 1104 ino_t ino; local 1145 blk_free_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 1157 blk_free_lbn(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags, int follow) argument 1235 ino_free_children(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 1277 ino_reclaim(union dinode *ip, ino_t ino, int mode) argument 1308 ino_decr(ino_t ino) argument 1354 ino_t ino; local 1443 indir_trunc(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, ufs_lbn_t lastlbn) argument 1511 ino_trunc(ino_t ino, off_t size) argument 1639 ino_t ino; local 1927 ino_t ino; local 2528 suj_add_block(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 2637 suj_find(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument [all...] |
H A D | dir.c | 63 static void freedir(ino_t ino, ino_t parent); 66 static int lftempname(char *bufp, ino_t ino); 234 printf("Bad dir: ino %d reclen %d namlen %d type %d name %s\n", 241 direrror(ino_t ino, const char *errmesg) argument 244 fileerror(ino, ino, errmesg); 248 fileerror(ino_t cwd, ino_t ino, const char *errmesg) argument 254 pinode(ino); 256 getpathname(pathbuf, cwd, ino); 257 if (ino < ROOTIN 515 makeentry(ino_t parent, ino_t ino, const char *name) argument 607 ino_t ino; local 660 freedir(ino_t ino, ino_t parent) argument 676 lftempname(char *bufp, ino_t ino) argument [all...] |
H A D | fsck.h | 122 #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) 404 void blkerror(ino_t ino, const char *type, ufs2_daddr_t blk); 421 void direrror(ino_t ino, const char *errmesg); 425 void fileerror(ino_t cwd, ino_t ino, const char *errmesg); 431 void freeino(ino_t ino); 440 void getpathname(char *namebuf, ino_t curdir, ino_t ino); 449 int makeentry(ino_t parent, ino_t ino, cons [all...] |
/freebsd-10-stable/sys/boot/efi/boot1/ |
H A D | ufs_module.c | 98 ufs_ino_t ino; local 111 if ((ino = lookup(filepath)) == 0) { 116 if (fsread_size(ino, NULL, 0, &size) < 0 || size <= 0) { 117 printf("Failed to read size of '%s' ino: %d\n", filepath, ino); 128 read = fsread(ino, buf, size);
|
/freebsd-10-stable/lib/libc/db/hash/ |
H A D | hash_page.c | 186 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-10-stable/sys/compat/svr4/ |
H A D | svr4_socket.c | 76 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; 97 DPRINTF(("svr4_find_socket: [%p,%d,%d]: ", td, dev, ino)); 100 if (e->p == td->td_proc && e->dev == dev && e->ino == ino) { 130 e->ino = st->st_ino; 147 td->td_proc, e->dev, e->ino)); 165 e->sock.sun_path, p, (int)e->dev, e->ino)); 197 e->sock.sun_path, p, (int)e->dev, e->ino)); [all...] |
/freebsd-10-stable/sys/boot/i386/gptboot/ |
H A D | gptboot.c | 137 ufs_ino_t ino; local 163 if ((ino = lookup(PATH_CONFIG)) || 164 (ino = lookup(PATH_DOTCONFIG))) { 165 sz = fsread(ino, cmd, sizeof(cmd) - 1); 247 ufs_ino_t ino; local 251 if (!(ino = lookup(kname))) { 259 if (xfsread(ino, &hdr, sizeof(hdr))) 273 if (xfsread(ino, p, hdr.ex.a_text)) 276 if (xfsread(ino, p, hdr.ex.a_data)) 283 if (xfsread(ino, [all...] |
/freebsd-10-stable/sbin/kldload/ |
H A D | kldload.c | 58 ino_t ino; local 70 ino = sb.st_ino; 97 if (sb.st_dev != dev || sb.st_ino != ino) { 102 } else if (sb.st_dev == dev && sb.st_ino == ino)
|
/freebsd-10-stable/lib/libufs/ |
H A D | cgroup.c | 142 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-10-stable/sys/boot/arm/at91/boot2/ |
H A D | boot2.c | 120 ufs_ino_t ino; local 128 if ((ino = lookup(PATH_CONFIG)) || 129 (ino = lookup(PATH_DOTCONFIG))) 130 fsread(ino, cmd, sizeof(cmd)); 165 ufs_ino_t ino; local 175 if (!(ino = lookup(kname))) { 180 if (xfsread(ino, &eh, sizeof(eh))) 188 if (xfsread(ino, ep + j, sizeof(ep[0]))) 201 if (xfsread(ino, p, ep[i].p_filesz))
|
/freebsd-10-stable/sys/sparc64/include/ |
H A D | bus_common.h | 67 #define INTMAP_VEC(ign, ino) \ 69 ((ino) & INTMAP_INO_MASK))
|
/freebsd-10-stable/crypto/openssh/openbsd-compat/ |
H A D | getcwd.c | 57 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-10-stable/lib/libc/gen/ |
H A D | getcwd.c | 65 ino_t ino; local 126 ino = s.st_ino; 130 if (root_dev == dev && root_ino == ino) { 165 if (dp->d_fileno == ino) 183 if (s.st_dev == dev && s.st_ino == ino)
|
/freebsd-10-stable/sys/ufs/ufs/ |
H A D | ufs_gjournal.c | 64 ino_t ino; local 70 ino = ip->i_number; 72 cg = ino_to_cg(fs, ino); 85 if ((u_int)ino >= fs->fs_ipg * fs->fs_ncg) 86 panic("ufs_gjournal_modref: range: dev = %s, ino = %lu, fs = %s", 87 devtoname(dev), (u_long)ino, fs->fs_fsmnt);
|