/freebsd-10.1-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;
|
/freebsd-10.1-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-10.1-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-10.1-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-10.1-release/sys/fs/cd9660/ |
H A D | cd9660_node.c | 57 * Last reference to an inode, write the inode out and if necessary, 72 * If we are done with the inode, reclaim it 75 if (ip->inode.iso_mode == 0) 81 * Reclaim an inode so that it can be used for other purposes. 97 * Remove the inode from its hash chain. 102 * Purge old data structures associated with the inode. 127 inop->inode.iso_mode = S_IFDIR; 132 inop->inode.iso_links = 1; 134 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-10.1-release/sys/ofed/include/linux/ |
H A D | fs.h | 52 #define inode vnode macro 62 struct inode *d_inode; 107 int (*open)(struct inode *, struct file *); 108 int (*release)(struct inode *, struct file *); 124 int (*ioctl)(struct inode *, struct file *, unsigned int, 174 nonseekable_open(struct inode *inode, struct file *filp) argument 180 iminor(struct inode *inode) argument 183 return dev2unit(inode 187 igrab(struct inode *inode) argument 199 iput(struct inode *inode) argument [all...] |
/freebsd-10.1-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-10.1-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-10.1-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 = inode.i_number; 103 vn->vn_mode = (mode_t)inode.i_mode; 104 vn->vn_size = inode [all...] |
/freebsd-10.1-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-10.1-release/sys/fs/nandfs/ |
H A D | nandfs_ifile.c | 61 struct nandfs_inode *inode; local 72 /* Allocate new inode in ifile */ 87 inode = ((struct nandfs_inode *) req.bp_entry->b_data) + entry; 88 nandfs_inode_init(inode, mode); 157 struct nandfs_inode *inode; local 178 inode = ((struct nandfs_inode *) req.bp_entry->b_data) + index; 179 memcpy(inode, &node->nn_inode, sizeof(*inode)); 186 nandfs_get_node_entry(struct nandfsmount *nmp, struct nandfs_inode **inode, argument 208 *inode [all...] |
H A D | nandfs_subr.c | 629 uint64_t ino, struct nandfs_inode *inode, struct nandfs_node **nodep) 681 if (inode != NULL) 682 node->nn_inode = *inode; 699 struct nandfs_inode inode, *entry; local 727 /* Look up inode structure in mountpoints ifile */ 740 /* Get inode entry */ 742 memcpy(&inode, entry, sizeof(struct nandfs_inode)); 747 error = nandfs_get_node_raw(nmp->nm_nandfsdev, nmp, ino, &inode, nodep); 837 (ndirent->inode != 0)) { 838 *ino = ndirent->inode; 628 nandfs_get_node_raw(struct nandfs_device *nandfsdev, struct nandfsmount *nmp, uint64_t ino, struct nandfs_inode *inode, struct nandfs_node **nodep) argument 871 nandfs_inode_init(struct nandfs_inode *inode, uint16_t mode) argument 895 nandfs_inode_destroy(struct nandfs_inode *inode) argument [all...] |
/freebsd-10.1-release/lib/libstand/ |
H A D | nandfs.c | 63 struct nandfs_inode *inode; member in struct:nandfs_node 343 fs->nf_datfile.inode = &fs->nf_sroot.sr_dat; 345 fs->nf_cpfile.inode = &fs->nf_sroot.sr_cpfile; 361 fs->nf_ifile.inode = &fs->nf_checkpoint.cp_ifile_inode; 425 free(node->inode); 461 if (fs->nf_offset >= fs->nf_opened_node->inode->i_size) 494 size = fs->nf_opened_node->inode->i_size; 529 sb->st_size = fs->nf_opened_node->inode->i_size; 530 sb->st_mode = fs->nf_opened_node->inode->i_mode; 531 sb->st_uid = fs->nf_opened_node->inode 606 struct nandfs_inode *inode; local 636 uint64_t i, done, pinode, inode; local [all...] |
/freebsd-10.1-release/sbin/newfs_nandfs/ |
H A D | newfs_nandfs.c | 80 struct nandfs_inode *inode; member in struct:file_info 450 file->inode->i_db[i] = vblock; 454 file->inode->i_db[i] = datfile.blocks[i]; 593 datfile.inode = &sr->sr_dat; 594 cpfile.inode = &sr->sr_cpfile; 595 sufile.inode = &sr->sr_sufile; 614 de->inode = ino; 631 de->inode = parent_ino; 640 de->inode = ino; 742 ifile.inode 754 init_inode(struct nandfs_inode *inode, struct file_info *file) argument 777 struct nandfs_inode *inode; local [all...] |
/freebsd-10.1-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...] |