/freebsd-9.3-release/lib/libstand/ |
H A D | ext2fs.c | 147 #define ino_to_bgo(fs, ino) (((ino) - 1) % (fs)->fs_ipg) 148 #define ino_to_bg(fs, ino) (((ino) - 1) / (fs)->fs_ipg) 149 #define ino_to_db(fs, bg, ino) \ 150 fsb_to_db(fs, ((bg)[ino_to_bg(fs, ino)].bg_inotbl + \ 151 ino_to_bgo(fs, ino) / (fs)->fs_ipb)) 152 #define ino_to_bo(fs, ino) (ino_to_bgo(fs, ino) % (fs)->fs_ipb)
|
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_dir_sf.h | 63 xfs_intino_t ino; /* this entry's inode number */ member in struct:xfs_dir_sf_sort
|
H A D | xfs_dir_leaf.c | 95 xfs_dir_ino_validate(xfs_mount_t *mp, xfs_ino_t ino) argument 103 agno = XFS_INO_TO_AGNO(mp, ino); 104 agblkno = XFS_INO_TO_AGBNO(mp, ino); 105 ioff = XFS_INO_TO_OFFSET(mp, ino); 112 XFS_AGINO_TO_INO(mp, agno, agino) == ino; 116 (unsigned long long) ino); 444 sbp->ino = dp->i_ino; 455 sbp->ino = XFS_GET_DIR_INO8(sf->hdr.parent); 478 sbp->ino = XFS_GET_DIR_INO8(sfe->inumber); 545 p.ino [all...] |
H A D | xfs_ialloc_btree.c | 1787 xfs_agino_t *ino, /* output: starting inode of chunk */ 1818 *ino = INT_GET(rec->ir_startino, ARCH_CONVERT); 1978 * Lookup the record equal to ino in the btree given by cur. 1983 xfs_agino_t ino, /* starting inode of chunk */ 1988 cur->bc_rec.i.ir_startino = ino; 1995 * Lookup the first record greater than or equal to ino 2001 xfs_agino_t ino, /* starting inode of chunk */ 2006 cur->bc_rec.i.ir_startino = ino; 2013 * Lookup the first record less than or equal to ino 2019 xfs_agino_t ino, /* startin 1785 xfs_inobt_get_rec( xfs_btree_cur_t *cur, xfs_agino_t *ino, __int32_t *fcnt, xfs_inofree_t *free, int *stat) argument 1981 xfs_inobt_lookup_eq( xfs_btree_cur_t *cur, xfs_agino_t ino, __int32_t fcnt, xfs_inofree_t free, int *stat) argument 1999 xfs_inobt_lookup_ge( xfs_btree_cur_t *cur, xfs_agino_t ino, __int32_t fcnt, xfs_inofree_t free, int *stat) argument 2017 xfs_inobt_lookup_le( xfs_btree_cur_t *cur, xfs_agino_t ino, __int32_t fcnt, xfs_inofree_t free, int *stat) argument 2036 xfs_inobt_update( xfs_btree_cur_t *cur, xfs_agino_t ino, __int32_t fcnt, xfs_inofree_t free) argument [all...] |
H A D | xfs_dir.c | 84 xfs_ino_t ino, 359 int namelen, xfs_ino_t ino, xfs_fsblock_t *firstblock, 373 args.inumber = ino; 536 xfs_ino_t ino; local 557 ino = XFS_GET_DIR_INO8(sf->hdr.parent); 558 if (xfs_dir_ino_validate(mp, ino)) 575 ino = XFS_GET_DIR_INO8(sfe->inumber); 576 xfs_dir_ino_validate(mp, ino); 358 xfs_dir_removename(xfs_trans_t *trans, xfs_inode_t *dp, char *name, int namelen, xfs_ino_t ino, xfs_fsblock_t *firstblock, xfs_bmap_free_t *flist, xfs_extlen_t total) argument
|
H A D | xfs_dir2.c | 63 char *name, int namelen, xfs_ino_t ino, 292 xfs_ino_t ino, /* inode number of entry to remove */ 309 args.inumber = ino; 723 idbp->d_fileno = pa->ino; 761 idbp->d_fileno = pa->ino; 287 xfs_dir2_removename( xfs_trans_t *tp, xfs_inode_t *dp, char *name, int namelen, xfs_ino_t ino, xfs_fsblock_t *first, xfs_bmap_free_t *flist, xfs_extlen_t total) argument
|
/freebsd-9.3-release/usr.bin/du/ |
H A D | du.c | 359 ino_t ino; member in struct:links_entry 413 hash = (le->dev ^ le->ino) % new_size; 432 if (le->dev == st->st_dev && le->ino == st->st_ino) { 474 le->ino = st->st_ino;
|
/freebsd-9.3-release/sys/dev/cxgb/ |
H A D | bin2h.pl | 60 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/ |
H A D | xfs_vfs.c | 192 xfs_ino_t ino, 199 return ((*bhvtovfsops(next)->xvfs_get_inode)(next, ino, fl)); 190 xvfs_get_inode( struct bhv_desc *bdp, xfs_ino_t ino, int fl) argument
|
H A D | xfs_super.c | 115 xfs_ino_t ino,
|
/freebsd-9.3-release/sys/sparc64/sbus/ |
H A D | sbus.c | 654 sbus_find_intrmap(struct sbus_softc *sc, u_int ino, bus_addr_t *intrmapptr, argument 660 if (ino > SBUS_MAX_INO) { 662 ino); 666 if ((ino & INTMAP_OBIO_MASK) == 0) { 667 intrmap = SBR_SLOT0_INT_MAP + INTSLOT(ino) * 8; 669 (INTSLOT(ino) * 8 * 8) + (INTPRI(ino) * 8); 675 INTMAP_VEC(sc->sc_ign, ino)) {
|
/freebsd-9.3-release/sys/sparc64/pci/ |
H A D | schizo.c | 91 static int schizo_intr_register(struct schizo_softc *sc, u_int ino); 438 i = OF_getprop(node, "ino-bitmap", (void *)prop_array, 444 * If the ino-bitmap property is missing, just provide the 770 schizo_set_intr(struct schizo_softc *sc, u_int index, u_int ino, argument 780 INTINO(vec = rman_get_start(sc->sc_irq_res[index])) != ino || 790 schizo_intr_register(struct schizo_softc *sc, u_int ino) argument 796 if (schizo_get_intrmap(sc, ino, &intrmap, &intrclr) == 0) 806 ino, (u_long)intrmap, (u_long)SCHIZO_PCI_READ_8(sc, intrmap), 809 error = (intr_controller_register(INTMAP_VEC(sc->sc_ign, ino), 817 schizo_get_intrmap(struct schizo_softc *sc, u_int ino, argument [all...] |
H A D | fire.c | 91 static int fire_get_intrmap(struct fire_softc *sc, u_int ino, 97 static int fire_intr_register(struct fire_softc *sc, u_int ino); 102 static void fire_set_intr(struct fire_softc *sc, u_int index, u_int ino, 348 i = OF_getprop(node, "ino-bitmap", (void *)prop_array, 351 panic("%s: could not get ino-bitmap", __func__); 827 fire_set_intr(struct fire_softc *sc, u_int index, u_int ino, argument 837 INTINO(vec = rman_get_start(sc->sc_irq_res[index])) != ino || 847 fire_intr_register(struct fire_softc *sc, u_int ino) argument 853 if (fire_get_intrmap(sc, ino, &intrmap, &intrclr) == 0) 855 fica = malloc((ino > 871 fire_get_intrmap(struct fire_softc *sc, u_int ino, bus_addr_t *intrmapptr, bus_addr_t *intrclrptr) argument [all...] |
H A D | psycho.c | 731 psycho_find_intrmap(struct psycho_softc *sc, u_int ino, argument 746 if (ino > PSYCHO_MAX_INO) { 748 ino); 764 if (INTINO(PSYCHO_READ8(sc, intrmap)) == ino) { 781 if (((PSYCHO_READ8(sc, intrmap) ^ ino) & 0x3c) == 0) { 782 intrclr += 8 * (ino & 3); 783 diag = (diag >> ((ino & 3) * 2)) & 2;
|
/freebsd-9.3-release/sys/boot/powerpc/boot1.chrp/ |
H A D | boot1.c | 495 ino_t ino; local 498 if ((ino = lookup(fname)) == 0) { 502 if (fsread(ino, &eh, sizeof(eh)) != sizeof(eh)) { 512 if (fsread(ino, &ph, sizeof(ph)) != sizeof(ph)) { 522 if (fsread(ino, p, ph.p_filesz) != ph.p_filesz) {
|
/freebsd-9.3-release/sbin/restore/ |
H A D | tape.c | 513 curfile.ino = maxino; 612 return (genliteraldir(name, curfile.ino)); 1058 extsize, "of extended attributes", curfile.ino, curfile.name); 1087 curfile.ino, curfile.name, strerror(errno)); 1102 curfile.ino, curfile.name, strerror(errno)); 1251 curfile.ino); 1484 fprintf(stderr, "File header, ino %d", previno); 1487 fprintf(stderr, "File continuation header, ino %d", previno); 1524 curfile.ino = 0; 1564 curfile.ino [all...] |
/freebsd-9.3-release/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 621 printf("realloc: ino %d, lbns %jd-%jd\n\told:", ip->i_number, 847 printf("realloc: ino %d, lbns %jd-%jd\n\told:", ip->i_number, 975 ino_t ino, ipref; local 1010 ino = (ino_t)ffs_hashalloc(pip, cg, ipref, mode, 0, 1012 if (ino == 0) 1014 error = ffs_vget(pvp->v_mount, ino, LK_EXCLUSIVE, vpp); 1016 error1 = ffs_vgetf(pvp->v_mount, ino, LK_EXCLUSIVE, vpp, 1018 ffs_vfree(pvp, ino, mode); 1037 fs->fs_fsmnt, (u_long)ino, (long)DIP(ip, i_blocks)); 2133 printf("bad block %jd, ino [all...] |
/freebsd-9.3-release/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 231 ino_t ino; local 253 ino = ip->i_number; /* Save this before vgone() invalidates ip. */ 256 error = VFS_VGET(ap->a_dvp->v_mount, ino, LK_EXCLUSIVE, vpp); 1161 ino_t ino; local 1215 error = ufs_lookup_ino(fdvp, NULL, fcnp, &ino); 1221 error = VFS_VGET(mp, ino, LK_EXCLUSIVE | LK_NOWAIT, &nvp); 1227 error = VFS_VGET(mp, ino, LK_EXCLUSIVE, &nvp); 1241 error = ufs_lookup_ino(tdvp, NULL, tcnp, &ino); 1256 * Get the tvp ino if the lookup succeeded. We may have to restart 1261 error = VFS_VGET(mp, ino, LK_EXCLUSIV [all...] |
/freebsd-9.3-release/sys/fs/ext2fs/ |
H A D | ext2_vfsops.c | 899 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 912 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL); 938 ip->i_number = ino; 947 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); 952 if ((error = bread(ump->um_devvp, fsbtodb(fs, ino_to_fsba(fs, ino)), 967 ino_to_fsbo(fs, ino)), ip); 968 ip->i_block_group = ino_to_cg(fs, ino);
|
/freebsd-9.3-release/sys/fs/ntfs/ |
H A D | ntfs_vfsops.c | 659 ino_t ino, 674 dprintf(("ntfs_vgetex: ino: %d, attr: 0x%x:%s, lkf: 0x%lx, f: 0x%lx\n", 675 ino, attrtype, attrname?attrname:"", (u_long)lkflags, 682 error = ntfs_ntlookup(ntmp, ino, &ip); 748 dprintf(("ntfs_vget: vnode: %p for ntnode: %d\n", vp,ino)); 757 if (ino == NTFS_ROOTINO) 778 ino_t ino, 782 return ntfs_vgetex(mp, ino, NTFS_A_DATA, NULL, lkflags, 0, 657 ntfs_vgetex( struct mount *mp, ino_t ino, u_int32_t attrtype, char *attrname, u_long lkflags, u_long flags, struct thread *td, struct vnode **vpp) argument 776 ntfs_vget( struct mount *mp, ino_t ino, int lkflags, struct vnode **vpp) argument
|
/freebsd-9.3-release/usr.bin/fstat/ |
H A D | fstat.c | 71 uint64_t ino; member in struct:devs 249 if ((unsigned)d->ino == vn.vn_fileid) { 555 cur->ino = statbuf.st_ino;
|
/freebsd-9.3-release/usr.sbin/makefs/ |
H A D | makefs.h | 77 FI_ALLOCATED = 1<<1, /* fsinode->ino allocated */ 82 uint32_t ino; /* inode number used on target fs */ member in struct:__anon10934
|
/freebsd-9.3-release/sys/fs/udf/ |
H A D | udf_vfsops.c | 589 udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument 600 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); 616 * for same ino by different processes. We just allow them to race 632 unode->hash_id = ino; 642 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); 649 sector = ino + udfmp->part_start; 716 if (ino == udf_getid(&udfmp->root_icb))
|
/freebsd-9.3-release/sbin/newfs/ |
H A D | mkfs.c | 996 iput(union dinode *ip, ino_t ino) argument 1007 setbit(cg_inosused(&acg), ino); local 1012 if (ino >= (unsigned long)sblock.fs_ipg * sblock.fs_ncg) { 1013 printf("fsinit: inode value out of range (%d).\n", ino); 1016 d = fsbtodb(&sblock, ino_to_fsba(&sblock, ino)); 1019 ((struct ufs1_dinode *)iobuf)[ino_to_fsbo(&sblock, ino)] = 1022 ((struct ufs2_dinode *)iobuf)[ino_to_fsbo(&sblock, ino)] =
|
/freebsd-9.3-release/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;
|