Searched refs:VTOI (Results 1 - 25 of 84) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/usr.bin/fstat/
H A Disofs.c52 if (!KVM_READ(VTOI(vp), &inode, sizeof (inode))) {
53 dprintf("can't read inode at %p for pid %d", VTOI(vp), Pid);
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/
H A Dchfs_inode.h103 #ifdef VTOI
104 # undef VTOI macro
110 #define VTOI(vp) ((struct chfs_inode *)(vp)->v_data) macro
H A Dchfs_vnops.c94 ip = VTOI(dvp);
255 ip = VTOI(vp);
319 ip = VTOI(vp);
350 ip = VTOI(vp);
370 struct chfs_inode *ip = VTOI(vp);
405 struct chfs_inode *ip = VTOI(vp);
458 ip = VTOI(vp);
511 struct chfs_inode *ip = VTOI(vp);
532 struct chfs_inode *ip = VTOI(vp);
608 ip = VTOI(v
[all...]
H A Dchfs_vnode.c50 ip = VTOI(vp);
79 ip = VTOI(vp);
199 pdir = VTOI(dvp);
223 ip = VTOI(vp);
321 ip = VTOI(vp);
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dvnode.c65 #ifndef VTOI
66 #define VTOI(vp) ((struct inode *)(vp)->v_data) macro
143 free(VTOI(tossvp)->inode_ext.lfs);
144 free(VTOI(tossvp)->i_din.ffs1_din);
145 memset(VTOI(tossvp), 0, sizeof(struct inode));
169 if (VTOI(vp)->i_number == ino) {
H A Dlfs_user.h65 #define VTOI(vp) ((struct inode *)(vp)->v_data) macro
66 #define VTOD(vp) (VTOI(vp)->i_din.ffs1_din)
H A Dinode.c118 return (VTOI(vp)->i_din.ffs1_din);
153 numfrags(fs, VTOI(thisvp)->i_lfs_fragsize[lbn]);
176 inodirty(VTOI(vp));
215 inodirty(VTOI(vp));
300 VTOI(vp)->i_ffs1_size -= isize;
305 inodirty(VTOI(vp));
434 (VTOI(vp)->i_ffs1_mode & IFMT) == IFDIR ? "DIR" : "FILE");
610 dp = (VTOI(vp)->i_din.ffs1_din);
620 inodirty(VTOI(vp));
H A Ddir.c320 (VTOI(vp)->i_ffs1_mode & IFMT) == IFDIR ?
353 inodirty(VTOI(vp));
464 inodirty(VTOI(vp));
489 VTOI(vp)->i_ffs1_nlink++;
490 inodirty(VTOI(vp));
546 inodirty(VTOI(vp));
602 inodirty(VTOI(vp));
644 inodirty(VTOI(vp));
663 inodirty(VTOI(vp));
677 VTOI(v
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/
H A Dext2fs_vnops.c171 ip = VTOI(*vpp);
216 if ((VTOI(ap->a_vp)->i_e2fs_flags & EXT2_APPEND) &&
269 struct inode *ip = VTOI(vp);
292 struct inode *ip = VTOI(vp);
347 struct inode *ip = VTOI(vp);
424 ip = VTOI(vp);
461 struct inode *ip = VTOI(vp);
482 struct inode *ip = VTOI(vp);
536 ulr = &VTOI(dvp)->i_crap;
537 UFS_CHECK_CRAPCOUNTER(VTOI(dv
[all...]
H A Dext2fs_subr.c90 ip = VTOI(vp);
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_vnops.c148 ulr = &VTOI(dvp)->i_crap;
149 UFS_CHECK_CRAPCOUNTER(VTOI(dvp));
194 ulr = &VTOI(ap->a_dvp)->i_crap;
195 UFS_CHECK_CRAPCOUNTER(VTOI(ap->a_dvp));
207 ip = VTOI(*vpp);
262 if ((VTOI(ap->a_vp)->i_flags & APPEND) &&
286 ip = VTOI(vp);
366 ip = VTOI(vp);
392 ip = VTOI(vp);
468 ip = VTOI(v
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/
H A Dffs_vnops.c304 if ((VTOI(vp)->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE
382 if (vp->v_tag == VT_UFS && VTOI(vp)->i_flag &
441 VOP_IOCTL(VTOI(vp)->i_devvp, DIOCCACHESYNC, &l, FWRITE,
460 KASSERT(VTOI(vp) != NULL);
496 if ((VTOI(vp)->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE
535 (void)VOP_IOCTL(VTOI(vp)->i_devvp, DIOCCACHESYNC, &i, FWRITE,
553 struct inode *ip = VTOI(vp);
610 struct inode *ip = VTOI(vp);
631 struct inode *ip = VTOI(ap->a_vp);
651 struct inode *ip = VTOI(a
[all...]
H A Dffs_snapshot.c187 struct inode *ip = VTOI(vp);
200 if ((VTOI(vp)->i_flags & SF_SNAPSHOT)) {
201 if ((VTOI(vp)->i_flags & SF_SNAPINVAL))
204 ctime->tv_sec = DIP(VTOI(vp), mtime);
205 ctime->tv_nsec = DIP(VTOI(vp), mtimensec);
418 struct inode *ip = VTOI(vp);
429 VTOI(vp)->i_uid != kauth_cred_geteuid(l->l_cred))
550 struct vnode *devvp = VTOI(vp)->i_devvp;
654 VTOI(xvp) == NULL ||
655 (VTOI(xv
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/
H A Dlfs_vnops.c275 struct inode *ip = VTOI(vp);
359 if (VTOI(ap->a_vp)->i_number == LFS_IFILE_INUM) {
361 LFS_CLR_UINO(VTOI(ap->a_vp), IN_ALLMOD);
373 struct inode *ip = VTOI(ap->a_vp);
408 fs = VTOI(dvp)->i_lfs;
534 SET_ENDOP_CREATE(VTOI((ap)->a_dvp)->i_lfs, (ap)->a_dvp, \
551 struct inode *ip = VTOI(vp);
578 struct inode *ip = VTOI(vp);
628 ulr = &VTOI(ap->a_dvp)->i_crap;
629 UFS_CHECK_CRAPCOUNTER(VTOI(a
[all...]
H A Dlfs_segment.c67 if (VTOI(vp)->i_flag & IN_CLEANING) \
69 VTOI(vp)->i_number, (str), op)); \
75 DLOG((DLOG_WVNODE, "ino %d: %s\n", VTOI(vp)->i_number, (str)))
174 ip = VTOI(fs->lfs_ivnode);
200 ip = VTOI(vp);
372 if (!VPISEMPTY(vp) || (VTOI(vp)->i_flag & IN_ALLMOD))
516 ip = VTOI(vp);
746 ip = VTOI(vp);
854 ip = VTOI(vp);
1117 getblk(VTOI(f
[all...]
H A Dlfs_balloc.c124 ip = VTOI(vp);
381 ip = VTOI(vp);
493 ip = VTOI(vp);
551 ip = VTOI(vp);
574 ip = VTOI(vp);
/netbsd-6-1-5-RELEASE/sys/fs/nilfs/
H A Dnilfs_vnops.c61 #define VTOI(vnode) ((struct nilfs_node *) (vnode)->v_data) macro
78 struct nilfs_node *nilfs_node = VTOI(vp);
80 DPRINTF(NODE, ("nilfs_inactive called for nilfs_node %p\n", VTOI(vp)));
107 struct nilfs_node *nilfs_node = VTOI(vp);
143 struct nilfs_node *nilfs_node = VTOI(vp);
214 struct nilfs_node *nilfs_node = VTOI(vp);
340 struct nilfs_node *node = VTOI(vp);
494 struct nilfs_node *node = VTOI(vp);
528 struct nilfs_node *node = VTOI(vp);
634 dir_node = VTOI(dv
[all...]
/netbsd-6-1-5-RELEASE/sys/fs/udf/
H A Dudf_vnops.c66 #define VTOI(vnode) ((struct udf_node *) (vnode)->v_data) macro
83 struct udf_node *udf_node = VTOI(vp);
86 DPRINTF(NODE, ("udf_inactive called for udf_node %p\n", VTOI(vp)));
142 struct udf_node *udf_node = VTOI(vp);
184 struct udf_node *udf_node = VTOI(vp);
274 struct udf_node *udf_node = VTOI(vp);
433 struct udf_node *udf_node = VTOI(vp);
466 struct udf_node *udf_node = VTOI(vp);
531 struct udf_node *udf_node = VTOI(vp);
663 dir_node = VTOI(dv
[all...]
H A Dudf_strat_bootstrap.c69 #define VTOI(vnode) ((struct udf_node *) vnode->v_data) macro
/netbsd-6-1-5-RELEASE/sys/fs/cd9660/
H A Dcd9660_bmap.c68 struct iso_node *ip = VTOI(ap->a_vp);
H A Dcd9660_node.h93 #define VTOI(vp) ((struct iso_node *)(vp)->v_data) macro
/netbsd-6-1-5-RELEASE/sys/fs/filecorefs/
H A Dfilecore_node.h108 #define VTOI(vp) ((struct filecore_node *)(vp)->v_data) macro
H A Dfilecore_node.c223 struct filecore_node *ip = VTOI(vp);
247 struct filecore_node *ip = VTOI(vp);
H A Dfilecore_vnops.c142 struct filecore_node *ip = VTOI(vp);
163 struct filecore_node *ip = VTOI(vp);
202 struct filecore_node *ip = VTOI(vp);
309 dp = VTOI(vdp);
471 ip = VTOI(vp);
/netbsd-6-1-5-RELEASE/sbin/newfs_lfs/
H A Dmake_lfs.c613 dip = VTOI(fs->lfs_ivnode)->i_din.ffs1_din = (struct ufs1_dinode *)
624 VTOI(fs->lfs_ivnode)->i_lfs_fragsize[i] = fs->lfs_bsize;
681 dip = VTOI(vp)->i_din.ffs1_din;
684 VTOI(vp)->i_lfs_osize = dip->di_size = DIRBLKSIZ;
686 VTOI(vp)->i_nlink = dip->di_nlink = 3;
688 VTOI(vp)->i_nlink = dip->di_nlink = 2;
690 VTOI(vp)->i_lfs_effnblks = dip->di_blocks =
693 VTOI(vp)->i_lfs_fragsize[i] = fs->lfs_bsize;
695 VTOI(vp)->i_lfs_fragsize[i - 1] =
705 dip = VTOI(v
[all...]

Completed in 363 milliseconds

1234