/freebsd-current/stand/libsa/ |
H A D | ext2fs.c | 144 #define ino_to_bgo(fs, ino) (((ino) - 1) % (fs)->fs_ipg) 145 #define ino_to_bg(fs, ino) (((ino) - 1) / (fs)->fs_ipg) 146 #define ino_to_db(fs, bg, ino) \ 147 fsb_to_db(fs, ((bg)[ino_to_bg(fs, ino)].bg_inotbl + \ 148 ino_to_bgo(fs, ino) / (fs)->fs_ipb)) 149 #define ino_to_bo(fs, ino) (ino_to_bgo(fs, ino) % (fs)->fs_ipb)
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_cpio_newc.c | 219 int64_t ino; local 273 ino = archive_entry_ino64(entry); 274 if (ino > 0xffffffff) { 281 format_hex(ino & 0xffffffff, h + c_ino_offset, c_ino_size);
|
H A D | archive_read_support_format_cpio.c | 169 int64_t ino; member in struct:links_entry 1050 int64_t ino; local 1056 ino = archive_entry_ino64(entry); 1063 if (le->dev == dev && le->ino == ino) { 1093 le->ino = ino;
|
/freebsd-current/usr.bin/du/ |
H A D | du.c | 370 ino_t ino; member in struct:links_entry 421 hash = (le->dev ^ le->ino) % new_size; 440 if (le->dev == st->st_dev && le->ino == st->st_ino) { 482 le->ino = st->st_ino;
|
/freebsd-current/sys/fs/tarfs/ |
H A D | tarfs_vfsops.c | 1142 tarfs_vget(struct mount *mp, ino_t ino, int lkflags, struct vnode **vpp) argument 1150 TARFS_DPF(FS, "%s: mp %p, ino %lu, lkflags %d\n", __func__, mp, ino, 1154 error = vfs_hash_get(mp, ino, lkflags, td, vpp, NULL, NULL); 1163 TARFS_DPF(FS, "%s: no hashed vnode for inode %lu\n", __func__, ino); 1167 if (ino == TARFS_ZIOINO) { 1177 if (tnp->ino == ino) 1195 error = vfs_hash_insert(vp, ino, lkflags, td, vpp, NULL, NULL); 1218 if (tfp->ino < TARFS_ROOTIN [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_ioctl_os.c | 110 zfsdev_open(struct inode *ino, struct file *filp) argument 122 zfsdev_release(struct inode *ino, struct file *filp) argument
|
/freebsd-current/sys/dev/cxgb/ |
H A D | bin2h.pl | 57 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zpl.h | 151 uint64_t ino, unsigned type) 153 return (!ctx->actor(ctx->dirent, name, namelen, ctx->pos, ino, type)); 150 zpl_dir_emit(zpl_dir_context_t *ctx, const char *name, int namelen, uint64_t ino, unsigned type) argument
|
/freebsd-current/stand/powerpc/boot1.chrp/ |
H A D | boot1.c | 591 ufs_ino_t ino; local 594 if ((ino = lookup(fname)) == 0) { 598 if (fsread(ino, &eh, sizeof(eh)) != sizeof(eh)) { 608 if (fsread(ino, &ph, sizeof(ph)) != sizeof(ph)) { 618 if (fsread(ino, p, ph.p_filesz) != ph.p_filesz) {
|
/freebsd-current/sbin/fsck_ffs/ |
H A D | fsutil.c | 1264 getpathname(char *namebuf, ino_t curdir, ino_t ino) argument 1272 if (curdir == ino && ino == UFS_ROOTINO) { 1286 if (curdir != ino) { 1290 while (ino != UFS_ROOTINO) { 1291 idesc.id_number = ino; 1294 ginode(ino, &ip); 1304 idesc.id_parent = ino; 1319 ino = idesc.id_number; 1322 if (ino ! [all...] |
/freebsd-current/sbin/restore/ |
H A D | tape.c | 511 curfile.ino = maxino; 610 return (genliteraldir(name, curfile.ino)); 1002 extsize, "of extended attributes", (uintmax_t)curfile.ino, 1032 (uintmax_t)curfile.ino, curfile.name, strerror(errno)); 1047 (uintmax_t)curfile.ino, curfile.name, strerror(errno)); 1196 (uintmax_t)curfile.ino); 1429 fprintf(stderr, "File header, ino %ju", (uintmax_t)previno); 1432 fprintf(stderr, "File continuation header, ino %ju", 1470 curfile.ino = 0; 1510 curfile.ino [all...] |
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 190 ffs_load_inode(struct buf *bp, struct inode *ip, struct fs *fs, ino_t ino) argument 199 *((struct ufs1_dinode *)bp->b_data + ino_to_fsbo(fs, ino)); 210 dip2 = ((struct ufs2_dinode *)bp->b_data + ino_to_fsbo(fs, ino)); 214 (intmax_t)ino); 1819 ffs_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 1821 return (ffs_vgetf(mp, ino, flags, vpp, 0)); 1826 ino_t ino, 1842 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); 1866 * for same ino by different processes. We just allow them to race 1891 ip->i_number = ino; 1825 ffs_vgetf(struct mount *mp, ino_t ino, int flags, struct vnode **vpp, int ffs_flags) argument 2057 ffs_inotovp(struct mount *mp, ino_t ino, uint64_t gen, int lflags, struct vnode **vpp, int ffs_flags) argument [all...] |
H A D | ffs_alloc.c | 710 printf("realloc: ino %ju, lbns %jd-%jd\n\told:", 976 printf("realloc: ino %ju, lbns %jd-%jd\n\told:", (uintmax_t)ip->i_number, 1120 ino_t ino, ipref; local 1153 ino = (ino_t)ffs_hashalloc(pip, cg, ipref, mode, 0, 1155 if (ino == 0) 1159 * for this inode. If this fails, release the allocated ino and 1162 if ((error = ffs_vgetf(pvp->v_mount, ino, LK_EXCLUSIVE, vpp, 1164 ffs_vfree(pvp, ino, mode); 1178 fs->fs_fsmnt, (intmax_t)ino, (long)DIP(ip, i_blocks)); 2297 printf("bad block %jd, ino 2802 ffs_vfree(struct vnode *pvp, ino_t ino, int mode) argument 2821 ffs_freefile(struct ufsmount *ump, struct fs *fs, struct vnode *devvp, ino_t ino, int mode, struct workhead *wkhd) argument 2867 softdep_setup_inofree(UFSTOVFS(ump), bp, ino, wkhd, true); local 2897 softdep_setup_inofree(UFSTOVFS(ump), bp, ino, wkhd, false); local 2908 ffs_checkfreefile(struct fs *fs, struct vnode *devvp, ino_t ino) argument [all...] |
/freebsd-current/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 278 ino_t ino; local 301 ino = ip->i_number; /* Save this before vgone() invalidates ip. */ 304 error = VFS_VGET(ap->a_dvp->v_mount, ino, LK_EXCLUSIVE, vpp); 1272 ino_t ino; local 1322 error = ufs_lookup_ino(fdvp, NULL, fcnp, &ino); 1328 error = VFS_VGET(mp, ino, LK_EXCLUSIVE | LK_NOWAIT, &nvp); 1334 error = VFS_VGET(mp, ino, LK_EXCLUSIVE, &nvp); 1348 error = ufs_lookup_ino(tdvp, NULL, tcnp, &ino); 1363 * Get the tvp ino if the lookup succeeded. We may have to restart 1368 error = VFS_VGET(mp, ino, LK_EXCLUSIV [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | sem_new.c | 74 ino_t ino; member in struct:sem_nameinfo 187 ni->ino != sb.st_ino) { 238 ni->ino = sb.st_ino;
|
/freebsd-current/sys/fs/fuse/ |
H A D | fuse_kernel.h | 208 uint64_t ino; member in struct:fuse_attr 799 uint64_t ino; member in struct:fuse_dirent 823 uint64_t ino; member in struct:fuse_notify_inval_inode_out
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | mockfs.cc | 166 printf("%-11s ino=%2" PRIu64, opcode2opname(in.header.opcode), 401 printf("<- INVAL_INODE ino=%" PRIu64 " off=%" PRIi64 403 out.body.inval_inode.ino, 408 printf("<- STORE ino=%" PRIu64 " off=%" PRIu64 843 int MockFS::notify_inval_inode(ino_t ino, off_t off, ssize_t len) 849 out->body.inval_inode.ino = ino; 858 int MockFS::notify_store(ino_t ino, off_t off, const void* data, ssize_t size) 864 out->body.store.nodeid = ino;
|
/freebsd-current/sys/fs/udf/ |
H A D | udf_vfsops.c | 576 udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 588 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); 604 * for same ino by different processes. We just allow them to race 620 unode->hash_id = ino; 630 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); 637 sector = ino + udfmp->part_start; 710 if (ino == udf_getid(&udfmp->root_icb))
|
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_vfsops.c | 526 * Check first ino. 530 "invalid first ino"); 1194 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 1206 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL); 1223 ip->i_number = ino; 1233 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); 1238 if ((error = bread(ump->um_devvp, fsbtodb(fs, ino_to_fsba(fs, ino)), 1253 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ino)), ip); 1260 ip->i_block_group = ino_to_cg(fs, ino);
|
/freebsd-current/sys/fs/smbfs/ |
H A D | smbfs_smb.c | 67 long ino; local 73 for (i = 0, ino = 0; i < 4; i++) 74 ino += state[i]; 75 return dnp->n_ino + ino; 77 u_int32_t ino; 79 ino = dnp->n_ino + smbfs_hash(name, nmlen); 80 if (ino <= 2) 81 ino += 3; 82 return ino;
|
/freebsd-current/usr.sbin/makefs/zfs/ |
H A D | fs.c | 526 assert(cur->inode->ino != 0); 534 fs_populate_dirent(arg, cur, cur->inode->ino); 540 cur->inode->ino = dnid; 902 if (cur->inode->ino == 0) { 903 cur->inode->ino = ++(*countp);
|
/freebsd-current/contrib/mandoc/ |
H A D | compat_fts.c | 508 ino_t ino; local 529 ino = p->fts_ino = sbp->st_ino; 543 if (ino == t->fts_ino && dev == t->fts_dev) {
|
/freebsd-current/crypto/openssl/providers/implementations/rands/seeding/ |
H A D | rand_unix.c | 413 ino_t ino; member in struct:random_device 519 && rd->ino == st.st_ino 543 rd->ino = st.st_ino;
|
/freebsd-current/sys/fs/devfs/ |
H A D | devfs_devs.c | 737 devfs_free_cdp_inode(ino_t ino) argument 740 if (ino > 0) 741 free_unr(devfs_inos, ino);
|
/freebsd-current/usr.bin/fstat/ |
H A D | fstat.c | 74 uint64_t ino; member in struct:devs 255 if (d->ino == vn.vn_fileid) { 631 cur->ino = statbuf.st_ino;
|