/openbsd-current/gnu/usr.bin/perl/ext/SDBM_File/ |
H A D | util.c | 29 short *ino = (short *) pag; local 31 if ((n = ino[0]) > PBLKSIZ / sizeof(short)) 38 for (ino++; n; ino += 2) { 39 if (ino[0] > off || ino[1] > off || 40 ino[1] > ino[0]) 42 off = ino[1];
|
H A D | pair.c | 30 * ino | n | keyoff | datoff | keyoff | 42 * of entries (ino[0]) is zero, the offset to the END of 44 * nth (ino[ino[0]]) entry's offset. 53 short *ino = (short *) pag; local 55 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ; 69 short *ino = (short *) pag; local 71 off = ((n = ino[0]) > 0) ? ino[ 96 short *ino = (short *) pag; local 112 short *ino = (short *) pag; local 124 short *ino = (short *) pag; local 134 short *ino = (short *) pag; local 153 short *ino = (short *) pag; local 220 short *ino = (short *) pag; local 240 short *ino = (short *) cur; local 291 short *ino = (short *) pag; local [all...] |
H A D | dbd.c | 75 int short *ino = (short *) pag; local 78 for (i = 1; i < ino[0]; i += 2) { 79 printf("\t[%d]: ", ino[i]); 80 for (n = ino[i]; n < off; n++) 83 off = ino[i]; 84 printf("[%d]: ", ino[i + 1]); 85 for (n = ino[i + 1]; n < off; n++) 87 off = ino[i + 1]; 97 short *ino = (short *) pag; local 100 for (i = 1; i < ino[ [all...] |
H A D | dba.c | 77 short *ino = (short *) pag; local 79 if (!(n = ino[0])) 82 free = ino[n] - (n + 1) * sizeof(short);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 990517-1.c | 16 register short *ino = (short *) cur; local 20 n = ino[0]; 21 for (ino++; n > 0; ino += 2) { 22 key.dptr = cur + ino[0]; 23 key.dsize = off - ino[0]; 24 val.dptr = cur + ino[1]; 25 val.dsize = ino[0] - ino[1]; 27 off = ino[ [all...] |
/openbsd-current/sbin/dump/ |
H A D | dump.h | 45 #define SETINO(ino, map) \ 46 map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY) 47 #define CLRINO(ino, map) \ 48 map[(u_int)((ino) - 1) / NBBY] &= ~(1 << ((u_int)((ino) - 1) % NBBY)) 49 #define TSTINO(ino, map) \ 50 (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY))) 108 void ufs1_blksout(int32_t *blkp, int frags, ino_t ino); [all...] |
H A D | traverse.c | 119 mapfileino(ino_t ino, int64_t *tapesize, int *dirskipped) argument 124 dp = getino(ino, &mode); 127 SETINO(ino, usedinomap); 129 SETINO(ino, dumpdirmap); 133 SETINO(ino, dumpinomap); 142 CLRINO(ino, usedinomap); 152 ino_t ino; local 159 ino = cg * (ino_t)sblock->fs_ipg; 166 for (i = 0; i < inosused; i++, ino++) { 167 if (ino < ROOTIN 289 ino_t ino; local 361 dirindir(ino_t ino, daddr_t blkno, int ind_level, off_t *filesize, int64_t *tapesize, int nodump) argument 404 searchdir(ino_t ino, daddr_t blkno, long size, off_t filesize, int64_t *tapesize, int nodump) argument 471 dumpino(union dinode *dp, ino_t ino) argument 582 dmpindir(ino_t ino, daddr_t blk, int ind_level, off_t *size) argument 620 ufs1_blksout(int32_t *blkp, int frags, ino_t ino) argument 655 ufs2_blksout(daddr_t *blkp, int frags, ino_t ino) argument 690 dumpmap(char *map, int type, ino_t ino) argument 706 writeheader(ino_t ino) argument [all...] |
/openbsd-current/sbin/restore/ |
H A D | restore.h | 110 ino_t ino; /* inumber of file */ member in struct:context 142 #define TSTINO(ino, map) \ 143 (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY))) 144 #define SETINO(ino, map) \ 145 map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY)
|
H A D | restore.c | 51 listfile(char *name, ino_t ino, int type) argument 55 if (TSTINO(ino, dumpmap) == 0) 58 fprintf(stdout, "%10llu\t%s\n", (unsigned long long)ino, name); 67 addfile(char *name, ino_t ino, int type) argument 73 if (TSTINO(ino, dumpmap) == 0) { 79 (unsigned long long)ino); 82 (void)genliteraldir(name, ino); 86 ep = lookupino(ino); 94 ep = addentry(name, ino, type); 106 deletefile(char *name, ino_t ino, in argument 180 nodeupdates(char *name, ino_t ino, int type) argument 787 verifyfile(char *name, ino_t ino, int type) argument [all...] |
H A D | dirs.c | 77 ino_t ino; member in struct:modeinfo 209 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) { 219 treescan(char *pname, ino_t ino, long (*todo)(char *, ino_t, int)) argument 227 itp = inotablookup(ino); 232 (void)(*todo)(pname, ino, LEAF); 238 if ((*todo)(pname, ino, NODE) == FAIL) 286 ino_t ino; local 292 ino = ROOTINO; 297 if ((dp = searchdir(ino, name)) == NULL) 299 ino 516 ino_t ino; local 636 genliteraldir(char *name, ino_t ino) argument 668 inodetype(ino_t ino) argument 718 inotablookup(ino_t ino) argument [all...] |
H A D | interactive.c | 95 ino_t ino; local 129 ino = dirlookup(name); 130 if (ino == 0) 134 treescan(name, ino, addfile); 142 ino = dirlookup(name); 143 if (ino == 0) 145 if (inodetype(ino) == LEAF) {
|
/openbsd-current/lib/libfuse/ |
H A D | fuse_subr.c | 27 alloc_vn(struct fuse *f, const char *path, ino_t ino, ino_t pino) argument 36 vn->ino = ino; 57 if (ino == (ino_t)-1) { 59 vn->ino = f->max_ino; 60 DPRINTF("New Inode: %llu\t", (unsigned long long)vn->ino); 76 tree_pop(&f->vnode_tree, vn->ino); 90 if (tree_set(&f->vnode_tree, v->ino, v) == NULL) 105 if (v->parent == vn->parent && v->ino == vn->ino) 171 build_realname(struct fuse *f, ino_t ino) argument [all...] |
/openbsd-current/sbin/fsck_ext2fs/ |
H A D | inode.c | 545 u_int32_t ino = letoh32(dirp->e2d_ino); local 547 if (ino == 0) 550 (ino == EXT2_ROOTINO || ino >= EXT2_FIRSTINO) 551 && ino <= maxino) { 552 idesc->id_parent = ino; 559 pinode(ino_t ino) argument 566 printf(" I=%llu ", (unsigned long long)ino); 567 if ((ino < EXT2_FIRSTINO && ino ! 591 blkerror(ino_t ino, char *type, daddr32_t blk) argument 622 ino_t ino; local 672 freeino(ino_t ino) argument [all...] |
H A D | dir.c | 250 direrror(ino_t ino, char *errmesg) argument 253 fileerror(ino, ino, errmesg); 257 fileerror(ino_t cwd, ino_t ino, char *errmesg) argument 263 pinode(ino); 265 getpathname(pathbuf, sizeof pathbuf, cwd, ino); 266 if ((ino < EXT2_FIRSTINO && ino != EXT2_ROOTINO) || ino > maxino) { 270 dp = ginode(ino); 480 makeentry(ino_t parent, ino_t ino, char *name) argument 578 ino_t ino; local 636 freedir(ino_t ino, ino_t parent) argument 652 lftempname(char *bufp, ino_t ino) argument [all...] |
/openbsd-current/sbin/fsck_ffs/ |
H A D | dir.c | 225 direrror(ino_t ino, char *errmesg) argument 227 fileerror(ino, ino, errmesg); 231 fileerror(ino_t cwd, ino_t ino, char *errmesg) argument 237 pinode(ino); 239 getpathname(pathbuf, sizeof pathbuf, cwd, ino); 240 if (ino < ROOTINO || ino > maxino) { 244 dp = ginode(ino); 301 dirp->d_ino = idesc->id_parent; /* ino t 456 makeentry(ino_t parent, ino_t ino, char *name) argument 552 ino_t ino; local 613 freedir(ino_t ino, ino_t parent) argument 629 lftempname(char *bufp, ino_t ino) argument [all...] |
H A D | inode.c | 524 pinode(ino_t ino) argument 530 printf(" I=%llu ", (unsigned long long)ino); 531 if (ino < ROOTINO || ino > maxino) 533 dp = ginode(ino); 554 blkerror(ino_t ino, char *type, daddr_t blk) argument 557 pfatal("%lld %s I=%llu", blk, type, (unsigned long long)ino); 559 switch (GET_ISTATE(ino)) { 562 SET_ISTATE(ino, FCLEAR); 566 SET_ISTATE(ino, DCLEA 585 ino_t ino; local 674 freeino(ino_t ino) argument [all...] |
H A D | fsck.h | 94 #define GET_ISTATE(ino) (inoinfo(ino)->ino_state) 95 #define GET_ITYPE(ino) (inoinfo(ino)->ino_type) 96 #define SET_ISTATE(ino, v) do { GET_ISTATE(ino) = (v); } while (0) 97 #define SET_ITYPE(ino, v) do { GET_ITYPE(ino) = (v); } while (0) 98 #define ILNCOUNT(ino) (inoinfo(ino) [all...] |
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | fhcreg.h | 74 #define FHC_INO(ino) ((ino) & 0x7)
|
/openbsd-current/sbin/ncheck_ffs/ |
H A D | ncheck_ffs.c | 101 ufsino_t ino; member in struct:icache_s 148 ufsino_t ino = *(ufsino_t *)key; local 151 if (ino < ic->ino) 153 else if (ino > ic->ino) 162 cacheino(ufsino_t ino, void *dp) argument 175 icache[nicache].ino = ino; 186 cached(ufsino_t ino) argument 209 ufsino_t ino; local 329 addinode(ufsino_t ino) argument 345 scanonedir(ufsino_t ino, const char *path) argument 373 dirindir(ufsino_t ino, daddr_t blkno, int ind_level, off_t *filesizep, const char *path) argument 414 searchdir(ufsino_t ino, daddr_t blkno, long size, off_t filesize, const char *path) argument [all...] |
/openbsd-current/lib/libc/db/hash/ |
H A D | hash_page.c | 178 u_int16_t *ino; local 197 ino = (u_int16_t *)(op = old_bufp->page); 202 for (n = 1, ndx = 1; n < ino[0]; n += 2) { 203 if (ino[n + 1] < REAL_KEY) { 211 key.data = (u_char *)op + ino[n]; 212 key.size = off - ino[n]; 218 copyto = ino[n + 1] + diff; 219 memmove(op + copyto, op + ino[n + 1], 220 off - ino[n + 1]); 221 ino[nd 277 u_int16_t *ino; /* Page keys come off of */ local [all...] |
/openbsd-current/sys/arch/sparc64/sparc64/ |
H A D | intr.c | 344 sun4v_intr_devino_to_sysino(uint64_t devhandle, uint64_t devino, uint64_t *ino) argument 347 return hv_intr_devino_to_sysino(devhandle, devino, ino); 350 *ino = devino | INTR_DEVINO; 355 sun4v_intr_setcookie(uint64_t devhandle, uint64_t ino, uint64_t cookie_value) argument 360 return hv_vintr_setcookie(devhandle, ino, cookie_value); 364 sun4v_intr_setenabled(uint64_t devhandle, uint64_t ino, uint64_t intr_enabled) argument 367 return hv_intr_setenabled(ino, intr_enabled); 369 return hv_vintr_setenabled(devhandle, ino, intr_enabled); 373 sun4v_intr_setstate(uint64_t devhandle, uint64_t ino, uint64_t intr_state) argument 376 return hv_intr_setstate(ino, intr_stat 382 sun4v_intr_settarget(uint64_t devhandle, uint64_t ino, uint64_t cpuid) argument [all...] |
/openbsd-current/sys/isofs/cd9660/ |
H A D | cd9660_lookup.c | 112 cdino_t ino = 0; local 262 ino = isodirino(ep, imp); 264 ino = dbtob(bp->b_blkno) 267 } else if (ino) 279 ino = isodirino(ep, imp); 281 ino = dbtob(bp->b_blkno) + entryoffsetinblock; 282 dp->i_ino = ino; 291 ino = 0; 297 if (ino) { 299 dp->i_ino = ino; [all...] |
/openbsd-current/usr.bin/fstat/ |
H A D | fstat.h | 31 ino_t ino; member in struct:filearg
|
/openbsd-current/sys/miscfs/fuse/ |
H A D | fusebuf.c | 34 fb_setup(size_t len, ino_t ino, int op, struct proc *p) argument 43 fbuf->fb_ino = ino;
|
/openbsd-current/gnu/usr.bin/perl/t/io/ |
H A D | fs.t | 100 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 111 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 137 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 152 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 161 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 172 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 175 is($ino, undef, "ino of removed file b should be undef"); 177 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, 180 is($ino, unde [all...] |