Searched refs:vn (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-10.3-release/lib/libprocstat/
H A Dcommon_kvm.h40 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 Dsmbfs.c51 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 Dcommon_kvm.c88 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 Dcd9660.c68 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 Dmsdosfs.c79 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 Dzfs.c67 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 Dudf.c80 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 Dlibprocstat.c148 struct vnstat *vn, char *errbuf);
150 struct vnstat *vn, char *errbuf);
1198 struct vnstat *vn, char *errbuf)
1201 assert(vn);
1203 return (procstat_get_vnode_info_kvm(procstat->kd, fst, vn,
1207 return (procstat_get_vnode_info_sysctl(fst, vn, errbuf));
1218 struct vnstat *vn, char *errbuf)
1225 struct vnstat *vn);
1246 assert(vn);
1256 bzero(vn, sizeo
1197 procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst, struct vnstat *vn, char *errbuf) argument
1217 procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst, struct vnstat *vn, char *errbuf) argument
1331 procstat_get_vnode_info_sysctl(struct filestat *fst, struct vnstat *vn, char *errbuf) argument
[all...]
/freebsd-10.3-release/sys/fs/pseudofs/
H A Dpseudofs_vnops.c137 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.3-release/contrib/gcc/
H A Dopt-functions.awk138 vn = var_name(flags);
139 if (vn)
146 vn = var_name(flags);
147 if (vn)
/freebsd-10.3-release/usr.bin/fstat/
H A Dfstat.c231 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 Dfuser.c287 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.3-release/tools/diag/dumpvfscache/
H A Ddumpvfscache.c74 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.3-release/contrib/llvm/lib/Support/
H A Dregexec.c113 #define STATEVARS long vn; char *space
116 (m)->vn = 0; }
118 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
/freebsd-10.3-release/contrib/nvi/regex/
H A Dregexec.c124 #define STATEVARS int vn; char *space
127 (m)->vn = 0; }
129 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
/freebsd-10.3-release/sys/cam/ctl/
H A Dctl_backend_block.c157 struct vnode *vn; member in struct:ctl_be_block_lun
584 (void) vn_start_write(be_lun->vn, &mountpoint, V_WAIT);
587 ((mountpoint == NULL) && MNT_SHARED_WRITES(be_lun->vn->v_mount)))
591 vn_lock(be_lun->vn, lock_flags | LK_RETRY);
592 error = VOP_FSYNC(be_lun->vn, beio->io_arg ? MNT_NOWAIT : MNT_WAIT,
594 VOP_UNLOCK(be_lun->vn, 0);
668 vn_lock(be_lun->vn, LK_SHARED | LK_RETRY);
687 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred);
689 VOP_UNLOCK(be_lun->vn, 0);
711 (void)vn_start_write(be_lun->vn,
[all...]
/freebsd-10.3-release/contrib/wpa/src/ap/
H A Dgas_serv.c195 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.3-release/lib/libc/regex/
H A Dregexec.c158 #define STATEVARS long vn; char *space
161 (m)->vn = 0; }
163 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
/freebsd-10.3-release/sys/dev/xen/blkback/
H A Dblkback.c707 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.3-release/usr.bin/procstat/
H A Dprocstat_files.c296 struct vnstat vn; local
402 &vn, NULL);
403 switch (vn.vn_type) {
/freebsd-10.3-release/sys/dev/acpica/
H A Dacpi_video.c291 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.3-release/sys/kern/
H A DMake.tags.inc84 ${SYS}/dev/vn \
H A Dvfs_cache.c1169 vn_fullpath(struct thread *td, struct vnode *vn, char **retbuf, char **freebuf) argument
1178 if (vn == NULL)
1187 error = vn_fullpath1(td, vn, rdir, buf, retbuf, MAXPATHLEN);
1204 vn_fullpath_global(struct thread *td, struct vnode *vn, argument
1212 if (vn == NULL)
1215 error = vn_fullpath1(td, vn, rootvnode, buf, retbuf, MAXPATHLEN);
/freebsd-10.3-release/libexec/rtld-elf/
H A Drtld.c4695 const Elf_Verneed *vn; local
4712 vn = obj->verneed;
4713 while (vn != NULL) {
4714 if (vn->vn_version != VER_NEED_CURRENT) {
4716 obj->path, vn->vn_version);
4719 vna = (const Elf_Vernaux *) ((char *)vn + vn->vn_aux);
4728 if (vn->vn_next == 0)
4730 vn = (const Elf_Verneed *) ((char *)vn
[all...]
/freebsd-10.3-release/contrib/llvm/include/llvm/Object/
H A DELF.h458 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;

Completed in 365 milliseconds

12