Searched refs:inode (Results 1 - 25 of 230) sorted by relevance

12345678910

/netbsd-current/usr.bin/fstat/
H A Disofs.c50 struct iso_node inode; local
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
[all...]
H A Dzfs.c50 znode_t inode; local
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;
/netbsd-current/sys/ufs/lfs/
H A Dulfs_dirhash.h115 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...]
H A Dulfs_extern.h47 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_
[all...]
/netbsd-current/sys/ufs/ufs/
H A Ddirhash.h114 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...]
H A Dacl.h42 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);
H A Dufs_extern.h47 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_
[all...]
H A DMakefile5 INCS= dinode.h dir.h extattr.h inode.h quota.h quota1.h quota2.h \
/netbsd-current/sys/ufs/ext2fs/
H A Dext2fs_extern.h68 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_
[all...]
H A Dext2fs_extents.h39 #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 *);
/netbsd-current/usr.sbin/makefs/ffs/
H A Dffs_extern.h52 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 *);
/netbsd-current/sys/arch/ews4800mips/stand/common/
H A Dfileread_bfs.c50 struct bfs_inode *inode = (void *)SDBOOT_INODEADDR; local
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[diren
[all...]
H A Ddiskutil.c104 struct bfs_inode *inode; local
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);
/netbsd-current/external/bsd/iscsi/dist/src/osd/
H A Dosdfs.c88 static int osdfs_mknod(struct inode *dir, struct dentry *dentry, int mode, int dev);
177 struct inode inode; local
180 if (osd_get_one_attr((void *)&dev, root_gid, uid, 0x30000000, 0x0, sizeof(struct inode), &osd_exec_via_scsi, &len, (void *) &inode)!=0) {
185 if ((*size=inode.i_size)) {
224 struct inode inode; local
229 if (osd_get_one_attr((void *)&dev, root_gid, uid, 0x30000000, 0x0, sizeof(struct inode), &osd_exec_via_scsi, &len, (void *) &inode)!
325 osdfs_set_ops(struct inode *inode) argument
345 struct inode *inode; local
368 osdfs_read_inode(struct inode *inode) argument
402 osdfs_dirty_inode(struct inode *inode) argument
406 osdfs_write_inode(struct inode *inode, int sync) argument
419 osdfs_put_inode(struct inode *inode) argument
423 osdfs_delete_inode(struct inode *inode) argument
464 osdfs_clear_inode(struct inode *inode) argument
508 struct inode *inode = NULL; local
560 struct inode *inode = old_dentry->d_inode; local
585 struct inode *inode = dentry->d_inode; local
626 struct inode *inode; local
654 struct inode *inode = NULL; local
895 struct inode *inode = page->mapping->host; local
933 struct inode *inode = page->mapping->host; local
969 struct inode *inode; local
[all...]
/netbsd-current/sys/fs/cd9660/
H A Dcd9660_node.c97 * 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
[all...]
/netbsd-current/sys/fs/v7fs/
H A Dv7fs_file.c112 DPRINTF("*** bad inode #%d ***\n", dir->inode_number);
133 struct v7fs_inode inode; local
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
226 struct v7fs_inode inode; local
278 struct v7fs_inode inode; local
332 struct v7fs_inode inode; local
[all...]
H A Dv7fs_vnops.c98 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
321 DPRINTF("inode %d\n", inode
344 struct v7fs_inode *inode = &v7node->inode; local
381 struct v7fs_inode *inode = &v7node->inode; local
419 struct v7fs_inode *inode = &v7node->inode; local
467 struct v7fs_inode *inode = &v7node->inode; local
586 struct v7fs_inode *inode = &v7node->inode; local
622 struct v7fs_inode *inode = &v7node->inode; local
700 struct v7fs_inode *inode = &((struct v7fs_node *)vp->v_data)->inode; local
812 struct v7fs_inode *inode = local
894 struct v7fs_inode *inode = &((struct v7fs_node *)vp->v_data)->inode; local
935 struct v7fs_inode inode; local
991 struct v7fs_inode *inode = &v7node->inode; local
1038 struct v7fs_inode *inode = &v7node->inode; local
1062 struct v7fs_inode *inode = &v7node->inode; local
1096 struct v7fs_inode *inode = &v7node->inode; local
1236 struct v7fs_inode *inode = &v7node->inode; local
1338 struct v7fs_inode *inode = &v7node->inode; local
[all...]
H A Dv7fs_inode_util.c61 v7fs_inode_chmod(struct v7fs_inode *inode, v7fs_mode_t mode) argument
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
118 v7fs_inode_setup_memory_image(fs, &inode, di + j);
119 inode.inode_number = k;
120 if ((ret = func(fs, ctx, &inode, k))) {
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Ddebugfs_gt.h16 static int __name ## _open(struct inode *inode, struct file *file) \
18 return single_open(file, __name ## _show, inode->i_private); \
/netbsd-current/sys/fs/sysvbfs/
H A Dbfs.c104 DPRINTF(debug, "bfs super block + inode area = %zd\n", memsize);
177 struct bfs_inode *inode, *root_inode; local
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
219 struct bfs_inode *inode = bfs->root_inode; local
285 struct bfs_inode *inode; local
313 struct bfs_inode *inode; local
361 struct bfs_inode *inode; local
472 bfs_writeback_inode(const struct bfs *bfs, struct bfs_inode *inode) argument
488 struct bfs_inode *inode; local
511 bfs_dirent_lookup_by_inode(const struct bfs *bfs, int inode, struct bfs_dirent **dirent) argument
552 struct bfs_inode *inode; local
570 struct bfs_inode *inode; local
586 bfs_file_size(const struct bfs_inode *inode) argument
596 struct bfs_inode *jnode, *inode; local
643 bfs_inode_set_attr(const struct bfs *bfs, struct bfs_inode *inode, const struct bfs_fileattr *from) argument
677 const struct bfs_inode *inode; local
[all...]
/netbsd-current/usr.sbin/makefs/v7fs/
H A Dv7fs_populate.c69 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
138 fsinode *fnode = node->inode;
144 if ((error = v7fs_inode_load(fs, &inode, fnod
81 allocate(struct v7fs_self *fs, struct v7fs_inode *parent_inode, fsnode *node, dev_t dev, struct v7fs_inode *inode) argument
200 struct v7fs_inode inode; local
[all...]
/netbsd-current/sbin/newfs_v7fs/
H A Dmain.c101 struct v7fs_inode inode; local
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
[all...]
/netbsd-current/external/gpl2/mkhybrid/dist/
H A Dhash.c43 if (spnt->dev == (dev_t) UNCACHED_DEVICE || spnt->inode == UNCACHED_INODE) return;
44 hash_number = HASH_FN((unsigned int) spnt->dev, (unsigned int) spnt->inode);
51 s_hash->inode = spnt->inode;
58 struct file_hash * FDECL2(find_hash, dev_t, dev, ino_t, inode){
61 hash_number = HASH_FN((unsigned int) dev, (unsigned int) inode);
62 if (dev == (dev_t) UNCACHED_DEVICE || inode == UNCACHED_INODE) return NULL;
66 if(spnt->inode == inode && spnt->dev == dev) return spnt;
93 void FDECL2(add_directory_hash, dev_t, dev, ino_t, inode){
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/
H A Dtraits.hpp79 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits
81 typedef base_type::_Iter<node, leaf, head, inode, true> iterator;
82 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator;
83 typedef base_type::_Iter<node, leaf, head, inode, false> reverse_iterator;
84 typedef base_type::_CIter<node, leaf, head, inode, false> const_reverse_iterator;
88 typedef base_type::_Node_citer<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_const_iterator;
90 typedef base_type::_Node_iter<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_iterator;
126 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits
128 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator;
130 typedef base_type::_CIter<node, leaf, head, inode, fals
[all...]
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/
H A Dtraits.hpp79 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits
81 typedef base_type::_Iter<node, leaf, head, inode, true> iterator;
82 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator;
83 typedef base_type::_Iter<node, leaf, head, inode, false> reverse_iterator;
84 typedef base_type::_CIter<node, leaf, head, inode, false> const_reverse_iterator;
88 typedef base_type::_Node_citer<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_const_iterator;
90 typedef base_type::_Node_iter<node, leaf, head, inode, const_iterator, iterator, _Alloc> node_iterator;
126 typedef base_type::_Inode<synth_access_traits, metadata> inode; typedef in struct:__gnu_pbds::detail::trie_traits
128 typedef base_type::_CIter<node, leaf, head, inode, true> const_iterator;
130 typedef base_type::_CIter<node, leaf, head, inode, fals
[all...]

Completed in 409 milliseconds

12345678910