/src/usr.bin/fstat/ |
isofs.c | 50 struct iso_node inode; local in function:isofs_filestat 52 if (!KVM_READ(VTOI(vp), &inode, sizeof (inode))) { 53 dprintf("can't read inode at %p for pid %d", VTOI(vp), Pid); 56 fsp->fsid = inode.i_dev & 0xffff; 57 fsp->fileid = inode.i_number; 58 fsp->mode = inode.inode.iso_mode; 59 fsp->size = inode.i_size; 60 fsp->rdev = inode.i_dev [all...] |
zfs.c | 50 znode_t inode; local in function:zfs_filestat 53 if (!KVM_READ(VTOZ(vp), &inode, sizeof (inode))) { 54 dprintf("can't read inode at %p for pid %d", VTOZ(vp), Pid); 70 fsp->fileid = inode.z_id; 71 fsp->mode = inode.z_mode; 72 fsp->size = inode.z_size;
|
/src/sys/ufs/lfs/ |
ulfs_dirhash.h | 115 int ulfsdirhash_build(struct inode *); 116 doff_t ulfsdirhash_findfree(struct inode *, int, int *); 117 doff_t ulfsdirhash_enduseful(struct inode *); 118 int ulfsdirhash_lookup(struct inode *, const char *, int, doff_t *, 120 void ulfsdirhash_newblk(struct inode *, doff_t); 121 void ulfsdirhash_add(struct inode *, LFS_DIRHEADER *, doff_t); 122 void ulfsdirhash_remove(struct inode *, LFS_DIRHEADER *, doff_t); 123 void ulfsdirhash_move(struct inode *, LFS_DIRHEADER *, doff_t, doff_t); 124 void ulfsdirhash_dirtrunc(struct inode *, doff_t); 125 void ulfsdirhash_free(struct inode *); [all...] |
ulfs_extern.h | 47 struct inode; 101 void ulfs_dirbad(struct inode *, doff_t, const char *); 108 struct inode *, int, int); 109 int ulfs_dirrewrite(struct inode *, off_t, 110 struct inode *, ino_t, int, int, int); 111 int ulfs_dirempty(struct inode *, ino_t, kauth_cred_t); 119 void ulfsquota_init(struct inode *); 120 void ulfsquota_free(struct inode *); 121 int lfs_chkdq(struct inode *, int64_t, kauth_cred_t, int); 122 int lfs_chkiq(struct inode *, int32_t, kauth_cred_t, int) [all...] |
/src/sys/ufs/ufs/ |
dirhash.h | 114 int ufsdirhash_build(struct inode *); 115 doff_t ufsdirhash_findfree(struct inode *, int, int *); 116 doff_t ufsdirhash_enduseful(struct inode *); 117 int ufsdirhash_lookup(struct inode *, const char *, int, doff_t *, 119 void ufsdirhash_newblk(struct inode *, doff_t); 120 void ufsdirhash_add(struct inode *, struct direct *, doff_t); 121 void ufsdirhash_remove(struct inode *, struct direct *, doff_t); 122 void ufsdirhash_move(struct inode *, struct direct *, doff_t, doff_t); 123 void ufsdirhash_dirtrunc(struct inode *, doff_t); 124 void ufsdirhash_free(struct inode *); [all...] |
acl.h | 42 struct inode; 47 void ufs_sync_acl_from_inode(struct inode *ip, struct acl *acl); 48 void ufs_sync_inode_from_acl(struct acl *acl, struct inode *ip);
|
ufs_extern.h | 47 struct inode; 109 void ufs_dirbad(struct inode *, doff_t, const char *); 111 void ufs_makedirentry(struct inode *, struct componentname *, 117 struct inode *, int, int); 118 int ufs_dirrewrite(struct inode *, off_t, 119 struct inode *, ino_t, int, int, int); 120 int ufs_dirempty(struct inode *, ino_t, kauth_cred_t); 153 void ufsquota_init(struct inode *); 154 void ufsquota_free(struct inode *); 155 int chkdq(struct inode *, int64_t, kauth_cred_t, int) [all...] |
Makefile | 5 INCS= dinode.h dir.h extattr.h inode.h quota.h quota1.h quota2.h \
|
/src/sys/ufs/ext2fs/ |
ext2fs_extern.h | 68 struct inode; 94 int ext2fs_alloc(struct inode *, daddr_t, daddr_t , kauth_cred_t, 96 int ext2fs_realloccg(struct inode *, daddr_t, daddr_t, int, int , 100 daddr_t ext2fs_blkpref(struct inode *, daddr_t, int, int32_t *); 101 void ext2fs_blkfree(struct inode *, daddr_t); 106 int ext2fs_balloc(struct inode *, daddr_t, int, kauth_cred_t, 114 uint64_t ext2fs_size(struct inode *); 115 int ext2fs_setsize(struct inode *, uint64_t); 116 uint64_t ext2fs_nblock(struct inode *); 117 int ext2fs_setnblock(struct inode *, uint64_t) [all...] |
ext2fs_extents.h | 39 #include <ufs/ufs/inode.h> 103 struct inode; 106 int ext4_ext_in_cache(struct inode *, daddr_t, struct ext4_extent *); 107 void ext4_ext_put_cache(struct inode *, struct ext4_extent *, int); 109 struct inode *, daddr_t, struct ext4_extent_path *);
|
/src/usr.sbin/makefs/ffs/ |
ffs_extern.h | 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 buf **); 76 int ufs_getlbns(struct inode *, daddr_t, struct indir *, int *);
|
/src/sys/arch/ews4800mips/stand/common/ |
fileread_bfs.c | 50 struct bfs_inode *inode = (void *)SDBOOT_INODEADDR; local in function:fileread 97 /* Read inode */ 98 err = dk_read(bfs_sector + 1/* skip super block */, 1, inode); 102 if (inode->number != BFS_ROOT_INODE) 106 n = inode->eof_offset_byte - inode->start_sector * 512 + 1; 108 err = dk_read(bfs_sector + inode->start_sector, 1, dirent); 122 DPRINTF("%s (%d)\n", dirent->name, dirent->inode); 123 inode = &inode[dirent->inode - BFS_ROOT_INODE] [all...] |
diskutil.c | 104 struct bfs_inode *inode; local in function:bfs_ls 114 if (file->inode != 0) { 115 inode = &bfs->inode[file->inode - BFS_ROOT_INODE]; 117 bfs_file_size(inode), inode->start_sector, 118 inode->end_sector);
|
/src/sys/fs/cd9660/ |
cd9660_node.c | 97 * Last reference to an inode, write the inode out and if necessary, 112 * If we are done with the inode, reclaim it 116 *ap->a_recycle = (ip->inode.iso_mode == 0); 121 * Reclaim an inode so that it can be used for other purposes. 135 * Purge old data structures associated with the inode. 156 inop->inode.iso_mode = S_IFDIR; 161 inop->inode.iso_links = 1; 163 inop->inode.iso_mode = S_IFREG; 164 inop->inode.iso_links = 1 [all...] |
/src/sys/fs/v7fs/ |
v7fs_file.c | 112 DPRINTF("*** bad inode #%d ***\n", dir->inode_number); 133 struct v7fs_inode inode; local in function:v7fs_file_allocate 144 /* Get new inode. */ 149 memset(&inode, 0, sizeof(inode)); 150 inode.inode_number = *ino; 151 inode.mode = attr->mode; 152 inode.uid = attr->uid; 153 inode.gid = attr->gid; 155 inode.ctime = attr->ctime 226 struct v7fs_inode inode; local in function:v7fs_file_deallocate 278 struct v7fs_inode inode; local in function:v7fs_directory_add_entry 332 struct v7fs_inode inode; local in function:v7fs_directory_remove_entry [all...] |
v7fs_vnops.c | 98 struct v7fs_inode *parent = &parent_node->inode; 217 a->a_cnp->cn_nameptr, parent_node->inode.inode_number); 227 if ((error = v7fs_file_allocate(fs, &parent_node->inode, 233 uvm_vnp_setsize(a->a_dvp, v7fs_inode_filesize(&parent_node->inode)); 286 if ((error = v7fs_file_allocate(fs, &parent_node->inode, 290 uvm_vnp_setsize(dvp, v7fs_inode_filesize(&parent_node->inode)); 319 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_open 321 DPRINTF("inode %d\n", inode->inode_number) 344 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_close 381 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_check_permitted 419 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_getattr 467 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_setattr 586 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_read 622 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_write 700 struct v7fs_inode *inode = &((struct v7fs_node *)vp->v_data)->inode; local in function:v7fs_remove 812 struct v7fs_inode *inode = local in function:v7fs_rename 894 struct v7fs_inode *inode = &((struct v7fs_node *)vp->v_data)->inode; local in function:v7fs_rmdir 935 struct v7fs_inode inode; local in function:readdir_subr 991 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_readdir 1038 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_inactive 1062 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_reclaim 1096 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_bmap 1236 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_update 1338 struct v7fs_inode *inode = &v7node->inode; local in function:v7fs_readlink [all...] |
v7fs_inode_util.c | 61 v7fs_inode_chmod(struct v7fs_inode *inode, v7fs_mode_t mode) 64 DPRINTF("setattr %08o -> %08o\n", inode->mode, mode); 66 inode->mode &= ~V7FS_MODE_MASK; 67 inode->mode |= (mode & V7FS_MODE_MASK); 68 DPRINTF("setattr %08o -> %08o\n", inode->mode, mode); 108 struct v7fs_inode inode; local in function:v7fs_ilist_foreach 118 v7fs_inode_setup_memory_image(fs, &inode, di + j); 119 inode.inode_number = k; 120 if ((ret = func(fs, ctx, &inode, k))) {
|
v7fs_datablock.c | 272 DPRINTF("inode#%d direct=%zu filesize=%zu\n", 360 v7fs_datablock_last(struct v7fs_self *fs, struct v7fs_inode *inode, 365 v7fs_daddr_t *addr = inode->addr; 374 blk = inode->addr[map.index[0]]; 394 v7fs_datablock_expand(struct v7fs_self *fs, struct v7fs_inode *inode, size_t sz) 396 size_t old_filesize = inode->filesize; 405 inode->filesize += sz; 406 v7fs_inode_writeback(fs, inode); 409 struct v7fs_inode backup = *inode; 430 inode->addr[V7FS_NADDR_INDEX1] = idxblk [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
debugfs_gt.h | 16 static int __name ## _open(struct inode *inode, struct file *file) \ 18 return single_open(file, __name ## _show, inode->i_private); \
|
/src/sys/fs/sysvbfs/ |
bfs.c | 104 DPRINTF(debug, "bfs super block + inode area = %zd\n", memsize); 177 struct bfs_inode *inode, *root_inode; local in function:bfs_init_inode 185 bfs->inode = (struct bfs_inode *)(p + sizeof(struct bfs_super_block)); 189 inode = bfs->inode; 191 for (i = 0; i < bfs->max_inode; i++, inode++) { 192 if (inode->number != 0) { 194 if (inode->number == BFS_ROOT_INODE) 195 root_inode = inode; 198 DPRINTF(bfs->debug, "inode: %d/%d\n", bfs->n_inode, bfs->max_inode) 219 struct bfs_inode *inode = bfs->root_inode; local in function:bfs_init_dirent 285 struct bfs_inode *inode; local in function:bfs_file_write 313 struct bfs_inode *inode; local in function:bfs_file_delete 361 struct bfs_inode *inode; local in function:bfs_file_create 488 struct bfs_inode *inode; local in function:bfs_file_lookup 552 struct bfs_inode *inode; local in function:bfs_inode_lookup 570 struct bfs_inode *inode; local in function:bfs_inode_delete 596 struct bfs_inode *jnode, *inode; local in function:bfs_inode_alloc 677 const struct bfs_inode *inode; local in function:bfs_dump [all...] |
/src/usr.sbin/makefs/v7fs/ |
v7fs_populate.c | 69 struct stat *st = &node->inode->st; 82 dev_t dev, struct v7fs_inode *inode) 88 memset(inode, 0, sizeof(*inode)); 98 node->inode->ino = ino; 99 node->inode->flags |= FI_ALLOCATED; 100 if ((error = v7fs_inode_load(fs, inode, ino))) { 136 struct v7fs_inode inode; local in function:file_copy 138 fsinode *fnode = node->inode; 144 if ((error = v7fs_inode_load(fs, &inode, fnode->ino))) 200 struct v7fs_inode inode; local in function:populate_walk [all...] |
/src/sbin/newfs_v7fs/ |
main.c | 101 struct v7fs_inode inode; local in function:make_root 106 memset(&inode, 0, sizeof(inode)); 107 inode.inode_number = 1; 108 inode.mode = V7FS_IFREG; /* V7 manner */ 109 v7fs_inode_writeback(fs, &inode); 115 warn("Can't allocate / inode"); 119 memset(&inode, 0, sizeof(inode)); 120 inode.inode_number = ino [all...] |
/src/sbin/newfs_sysvbfs/ |
newfs_sysvbfs.c | 182 struct bfs_inode *inode = (void *)buf; local in function:bfs_newfs 190 bfs->header.data_start_byte = DEV_BSIZE * 2; /* super block + inode */ 208 inode->number = BFS_ROOT_INODE; 209 inode->start_sector = 2; 210 inode->end_sector = 2; 211 inode->eof_offset_byte = sizeof(struct bfs_dirent) + 212 inode->start_sector * BFS_BSIZE; 213 inode->attr.atime = t; 214 inode->attr.mtime = t; 215 inode->attr.ctime = t [all...] |
/src/usr.sbin/installboot/ |
ffs.c | 115 * This iterates over the data blocks belonging to an inode, 127 struct ufs1_dinode *inode; local in function:ffs_find_disk_blocks_ufs1 159 /* Read the inode. */ 164 inode = (struct ufs1_dinode *)inodebuf; 165 inode += ino_to_fsbo(fs, ino); 168 ffs_dinode1_swap(inode, inode); 172 nblk = howmany(inode->di_size, fs->fs_bsize); 175 level[0].blknums = &inode->di_db[0]; 177 level[1].blknums = &inode->di_ib[0] 264 struct ufs2_dinode *inode; local in function:ffs_find_disk_blocks_ufs2 [all...] |
/src/sys/ufs/ffs/ |
ffs_extern.h | 50 struct inode; 90 int ffs_alloc(struct inode *, daddr_t, daddr_t , int, int, kauth_cred_t, 92 int ffs_realloccg(struct inode *, daddr_t, daddr_t, daddr_t, int, int, 95 daddr_t ffs_blkpref_ufs1(struct inode *, daddr_t, int, int, int32_t *); 96 daddr_t ffs_blkpref_ufs2(struct inode *, daddr_t, int, int, int64_t *); 97 int ffs_blkalloc(struct inode *, daddr_t, long); 202 void ffs_load_inode(struct buf *, struct inode *, struct fs *, ino_t); 210 void ffs_itimes(struct inode *, const struct timespec *,
|