/freebsd-10.2-release/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 | 51 smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 58 assert(vn); 72 vn->vn_fileid = node.n_ino; 73 if (vn->vn_fileid == 0) 74 vn->vn_fileid = 2; 75 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 101 vn->vn_fsid = dev2udev(kd, inode.i_dev); 102 vn->vn_fileid = inode.i_number; 103 vn->vn_mode = (mode_t)inode.i_mode; 104 vn->vn_size = inode.i_size; 109 devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 126 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; 127 vn->vn_fileid = devfs_dirent.de_inode; 128 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; 129 vn 134 nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument [all...] |
H A D | cd9660.c | 68 isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 85 vn->vn_fsid = dev2udev(kd, mnt.im_dev); 86 vn->vn_mode = (mode_t)isonode.inode.iso_mode; 87 vn->vn_fileid = isonode.i_number; 88 vn->vn_size = isonode.i_size;
|
H A D | msdosfs.c | 79 msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 118 vn->vn_fsid = dev2udev(kd, mnt->data.pm_dev); 119 vn->vn_mode = 0555; 120 vn->vn_mode |= denode.de_Attributes & ATTR_READONLY ? 0 : 0222; 121 vn->vn_mode &= mnt->data.pm_mask; 124 vn->vn_mode |= denode.de_Attributes & ATTR_DIRECTORY ? S_IFDIR : S_IFREG; 125 vn->vn_size = denode.de_FileSize; 151 vn->vn_fileid = fileid;
|
H A D | zfs.c | 67 zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 120 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; 121 vn->vn_fileid = *zid; 127 vn->vn_mode = (mode_t)zphys.zp_mode; 128 vn->vn_size = (u_long)zphys.zp_size;
|
H A D | udf.c | 80 udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) argument 87 assert(vn); 99 vn->vn_fileid = node.hash_id; 100 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); 1194 struct vnstat *vn, char *errbuf) 1197 assert(vn); 1199 return (procstat_get_vnode_info_kvm(procstat->kd, fst, vn, 1203 return (procstat_get_vnode_info_sysctl(fst, vn, errbuf)); 1214 struct vnstat *vn, char *errbuf) 1221 struct vnstat *vn); 1242 assert(vn); 1252 bzero(vn, sizeo 1193 procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst, struct vnstat *vn, char *errbuf) argument 1213 procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst, struct vnstat *vn, char *errbuf) argument 1327 procstat_get_vnode_info_sysctl(struct filestat *fst, struct vnstat *vn, char *errbuf) argument [all...] |
/freebsd-10.2-release/sys/fs/pseudofs/ |
H A D | pseudofs_vnops.c | 137 struct vnode *vn = va->a_vp; local 138 struct pfs_vdata *pvd = vn->v_data; 145 error = VOP_GETATTR(vn, &vattr, va->a_cred); 148 error = vaccess(vn->v_type, vattr.va_mode, vattr.va_uid, 159 struct vnode *vn = va->a_vp; local 160 struct pfs_vdata *pvd = vn->v_data; 172 if (vrefcnt(vn) > 1 || pn->pn_close == NULL) 195 struct vnode *vn = va->a_vp; local 196 struct pfs_vdata *pvd = vn->v_data; 208 vap->va_type = vn 263 struct vnode *vn; local 316 struct vnode *vn = va->a_vp; local 429 struct vnode *vn = va->a_dvp; local 586 struct vnode *vn = va->a_vp; local 612 struct vnode *vn = va->a_vp; local 757 struct vnode *vn = va->a_vp; local 877 struct vnode *vn = va->a_vp; local 941 struct vnode *vn = va->a_vp; local 957 struct vnode *vn = va->a_vp; local 973 struct vnode *vn = va->a_vp; local [all...] |
/freebsd-10.2-release/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-10.2-release/usr.bin/fstat/ |
H A D | fstat.c | 231 struct vnstat vn; local 242 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 247 if (d->fsid == vn.vn_fsid) { 249 if (d->ino == vn.vn_fileid) { 482 struct vnstat vn; local 489 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 492 else if (vn.vn_type == PS_FST_VTYPE_VBAD) 494 else if (vn.vn_type == PS_FST_VTYPE_VNON) 502 printf(" %#5jx", (uintmax_t)vn.vn_fsid); 503 else if (vn [all...] |
H A D | fuser.c | 287 struct vnstat vn; local 301 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); 305 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) { 308 else if (reqfiles[i].fsid == vn.vn_fsid && 309 reqfiles[i].fileid == vn.vn_fileid) { 313 (vn.vn_type == PS_FST_VTYPE_VCHR || 314 vn.vn_type == PS_FST_VTYPE_VBLK) && 315 vn.vn_fsid == reqfiles[i].fileid) {
|
/freebsd-10.2-release/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-10.2-release/contrib/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-10.2-release/contrib/nvi/regex/ |
H A D | regexec.c | 124 #define STATEVARS int vn; char *space 127 (m)->vn = 0; } 129 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-10.2-release/contrib/wpa/src/ap/ |
H A D | gas_serv.c | 195 struct hostapd_lang_string *vn; local 196 vn = &hapd->conf->venue_name[i]; 197 wpabuf_put_u8(buf, 3 + vn->name_len); 198 wpabuf_put_data(buf, vn->lang, 3); 199 wpabuf_put_data(buf, vn->name, vn->name_len); 451 struct hostapd_lang_string *vn; local 452 vn = &hapd->conf->hs20_oper_friendly_name[i]; 453 wpabuf_put_u8(buf, 3 + vn->name_len); 454 wpabuf_put_data(buf, vn [all...] |
/freebsd-10.2-release/lib/libc/regex/ |
H A D | regexec.c | 158 #define STATEVARS long vn; char *space 161 (m)->vn = 0; } 163 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/freebsd-10.2-release/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 164 struct vnode *vn; member in struct:ctl_be_block_lun 576 (void) vn_start_write(be_lun->vn, &mountpoint, V_WAIT); 580 && MNT_SHARED_WRITES(be_lun->vn->v_mount))) 585 vn_lock(be_lun->vn, lock_flags | LK_RETRY); 587 error = VOP_FSYNC(be_lun->vn, MNT_WAIT, curthread); 588 VOP_UNLOCK(be_lun->vn, 0); 662 vn_lock(be_lun->vn, LK_SHARED | LK_RETRY); 684 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred); 686 VOP_UNLOCK(be_lun->vn, 0); 692 (void)vn_start_write(be_lun->vn, [all...] |
/freebsd-10.2-release/sys/dev/xen/blkback/ |
H A D | blkback.c | 707 struct vnode *vn; member in struct:xbb_softc 2227 (void) vn_start_write(xbb->vn, &mountpoint, V_WAIT); 2229 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); 2230 error = VOP_FSYNC(xbb->vn, MNT_WAIT, curthread); 2231 VOP_UNLOCK(xbb->vn, 0); 2325 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); 2347 error = VOP_READ(xbb->vn, &xuio, (flags & BIO_ORDERED) ? 2350 VOP_UNLOCK(xbb->vn, 0); 2359 (void)vn_start_write(xbb->vn, &mountpoint, V_WAIT); 2361 vn_lock(xbb->vn, LK_EXCLUSIV [all...] |
/freebsd-10.2-release/usr.bin/procstat/ |
H A D | procstat_files.c | 296 struct vnstat vn; local 402 &vn, NULL); 403 switch (vn.vn_type) {
|
/freebsd-10.2-release/sys/kern/ |
H A D | Make.tags.inc | 84 ${SYS}/dev/vn \
|
H A D | vfs_cache.c | 1131 vn_fullpath(struct thread *td, struct vnode *vn, char **retbuf, char **freebuf) argument 1140 if (vn == NULL) 1149 error = vn_fullpath1(td, vn, rdir, buf, retbuf, MAXPATHLEN); 1166 vn_fullpath_global(struct thread *td, struct vnode *vn, argument 1174 if (vn == NULL) 1177 error = vn_fullpath1(td, vn, rootvnode, buf, retbuf, MAXPATHLEN);
|
/freebsd-10.2-release/sys/dev/acpica/ |
H A D | acpi_video.c | 291 struct acpi_video_output *vo, *vn; local 301 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { 313 struct acpi_video_output *vo, *vn; local 321 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { 462 struct acpi_video_output *vn, *vo, *vp; local 506 STAILQ_FOREACH(vn, voqh, vo_unit.next) { 507 if (vn->vo_unit.num != n) 509 vp = vn;
|
/freebsd-10.2-release/libexec/rtld-elf/ |
H A D | rtld.c | 4700 const Elf_Verneed *vn; local 4717 vn = obj->verneed; 4718 while (vn != NULL) { 4719 if (vn->vn_version != VER_NEED_CURRENT) { 4721 obj->path, vn->vn_version); 4724 vna = (const Elf_Vernaux *) ((char *)vn + vn->vn_aux); 4733 if (vn->vn_next == 0) 4735 vn = (const Elf_Verneed *) ((char *)vn [all...] |
/freebsd-10.2-release/contrib/llvm/include/llvm/Object/ |
H A D | ELF.h | 458 const Elf_Verneed *vn = reinterpret_cast<const Elf_Verneed *>(p); local 459 if (vn->vn_version != ELF::VER_NEED_CURRENT) 462 const char *paux = p + vn->vn_aux; 463 for (unsigned j = 0; j < vn->vn_cnt; j++) { 474 p += vn->vn_next;
|