/freebsd-9.3-release/sys/ufs/ufs/ |
H A D | ufs_extern.h | 39 struct inode; 60 int ufs_checkpath(ino_t, ino_t, struct inode *, struct ucred *, ino_t *); 61 void ufs_dirbad(struct inode *, doff_t, char *); 63 int ufs_dirempty(struct inode *, ino_t, struct ucred *); 66 void ufs_makedirentry(struct inode *, struct componentname *, 70 int ufs_dirremove(struct vnode *, struct inode *, int, int); 71 int ufs_dirrewrite(struct inode *, struct inode *, ino_t, int, int); 82 void ffs_snapgone(struct inode *); 93 int softdep_setup_directory_add(struct buf *, struct inode *, off_ [all...] |
H A D | dirhash.h | 119 int ufsdirhash_build(struct inode *); 120 doff_t ufsdirhash_findfree(struct inode *, int, int *); 121 doff_t ufsdirhash_enduseful(struct inode *); 122 int ufsdirhash_lookup(struct inode *, char *, int, doff_t *, struct buf **, 124 void ufsdirhash_newblk(struct inode *, doff_t); 125 void ufsdirhash_add(struct inode *, struct direct *, doff_t); 126 void ufsdirhash_remove(struct inode *, struct direct *, doff_t); 127 void ufsdirhash_move(struct inode *, struct direct *, doff_t, doff_t); 128 void ufsdirhash_dirtrunc(struct inode *, doff_t); 129 void ufsdirhash_free(struct inode *); [all...] |
H A D | acl.h | 42 void ufs_sync_acl_from_inode(struct inode *ip, struct acl *acl); 43 void ufs_sync_inode_from_acl(struct acl *acl, struct inode *ip);
|
H A D | ufs_gjournal.c | 42 #include <ufs/ufs/inode.h> 60 struct inode *ip; 108 struct inode *ip; 127 struct inode *ip;
|
H A D | inode.h | 34 * @(#)inode.h 8.9 (Berkeley) 5/14/95 51 * The inode is used to describe each active (or recently active) file in the 59 * An inode may only be changed while holding either the exclusive 66 struct inode { struct 67 TAILQ_ENTRY(inode) i_nextsnap; /* snapshot file list. */ 68 struct vnode *i_vnode;/* Vnode associated with this inode. */ 69 struct ufsmount *i_ump;/* Ufsmount point associated with this inode. */ 71 struct cdev *i_dev; /* Device associated with the inode. */ 72 ino_t i_number; /* The identity of the inode. */ 109 * The real copy of the on-disk inode [all...] |
/freebsd-9.3-release/sys/fs/ext2fs/ |
H A D | ext2_extern.h | 46 struct inode; 52 int ext2_alloc(struct inode *, daddr_t, e4fs_daddr_t, int, 54 int ext2_balloc(struct inode *, 57 void ext2_blkfree(struct inode *, e4fs_daddr_t, long); 58 e4fs_daddr_t ext2_blkpref(struct inode *, e2fs_lbn_t, int, e2fs_daddr_t *, 63 void ext2_dirbad(struct inode *ip, doff_t offset, char *how); 64 void ext2_ei2i(struct ext2fs_dinode *, struct inode *); 66 void ext2_i2ei(struct inode *, struct ext2fs_dinode *); 77 void ext2_print_inode(struct inode *); 78 int ext2_direnter(struct inode *, [all...] |
H A D | ext2_extents.h | 92 struct inode; 94 int ext4_ext_in_cache(struct inode *, daddr_t, struct ext4_extent *); 95 void ext4_ext_put_cache(struct inode *, struct ext4_extent *, int); 97 struct inode *, daddr_t, struct ext4_extent_path *);
|
H A D | ext2_extents.c | 41 #include <fs/ext2fs/inode.h> 46 static void ext4_ext_binsearch_index(struct inode *ip, struct ext4_extent_path 66 ext4_ext_binsearch(struct inode *ip, struct ext4_extent_path *path, daddr_t lbn) 91 ext4_ext_in_cache(struct inode *ip, daddr_t lbn, struct ext4_extent *ep) 116 ext4_ext_put_cache(struct inode *ip, struct ext4_extent *ep, int type) 131 ext4_ext_find_extent(struct m_ext2fs *fs, struct inode *ip,
|
/freebsd-9.3-release/usr.sbin/makefs/ffs/ |
H A D | ffs_extern.h | 38 struct inode; 53 int ffs_alloc(struct inode *, daddr_t, daddr_t, int, daddr_t *); 54 daddr_t ffs_blkpref_ufs1(struct inode *, daddr_t, int, int32_t *); 55 daddr_t ffs_blkpref_ufs2(struct inode *, daddr_t, int, int64_t *); 56 void ffs_blkfree(struct inode *, daddr_t, long); 60 int ffs_balloc(struct inode *, off_t, int, struct buf **); 77 int ufs_getlbns(struct inode *, daddr_t, struct indir *, int *);
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/rename/ |
H A D | 10.t | 31 inode=`${fstest} lstat ${n0}/${n2} inode` 36 expect ENOENT lstat ${n0}/${n2} inode 37 expect ${inode} lstat ${n1}/${n3} inode 39 expect ${inode} lstat ${n0}/${n2} inode 40 expect ENOENT lstat ${n1}/${n3} inode 49 inode=`${fstest} lstat ${n0}/${n2} inode` [all...] |
H A D | 00.t | 23 inode=`${fstest} lstat ${n0} inode` 26 expect ${type},${inode},0644,1 lstat ${n1} type,inode,mode,nlink 28 expect ${type},${inode},0644,2 lstat ${n0} type,inode,mode,nlink 29 expect ${type},${inode},0644,2 lstat ${n1} type,inode,mode,nlink 31 expect ${type},${inode},0644,2 lstat ${n0} type,inode,mod [all...] |
H A D | 09.t | 32 inode=`${fstest} lstat ${n0}/${n2} inode` 37 expect ENOENT lstat ${n0}/${n2} inode 38 expect ${inode},65534,65534 lstat ${n1}/${n3} inode,uid,gid 40 expect ${inode} lstat ${n0}/${n2} inode 41 expect ENOENT lstat ${n1}/${n3} inode 50 inode=`${fstest} lstat ${n0}/${n2} inode` [all...] |
/freebsd-9.3-release/sys/fs/cd9660/ |
H A D | cd9660_node.c | 57 * Last reference to an inode, write the inode out and if necessary, 73 * If we are done with the inode, reclaim it 76 if (ip->inode.iso_mode == 0) 82 * Reclaim an inode so that it can be used for other purposes. 98 * Remove the inode from its hash chain. 103 * Purge old data structures associated with the inode. 128 inop->inode.iso_mode = S_IFDIR; 133 inop->inode.iso_links = 1; 135 inop->inode [all...] |
H A D | cd9660_rrip.c | 91 ana->inop->inode.iso_mode = isonum_733(p->mode); 92 ana->inop->inode.iso_uid = isonum_733(p->uid); 93 ana->inop->inode.iso_gid = isonum_733(p->gid); 94 ana->inop->inode.iso_links = isonum_733(p->links); 353 cd9660_tstamp_conv7(ptime,&ana->inop->inode.iso_mtime, 357 bzero(&ana->inop->inode.iso_mtime,sizeof(struct timespec)); 360 cd9660_tstamp_conv7(ptime,&ana->inop->inode.iso_atime, 364 ana->inop->inode.iso_atime = ana->inop->inode.iso_mtime; 367 cd9660_tstamp_conv7(ptime,&ana->inop->inode [all...] |
/freebsd-9.3-release/sys/ofed/include/linux/ |
H A D | fs.h | 51 #define inode vnode macro 61 struct inode *d_inode; 106 int (*open)(struct inode *, struct file *); 107 int (*release)(struct inode *, struct file *); 117 int (*ioctl)(struct inode *, struct file *, unsigned int, 158 iminor(struct inode *inode) argument 161 return dev2unit(inode->v_rdev); 164 static inline struct inode * 165 igrab(struct inode *inod argument 177 iput(struct inode *inode) argument [all...] |
/freebsd-9.3-release/sys/ufs/ffs/ |
H A D | ffs_extern.h | 44 struct inode; 56 int ffs_alloc(struct inode *, ufs2_daddr_t, ufs2_daddr_t, int, int, 65 ufs2_daddr_t ffs_blkpref_ufs1(struct inode *, ufs_lbn_t, int, ufs1_daddr_t *); 66 ufs2_daddr_t ffs_blkpref_ufs2(struct inode *, ufs_lbn_t, int, ufs2_daddr_t *); 79 void ffs_load_inode(struct buf *, struct inode *, struct fs *, ino_t); 84 int ffs_realloccg(struct inode *, ufs2_daddr_t, ufs2_daddr_t, 130 void softdep_update_inodeblock(struct inode *, struct buf *, int); 131 void softdep_load_inodeblock(struct inode *); 135 void softdep_setup_freeblocks(struct inode *, off_t, int); 136 void softdep_setup_inomapdep(struct buf *, struct inode *, ino_ [all...] |
/freebsd-9.3-release/lib/libufs/ |
H A D | inode.c | 50 getino(struct uufsd *disk, void **dino, ino_t inode, int *mode) argument 68 ERROR(disk, "unable to allocate inode block"); 73 if (inode >= min && inode < max) 75 bread(disk, fsbtodb(fs, ino_to_fsba(fs, inode)), inoblock, 77 disk->d_inomin = min = inode - (inode % INOPB(fs)); 81 dp1 = &((struct ufs1_dinode *)inoblock)[inode - min]; 86 dp2 = &((struct ufs2_dinode *)inoblock)[inode - min]; 104 ERROR(disk, "No inode bloc [all...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/ |
H A D | xfs_iops.h | 58 extern int xfs_ioctl(struct bhv_desc *, struct inode *, struct file *,
|
H A D | xfs_fs_subr.c | 75 struct inode *ip = LINVFS_GET_IP(vp); 96 struct inode *ip = LINVFS_GET_IP(vp); 122 struct inode *ip = LINVFS_GET_IP(vp);
|
H A D | xfs_ioctl.c | 100 struct inode *inode; local 149 if (inode->i_sb->s_magic != XFS_SB_MAGIC) { 151 iput(inode); 155 switch (inode->i_mode & S_IFMT) { 161 iput(inode); 165 vp = vn_from_inode(inode); 180 /* fill in fid section of handle from inode */ 195 iput(inode); 199 iput(inode); 216 xfs_vget_fsop_handlereq( xfs_mount_t *mp, struct inode *parinode, xfs_fsop_handlereq_t *hreq, xfs_vnode_t **vp, struct inode **inode) argument 392 struct inode *inode; local 747 xfs_ioctl( bhv_desc_t *bdp, struct inode *inode, struct file *filp, int ioflags, u_long cmd, void *arg) argument 1449 xfs_ioctl( bhv_desc_t *bdp, struct inode *inode, struct file *filp, int ioflags, u_long cmd, unsigned long arg) argument [all...] |
/freebsd-9.3-release/lib/libprocstat/ |
H A D | common_kvm.c | 47 #include <ufs/ufs/inode.h> 90 struct inode inode; local 92 if (!kvm_read_all(kd, (unsigned long)VTOI(vp), &inode, sizeof(inode))) { 93 warnx("can't read inode at %p", (void *)VTOI(vp)); 101 vn->vn_fsid = dev2udev(kd, inode.i_dev); 102 vn->vn_fileid = (long)inode.i_number; 103 vn->vn_mode = (mode_t)inode.i_mode; 104 vn->vn_size = (u_long)inode [all...] |
/freebsd-9.3-release/usr.sbin/makefs/ |
H A D | walk.c | 185 curino = link_check(cur->inode); 187 free(cur->inode); 188 cur->inode = curino; 189 cur->inode->nlink++; 226 (cur->inode = calloc(1, sizeof(fsinode))) == NULL) 230 cur->inode->nlink = 1; 231 cur->inode->st = *stbuf; 273 if (cur->inode->nlink-- == 1) 274 free(cur->inode); 481 dirnode->inode [all...] |
H A D | ffs.c | 115 #define DFL_FRAGSPERINODE 4 /* fragments per inode */ 191 "bytes per inode" }, 603 } else if ((node->inode->flags & FI_SIZED) == 0) { 605 node->inode->flags |= FI_SIZED; 609 (long long)node->inode->st.st_size); 612 ADDSIZE(node->inode->st.st_size); 641 dinp->di_mode = cur->inode->st.st_mode; 642 dinp->di_nlink = cur->inode->nlink; 643 dinp->di_size = cur->inode->st.st_size; 644 dinp->di_atime = cur->inode [all...] |
H A D | cd9660.c | 871 newnode->fileDataLength = node->inode->st.st_size; 877 cd9660_time_915(newnode->isoDirRecord->date, node->inode->st.st_mtime); 1292 /* TODO: Inherit permissions / ownership (basically the entire inode) */ 1803 fsinode *inode; local 1884 inode = child->node->inode; 1885 if ((inode->flags & FI_ALLOCATED) == 0) { 1886 inode->ino = 1889 inode->flags |= FI_ALLOCATED; 1893 INODE_WARNX(("%s: already allocated inode [all...] |
/freebsd-9.3-release/sbin/ffsinfo/ |
H A D | ffsinfo.c | 316 /* Dump the requested inode(s) */ 335 * Here we dump a list of all blocks allocated by this inode. We follow 339 dump_whole_ufs1_inode(ino_t inode, int level) argument 351 * Read the inode from disk/cache. 353 if (getino(&disk, (void **)&ino, inode, &mode) == -1) 358 return; /* inode not in use */ 362 * Dump the main inode structure. 364 snprintf(comment, sizeof(comment), "Inode 0x%08x", inode); 389 inode); 405 inode); 491 dump_whole_ufs2_inode(ino_t inode, int level) argument [all...] |