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

1234567

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/torture/
H A Dpr31254.c8 struct inode struct
15 struct inode vfs_inode;
18 struct inode *AFS_VNODE_TO_I (struct afs_vnode *vnode)
24 struct inode *inode = AFS_VNODE_TO_I (vnode); local
25 inode->i_atime = inode->i_mtime;
/netbsd-6-1-5-RELEASE/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...]
/netbsd-6-1-5-RELEASE/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 Dufs_extern.h47 struct inode;
117 void ufs_ihashins(struct inode *);
118 void ufs_ihashrem(struct inode *);
125 void ufs_dirbad(struct inode *, doff_t, const char *);
127 void ufs_makedirentry(struct inode *, struct componentname *,
133 struct inode *, int, int);
134 int ufs_dirrewrite(struct inode *, off_t,
135 struct inode *, ino_t, int, int, int);
136 int ufs_dirempty(struct inode *, ino_t, kauth_cred_t);
137 int ufs_checkpath(struct inode *, struc
[all...]
H A DMakefile5 INCS= dinode.h dir.h extattr.h inode.h quota.h quota1.h quota2.h \
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/tree-ssa/
H A Dpr42640.c21 int s_node, p_node, inode, ipad, iloop; local
26 inode = get_rr_node_index (ipad);
30 rr_node[inode].a = i;
31 rr_node[inode].b = j;
32 rr_node[inode].c = ipad;
33 inode = p_node;
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D20001124-1.c2 struct inode { struct
26 do_isofs_readdir(struct inode *inode, struct file *filp) argument
28 int bufsize = inode->i_sb->s_blocksize;
29 unsigned char bufbits = inode->i_sb->s_blocksize_bits;
34 if (filp->f_pos >= inode->i_size)
39 hs = inode->i_sb->s_hs;
41 while (filp->f_pos < inode->i_size) {
62 struct inode i;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D20001124-1.c2 struct inode { struct
26 do_isofs_readdir(struct inode *inode, struct file *filp) argument
28 int bufsize = inode->i_sb->s_blocksize;
29 unsigned char bufbits = inode->i_sb->s_blocksize_bits;
34 if (filp->f_pos >= inode->i_size)
39 hs = inode->i_sb->s_hs;
41 while (filp->f_pos < inode->i_size) {
62 struct inode i;
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/
H A Dext2fs_extern.h68 struct inode;
91 int ext2fs_alloc(struct inode *, daddr_t, daddr_t , kauth_cred_t,
93 int ext2fs_realloccg(struct inode *, daddr_t, daddr_t, int, int ,
97 daddr_t ext2fs_blkpref(struct inode *, daddr_t, int, int32_t *);
98 void ext2fs_blkfree(struct inode *, daddr_t);
102 int ext2fs_balloc(struct inode *, daddr_t, int, kauth_cred_t,
110 u_int64_t ext2fs_size(struct inode *);
111 int ext2fs_setsize(struct inode *, u_int64_t);
120 int ext2fs_direnter(struct inode *, struct vnode *,
125 int ext2fs_dirrewrite(struct inode *, cons
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/stand/common/
H A Dfileread_bfs.c50 struct bfs_inode *inode = (void *)SDBOOT_INODEADDR; local
98 /* Read inode */
99 err = dk_read(bfs_sector + 1/* skip super block */, 1, inode);
103 if (inode->number != BFS_ROOT_INODE)
107 n = inode->eof_offset_byte - inode->start_sector * 512 + 1;
109 err = dk_read(bfs_sector + inode->start_sector, 1, dirent);
123 DPRINTF("%s (%d)\n", dirent->name, dirent->inode);
124 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-6-1-5-RELEASE/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-6-1-5-RELEASE/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
360 struct bfs_inode *inode; local
471 bfs_writeback_inode(const struct bfs *bfs, struct bfs_inode *inode) argument
487 struct bfs_inode *inode; local
510 bfs_dirent_lookup_by_inode(const struct bfs *bfs, int inode, struct bfs_dirent **dirent) argument
551 struct bfs_inode *inode; local
567 bfs_file_size(const struct bfs_inode *inode) argument
577 struct bfs_inode *jnode, *inode; local
624 bfs_inode_set_attr(const struct bfs *bfs, struct bfs_inode *inode, const struct bfs_fileattr *from) argument
658 const struct bfs_inode *inode; local
[all...]
/netbsd-6-1-5-RELEASE/sys/fs/v7fs/
H A Dv7fs_file.c121 DPRINTF("*** bad inode #%d ***\n", dir->inode_number);
141 struct v7fs_inode inode; local
156 /* Get new inode. */
161 memset(&inode, 0, sizeof(inode));
162 inode.inode_number = *ino;
163 inode.mode = attr->mode;
164 inode.uid = attr->uid;
165 inode.gid = attr->gid;
167 inode
237 struct v7fs_inode inode; local
291 struct v7fs_inode inode; local
345 struct v7fs_inode inode; local
[all...]
H A Dv7fs_vnops.c103 struct v7fs_inode *parent = &parent_node->inode;
212 parent_node->inode.inode_number);
222 if ((error = v7fs_file_allocate(fs, &parent_node->inode,
228 uvm_vnp_setsize(a->a_dvp, v7fs_inode_filesize(&parent_node->inode));
281 if ((error = v7fs_file_allocate(fs, &parent_node->inode,
285 uvm_vnp_setsize(dvp, v7fs_inode_filesize(&parent_node->inode));
313 struct v7fs_inode *inode = &v7node->inode; local
315 DPRINTF("inode %d\n", inode
338 struct v7fs_inode *inode = &v7node->inode; local
375 struct v7fs_inode *inode = &v7node->inode; local
412 struct v7fs_inode *inode = &v7node->inode; local
455 struct v7fs_inode *inode = &v7node->inode; local
557 struct v7fs_inode *inode = &v7node->inode; local
593 struct v7fs_inode *inode = &v7node->inode; local
669 struct v7fs_inode *inode = &((struct v7fs_node *)vp->v_data)->inode; local
857 struct v7fs_inode *inode = &((struct v7fs_node *)vp->v_data)->inode; local
897 struct v7fs_inode inode; local
953 struct v7fs_inode *inode = &v7node->inode; local
998 struct v7fs_inode *inode = &v7node->inode; local
1049 struct v7fs_inode *inode = &v7node->inode; local
1194 struct v7fs_inode *inode = &v7node->inode; local
1294 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))) {
H A Dv7fs_datablock.c272 DPRINTF("inode#%d direct=%zu filesize=%zu\n",
360 v7fs_datablock_last(struct v7fs_self *fs, struct v7fs_inode *inode, argument
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) argument
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
547 v7fs_datablock_contract(struct v7fs_self *fs, struct v7fs_inode *inode, size_t sz) argument
704 v7fs_datablock_size_change(struct v7fs_self *fs, size_t newsz, struct v7fs_inode *inode) argument
[all...]
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A Dpr42389.c65 int inode = 0; local
68 inode = tptr->index;
69 rr_route[inode].cost = rr_cost[inode].base_cost + rr_cost[inode].acc_cost;
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/sys/fs/cd9660/
H A Dcd9660_node.c92 * Reinitialize inode hash table.
135 * Use the device/inum pair to find the incore inode, and return a pointer
165 * Insert the inode into the hash table, and return it locked.
185 * Remove the inode from the hash table.
196 * Last reference to an inode, write the inode out and if necessary,
211 * If we are done with the inode, reclaim it
215 *ap->a_recycle = (ip->inode.iso_mode == 0);
221 * Reclaim an inode so that it can be used for other purposes.
236 * Remove the inode fro
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/
H A Dffs_extern.h51 struct inode;
91 int ffs_alloc(struct inode *, daddr_t, daddr_t , int, int, kauth_cred_t,
93 int ffs_realloccg(struct inode *, daddr_t, daddr_t, int, int ,
96 daddr_t ffs_blkpref_ufs1(struct inode *, daddr_t, int, int, int32_t *);
97 daddr_t ffs_blkpref_ufs2(struct inode *, daddr_t, int, int, int64_t *);
98 int ffs_blkalloc(struct inode *, daddr_t, long);
154 void ffs_snapgone(struct inode *);
194 void ffs_load_inode(struct buf *, struct inode *, struct fs *, ino_t);
202 void ffs_itimes(struct inode *, const struct timespec *,
/netbsd-6-1-5-RELEASE/sbin/newfs_sysvbfs/
H A Dnewfs_sysvbfs.c178 struct bfs_inode *inode = (void *)buf; local
186 bfs->header.data_start_byte = DEV_BSIZE * 2; /* super block + inode */
204 inode->number = BFS_ROOT_INODE;
205 inode->start_sector = 2;
206 inode->end_sector = 2;
207 inode->eof_offset_byte = sizeof(struct bfs_dirent) +
208 inode->start_sector * BFS_BSIZE;
209 inode->attr.atime = t;
210 inode->attr.mtime = t;
211 inode
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/
H A Dffs.c115 * This iterates over the data blocks belonging to an inode,
127 struct ufs1_dinode *inode; local
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
264 struct ufs2_dinode *inode; local
[all...]

Completed in 311 milliseconds

1234567