HomeSort by: relevance | last modified time | path
    Searched refs:ino (Results 1 - 25 of 162) sorted by relevancy

1 2 3 4 5 6 7

  /src/sbin/fsck_lfs/
pass0.c 104 ino_t ino, plastino, nextino, lowfreeino, freehd; local in function:pass0
116 freehd = ino = lfs_ci_getfree_head(fs, cip);
119 while (ino) {
120 if (lowfreeino > ino)
121 lowfreeino = ino;
122 if (ino >= maxino) {
123 pwarn("OUT OF RANGE INO %llu ON FREE LIST\n",
124 (unsigned long long)ino);
127 if (visited[ino]) {
128 pwarn("INO %llu ALREADY FOUND ON FREE LIST\n"
    [all...]
inode.c 98 ginode(ino_t ino)
106 vp = vget(fs, ino);
110 if (din_table[ino] == 0x0) {
111 LFS_IENTRY(ifp, fs, ino, bp);
114 din_table[ino] = daddr;
167 pfatal("DIRECTORY %s INO %lld: CONTAINS EMPTY BLOCKS [1]",
207 pfatal("DIRECTORY %s INO %lld: CONTAINS EMPTY BLOCKS [2]",
303 pfatal("DIRECTORY %s INO %lld: CONTAINS EMPTY BLOCKS [3]",
525 ino_t ino; local in function:findino
527 ino = lfs_dir_getino(fs, dirp)
599 ino_t ino; local in function:allocino
    [all...]
  /src/sys/fs/v7fs/
v7fs_dirent.c 67 v7fs_ino_t ino; local in function:v7fs_dirent_endian_convert
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;
v7fs_file.c 70 const char *name, size_t namelen, v7fs_ino_t *ino)
87 *ino = lookup_arg.inode_number;
88 DPRINTF("done. ino=%d\n", *ino);
131 v7fs_ino_t *ino)
139 ino) == 0) {
145 if ((error = v7fs_inode_allocate(fs, ino)))
150 inode.inode_number = *ino;
164 v7fs_inode_deallocate(fs, *ino);
186 v7fs_inode_deallocate(fs, *ino);
225 v7fs_ino_t ino; local in function:v7fs_file_deallocate
    [all...]
v7fs_inode.c 87 v7fs_inode_number_sanity(const struct v7fs_superblock *sb, v7fs_ino_t ino)
90 if (ino < V7FS_ROOT_INODE || ((size_t)ino >= V7FS_MAX_INODE(sb))) {
91 DPRINTF("invalid inode#%d (%d-%zu)\n", ino,
100 v7fs_inode_allocate(struct v7fs_self *fs, v7fs_ino_t *ino)
105 *ino = 0;
130 *ino = inode_number;
139 v7fs_inode_deallocate(struct v7fs_self *fs, v7fs_ino_t ino)
145 inode.inode_number = ino;
151 sb->freeinode[sb->nfreeinode++] = ino;
252 v7fs_ino_t ino = mem->inode_number; local in function:v7fs_inode_writeback
    [all...]
  /src/sbin/fsck_v7fs/
pathname.c 58 connect_lost_and_found(struct v7fs_self *fs, v7fs_ino_t ino)
66 snprintf(name, sizeof(name), "%d", ino);
67 v7fs_directory_add_entry(fs, &lost_and_found, ino, name, strlen(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)
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)
216 if (ino == 1) /* reserved. */
220 if (!(parent_ino = lookup_parent_from_file(fs, ino)) ||
    [all...]
inode.c 99 v7fs_inode_check(struct v7fs_self *fs, struct v7fs_inode *p, v7fs_ino_t ino)
104 pwarn("*** partially 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);
  /src/sys/arch/hppa/stand/xxboot/
readufs.h 79 int (*get_inode)(ino32_t ino, union ufs_dinode *dibuf);
116 int get_ffs_inode(ino32_t ino, union ufs_dinode *dibuf);
117 int get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf);
119 #define ufs_get_inode(ino, di) ((ufs_info.fstype == UFSTYPE_FFS) ? \
120 get_ffs_inode((ino), (di)) : get_lfs_inode((ino), (di)))
123 # define ufs_get_inode(ino, di) (get_ffs_inode((ino), (di)))
126 # define ufs_get_inode(ino, di) (get_lfs_inode((ino), (di))
    [all...]
readufs_lfs.c 154 get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf)
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,
  /src/sbin/restore/
restore.h 126 ino_t ino; /* inumber of file */ member in struct:context
159 #define TSTINO(ino, map) \
160 (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY)))
161 #define SETINO(ino, map) \
162 map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY)
restore.c 59 listfile(const char *name, ino_t ino, int type)
63 if (TSTINO(ino, dumpmap) == 0)
66 fprintf(stdout, "%10ju\t%s\n", (uintmax_t)ino, name);
75 addfile(const char *name, ino_t ino, int type)
81 if (TSTINO(ino, dumpmap) == 0) {
85 if (ino == UFS_WINO && command == 'i' && !vflag)
89 (uintmax_t)ino);
92 (void) genliteraldir(name, ino);
96 ep = lookupino(ino);
104 ep = addentry(name, ino, type)
    [all...]
dirs.c 86 ino_t ino; member in struct:modeinfo
219 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) {
229 treescan(const char *pname, ino_t ino, long (*todo)(const char *, ino_t, int))
237 itp = inotablookup(ino);
242 (void) (*todo)(pname, ino, LEAF);
248 if ((*todo)(pname, ino, NODE) == FAIL)
293 ino_t ino; local in function:pathsearch
299 ino = UFS_ROOTINO;
304 if ((dp = searchdir(ino, name)) == NULL)
306 ino = dp->d_ino
538 ino_t ino; local in function:rst_opendir
    [all...]
  /src/sys/ufs/lfs/
lfs_alloc.c 98 DLOG((DLOG_ALLOC, "lfs: ino %d wrd %d bit %d set\n", (int)(I), \
103 DLOG((DLOG_ALLOC, "lfs: ino %d wrd %d bit %d clr\n", (int)(I), \
247 ino_t *ino, int *gen)
267 LFS_GET_HEADFREE(fs, cip, cbp, ino);
270 KASSERT(*ino != LFS_UNUSED_INUM && *ino != LFS_IFILE_INUM);
272 *ino));
275 CLR_BITMAP_FREE(fs, *ino);
281 LFS_IENTRY(ifp, fs, *ino, bp);
284 *ino);
801 ino_t ino, firstino, lastino, maxino; local in function:lfs_order_freelist
968 ino_t ino = orphan[i]; local in function:lfs_free_orphans
    [all...]
  /src/sbin/fsirand/
fsirand.c 65 int needswap, ino, imax, is_ufs2; variable in typeref:typename:int
153 for (ino = 0, imax = fs->fs_ipg * fs->fs_ncg; ino < imax;) {
155 sp = (off_t) FFS_FSBTODB(fs, ino_to_fsba(fs, ino)) *
159 err(1, "Seeking to inode %d failed", ino);
162 err(1, "Reading inodes %d+%d failed", ino, inopb);
168 ino,
177 ino,
184 if (++ino > imax)
192 err(1, "Seeking to inode %d failed", ino);
    [all...]
  /src/sbin/dump/
traverse.c 63 static void writeextdata(union dinode *dp, ino_t ino, int added);
127 mapfileino(ino_t ino, u_int64_t *tape_size, int *dirskipped)
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);
280 ino_t ino; local in function:mapdirs
286 for (map = dumpdirmap, ino = 1; ino < maxino; ino++)
416 ino_t ino; local in function:searchdir
    [all...]
  /src/sbin/fsck_ext2fs/
inode.c 618 u_int32_t ino = fs2h32(dirp->e2d_ino); local in function:findino
620 if (ino == 0)
623 (ino == EXT2_ROOTINO || ino >= EXT2_FIRSTINO)
624 && ino <= maxino) {
625 idesc->id_parent = ino;
632 pinode(ino_t ino)
638 printf(" I=%llu ", (unsigned long long)ino);
639 if ((ino < EXT2_FIRSTINO && ino != EXT2_ROOTINO) || ino > maxino
691 ino_t ino; local in function:allocino
    [all...]
  /src/sys/arch/x68k/stand/boot_ufs/
readufs_lfs.c 22 static int get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf);
157 get_lfs_inode(ino32_t ino, union ufs_dinode *dibuf)
166 if (ino == LFS_IFILE_INUM)
170 printf("LFS: ino: %d\nifpb: %d, bsize: %d\n",
171 ino, fsi_lfs.ifpb, fsi.bsize);
174 ino / fsi_lfs.ifpb + fsi_lfs.ioffset,
176 i = ino % fsi_lfs.ifpb;
182 printf("LFS(%d): daddr: %d\n", ino, (int) daddr);
202 if (di->di_inumber == ino)
210 ino, di->di_mode, di->di_nlink, di->di_inumber
    [all...]
  /src/sys/arch/sparc64/sparc64/
intr.c 372 sun4v_intr_devino_to_sysino(uint64_t devhandle, uint64_t devino, uint64_t *ino)
375 return hv_intr_devino_to_sysino(devhandle, devino, ino);
377 *ino = devino;
382 sun4v_intr_setcookie(uint64_t devhandle, uint64_t ino, uint64_t cookie_value)
387 return hv_vintr_setcookie(devhandle, ino, cookie_value);
391 sun4v_intr_setenabled(uint64_t devhandle, uint64_t ino, uint64_t intr_enabled)
394 return hv_intr_setenabled(ino, intr_enabled);
396 return hv_vintr_setenabled(devhandle, ino, intr_enabled);
400 sun4v_intr_setstate(uint64_t devhandle, uint64_t ino, uint64_t intr_state)
403 return hv_intr_setstate(ino, intr_state)
    [all...]
  /src/sys/ufs/ufs/
ufs_wapbl.h 124 #define UFS_WAPBL_REGISTER_INODE(mp, ino, mode) \
125 if (mp->mnt_wapbl) wapbl_register_inode(mp->mnt_wapbl, ino, mode)
126 #define UFS_WAPBL_UNREGISTER_INODE(mp, ino, mode) \
127 if (mp->mnt_wapbl) wapbl_unregister_inode(mp->mnt_wapbl, ino, mode)
152 #define UFS_WAPBL_REGISTER_INODE(mp, ino, mode) do { } while (0)
153 #define UFS_WAPBL_UNREGISTER_INODE(mp, ino, mode) do { } while (0)
  /src/usr.sbin/installboot/
ffs.c 120 ffs_find_disk_blocks_ufs1(ib_params *params, ino_t ino,
161 FFS_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,
298 FFS_FSBTODB(fs, ino_to_fsba(fs, ino)) + params->fstype->offset
398 uint32_t ino; local in function:ffs_findstage2_ino
541 uint32_t ino; local in function:ffs_findstage2
    [all...]
  /src/bin/pax/
tables.h 55 * 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
  /src/sys/arch/sparc64/dev/
fhcreg.h 75 #define FHC_INO(ino) ((ino) & 0x7)
  /src/sys/fs/filecorefs/
filecore_node.c 134 ino_t ino; local in function:filecore_loadvnode
140 KASSERT(key_len == sizeof(ino));
141 memcpy(&ino, key, key_len);
148 ip->i_number = ino;
152 if (ino == FILECORE_ROOTINO) {
163 if ((error = filecore_bread(fcmp, ino & FILECORE_INO_MASK,
170 fcdirentry(bp->b_data, ino >> FILECORE_INO_INDEX),
194 if (ino == FILECORE_ROOTINO)
  /src/lib/libc/compat/sys/
compat_getdents.c 55 ino_t ino; local in function:getdents
75 memcpy(&ino, &ndp->d_ino, sizeof(ino_t));
76 odp->d_ino = (uint32_t)ino;
  /src/tests/include/sys/
t_types.c 121 ino_t ino; local in function:ATF_TC_BODY
125 ino = 0;
131 ATF_CHECK((ino - 1) > 0);

Completed in 23 milliseconds

1 2 3 4 5 6 7