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

1 2 3 4 5

  /src/sys/fs/v7fs/
v7fs_dirent.c 67 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;
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
    [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
    [all...]
v7fs_superblock.c 203 v7fs_ino_t ino; local
206 for (i = V7FS_ILIST_SECTOR, ino = 1/* inode start from 1*/, k = 0;
212 ino += V7FS_INODE_PER_BLOCK;
219 j++, di++, ino++) {
222 DPRINTF("free inode%d\n", ino);
223 freeinode[k++] = ino;
  /src/lib/libc/compat/sys/
compat_getdents.c 55 ino_t ino; local
75 memcpy(&ino, &ndp->d_ino, sizeof(ino_t));
76 odp->d_ino = (uint32_t)ino;
  /src/sbin/fsck_lfs/
pass0.c 104 ino_t ino, plastino, nextino, lowfreeino, freehd; local
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...]
pass1.c 62 ino_t ino; member in struct:ino_daddr
75 return (a->ino - b->ino);
110 dins[i]->ino = i;
126 inumber = dins[i]->ino;
143 inumber = dins[i]->ino;
  /src/sys/fs/filecorefs/
filecore_node.c 134 ino_t ino; local
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)
filecore_lookup.c 264 ino_t ino; local
267 ino = filecore_getparent(dp);
269 ino = dp->i_dirent.addr | (i << FILECORE_INO_INDEX);
275 error = vcache_get(vdp->v_mount, &ino, sizeof(ino), vpp);
  /src/tests/include/sys/
t_types.c 121 ino_t ino; local
125 ino = 0;
131 ATF_CHECK((ino - 1) > 0);
  /src/external/bsd/libarchive/dist/cpio/test/
test_option_c.c 50 int dev, ino, gid = 1000; local
105 assert(is_octal(e + 12, 6)); /* ino */
106 ino = (int)from_octal(e + 12, 6);
136 assert(ino != (int)from_octal(e + 12, 6)); /* ino */
164 /* Ino must be different from first entry. */
165 assert(is_octal(e + 12, 6)); /* ino */
166 assert(ino != (int)from_octal(e + 12, 6));
198 assertEqualMem(e + 12, "000000", 6); /* ino */
test_format_newc.c 74 uint32_t devmajor, devminor, ino, gid, uid; local
184 ino = from_hex(e + 6, 8); /* ino */
228 assert(is_hex(e + 6, 8)); /* ino */
261 assert(is_hex(e + 6, 8)); /* ino */
298 assertEqualInt(ino, from_hex(e + 6, 8)); /* ino */
330 assertEqualMem(e + 8, "00000000", 8); /* ino */
  /src/sbin/fsck_v7fs/
main.c 227 v7fs_ino_t ino; local
245 "lost+found", strlen("lost+found"), &attr, &ino)))
257 if ((error = v7fs_inode_load(fs, p, ino))) {
  /src/regress/sys/kern/getcwd/
old_getcwd.c 80 ino_t ino; local
137 ino = s.st_ino;
141 if (root_dev == dev && root_ino == ino) {
185 if (dp->d_fileno == ino) {
214 if (s.st_dev == dev && s.st_ino == ino)
  /src/sbin/dump/
ffs_inode.c 174 ino_t ino; local
181 ino = cg * sblock->fs_ipg;
215 for (i = 0; i < inosused; i++, ino++) {
216 if (ino < UFS_ROOTINO)
218 mapfileino(ino, tape_size, anydirskipped);
  /src/sbin/mount_qemufwcfg/
virtdir.h 45 ino_t ino; /* inode number */ member in struct:virt_dirent_t
  /src/sbin/newfs_v7fs/
main.c 105 /* INO 1 badblk (don't used) */
111 /* INO 2 root */
112 v7fs_ino_t ino; local
113 if ((error = v7fs_inode_allocate(fs, &ino))) {
120 inode.inode_number = ino;
132 v7fs_inode_deallocate(fs, ino);
140 dir[0].inode_number = V7FS_VAL16(fs, ino);
142 dir[1].inode_number = V7FS_VAL16(fs, ino);
  /src/share/examples/refuse/virtdir/
virtdir.h 46 ino_t ino; /* inode number */ member in struct:virt_dirent_t
  /src/usr.sbin/makefs/v7fs/
v7fs_populate.c 85 v7fs_ino_t ino; local
93 strlen(node->name), &attr, &ino))) {
98 node->inode->ino = ino;
100 if ((error = v7fs_inode_load(fs, inode, ino))) {
144 if ((error = v7fs_inode_load(fs, &inode, fnode->ino))) {
  /src/external/bsd/iscsi/dist/include/
virtdir.h 46 ino_t ino; /* inode number */ member in struct:virt_dirent_t
  /src/external/bsd/iscsi/dist/src/initiator/
virtdir.h 46 ino_t ino; /* inode number */ member in struct:virt_dirent_t
  /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/sbin/fsirand/
fsirand.c 65 int needswap, ino, imax, is_ufs2; variable
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/restore/
utilities.c 117 badentry(ep, "not on ino list");
358 ino_t ino; local
360 ino = ((dp = pathsearch(name)) == NULL) ? 0 : dp->d_ino;
362 if (ino == 0 || TSTINO(ino, dumpmap) == 0)
364 return (ino);
  /src/sys/arch/hppa/stand/xxboot/
readufs.c 257 ino32_t ino = UFS_ROOTINO; local
265 ino = ufs_lookup(ino, fn);
266 } while (ino && *path);
268 return ino;
310 errx(1, "ino = %d: not found", dirino);
342 ino32_t ino; local
345 if ((ino = ufs_lookup_path(argv[2])) == 0)
347 ufs_get_inode(ino, &dinode);

Completed in 28 milliseconds

1 2 3 4 5