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

12345678

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A Dpr30984.c1 int fs_exec(int ino) argument
4 if (ino)
H A D990517-1.c16 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...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A Dpr30984.c1 int fs_exec(int ino) argument
4 if (ino)
H A D990517-1.c16 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...]
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dpass0.c107 ino_t ino, plastino, nextino, lowfreeino, freehd; local
119 freehd = ino = cip->free_head;
122 while (ino) {
123 if (lowfreeino > ino)
124 lowfreeino = ino;
125 if (ino >= maxino) {
127 (unsigned long long)ino);
130 if (visited[ino]) {
132 (unsigned long long)ino);
141 visited[ino]
[all...]
H A Dutilities.c190 getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) argument
197 if (curdir == ino && ino == ROOTINO) {
212 if (curdir != ino) {
216 while (ino != ROOTINO) {
217 idesc.id_number = ino;
220 if ((ckinode(ginode(ino), &idesc) & FOUND) == 0)
224 idesc.id_parent = ino;
237 ino = idesc.id_number;
240 if (ino !
[all...]
H A Dinode.c102 ginode(ino_t ino) argument
108 vp = vget(fs, ino);
112 if (din_table[ino] == 0x0) {
113 LFS_IENTRY(ifp, fs, ino, bp);
114 din_table[ino] = ifp->if_daddr;
520 pinode(ino_t ino) argument
525 printf(" I=%llu ", (unsigned long long)ino);
526 if (ino < ROOTINO || ino >= maxino)
528 dp = ginode(ino);
546 blkerror(ino_t ino, const char *type, daddr_t blk) argument
580 ino_t ino; local
629 freeino(ino_t ino) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/fs/v7fs/
H A Dv7fs_dirent.c67 v7fs_ino_t ino; local
71 ino = V7FS_VAL16(fs, dir->inode_number);
72 if (v7fs_inode_number_sanity(sb, ino)) {
73 DPRINTF("Invalid inode# %d %s\n", ino, dir->name);
76 dir->inode_number = ino;
/netbsd-6-1-5-RELEASE/sbin/fsck_v7fs/
H A Dpathname.c58 connect_lost_and_found(struct v7fs_self *fs, v7fs_ino_t ino) argument
66 snprintf(name, sizeof(name), "%d", ino);
67 v7fs_directory_add_entry(fs, &lost_and_found, ino, name);
141 struct v7fs_inode *p, v7fs_ino_t ino)
149 arg->parent_ino = ino; /* My inode found. */
158 lookup_parent_from_file(struct v7fs_self *fs, v7fs_ino_t ino) argument
160 struct lookup_parent_arg arg = { .target_ino = ino, .parent_ino = 0 };
210 pathname_check_file(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) argument
216 if (ino == 1) /* reserved. */
220 if (!(parent_ino = lookup_parent_from_file(fs, ino)) ||
140 lookup_parent_from_file_subr(struct v7fs_self *fs, void *ctx, struct v7fs_inode *p, v7fs_ino_t ino) argument
232 pathname_check_dir(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) argument
271 pathname_subr(struct v7fs_self *fs, void *ctx __unused, struct v7fs_inode *p, v7fs_ino_t ino) argument
304 filename(struct v7fs_self *fs, v7fs_ino_t ino) argument
[all...]
H A Dinode.c99 v7fs_inode_check(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino) argument
104 pwarn("*** partialy allocated inode #%d", ino);
108 v7fs_inode_deallocate(fs, ino);
119 v7fs_ino_t ino)
124 if (ino != 1)
125 error = v7fs_inode_check(fs, p, ino);
118 ilistcheck_subr(struct v7fs_self *fs, void *ctx, struct v7fs_inode *p, v7fs_ino_t ino) argument
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/xxboot/
H A Dreadufs.h75 int (*get_inode)(ino32_t ino, union ufs_dinode *dibuf);
112 int get_ffs_inode(ino32_t ino, union ufs_dinode *dibuf);
113 int get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf);
115 #define ufs_get_inode(ino, di) ((ufs_info.fstype == UFSTYPE_FFS) ? \
116 get_ffs_inode((ino), (di)) : get_lfs_inode((ino), (di)))
119 # define ufs_get_inode(ino, di) (get_ffs_inode((ino), (di)))
122 # define ufs_get_inode(ino, di) (get_lfs_inode((ino), (d
[all...]
H A Dreadufs_lfs.c154 get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf) argument
163 if (ino == LFS_IFILE_INUM)
167 printf("LFS: ino: %d\nifpb: %d, bsize: %d\n",
168 ino, fsi_lfs.ifpb, fsi.bsize);
171 ino / fsi_lfs.ifpb + fsi_lfs.ioffset,
173 i = ino % fsi_lfs.ifpb;
179 printf("LFS(%d): daddr: %d\n", ino, (int) daddr);
193 if (di->di_inumber == ino)
201 ino, di->di_mode, di->di_nlink, di->di_inumber,
/netbsd-6-1-5-RELEASE/sbin/restore/
H A Drestore.h126 ino_t ino; /* inumber of file */ member in struct:context
158 #define TSTINO(ino, map) \
159 (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY)))
160 #define SETINO(ino, map) \
161 map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY)
H A Drestore.c59 listfile(const char *name, ino_t ino, int type) argument
63 if (TSTINO(ino, dumpmap) == 0)
66 fprintf(stdout, "%10llu\t%s\n", (unsigned long long)ino, name);
75 addfile(const char *name, ino_t ino, int type) argument
81 if (TSTINO(ino, dumpmap) == 0) {
85 if (ino == WINO && command == 'i' && !vflag)
89 (unsigned long long)ino);
92 (void) genliteraldir(name, ino);
96 ep = lookupino(ino);
104 ep = addentry(name, ino, typ
117 deletefile(const char *name, ino_t ino, int type __unused) argument
208 nodeupdates(const char *name, ino_t ino, int type) argument
840 verifyfile(const char *name, ino_t ino, int type) argument
[all...]
/netbsd-6-1-5-RELEASE/sbin/dump/
H A Dtraverse.c127 mapfileino(ino_t ino, u_int64_t *tape_size, int *dirskipped) argument
135 if (TSTINO(ino, usedinomap))
137 dp = getino(ino);
150 SETINO(ino, usedinomap);
152 SETINO(ino, dumpdirmap);
154 SETINO(ino, dumpinomap);
164 CLRINO(ino, usedinomap);
279 ino_t ino; local
285 for (map = dumpdirmap, ino = 1; ino < maxin
361 dirindir(ino_t ino, daddr_t blkno, int ind_level, off_t *filesize, u_int64_t *tape_size, int nodump) argument
415 ino_t ino; local
478 dumpino(union dinode *dp, ino_t ino) argument
599 dmpindir(ino_t ino, daddr_t blk, int ind_level, off_t *size) argument
642 blksout32(int32_t *blkp, int frags, ino_t ino) argument
674 blksout64(int64_t *blkp, int frags, ino_t ino) argument
709 dumpmap(char *map, int type, ino_t ino) argument
725 writeheader(ino_t ino) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/
H A Dlfs_alloc.c95 DLOG((DLOG_ALLOC, "lfs: ino %d wrd %d bit %d set\n", (int)(I), \
100 DLOG((DLOG_ALLOC, "lfs: ino %d wrd %d bit %d clr\n", (int)(I), \
310 lfs_vcreate(struct mount *mp, ino_t ino, struct vnode *vp) argument
334 ip->i_number = dp->di_inumber = ino;
353 ino_t ino, maxino;
357 for (ino = maxino - 1; ino > LFS_UNUSED_INUM; --ino) {
358 if (ISSET_BITMAP_FREE(fs, ino) == 0)
361 return ino;
370 lfs_freelist_prev(struct lfs *fs, ino_t ino) argument
413 lfs_vfree(struct vnode *vp, ino_t ino, int mode) argument
589 ino_t ino, firstino, lastino, maxino; local
661 lfs_orphan(struct lfs *fs, ino_t ino) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/
H A D20080723-1.c25 struct hlist_node * find_inode_fast(struct hlist_head *head, unsigned long ino) argument
33 if (node->i_ino == ino)
/netbsd-6-1-5-RELEASE/sbin/fsirand/
H A Dfsirand.c65 int needswap, ino, imax, is_ufs2; variable
151 for (ino = 0, imax = fs->fs_ipg * fs->fs_ncg; ino < imax;) {
153 sp = (off_t) fsbtodb(fs, ino_to_fsba(fs, ino)) *
157 err(1, "Seeking to inode %d failed", ino);
160 err(1, "Reading inodes %d+%d failed", ino, inopb);
166 ino,
175 ino,
182 if (++ino > imax)
190 err(1, "Seeking to inode %d failed", ino);
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/boot_ufs/
H A Dreadufs_lfs.c23 static int get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf);
158 get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf) argument
167 if (ino == LFS_IFILE_INUM)
171 printf("LFS: ino: %d\nifpb: %d, bsize: %d\n",
172 ino, fsi_lfs.ifpb, fsi.bsize);
175 ino / fsi_lfs.ifpb + fsi_lfs.ioffset,
177 i = ino % fsi_lfs.ifpb;
183 printf("LFS(%d): daddr: %d\n", ino, (int) daddr);
203 if (di->di_inumber == ino)
211 ino, d
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dinode.c598 u_int32_t ino = fs2h32(dirp->e2d_ino); local
600 if (ino == 0)
603 (ino == EXT2_ROOTINO || ino >= EXT2_FIRSTINO)
604 && ino <= maxino) {
605 idesc->id_parent = ino;
612 pinode(ino_t ino) argument
618 printf(" I=%llu ", (unsigned long long)ino);
619 if ((ino < EXT2_FIRSTINO && ino !
640 blkerror(ino_t ino, const char *type, daddr_t blk) argument
671 ino_t ino; local
721 freeino(ino_t ino) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/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
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_wapbl.h157 #define UFS_WAPBL_REGISTER_INODE(mp, ino, mode) \
158 if (mp->mnt_wapbl) wapbl_register_inode(mp->mnt_wapbl, ino, mode)
159 #define UFS_WAPBL_UNREGISTER_INODE(mp, ino, mode) \
160 if (mp->mnt_wapbl) wapbl_unregister_inode(mp->mnt_wapbl, ino, mode)
173 #define UFS_WAPBL_REGISTER_INODE(mp, ino, mode) do { } while (0)
174 #define UFS_WAPBL_UNREGISTER_INODE(mp, ino, mode) do { } while (0)
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/
H A Dffs.c120 ffs_find_disk_blocks_ufs1(ib_params *params, ino_t ino, argument
161 fsbtodb(fs, ino_to_fsba(fs, ino)) + params->fstype->offset,
165 inode += ino_to_fsbo(fs, ino);
204 fprintf(stderr, "ino %lu blk %lu level %d\n", ino, blk,
230 fprintf(stderr, "ino %lu db %lu blksize %lu\n", ino,
244 (unsigned long long)ino, params->filesystem);
257 ffs_find_disk_blocks_ufs2(ib_params *params, ino_t ino, argument
298 fsbtodb(fs, ino_to_fsba(fs, ino))
398 uint32_t ino; local
539 uint32_t ino; local
[all...]
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dtables.h55 * file hard link structure (hashed by dev/ino and chained) used to find the
59 char *name; /* name of first file seen with this ino/dev */
61 ino_t ino; /* files inode number */ member in struct:hrdlnk
146 ino_t ino; member in struct:atdir
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/
H A Dfhcreg.h75 #define FHC_INO(ino) ((ino) & 0x7)

Completed in 281 milliseconds

12345678