/freebsd-11-stable/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 | inode.h | 34 * @(#)inode.h 8.9 (Berkeley) 5/14/95 35 * $FreeBSD: stable/11/sys/ufs/ufs/inode.h 362050 2020-06-11 11:45:30Z kib $ 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. */ 76 * The real copy of the on-disk inode. 83 ino_t i_number; /* The identity of the inode [all...] |
/freebsd-11-stable/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-11-stable/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 daddr_t ext2_allocfacl(struct inode *ip); 55 int ext2_balloc(struct inode *, 58 void ext2_blkfree(struct inode *, e4fs_daddr_t, long); 59 e4fs_daddr_t ext2_blkpref(struct inode *, e2fs_lbn_t, int, e2fs_daddr_t *, 64 void ext2_dirbad(struct inode *ip, doff_t offset, char *how); 66 void ext2_ei2i(struct ext2fs_dinode *, struct inode *); 68 int ext2_i2ei(struct inode *, struct ext2fs_dinode *); 80 void ext2_print_inode(struct inode *); [all...] |
H A D | ext2_extattr.h | 98 int ext2_extattr_inode_delete(struct inode *ip, int attrnamespace, 101 int ext2_extattr_block_delete(struct inode *ip, int attrnamespace, 104 int ext2_extattr_free(struct inode *ip); 105 int ext2_extattr_inode_list(struct inode *ip, int attrnamespace, 108 int ext2_extattr_block_list(struct inode *ip, int attrnamespace, 111 int ext2_extattr_inode_get(struct inode *ip, int attrnamespace, 114 int ext2_extattr_block_get(struct inode *ip, int attrnamespace, 117 int ext2_extattr_inode_set(struct inode *ip, int attrnamespace, 120 int ext2_extattr_block_set(struct inode *ip, int attrnamespace,
|
H A D | ext2_extents.h | 96 struct inode; 98 int ext4_ext_in_cache(struct inode *, daddr_t, struct ext4_extent *); 99 void ext4_ext_put_cache(struct inode *, struct ext4_extent *, int); 102 struct inode *, daddr_t, struct ext4_extent_path *);
|
H A D | ext2_acl.h | 49 void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl);
|
/freebsd-11-stable/contrib/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-11-stable/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-11-stable/lib/libufs/ |
H A D | inode.c | 29 __FBSDID("$FreeBSD: stable/11/lib/libufs/inode.c 332638 2018-04-17 00:03:32Z mckusick $"); 50 getino(struct uufsd *disk, void **dino, ino_t inode, int *mode) argument 61 if (inode >= (ino_t)fs->fs_ipg * fs->fs_ncg) { 62 ERROR(disk, "inode number out of range"); 72 ERROR(disk, "unable to allocate inode block"); 77 if (inode >= min && inode < max) 79 bread(disk, fsbtodb(fs, ino_to_fsba(fs, inode)), inoblock, 81 disk->d_inomin = min = inode - (inode [all...] |
/freebsd-11-stable/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); 83 int ffs_realloccg(struct inode *, ufs2_daddr_t, ufs2_daddr_t, 132 void softdep_update_inodeblock(struct inode *, struct buf *, int); 133 void softdep_load_inodeblock(struct inode *); 137 void softdep_setup_freeblocks(struct inode *, off_t, int); 138 void softdep_setup_inomapdep(struct buf *, struct inode *, ino_ [all...] |
/freebsd-11-stable/lib/libprocstat/ |
H A D | common_kvm.c | 47 #include <ufs/ufs/inode.h> 92 struct inode inode; local 95 if (!kvm_read_all(kd, (unsigned long)VTOI(vp), &inode, sizeof(inode))) { 96 warnx("can't read inode at %p", (void *)VTOI(vp)); 99 if (!kvm_read_all(kd, (unsigned long)inode.i_ump, &um, sizeof(um))) { 100 warnx("can't read ufsmount at %p", (void *)inode.i_ump); 109 vn->vn_fileid = inode.i_number; 110 vn->vn_mode = (mode_t)inode [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 60 #define inode vnode macro 142 int (*open)(struct inode *, struct file *); 143 int (*release)(struct inode *, struct file *); 159 int (*ioctl)(struct inode *, struct file *, unsigned int, 242 nonseekable_open(struct inode *inode, struct file *filp) argument 247 extern unsigned int linux_iminor(struct inode *); 258 static inline struct inode * 259 igrab(struct inode *inode) argument 271 iput(struct inode *inode) argument [all...] |
/freebsd-11-stable/usr.sbin/makefs/ |
H A D | walk.c | 188 curino = link_check(cur->inode); 190 free(cur->inode); 191 cur->inode = curino; 192 cur->inode->nlink++; 228 cur->inode = ecalloc(1, sizeof(*cur->inode)); 231 cur->inode->nlink = 1; 232 cur->inode->st = *stbuf; 234 cur->inode->st.st_atime = stampst.st_atime; 235 cur->inode [all...] |
H A D | ffs.c | 116 #define DFL_FRAGSPERINODE 4 /* fragments per inode */ 161 1, INT_MAX, "bytes per inode" }, 616 } else if ((node->inode->flags & FI_SIZED) == 0) { 618 node->inode->flags |= FI_SIZED; 622 (long long)node->inode->st.st_size); 625 ADDSIZE(node->inode->st.st_size); 652 struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st; 655 dinp->di_mode = cur->inode->st.st_mode; 656 dinp->di_nlink = cur->inode->nlink; 657 dinp->di_size = cur->inode [all...] |
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_debugfs.c | 118 static int debugfs_log_open(struct inode *inode, struct file *file) argument 120 return single_open(file, debugfs_log_show, inode->i_private); 203 static int debugfs_usecount_open(struct inode *inode, struct file *file) argument 205 return single_open(file, debugfs_usecount_show, inode->i_private); 227 static int debugfs_trace_open(struct inode *inode, struct file *file) argument 229 return single_open(file, debugfs_trace_show, inode->i_private);
|
/freebsd-11-stable/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...] |
/freebsd-11-stable/stand/libsa/ |
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-11-stable/sbin/newfs_nandfs/ |
H A D | newfs_nandfs.c | 82 struct nandfs_inode *inode; member in struct:file_info 452 file->inode->i_db[i] = vblock; 456 file->inode->i_db[i] = datfile.blocks[i]; 597 datfile.inode = &sr->sr_dat; 598 cpfile.inode = &sr->sr_cpfile; 599 sufile.inode = &sr->sr_sufile; 618 de->inode = ino; 635 de->inode = parent_ino; 644 de->inode = ino; 746 ifile.inode 758 init_inode(struct nandfs_inode *inode, struct file_info *file) argument 781 struct nandfs_inode *inode; local [all...] |
/freebsd-11-stable/sbin/ffsinfo/ |
H A D | ffsinfo.c | 317 /* Dump the requested inode(s) */ 336 * Here we dump a list of all blocks allocated by this inode. We follow 340 dump_whole_ufs1_inode(ino_t inode, int level) argument 352 * Read the inode from disk/cache. 354 if (getino(&disk, (void **)&ino, inode, &mode) == -1) 359 return; /* inode not in use */ 363 * Dump the main inode structure. 365 snprintf(comment, sizeof(comment), "Inode 0x%08jx", (uintmax_t)inode); 390 (uintmax_t)inode); 406 (uintmax_t)inode); 494 dump_whole_ufs2_inode(ino_t inode, int level) argument [all...] |