/freebsd-current/sys/ufs/ufs/ |
H A D | ufs_extern.h | 38 struct inode; 59 int ufs_checkpath(ino_t, ino_t, struct inode *, struct ucred *, ino_t *); 60 void ufs_dirbad(struct inode *, doff_t, char *); 62 int ufs_dirempty(struct inode *, ino_t, struct ucred *); 65 void ufs_makedirentry(struct inode *, struct componentname *, 69 int ufs_dirremove(struct vnode *, struct inode *, int, int); 70 int ufs_dirrewrite(struct inode *, struct inode *, ino_t, int, int); 81 void ffs_snapgone(struct inode *); 92 int softdep_setup_directory_add(struct buf *, struct inode *, off_ [all...] |
H A D | dirhash.h | 118 int ufsdirhash_build(struct inode *); 119 doff_t ufsdirhash_findfree(struct inode *, int, int *); 120 doff_t ufsdirhash_enduseful(struct inode *); 121 int ufsdirhash_lookup(struct inode *, char *, int, doff_t *, struct buf **, 123 void ufsdirhash_newblk(struct inode *, doff_t); 124 void ufsdirhash_add(struct inode *, struct direct *, doff_t); 125 void ufsdirhash_remove(struct inode *, struct direct *, doff_t); 126 void ufsdirhash_move(struct inode *, struct direct *, doff_t, doff_t); 127 void ufsdirhash_dirtrunc(struct inode *, doff_t); 128 void ufsdirhash_free(struct inode *); [all...] |
H A D | acl.h | 40 struct inode; 46 void ufs_sync_acl_from_inode(struct inode *ip, struct acl *acl); 47 void ufs_sync_inode_from_acl(struct acl *acl, struct inode *ip);
|
H A D | inode.h | 64 * The inode is used to describe each active (or recently active) file in the 72 * An inode may only be changed while holding either the exclusive 79 struct inode { struct 80 TAILQ_ENTRY(inode) i_nextsnap; /* Snapshot file list. */ 81 struct vnode *i_vnode; /* Vnode associated with this inode. */ 82 struct ufsmount *i_ump; /* Ufsmount point associated with this inode. */ 89 * The real copy of the on-disk inode. 96 ino_t i_number; /* The identity of the inode. */ 152 #define IN_IBLKDATA 0x0800 /* datasync requires inode block 173 struct inode *_i [all...] |
/freebsd-current/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 e4fs_daddr_t ext2_alloc_meta(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 *, 66 void ext2_dirbad(struct inode *ip, doff_t offset, char *how); 67 int ext2_ei2i(struct ext2fs_dinode *, struct inode *); 69 int ext2_i2ei(struct inode *, struct ext2fs_dinode *); 81 void ext2_print_inode(struct inode *); [all...] |
H A D | ext2_extattr.h | 99 int ext2_extattr_inode_delete(struct inode *ip, int attrnamespace, 102 int ext2_extattr_block_delete(struct inode *ip, int attrnamespace, 105 int ext2_extattr_free(struct inode *ip); 106 int ext2_extattr_inode_list(struct inode *ip, int attrnamespace, 109 int ext2_extattr_block_list(struct inode *ip, int attrnamespace, 112 int ext2_extattr_inode_get(struct inode *ip, int attrnamespace, 115 int ext2_extattr_block_get(struct inode *ip, int attrnamespace, 118 int ext2_extattr_inode_set(struct inode *ip, int attrnamespace, 121 int ext2_extattr_block_set(struct inode *ip, int attrnamespace,
|
H A D | ext2_extents.h | 118 struct inode; 120 void ext4_ext_tree_init(struct inode *ip); 121 int ext4_ext_in_cache(struct inode *, daddr_t, struct ext4_extent *); 122 void ext4_ext_put_cache(struct inode *, struct ext4_extent *, int); 123 int ext4_ext_find_extent(struct inode *, daddr_t, struct ext4_extent_path **); 125 int ext4_ext_remove_space(struct inode *ip, off_t length, int flags, 127 int ext4_ext_get_blocks(struct inode *ip, int64_t iblock, 131 int ext4_ext_walk(struct inode *ip);
|
H A D | ext2_acl.h | 49 void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl);
|
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_ctldir.h | 55 extern struct inode *zfsctl_root(znode_t *); 58 extern boolean_t zfsctl_is_node(struct inode *ip); 59 extern boolean_t zfsctl_is_snapdir(struct inode *ip); 60 extern int zfsctl_fid(struct inode *ip, fid_t *fidp); 63 extern int zfsctl_root_lookup(struct inode *dip, const char *name, 64 struct inode **ipp, int flags, cred_t *cr, int *direntflags, 68 extern int zfsctl_snapdir_lookup(struct inode *dip, const char *name, 69 struct inode **ipp, int flags, cred_t *cr, int *direntflags, 71 extern int zfsctl_snapdir_rename(struct inode *sdip, const char *sname, 72 struct inode *tdi [all...] |
H A D | policy.h | 42 int secpolicy_vnode_access2(const cred_t *, struct inode *, 44 int secpolicy_vnode_any_access(const cred_t *, struct inode *, uid_t); 56 int secpolicy_setid_setsticky_clear(struct inode *, vattr_t *, 59 int secpolicy_vnode_setattr(cred_t *, struct inode *, struct vattr *,
|
H A D | zfs_vnops_os.h | 41 extern int zfs_open(struct inode *ip, int mode, int flag, cred_t *cr); 42 extern int zfs_close(struct inode *ip, int flag, cred_t *cr); 50 extern int zfs_tmpfile(struct inode *dip, vattr_t *vapzfs, int excl, 51 int mode, struct inode **ipp, cred_t *cr, int flag, vsecattr_t *vsecp, 58 extern int zfs_readdir(struct inode *ip, zpl_dir_context_t *ctx, cred_t *cr); 60 extern int zfs_getattr_fast(zidmap_t *, u32 request_mask, struct inode *ip, 63 extern int zfs_getattr_fast(zidmap_t *, struct inode *ip, struct kstat *sp); 72 extern int zfs_readlink(struct inode *ip, zfs_uio_t *uio, cred_t *cr); 75 extern void zfs_inactive(struct inode *ip); 78 extern int zfs_fid(struct inode *i [all...] |
H A D | zfs_znode_impl.h | 53 struct inode z_inode; 57 struct inode z_inode; \ 62 * Convert between znode pointers and inode pointers 65 #define ITOZ(inode) (container_of((inode), znode_t, z_inode)) 67 #define ITOZSB(inode) ((zfsvfs_t *)((inode)->i_sb->s_fs_info)) 94 * inode is in the process of being deleted. As zhold() must only be 95 * called when a ref already exists - so the inode cannot be 101 /* Called on entry to each ZFS inode an [all...] |
/freebsd-current/usr.sbin/makefs/ffs/ |
H A D | ffs_extern.h | 37 struct inode; 52 int ffs_alloc(struct inode *, daddr_t, daddr_t, int, daddr_t *); 53 daddr_t ffs_blkpref_ufs1(struct inode *, daddr_t, int, int32_t *); 54 daddr_t ffs_blkpref_ufs2(struct inode *, daddr_t, int, int64_t *); 55 void ffs_blkfree(struct inode *, daddr_t, long); 59 int ffs_balloc(struct inode *, off_t, int, struct m_buf **); 76 int ufs_getlbns(struct inode *, daddr_t, struct indir *, int *);
|
/freebsd-current/contrib/pjdfstest/tests/rename/ |
H A D | 10.t | 32 inode=`${fstest} lstat ${n0}/${n2} inode` 37 expect ENOENT lstat ${n0}/${n2} inode 38 expect ${inode} lstat ${n1}/${n3} inode 40 expect ${inode} lstat ${n0}/${n2} inode 41 expect ENOENT lstat ${n1}/${n3} inode 50 inode=`${fstest} lstat ${n0}/${n2} inode` [all...] |
H A D | 00.t | 24 inode=`${fstest} lstat ${n0} inode` 27 expect ${type},${inode},0644,1 lstat ${n1} type,inode,mode,nlink 29 expect ${type},${inode},0644,2 lstat ${n0} type,inode,mode,nlink 30 expect ${type},${inode},0644,2 lstat ${n1} type,inode,mode,nlink 32 expect ${type},${inode},0644,2 lstat ${n0} type,inode,mod [all...] |
H A D | 09.t | 33 inode=`${fstest} lstat ${n0}/${n2} inode` 38 expect ENOENT lstat ${n0}/${n2} inode 39 expect ${inode},65534,65534 lstat ${n1}/${n3} inode,uid,gid 41 expect ${inode} lstat ${n0}/${n2} inode 42 expect ENOENT lstat ${n1}/${n3} inode 51 inode=`${fstest} lstat ${n0}/${n2} inode` [all...] |
/freebsd-current/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
H A D | dcache_compat.h | 35 #define d_make_root(inode) d_alloc_root(inode) 95 * Walk and invalidate all dentry aliases of an inode 99 zpl_d_drop_aliases(struct inode *inode) argument 102 spin_lock(&inode->i_lock); 103 hlist_for_each_entry(dentry, &inode->i_dentry, d_alias) { 105 (dentry->d_inode == inode)) { 109 spin_unlock(&inode->i_lock);
|
H A D | xattr_compat.h | 81 * inode, because the dentry might not be attached to an inode yet. 87 struct inode *inode, const char *name, void *buffer, size_t size) \ 89 return (__ ## fn(inode, name, buffer, size)); \ 108 * instead of an inode, and a handler_flags argument was added. 120 * The xattr_handler->get() callback was changed to take a dentry and inode 121 * and flags, because the dentry might not be attached to an inode yet. 127 struct inode *inode, cons [all...] |
/freebsd-current/sys/fs/cd9660/ |
H A D | cd9660_node.c | 54 * Last reference to an inode, write the inode out and if necessary, 65 * If we are done with the inode, reclaim it 68 if (ip->inode.iso_mode == 0) 74 * Reclaim an inode so that it can be used for other purposes. 82 * Remove the inode from its hash chain. 87 * Purge old data structures associated with the inode. 109 inop->inode.iso_mode = S_IFDIR; 114 inop->inode.iso_links = 1; 116 inop->inode [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/utils_test/ |
H A D | utils_test_001_pos.ksh | 66 inode=`$LS -i $TESTDIR/$TESTFILE.0 | $AWK '{print $1}'` 67 log_mustnot $CLRI /dev/$DISK $inode 68 log_mustnot $CLRI -F zfs /dev/$DISK $inode
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | seq_file.h | 36 #define inode vnode macro 41 static int __name ## _open(struct inode *inode, struct linux_file *file) \ 43 return single_open(file, __name ## _show, inode->i_private); \ 76 int seq_release_private(struct inode *, struct linux_file *); 79 int seq_release(struct inode *inode, struct linux_file *file); 84 int single_release(struct inode *, struct linux_file *);
|
H A D | fs.h | 61 #define inode vnode macro 144 int (*open)(struct inode *, struct file *); 145 int (*release)(struct inode *, struct linux_file *); 161 int (*ioctl)(struct inode *, struct file *, unsigned int, 244 nonseekable_open(struct inode *inode, struct file *filp) argument 250 simple_open(struct inode *inode, struct file *filp) argument 252 filp->private_data = inode->i_private; 256 extern unsigned int linux_iminor(struct inode *); 275 igrab(struct inode *inode) argument 287 iput(struct inode *inode) argument 334 i_size_write(struct inode *inode, loff_t i_size) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_export.c | 35 zpl_encode_fh(struct inode *ip, __u32 *fh, int *max_len, struct inode *parent) 41 struct inode *ip = dentry->d_inode; 77 struct inode *ip; 94 * is using a cached inode value in a file handle and 95 * that the sought after file has had its inode changed 98 * will find the new filename/inode pair if it still 134 zpl_commit_metadata(struct inode *inode) argument 140 if (zfsctl_is_node(inode)) [all...] |
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_extern.h | 43 struct inode; 55 int ffs_alloc(struct inode *, ufs2_daddr_t, ufs2_daddr_t, int, int, 64 ufs2_daddr_t ffs_blkpref_ufs1(struct inode *, ufs_lbn_t, int, ufs1_daddr_t *); 65 ufs2_daddr_t ffs_blkpref_ufs2(struct inode *, ufs_lbn_t, int, ufs2_daddr_t *); 90 int ffs_realloccg(struct inode *, ufs2_daddr_t, ufs2_daddr_t, 133 #define FFSV_NEWINODE 0x0010 /* Newly allocated inode */ 172 void softdep_update_inodeblock(struct inode *, struct buf *, int); 173 void softdep_load_inodeblock(struct inode *); 181 void softdep_setup_freeblocks(struct inode *, off_t, int); 182 void softdep_setup_inomapdep(struct buf *, struct inode *, ino_ [all...] |
/freebsd-current/lib/libprocstat/ |
H A D | common_kvm.c | 46 #include <ufs/ufs/inode.h> 90 struct inode inode; local 93 if (!kvm_read_all(kd, (unsigned long)VTOI(vp), &inode, sizeof(inode))) { 94 warnx("can't read inode at %p", (void *)VTOI(vp)); 97 if (!kvm_read_all(kd, (unsigned long)inode.i_ump, &um, sizeof(um))) { 98 warnx("can't read ufsmount at %p", (void *)inode.i_ump); 107 vn->vn_fileid = inode.i_number; 108 vn->vn_mode = (mode_t)inode [all...] |