/freebsd-current/lib/libprocstat/ |
H A D | common_kvm.h | 40 int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 41 int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 42 int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 43 int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 44 int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 45 int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 46 int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn); 47 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 | 88 ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 106 vn->vn_fsid = dev2udev(kd, um.um_dev); 107 vn->vn_fileid = inode.i_number; 108 vn->vn_mode = (mode_t)inode.i_mode; 109 vn->vn_size = inode.i_size; 114 devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 131 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; 132 vn->vn_fileid = devfs_dirent.de_inode; 133 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; 134 vn 139 nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument [all...] |
H A D | libprocstat_compat.c | 101 struct filestat *fst, struct freebsd11_vnstat *vn, char *errbuf); 204 struct vnstat vn; local 207 r = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 210 vn_compat->vn_fileid = vn.vn_fileid; 211 vn_compat->vn_size = vn.vn_size; 212 vn_compat->vn_mntdir = vn.vn_mntdir; 213 vn_compat->vn_dev = vn.vn_dev; 214 vn_compat->vn_fsid = vn.vn_fsid; 215 vn_compat->vn_type = vn.vn_type; 216 vn_compat->vn_mode = vn 229 struct vnstat vn; local [all...] |
H A D | cd9660.c | 67 isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 84 vn->vn_fsid = dev2udev(kd, mnt.im_dev); 85 vn->vn_mode = (mode_t)isonode.inode.iso_mode; 86 vn->vn_fileid = isonode.i_number; 87 vn->vn_size = isonode.i_size;
|
H A D | msdosfs.c | 82 msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 121 vn->vn_fsid = dev2udev(kd, mnt->data.pm_dev); 122 vn->vn_mode = 0555; 123 vn->vn_mode |= denode.de_Attributes & ATTR_READONLY ? 0 : 0222; 124 vn->vn_mode &= mnt->data.pm_mask; 127 vn->vn_mode |= denode.de_Attributes & ATTR_DIRECTORY ? S_IFDIR : S_IFREG; 128 vn->vn_size = denode.de_FileSize; 154 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.c | 148 struct vnstat *vn, char *errbuf); 150 struct vnstat *vn, char *errbuf); 1241 struct vnstat *vn, char *errbuf) 1244 assert(vn); 1246 return (procstat_get_vnode_info_kvm(procstat->kd, fst, vn, 1250 return (procstat_get_vnode_info_sysctl(fst, vn, errbuf)); 1261 struct vnstat *vn, char *errbuf) 1268 struct vnstat *vn); 1289 assert(vn); 1299 bzero(vn, sizeo 1240 procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst, struct vnstat *vn, char *errbuf) argument 1260 procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst, struct vnstat *vn, char *errbuf) argument 1374 procstat_get_vnode_info_sysctl(struct filestat *fst, struct vnstat *vn, char *errbuf) argument [all...] |
/freebsd-current/sys/fs/pseudofs/ |
H A D | pseudofs_vnops.c | 155 struct vnode *vn = va->a_vp; local 156 struct pfs_vdata *pvd = vn->v_data; 163 error = VOP_GETATTR(vn, &vattr, va->a_cred); 166 error = vaccess(vn->v_type, vattr.va_mode, vattr.va_uid, vattr.va_gid, 177 struct vnode *vn = va->a_vp; local 178 struct pfs_vdata *pvd = vn->v_data; 190 if (vrefcnt(vn) > 1 || pn->pn_close == NULL) 213 struct vnode *vn = va->a_vp; local 214 struct pfs_vdata *pvd = vn->v_data; 226 vap->va_type = vn 281 struct vnode *vn; local 334 struct vnode *vn = va->a_vp; local 447 struct vnode *vn = va->a_dvp; local 600 struct vnode *vn = va->a_vp; local 670 struct vnode *vn = va->a_vp; local 844 struct vnode *vn = va->a_vp; local 981 struct vnode *vn = va->a_vp; local 1045 struct vnode *vn = va->a_vp; local 1061 struct vnode *vn = va->a_vp; local 1078 struct vnode *vn = va->a_vp; local [all...] |
/freebsd-current/usr.bin/fstat/ |
H A D | fuser.c | 286 struct vnstat vn; local 300 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 304 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) { 307 else if (reqfiles[i].fsid == vn.vn_fsid && 308 reqfiles[i].fileid == vn.vn_fileid) { 312 (vn.vn_type == PS_FST_VTYPE_VCHR || 313 vn.vn_type == PS_FST_VTYPE_VBLK) && 314 vn.vn_fsid == reqfiles[i].fileid) {
|
H A D | fstat.c | 237 struct vnstat vn; local 248 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 253 if (d->fsid == vn.vn_fsid) { 255 if (d->ino == vn.vn_fileid) { 558 struct vnstat vn; local 565 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 568 else if (vn.vn_type == PS_FST_VTYPE_VBAD) 570 else if (vn.vn_type == PS_FST_VTYPE_VNON) 578 printf(" %#5jx", (uintmax_t)vn.vn_fsid); 579 else if (vn [all...] |
/freebsd-current/tools/diag/dumpvfscache/ |
H A D | dumpvfscache.c | 73 struct vnode vn; local 98 kvm_read(kvm, (u_long)nc->nc_dvp, &vn, sizeof vn); local 110 /* kn += (u_long)vn.v_data >> 8; */ 112 kn += vn.v_id; 117 i,nc->nc_dvp, k, nc->nc_vp, vn.v_id, nc->nc_name);
|
/freebsd-current/contrib/one-true-awk/ |
H A D | main.c | 117 char *fn, *vn; local 183 vn = getarg(&argc, &argv, "no variable name"); 184 if (isclvar(vn)) 185 setclvar(vn); 187 FATAL("invalid -v option argument: %s", vn);
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-nsh.c | 219 u_int vn; local 222 for (vn = 0; vn < tlv_len; vn++) {
|
/freebsd-current/crypto/openssl/crypto/poly1305/asm/ |
H A D | poly1305-s390x.pl | 324 vn ($H3,$ACC3,$mask26); 325 vn ($H0,$ACC0,$mask26); 331 vn ($H4,$H4,$mask26); 332 vn ($H1,$H1,$mask26); 338 vn ($H2,$H2,$mask26); 344 vn ($H0,$H0,$mask26); 345 vn ($H3,$H3,$mask26); 526 vn ($I0,$I0,$mask26); 527 vn ($I2,$I2,$mask26); 604 vn ( [all...] |
/freebsd-current/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-current/contrib/nvi/regex/ |
H A D | regexec.c | 116 #define STATEVARS int vn; char *space 119 (m)->vn = 0; } while (0) 121 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 162 struct vnode *vn; member in struct:ctl_be_block_lun 622 (void) vn_start_write(be_lun->vn, &mountpoint, V_WAIT); 624 vn_lock(be_lun->vn, vn_lktype_write(mountpoint, be_lun->vn) | 626 error = VOP_FSYNC(be_lun->vn, beio->io_arg ? MNT_NOWAIT : MNT_WAIT, 628 VOP_UNLOCK(be_lun->vn); 699 vn_lock(be_lun->vn, LK_SHARED | LK_RETRY); 721 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred); 723 VOP_UNLOCK(be_lun->vn); 744 (void)vn_start_write(be_lun->vn, [all...] |
/freebsd-current/lib/libc/regex/ |
H A D | regexec.c | 152 #define STATEVARS long vn; char *space 155 (m)->vn = 0; } 157 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-current/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 624 struct vnode *vp, *vn; local 634 vn = va->a_vp; 635 if (VTOFDESC(vn)->fd_type != Fdesc) 637 fd_fd = ((struct fdescnode *)vn->v_data)->fd_fd; 638 lockflags = VOP_ISLOCKED(vn); 639 VOP_UNLOCK(vn); 665 vn_lock(vn, lockflags | LK_RETRY);
|
/freebsd-current/sys/dev/xen/blkback/ |
H A D | blkback.c | 650 struct vnode *vn; member in struct:xbb_softc 2160 (void) vn_start_write(xbb->vn, &mountpoint, V_WAIT); 2162 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); 2163 error = VOP_FSYNC(xbb->vn, MNT_WAIT, curthread); 2164 VOP_UNLOCK(xbb->vn); 2222 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); 2244 error = VOP_READ(xbb->vn, &xuio, (flags & BIO_ORDERED) ? 2247 VOP_UNLOCK(xbb->vn); 2256 (void)vn_start_write(xbb->vn, &mountpoint, V_WAIT); 2258 vn_lock(xbb->vn, LK_EXCLUSIV [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | term.c | 257 size_t vn; /* Visual position of the next character. */ local 275 vn = term_tab_next(vis); 278 vn = vis + (*p->width)(p, ' '); 281 vn = vis; 287 if (breakline || vn > vtarget) 294 vis = vn; 355 size_t vn; /* Visual position of the next character. */ local 370 vn = term_tab_next(vis); 371 vbl += vn - vis; 372 vis = vn; [all...] |
/freebsd-current/usr.bin/procstat/ |
H A D | procstat_files.c | 294 struct vnstat vn; local 432 &vn, NULL); 433 switch (vn.vn_type) {
|
/freebsd-current/sys/dev/acpica/ |
H A D | acpi_video.c | 366 struct acpi_video_output *vo, *vn; local 376 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { 392 struct acpi_video_output *vo, *vn; local 400 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { 561 struct acpi_video_output *vn, *vo, *vp; local 605 STAILQ_FOREACH(vn, voqh, vo_unit.next) { 606 if (vn->vo_unit.num != n) 608 vp = vn;
|