/freebsd-12-stable/lib/libprocstat/ |
H A D | common_kvm.h | 42 int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 43 int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 44 int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 45 int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 46 int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 47 int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 48 int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 49 int zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
|
H A D | smbfs.c | 53 smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 60 assert(vn); 74 vn->vn_fileid = node.n_ino; 75 if (vn->vn_fileid == 0) 76 vn->vn_fileid = 2; 77 vn->vn_fsid = mnt.mnt_stat.f_fsid.val[0];
|
H A D | common_kvm.c | 92 ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 110 vn->vn_fsid = dev2udev(kd, um.um_dev); 111 vn->vn_fileid = inode.i_number; 112 vn->vn_mode = (mode_t)inode.i_mode; 113 vn->vn_size = inode.i_size; 118 devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 135 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; 136 vn->vn_fileid = devfs_dirent.de_inode; 137 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; 138 vn 143 nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument [all...] |
H A D | cd9660.c | 70 isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 87 vn->vn_fsid = dev2udev(kd, mnt.im_dev); 88 vn->vn_mode = (mode_t)isonode.inode.iso_mode; 89 vn->vn_fileid = isonode.i_number; 90 vn->vn_size = isonode.i_size;
|
H A D | msdosfs.c | 81 msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 120 vn->vn_fsid = dev2udev(kd, mnt->data.pm_dev); 121 vn->vn_mode = 0555; 122 vn->vn_mode |= denode.de_Attributes & ATTR_READONLY ? 0 : 0222; 123 vn->vn_mode &= mnt->data.pm_mask; 126 vn->vn_mode |= denode.de_Attributes & ATTR_DIRECTORY ? S_IFDIR : S_IFREG; 127 vn->vn_size = denode.de_FileSize; 153 vn->vn_fileid = fileid;
|
H A D | zfs.c | 54 zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 103 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; 104 vn->vn_fileid = *(uint64_t *)(void *)(dataptr + offsetof_z_id); 105 vn->vn_mode = *(mode_t *)(void *)(dataptr + offsetof_z_mode); 106 vn->vn_size = *(uint64_t *)(void *)(dataptr + offsetof_z_size);
|
H A D | udf.c | 81 udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 88 assert(vn); 100 vn->vn_fileid = node.hash_id; 101 vn->vn_fsid = dev2udev(kd, mnt.im_dev);
|
H A D | libprocstat_compat.c | 87 struct filestat *fst, struct freebsd11_vnstat *vn, char *errbuf); 164 struct vnstat vn; local 167 r = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 170 vn_compat->vn_fileid = vn.vn_fileid; 171 vn_compat->vn_size = vn.vn_size; 172 vn_compat->vn_mntdir = vn.vn_mntdir; 173 vn_compat->vn_dev = vn.vn_dev; 174 vn_compat->vn_fsid = vn.vn_fsid; 175 vn_compat->vn_type = vn.vn_type; 176 vn_compat->vn_mode = vn [all...] |
H A D | libprocstat.c | 155 struct vnstat *vn, char *errbuf); 157 struct vnstat *vn, char *errbuf); 1215 struct vnstat *vn, char *errbuf) 1218 assert(vn); 1220 return (procstat_get_vnode_info_kvm(procstat->kd, fst, vn, 1224 return (procstat_get_vnode_info_sysctl(fst, vn, errbuf)); 1235 struct vnstat *vn, char *errbuf) 1242 struct vnstat *vn); 1263 assert(vn); 1273 bzero(vn, sizeo 1214 procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst, struct vnstat *vn, char *errbuf) argument 1234 procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst, struct vnstat *vn, char *errbuf) argument 1348 procstat_get_vnode_info_sysctl(struct filestat *fst, struct vnstat *vn, char *errbuf) argument [all...] |
/freebsd-12-stable/sys/fs/pseudofs/ |
H A D | pseudofs_vnops.c | 143 struct vnode *vn = va->a_vp; local 144 struct pfs_vdata *pvd = vn->v_data; 151 error = VOP_GETATTR(vn, &vattr, va->a_cred); 154 error = vaccess(vn->v_type, vattr.va_mode, vattr.va_uid, 165 struct vnode *vn = va->a_vp; local 166 struct pfs_vdata *pvd = vn->v_data; 178 if (vrefcnt(vn) > 1 || pn->pn_close == NULL) 201 struct vnode *vn = va->a_vp; local 202 struct pfs_vdata *pvd = vn->v_data; 214 vap->va_type = vn 269 struct vnode *vn; local 322 struct vnode *vn = va->a_vp; local 435 struct vnode *vn = va->a_dvp; local 588 struct vnode *vn = va->a_vp; local 614 struct vnode *vn = va->a_vp; local 759 struct vnode *vn = va->a_vp; local 881 struct vnode *vn = va->a_vp; local 945 struct vnode *vn = va->a_vp; local 961 struct vnode *vn = va->a_vp; local 978 struct vnode *vn = va->a_vp; local [all...] |
/freebsd-12-stable/contrib/gcc/ |
H A D | opt-functions.awk | 138 vn = var_name(flags); 139 if (vn) 146 vn = var_name(flags); 147 if (vn)
|
/freebsd-12-stable/contrib/tcpdump/ |
H A D | print-nsh.c | 51 int n, vn; local 145 for (vn = 0; vn < tlv_len; vn++) { 148 ND_PRINT((ndo, "\n Value[%02d]: 0x%08x", vn, ctx));
|
/freebsd-12-stable/usr.bin/fstat/ |
H A D | fuser.c | 289 struct vnstat vn; local 303 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 307 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) { 310 else if (reqfiles[i].fsid == vn.vn_fsid && 311 reqfiles[i].fileid == vn.vn_fileid) { 315 (vn.vn_type == PS_FST_VTYPE_VCHR || 316 vn.vn_type == PS_FST_VTYPE_VBLK) && 317 vn.vn_fsid == reqfiles[i].fileid) {
|
H A D | fstat.c | 240 struct vnstat vn; local 251 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 256 if (d->fsid == vn.vn_fsid) { 258 if (d->ino == vn.vn_fileid) { 566 struct vnstat vn; local 573 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 576 else if (vn.vn_type == PS_FST_VTYPE_VBAD) 578 else if (vn.vn_type == PS_FST_VTYPE_VNON) 586 printf(" %#5jx", (uintmax_t)vn.vn_fsid); 587 else if (vn [all...] |
/freebsd-12-stable/tools/diag/dumpvfscache/ |
H A D | dumpvfscache.c | 74 struct vnode vn; local 99 kvm_read(kvm, (u_long)nc->nc_dvp, &vn, sizeof vn); local 111 /* kn += (u_long)vn.v_data >> 8; */ 113 kn += vn.v_id; 118 i,nc->nc_dvp, k, nc->nc_vp, vn.v_id, nc->nc_name);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | regexec.c | 113 #define STATEVARS long vn; char *space 116 (m)->vn = 0; } 118 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-12-stable/contrib/nvi/regex/ |
H A D | regexec.c | 116 #define STATEVARS int vn; char *space 119 (m)->vn = 0; } 121 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-12-stable/sys/compat/lindebugfs/ |
H A D | lindebugfs.c | 122 struct vnode vn; local 132 vn.v_data = d->dm_data; 137 rc = d->dm_fops->open(&vn, &lf); 151 d->dm_fops->release(&vn, &lf); 153 single_release(&vn, &lf);
|
/freebsd-12-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 159 struct vnode *vn; member in struct:ctl_be_block_lun 580 (void) vn_start_write(be_lun->vn, &mountpoint, V_WAIT); 583 ((mountpoint == NULL) && MNT_SHARED_WRITES(be_lun->vn->v_mount))) 587 vn_lock(be_lun->vn, lock_flags | LK_RETRY); 588 error = VOP_FSYNC(be_lun->vn, beio->io_arg ? MNT_NOWAIT : MNT_WAIT, 590 VOP_UNLOCK(be_lun->vn, 0); 664 vn_lock(be_lun->vn, LK_SHARED | LK_RETRY); 683 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred); 685 VOP_UNLOCK(be_lun->vn, 0); 707 (void)vn_start_write(be_lun->vn, [all...] |
/freebsd-12-stable/lib/libc/regex/ |
H A D | regexec.c | 160 #define STATEVARS long vn; char *space 163 (m)->vn = 0; } 165 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-12-stable/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 617 struct vnode *vp, *vn; local 627 vn = va->a_vp; 628 if (VTOFDESC(vn)->fd_type != Fdesc) 630 fd_fd = ((struct fdescnode *)vn->v_data)->fd_fd; 631 lockflags = VOP_ISLOCKED(vn); 632 VOP_UNLOCK(vn, 0); 658 vn_lock(vn, lockflags | LK_RETRY);
|
/freebsd-12-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 706 struct vnode *vn; member in struct:xbb_softc 2281 (void) vn_start_write(xbb->vn, &mountpoint, V_WAIT); 2283 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); 2284 error = VOP_FSYNC(xbb->vn, MNT_WAIT, curthread); 2285 VOP_UNLOCK(xbb->vn, 0); 2379 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); 2401 error = VOP_READ(xbb->vn, &xuio, (flags & BIO_ORDERED) ? 2404 VOP_UNLOCK(xbb->vn, 0); 2413 (void)vn_start_write(xbb->vn, &mountpoint, V_WAIT); 2415 vn_lock(xbb->vn, LK_EXCLUSIV [all...] |
/freebsd-12-stable/contrib/mandoc/ |
H A D | term.c | 258 size_t vn; /* Visual position of the next character. */ local 276 vn = term_tab_next(vis); 279 vn = vis + (*p->width)(p, ' '); 282 vn = vis; 288 if (breakline || vn > vtarget) 295 vis = vn; 358 size_t vn; /* Visual position of the next character. */ local 373 vn = term_tab_next(vis); 374 vbl += vn - vis; 375 vis = vn; [all...] |
/freebsd-12-stable/usr.bin/procstat/ |
H A D | procstat_files.c | 295 struct vnstat vn; local 433 &vn, NULL); 434 switch (vn.vn_type) {
|
/freebsd-12-stable/sys/dev/acpica/ |
H A D | acpi_video.c | 293 struct acpi_video_output *vo, *vn; local 303 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { 315 struct acpi_video_output *vo, *vn; local 323 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { 464 struct acpi_video_output *vn, *vo, *vp; local 508 STAILQ_FOREACH(vn, voqh, vo_unit.next) { 509 if (vn->vo_unit.num != n) 511 vp = vn;
|