Home
last modified time | relevance | path

Searched refs:vn (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/sys/fs/pseudofs/
H A Dpseudofs_vnops.c159 struct vnode *vn = va->a_vp; in pfs_access()
160 struct pfs_vdata *pvd = vn->v_data; in pfs_access()
167 error = VOP_GETATTR(vn, &vattr, va->a_cred); in pfs_access()
170 error = vaccess(vn->v_type, vattr.va_mode, vattr.va_uid, vattr.va_gid,
181 struct vnode *vn = va->a_vp; in pfs_close()
182 struct pfs_vdata *pvd = vn->v_data; in pfs_close()
194 if (vrefcnt(vn) > 1 || pn->pn_close == NULL) in pfs_close()
217 struct vnode *vn = va->a_vp; in pfs_getattr()
218 struct pfs_vdata *pvd = vn->v_data; in pfs_getattr()
230 vap->va_type = vn in pfs_getattr()
155 struct vnode *vn = va->a_vp; pfs_access() local
177 struct vnode *vn = va->a_vp; pfs_close() local
213 struct vnode *vn = va->a_vp; pfs_getattr() local
281 struct vnode *vn; pfs_ioctl() local
334 struct vnode *vn = va->a_vp; pfs_getextattr() local
447 struct vnode *vn = va->a_dvp; pfs_lookup() local
600 struct vnode *vn = va->a_vp; pfs_open() local
670 struct vnode *vn = va->a_vp; pfs_read() local
844 struct vnode *vn = va->a_vp; pfs_readdir() local
980 struct vnode *vn = va->a_vp; pfs_readlink() local
1044 struct vnode *vn = va->a_vp; pfs_reclaim() local
1060 struct vnode *vn = va->a_vp; pfs_setattr() local
1077 struct vnode *vn = va->a_vp; pfs_write() local
[all...]
/freebsd/lib/libprocstat/
H A Dlibprocstat_compat.c101 struct filestat *fst, struct freebsd11_vnstat *vn, char *errbuf);
204 struct vnstat vn; in freebsd11_procstat_get_vnode_info() local
207 r = procstat_get_vnode_info(procstat, fst, &vn, errbuf); in freebsd11_procstat_get_vnode_info()
210 vn_compat->vn_fileid = vn.vn_fileid; in freebsd11_procstat_get_vnode_info()
211 vn_compat->vn_size = vn.vn_size; in freebsd11_procstat_get_vnode_info()
212 vn_compat->vn_mntdir = vn.vn_mntdir; in freebsd11_procstat_get_vnode_info()
213 vn_compat->vn_dev = vn.vn_dev; in freebsd11_procstat_get_vnode_info()
214 vn_compat->vn_fsid = vn.vn_fsid; in freebsd11_procstat_get_vnode_info()
215 vn_compat->vn_type = vn.vn_type; in freebsd11_procstat_get_vnode_info()
216 vn_compat->vn_mode = vn.vn_mode; in freebsd11_procstat_get_vnode_info()
[all …]
H A Dcommon_kvm.c88 ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in ufs_filestat() argument
106 vn->vn_fsid = dev2udev(kd, um.um_dev); in ufs_filestat()
107 vn->vn_fileid = inode.i_number; in ufs_filestat()
108 vn->vn_mode = (mode_t)inode.i_mode; in ufs_filestat()
109 vn->vn_size = inode.i_size; in ufs_filestat()
114 devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in devfs_filestat() argument
131 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; in devfs_filestat()
132 vn->vn_fileid = devfs_dirent.de_inode; in devfs_filestat()
133 vn->vn_mode = (devfs_dirent.de_mode & ~S_IFMT) | S_IFCHR; in devfs_filestat()
134 vn->vn_size = 0; in devfs_filestat()
[all …]
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 Dmsdosfs.c73 msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in msdosfs_filestat() argument
112 vn->vn_fsid = dev2udev(kd, mnt->data.pm_dev); in msdosfs_filestat()
113 vn->vn_mode = 0555; in msdosfs_filestat()
114 vn->vn_mode |= denode.de_Attributes & ATTR_READONLY ? 0 : 0222; in msdosfs_filestat()
115 vn->vn_mode &= mnt->data.pm_mask; in msdosfs_filestat()
118 vn->vn_mode |= denode.de_Attributes & ATTR_DIRECTORY ? S_IFDIR : S_IFREG; in msdosfs_filestat()
119 vn->vn_size = denode.de_FileSize; in msdosfs_filestat()
145 vn->vn_fileid = fileid; in msdosfs_filestat()
H A Dsmbfs.c52 smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in smbfs_filestat() argument
59 assert(vn); in smbfs_filestat()
73 vn->vn_fileid = node.n_ino; in smbfs_filestat()
74 if (vn->vn_fileid == 0) in smbfs_filestat()
75 vn->vn_fileid = 2; in smbfs_filestat()
76 vn->vn_fsid = mnt.mnt_stat.f_fsid.val[0]; in smbfs_filestat()
H A Dcd9660.c66 isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in isofs_filestat() argument
83 vn->vn_fsid = dev2udev(kd, mnt.im_dev); in isofs_filestat()
84 vn->vn_mode = (mode_t)isonode.inode.iso_mode; in isofs_filestat()
85 vn->vn_fileid = isonode.i_number; in isofs_filestat()
86 vn->vn_size = isonode.i_size; in isofs_filestat()
H A Dzfs.c54 zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in zfs_filestat() argument
105 vn->vn_fsid = mount.mnt_stat.f_fsid.val[0]; in zfs_filestat()
106 vn->vn_fileid = znode->z_id; in zfs_filestat()
107 vn->vn_mode = znode->z_mode; in zfs_filestat()
108 vn->vn_size = znode->z_size; in zfs_filestat()
H A Dudf.c79 udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn) in udf_filestat() argument
86 assert(vn); in udf_filestat()
98 vn->vn_fileid = node.hash_id; in udf_filestat()
99 vn->vn_fsid = dev2udev(kd, mnt.im_dev); in udf_filestat()
H A Dlibprocstat.c149 struct vnstat *vn, char *errbuf);
151 struct vnstat *vn, char *errbuf);
1247 struct vnstat *vn, char *errbuf) in procstat_get_vnode_info() argument
1250 assert(vn); in procstat_get_vnode_info()
1252 return (procstat_get_vnode_info_kvm(procstat->kd, fst, vn, in procstat_get_vnode_info()
1256 return (procstat_get_vnode_info_sysctl(fst, vn, errbuf)); in procstat_get_vnode_info()
1267 struct vnstat *vn, char *errbuf) in procstat_get_vnode_info_kvm() argument
1274 struct vnstat *vn); in procstat_get_vnode_info_kvm()
1295 assert(vn); in procstat_get_vnode_info_kvm()
1305 bzero(vn, sizeof(*vn)); in procstat_get_vnode_info_kvm()
[all …]
/freebsd/usr.bin/fstat/
H A Dfstat.c237 struct vnstat vn; in print_file_info() local
248 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); in print_file_info()
253 if (d->fsid == vn.vn_fsid) { in print_file_info()
255 if (d->ino == vn.vn_fileid) { in print_file_info()
570 struct vnstat vn; in print_vnode_info() local
577 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); in print_vnode_info()
580 else if (vn.vn_type == PS_FST_VTYPE_VBAD) in print_vnode_info()
582 else if (vn.vn_type == PS_FST_VTYPE_VNON) in print_vnode_info()
590 printf(" %#5jx", (uintmax_t)vn.vn_fsid); in print_vnode_info()
591 else if (vn.vn_mntdir != NULL) in print_vnode_info()
[all …]
H A Dfuser.c275 struct vnstat vn; in dofiles() local
289 error = procstat_get_vnode_info(procstat, fst, &vn, errbuf); in dofiles()
293 if (flags & CFLAG && reqfiles[i].fsid == vn.vn_fsid) { in dofiles()
296 else if (reqfiles[i].fsid == vn.vn_fsid && in dofiles()
297 reqfiles[i].fileid == vn.vn_fileid) { in dofiles()
301 (vn.vn_type == PS_FST_VTYPE_VCHR || in dofiles()
302 vn.vn_type == PS_FST_VTYPE_VBLK) && in dofiles()
303 vn.vn_fsid == reqfiles[i].fileid) { in dofiles()
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-s390x.pl324 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 ($I0,$I0,$mask26);
[all …]
/freebsd/tools/diag/dumpvfscache/
H A Ddumpvfscache.c73 struct vnode vn; in main() local
98 kvm_read(kvm, (u_long)nc->nc_dvp, &vn, sizeof vn); in main()
112 kn += vn.v_id; in main()
117 i,nc->nc_dvp, k, nc->nc_vp, vn.v_id, nc->nc_name); in main()
/freebsd/sys/cam/ctl/
H A Dctl_backend_block.c162 struct vnode *vn; member
620 (void) vn_start_write(be_lun->vn, &mountpoint, V_WAIT); in ctl_be_block_flush_file()
622 vn_lock(be_lun->vn, vn_lktype_write(mountpoint, be_lun->vn) | in ctl_be_block_flush_file()
624 error = VOP_FSYNC(be_lun->vn, beio->io_arg ? MNT_NOWAIT : MNT_WAIT, in ctl_be_block_flush_file()
626 VOP_UNLOCK(be_lun->vn); in ctl_be_block_flush_file()
697 vn_lock(be_lun->vn, LK_SHARED | LK_RETRY); in ctl_be_block_dispatch_file()
719 error = VOP_READ(be_lun->vn, &xuio, flags, file_data->cred); in ctl_be_block_dispatch_file()
721 VOP_UNLOCK(be_lun->vn); in ctl_be_block_dispatch_file()
742 (void)vn_start_write(be_lun->vn, &mountpoint, V_WAIT); in ctl_be_block_dispatch_file()
743 vn_lock(be_lun->vn, vn_lktype_write(mountpoint, in ctl_be_block_dispatch_file()
[all …]
/freebsd/contrib/one-true-awk/
H A Dmain.c137 char *fn, *vn; in main() local
203 vn = getarg(&argc, &argv, "no variable name"); in main()
204 if (isclvar(vn)) in main()
205 setclvar(vn); in main()
207 FATAL("invalid -v option argument: %s", vn); in main()
/freebsd/contrib/tcpdump/
H A Dprint-nsh.c216 u_int vn; in nsh_print() local
219 for (vn = 0; vn < tlv_len; vn++) { in nsh_print()
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c652 struct vnode *vn; member
2164 (void) vn_start_write(xbb->vn, &mountpoint, V_WAIT); in xbb_dispatch_file()
2166 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); in xbb_dispatch_file()
2167 error = VOP_FSYNC(xbb->vn, MNT_WAIT, curthread); in xbb_dispatch_file()
2168 VOP_UNLOCK(xbb->vn); in xbb_dispatch_file()
2226 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); in xbb_dispatch_file()
2248 error = VOP_READ(xbb->vn, &xuio, (flags & BIO_ORDERED) ? in xbb_dispatch_file()
2251 VOP_UNLOCK(xbb->vn); in xbb_dispatch_file()
2260 (void)vn_start_write(xbb->vn, &mountpoint, V_WAIT); in xbb_dispatch_file()
2262 vn_lock(xbb->vn, LK_EXCLUSIVE | LK_RETRY); in xbb_dispatch_file()
[all …]
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vnops.c630 struct vnode *vp, *vn; in fdesc_readlink() local
640 vn = va->a_vp; in fdesc_readlink()
641 if (VTOFDESC(vn)->fd_type != Fdesc) in fdesc_readlink()
643 fd_fd = ((struct fdescnode *)vn->v_data)->fd_fd; in fdesc_readlink()
644 lockflags = VOP_ISLOCKED(vn); in fdesc_readlink()
645 VOP_UNLOCK(vn); in fdesc_readlink()
671 vn_lock(vn, lockflags | LK_RETRY); in fdesc_readlink()
/freebsd/contrib/nvi/regex/
H A Dregexec.c116 #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/contrib/llvm-project/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/lib/libc/regex/
H A Dregexec.c152 #define STATEVARS long vn; char *space
155 (m)->vn = 0; }
157 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
/freebsd/sys/dev/acpica/
H A Dacpi_video.c366 struct acpi_video_output *vo, *vn; in acpi_video_detach() local
376 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { in acpi_video_detach()
392 struct acpi_video_output *vo, *vn; in acpi_video_resume() local
400 STAILQ_FOREACH_SAFE(vo, &sc->vid_outputs, vo_next, vn) { in acpi_video_resume()
561 struct acpi_video_output *vn, *vo, *vp; in acpi_video_vo_init() local
605 STAILQ_FOREACH(vn, voqh, vo_unit.next) { in acpi_video_vo_init()
606 if (vn->vo_unit.num != n) in acpi_video_vo_init()
608 vp = vn; in acpi_video_vo_init()
/freebsd/share/i18n/esdb/TCVN/
H A DTCVN.alias6 TCVN5712-1 vn-1
/freebsd/contrib/wpa/src/ap/
H A Dgas_serv.c324 struct hostapd_lang_string *vn; in anqp_add_venue_name() local
325 vn = &hapd->conf->venue_name[i]; in anqp_add_venue_name()
326 wpabuf_put_u8(buf, 3 + vn->name_len); in anqp_add_venue_name()
327 wpabuf_put_data(buf, vn->lang, 3); in anqp_add_venue_name()
328 wpabuf_put_data(buf, vn->name, vn->name_len); in anqp_add_venue_name()
652 struct hostapd_lang_string *vn; in anqp_add_operator_friendly_name() local
653 vn = &hapd->conf->hs20_oper_friendly_name[i]; in anqp_add_operator_friendly_name()
654 wpabuf_put_u8(buf, 3 + vn->name_len); in anqp_add_operator_friendly_name()
655 wpabuf_put_data(buf, vn->lang, 3); in anqp_add_operator_friendly_name()
656 wpabuf_put_data(buf, vn->name, vn->name_len); in anqp_add_operator_friendly_name()

123