/freebsd-current/lib/libufs/ |
H A D | inode.c | 51 getinode(struct uufsd *disk, union dinodep *dp, ino_t inum) argument 60 if (inum >= (ino_t)fs->fs_ipg * fs->fs_ncg) { 68 if (inum >= min && inum < max) 70 bread(disk, fsbtodb(fs, ino_to_fsba(fs, inum)), inoblock, 72 disk->d_inomin = min = inum - (inum % INOPB(fs)); 76 disk->d_dp.dp1 = &((struct ufs1_dinode *)inoblock)[inum - min]; 81 disk->d_dp.dp2 = &((struct ufs2_dinode *)inoblock)[inum - min];
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/alloc_class/ |
H A D | alloc_class_012_pos.ksh | 35 typeset inum="$2" 39 zdb -dddddd $dataset $inum | awk -v d=$num_normal '{ 95 inum="$(get_objnum /$TESTPOOL/$TESTFS/testfile.$i)" 96 log_must file_in_special_vdev $dataset $inum
|
/freebsd-current/sbin/restore/ |
H A D | symtab.c | 77 lookupino(ino_t inum) argument 81 if (inum < UFS_WINO || inum >= maxino) 83 for (ep = entry[inum % entrytblsize]; ep != NULL; ep = ep->e_next) 84 if (ep->e_ino == inum) 93 addino(ino_t inum, struct entry *np) argument 97 if (inum < UFS_WINO || inum >= maxino) 98 panic("addino: out of range %ju\n", (uintmax_t)inum); 99 epp = &entry[inum 113 deleteino(ino_t inum) argument 214 addentry(char *name, ino_t inum, int type) argument 265 ino_t inum; local [all...] |
H A D | dirs.c | 294 * Lookup the requested name in directory inum. 298 searchdir(ino_t inum, char *name) argument 304 itp = inotablookup(inum); 477 dprintf(stderr, "corrupted directory: bad inum %d\n",
|
/freebsd-current/crypto/openssh/ |
H A D | sftp-glob.c | 71 static int inum = 1; local 95 ret->d_ino = inum++; 96 if (!inum) 97 inum = 1;
|
/freebsd-current/sbin/fsdb/ |
H A D | fsdb.c | 241 snprintf(pstring, sizeof(pstring), "fsdb (inum: %ju)> ", 247 setcurinode(ino_t inum) argument 252 ginode(inum, &curip); 254 curinum = inum; 342 #define GETINUM(ac,inum) inum = strtoul(argv[ac], &cp, 0); \ 343 if (inum < UFS_ROOTINO || inum > maxino || cp == argv[ac] || *cp != '\0' ) { \ 345 (uintmax_t)inum, (uintmax_t)UFS_ROOTINO, (uintmax_t)maxino);\ 354 ino_t inum; local 374 ino_t inum; local 488 ino_t inum, inosused; local 797 ino_t inum; local 846 ino_t inum; local [all...] |
H A D | fsdb.h | 61 void printstat(const char *cp, ino_t inum, union dinode *dp);
|
H A D | fsdbutil.c | 106 printstat(const char *cp, ino_t inum, union dinode *dp) argument 147 printf("I=%ju MODE=%o SIZE=%ju", (uintmax_t)inum, DIP(dp, di_mode),
|
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_csum.c | 232 uint32_t inum, gen, crc; local 238 inum = htole32(ip->i_number); 240 crc = calculate_crc32c(fs->e2fs_csum_seed, (uint8_t *)&inum, sizeof(inum)); 300 uint32_t inum, old_csum, gen, crc; local 310 inum = htole32(ip->i_number); 312 crc = calculate_crc32c(fs->e2fs_csum_seed, (uint8_t *)&inum, sizeof(inum)); 424 uint32_t inum, gen, crc; local 431 inum 574 uint32_t inode_csum_seed, inum, gen, crc; local [all...] |
/freebsd-current/sys/contrib/ncsw/user/env/ |
H A D | xx.c | 316 unsigned int inum; local 320 inum = rman_get_start(r); 322 error = XX_SetIntr(irq, XX_Dispatch, &XX_IntrInfo[inum]); 330 XX_IntrInfo[inum].flags = XX_INTR_FLAG_PREALLOCATED; 331 XX_IntrInfo[inum].cpu = cpu; 340 unsigned int inum; local 343 inum = rman_get_start(r); 345 if ((XX_IntrInfo[inum].flags & XX_INTR_FLAG_PREALLOCATED) == 0) 348 XX_IntrInfo[inum].flags = 0;
|
/freebsd-current/sbin/fsck_ffs/ |
H A D | pass5.c | 57 ino_t inum; local 233 inum = fs->fs_ipg * c; 234 for (i = 0; i < inostathead[c].il_numalloced; inum++, i++) { 235 switch (inoinfo(inum)->ino_state) { 255 if (inum < UFS_ROOTINO) 258 inoinfo(inum)->ino_state, (uintmax_t)inum);
|
H A D | inode.c | 628 ino_t inum; local 630 inum = cg * sblock.fs_ipg; 631 lastvalidinum = inum + inosused - 1; 632 nextinum = inum; 633 lastinum = inum; 716 snapremove(ino_t inum) argument 723 if (snaplist[i].i_number == inum) 726 ginode(inum, &ip); 731 (intmax_t)inum); 738 i == snapcnt ? "in" : "", (intmax_t)inum); 806 snapblkfree(struct fs *fs, ufs2_daddr_t bno, long size, ino_t inum, ufs2_daddr_t (*checkblkavail)(ufs2_daddr_t blkno, long frags)) argument [all...] |
H A D | fsutil.c | 158 inoinfo(ino_t inum) argument 164 if (inum >= maxino) 166 (uintmax_t)inum); 167 ilp = &inostathead[inum / sblock.fs_ipg]; 168 iloff = inum % sblock.fs_ipg;
|
H A D | fsck.h | 161 /* for BT_INODES, first inum */ 521 struct inostat *inoinfo(ino_t inum);
|
/freebsd-current/sbin/quotacheck/ |
H A D | quotacheck.c | 621 setinodebuf(ino_t inum) argument 624 if (inum % sblock.fs_ipg != 0) 625 errx(1, "bad inode number %ju to setinodebuf", (uintmax_t)inum); 626 lastvalidinum = inum + sblock.fs_ipg - 1; 627 nextino = inum; 628 lastinum = inum;
|
/freebsd-current/sbin/dump/ |
H A D | traverse.c | 866 getino(ino_t inum, int *modep) argument 875 curino = inum; 876 if (inum >= minino && inum < maxino) 878 blkread(fsbtodb(sblock, ino_to_fsba(sblock, inum)), inoblock, 880 minino = inum - (inum % INOPB(sblock)); 884 dp1 = &((struct ufs1_dinode *)inoblock)[inum - minino]; 888 dp2 = &((struct ufs2_dinode *)inoblock)[inum - minino];
|
H A D | dump.h | 125 union dinode *getino(ino_t inum, int *mode);
|
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 1172 printf("mode = 0%o, inum = %ju, fs = %s\n", 2260 ino_t inum, 2298 (intmax_t)inum); 2299 ffs_fserr(fs, inum, "bad block"); 2435 ino_t inum; member in struct:ffs_blkfree_trim_params 2475 blkelm->size, tp->inum, blkelm->pdephd); 2496 ino_t inum, 2539 ntp->inum = inum; 2589 ino_t inum) 2255 ffs_blkfree_cg(struct ufsmount *ump, struct fs *fs, struct vnode *devvp, ufs2_daddr_t bno, long size, ino_t inum, struct workhead *dephd) argument 2492 trim_lookup(struct ufsmount *ump, struct vnode *devvp, ufs2_daddr_t bno, long size, ino_t inum, uint64_t key, int alloctype) argument 2587 ffs_blkrelease_start(struct ufsmount *ump, struct vnode *devvp, ino_t inum) argument 2653 ffs_blkfree(struct ufsmount *ump, struct fs *fs, struct vnode *devvp, ufs2_daddr_t bno, long size, ino_t inum, __enum_uint8(vtype) vtype, struct workhead *dephd, uint64_t key) argument 3140 ffs_fserr(struct fs *fs, ino_t inum, char *cp) argument [all...] |
H A D | ffs_snapshot.c | 89 ino_t inum, 1277 ino_t inum; local 1281 inum = ip->i_number; 1294 ffs_blkfree(ITOUMP(ip), fs, vp, blkno, fs->fs_bsize, inum, local 1561 ino_t inum; local 1565 inum = ip->i_number; 1579 ffs_blkfree(ITOUMP(ip), fs, vp, blkno, fs->fs_bsize, inum, local 1771 ino_t inum, 1873 printf("%s %ju lbn %jd from inum %ju\n", 1876 (intmax_t)lbn, (uintmax_t)inum); 85 ffs_snapblkfree(struct fs *fs, struct vnode *devvp, ufs2_daddr_t bno, long size, ino_t inum, __enum_uint8(vtype) vtype, struct workhead *wkhd) argument 1767 ffs_snapblkfree(struct fs *fs, struct vnode *devvp, ufs2_daddr_t bno, long size, ino_t inum, __enum_uint8(vtype) vtype, struct workhead *wkhd) argument [all...] |
H A D | ffs_softdep.c | 1369 * This function fetches inode inum on mount point mp. We already 1395 ino_t inum, 1407 error = ffs_vgetf(mp, inum, LK_EXCLUSIVE | LK_NOWAIT, &pvp, 1448 error = ffs_vgetf(mp, inum, LK_EXCLUSIVE, &pvp, 1714 * ordering ensures that no new <vfsid, inum, lbn> triples will be generated 1775 ino_t inum; local 1780 inum = VTOI(vp)->i_number; 1783 if (inodedep_lookup(mp, inum, 0, &inodedep) == 0) 1824 ino_t inum; local 1830 inum 1393 get_parent_vp(struct vnode *vp, struct mount *mp, ino_t inum, struct buf *bp, struct diraddhd *diraddhdp, struct diraddhd *unfinishedp, struct vnode **rvp) argument 2295 inodedep_find(struct inodedep_hashhead *inodedephd, ino_t inum, struct inodedep **inodedeppp) argument 2318 inodedep_lookup(struct mount *mp, ino_t inum, int flags, struct inodedep **inodedeppp) argument 13315 ino_t inum; local 13395 inodedep_lookup(UFSTOVFS(ump), inum, 0, local 13453 inodedep_lookup(UFSTOVFS(ump), inum, 0, &inodedep); local [all...] |
H A D | ffs_vfsops.c | 235 ffs_check_blkno(struct mount *mp, ino_t inum, ufs2_daddr_t daddr, int blksize) argument 271 "number %jd\n", mp->mnt_stat.f_mntonname, inum, daddr);
|
/freebsd-current/usr.sbin/fstyp/ |
H A D | hammer2_disk.h | 592 hammer2_tid_t inum; /* inode number */ member in struct:hammer2_dirent_head 999 hammer2_tid_t inum; /* 0058 inode number */ member in struct:hammer2_inode_meta 1002 hammer2_tid_t iparent; /* 0070 nominal parent inum */ 1021 uint64_t pfs_inum; /* 0088 (if PFSROOT) inum allocator */
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-zone.c | 106 r = user_ns->ns.inum;
|
/freebsd-current/ |
H A D | Makefile.inc1 | 1088 inum=$$(ls -i ${WORLDTMP}/usr/bin/${cc}); \ 1089 find ${WORLDTMP}/usr/bin -inum $${inum%% *} -delete; \
|