/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_superblock.c | 203 v7fs_ino_t ino; local in function:v7fs_freeinode_update 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;
|
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/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/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...] |
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 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)
|
filecore_lookup.c | 264 ino_t ino; local in function:filecore_lookup 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 in function:ATF_TC_BODY 125 ino = 0; 131 ATF_CHECK((ino - 1) > 0);
|
/src/sbin/fsck_v7fs/ |
main.c | 227 v7fs_ino_t ino; local in function:make_lost_and_found 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 in function:old_getcwd 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/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 in function:make_root 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 in function:allocate 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/sbin/dump/ |
ffs_inode.c | 174 ino_t ino; local in function:fs_mapinodes 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/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/restore/ |
utilities.c | 117 badentry(ep, "not on ino list"); 358 ino_t ino; local in function:dirlookup 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 in function:ufs_lookup_path 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 in function:main 345 if ((ino = ufs_lookup_path(argv[2])) == 0) 347 ufs_get_inode(ino, &dinode);
|
/src/sys/arch/sparc64/dev/ |
cbus.c | 179 int ino; local in function:cbus_intr_establish 182 ino = INTINO(ihandle); 184 DPRINTF(CBUSDB_INTR, ("cbus_intr_establish(): ino 0x%x\n", ino)); 192 ih->ih_number = ino; 300 ca->ca_tx_ino = mdesc_get_prop_val(arc, "tx-ino"); 301 ca->ca_rx_ino = mdesc_get_prop_val(arc, "rx-ino"); 303 "- tx-ino %lu rx-ino %lu\n",
|
ebus_mainbus.c | 278 int ino; local in function:ebus_mainbus_intr_establish 332 ino = INTINO(ihandle); 349 intrmapptr = &imap[ino]; 350 intrclrptr = &iclr[ino]; 351 ino |= INTVEC(ihandle); 363 ih->ih_number = ino;
|
vbus.c | 139 vbus_intr_map(int node, int ino, uint64_t *sysino) 151 DPRINTF(VBUS_INTR, ("vbus_intr_map(): ino 0x%x\n", ino)); 176 vbus_cmp_cells(&imap[address_cells], &ino, 212 int ino; local in function:vbus_intr_establish 217 ino = INTINO(ihandle); 225 ih->ih_number = ino;
|
/src/sys/arch/x68k/stand/boot_ufs/ |
readufs.c | 261 ino32_t ino = UFS_ROOTINO; local in function:ufs_lookup_path 269 ino = ufs_lookup(ino, fn); 270 } while (ino && *path); 272 return ino; 314 errx(1, "ino = %d: not found", dirino); 346 ino32_t ino; local in function:main 349 if ((ino = ufs_lookup_path(argv[2])) == 0) 351 ufs_get_inode(ino, &dinode);
|
/src/sys/fs/cd9660/ |
cd9660_node.c | 330 ino_t ino; local in function:isodirino 335 * ip->iso_start = ino >> imp->im_bshift; 339 ino = ((ino_t)isonum_733(isodir->extent) + 341 return ino;
|