Home
last modified time | relevance | path

Searched refs:vp (Results 51 – 75 of 557) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_sample.c68 version_list *vp; in write_sample_clnt() local
74 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_sample_clnt()
75 write_sample_client(def->def_name, vp); in write_sample_clnt()
89 pvname(program_name, vp->vers_num); in write_sample_client()
154 pvname(proc->proc_name, vp->vers_num); in write_sample_client()
213 version_list *vp; in write_sample_server() local
216 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_sample_server()
260 pvname(def->def_name, vp->vers_num); in write_sample_server()
302 version_list *vp; in write_sample_clnt_main() local
322 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_sample_clnt_main()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_shadow.c59 vtosv(vnode_t *vp) in vtosv() argument
176 vnode_t *vp; in sv_find() local
225 VN_HOLD(vp); in sv_find()
228 return (vp); in sv_find()
236 vp = SVTOV(svp); in sv_find()
246 vn_exists(vp); in sv_find()
258 return (vp); in sv_find()
292 svp = VTOSV(vp); in sv_inactive()
293 rp = VTOR4(vp); in sv_inactive()
321 vn_invalid(vp); in sv_inactive()
[all …]
H A Dnfs3_srv.c110 vnode_t *vp; in rfs3_getattr() local
142 VN_RELE(vp); in rfs3_getattr()
159 VN_RELE(vp); in rfs3_getattr()
174 vnode_t *vp; in rfs3_setattr() local
356 VN_RELE(vp); in rfs3_setattr()
374 VN_RELE(vp); in rfs3_setattr()
392 vnode_t *vp; in rfs3_lookup() local
567 VN_RELE(vp); in rfs3_lookup()
622 vnode_t *vp; in rfs3_access() local
649 if (rdonly(ro, vp) && (vp->v_type == VREG || vp->v_type == VDIR)) in rfs3_access()
[all …]
H A Dnfs_client.c119 rp = VTOR(vp); in nfs_waitfor_purge_complete()
205 rp = VTOR(vp); in nfs_purge_caches()
266 rp = VTOR(vp); in nfs_purge_rddir_cache()
875 fi.vp = vp; in nfs_getattr_otw()
952 fi.vp = vp; in nfs3_getattr_otw()
957 res.fres.vp = vp; in nfs3_getattr_otw()
1407 VN_HOLD(vp); in nfs_async_readahead()
1457 VN_RELE(vp); in nfs_async_readahead()
1491 VN_HOLD(vp); in nfs_async_putapage()
1613 VN_HOLD(vp); in nfs_async_pageio()
[all …]
H A Dnfs4_vnops.c1804 vp->v_type, rnode4info(VTOR4(vp)))); in nfs4_reopen()
1929 VTOMI4(vp), vp, NULL, NULL, in nfs4_reopen()
3317 VTOMI4(vp), vp, NULL, &wargs->stateid, in nfs4write()
3363 nfs4_end_fop(VTOMI4(vp), vp, NULL, in nfs4write()
4023 VTOMI4(vp), vp, NULL, NULL, NULL, in nfs4setattr()
5018 *vpp = specvp(vp, vp->v_rdev, vp->v_type, cr); in nfs4_lookup()
6613 vp = specvp(vp, vp->v_rdev, vp->v_type, cr); in nfs4_create()
7214 *vpp = specvp(vp, vp->v_rdev, vp->v_type, cr); in nfs4mknod()
10591 vn_a.vp = vp; in nfs4_map()
11134 dmapp->vp = vp; in nfs4_delmap()
[all …]
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c167 vn_free(vp); in i_dv_node_dtor()
417 dv->dv_ino = dv_mkino(devi, vp->v_type, vp->v_rdev); in dv_mknod()
697 ASSERT(vp->v_type == VDIR || vp->v_type == VCHR || vp->v_type == VBLK); in dv_shadow_node()
1111 vp = NULL; in dv_find()
1112 if (devfs_lookupname(curr, NULL, &vp) == 0 && vp) { in dv_find()
1236 if (vp->v_type == VCHR || vp->v_type == VBLK) { in dv_find()
1242 *vpp = specvp_devfs(vp, vp->v_rdev, vp->v_type, cred, in dv_find()
1248 *vpp = vp; in dv_find()
1523 ASSERT(vp->v_type == VCHR || vp->v_type == VBLK); in dv_reset_perm_dir()
1687 vp->v_type == VCHR || vp->v_type == VBLK); in devfs_remdrv_rmdir()
[all …]
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c95 struct vnode *vp, in swap_inactive() argument
108 struct vnode *vp, in swap_getpage() argument
137 struct vnode *vp, in swap_getapage() argument
159 vp, off, len, 0, 0); in swap_getapage()
308 struct vnode *vp, in swap_getconpage() argument
477 struct vnode *vp, in swap_putpage() argument
548 arg->a_vp = vp; in swap_putpage()
600 struct vnode *vp, in swap_putapage() argument
633 arg->a_vp = vp; in swap_putapage()
682 vp = arg->a_vp; in swap_putapage()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c115 ip = VTOI(vp); in ufs_fioio()
257 ip = VTOI(vp); in ufs_fiosatime()
336 ip = VTOI(vp); in ufs_fiosdio()
394 vfs_unlock(vp->v_vfsp); in ufs_fiosdio()
404 struct vnode *vp, in ufs_fioffs() argument
468 vp->v_vfsp); in ufs_fioffs()
492 vfs_unlock(vp->v_vfsp); in ufs_fioffs()
516 if (vp->v_count > 1) in ufs_fioisbusy()
517 dnlc_purge_vp(vp); in ufs_fioisbusy()
525 if ((vp->v_count == 1) && (VTOI(vp)->i_mapcnt == 0)) in ufs_fioisbusy()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_open.c83 vn_close_rele(vnode_t *vp, int flag) in vn_close_rele() argument
88 vn_rele(vp); in vn_close_rele()
109 struct vnode *vp; in vn_open() local
169 error = VOP_LOOKUP(vp, NULL, &xvp, NULL, in vn_open()
172 VN_RELE(vp); in vn_open()
173 vp = xvp; in vn_open()
183 if (vp->v_type == VDIR) { in vn_open()
229 if (vp->v_type == VSOCK) { in vn_open()
252 ASSERT(vp->v_count > 0); in vn_open()
260 VN_RELE(vp); in vn_open()
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dfem.c477 farg.fa_vnode.vp = vp; in vhead_close()
504 farg.fa_vnode.vp = vp; in vhead_read()
531 farg.fa_vnode.vp = vp; in vhead_write()
558 farg.fa_vnode.vp = vp; in vhead_ioctl()
585 farg.fa_vnode.vp = vp; in vhead_setfl()
612 farg.fa_vnode.vp = vp; in vhead_getattr()
640 farg.fa_vnode.vp = vp; in vhead_setattr()
668 farg.fa_vnode.vp = vp; in vhead_access()
895 farg.fa_vnode.vp = vp; in vhead_readdir()
950 farg.fa_vnode.vp = vp; in vhead_readlink()
[all …]
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c225 vnode_t *vp = *vpp; in fifo_open() local
288 ASSERT(vp == *vpp); in fifo_open()
455 strclean(vp); in fifo_close()
860 stp = vp->v_stream; in fifo_write()
876 fnp = VTOF(vp); in fifo_write()
1632 VN_RELE_LOCKED(vp); in fifo_inactive()
1644 fnp = VTOF(vp); in fifo_inactive()
1756 vp = rvp; in fifo_realvp()
1758 vp = rvp; in fifo_realvp()
1761 *vpp = vp; in fifo_realvp()
[all …]
/illumos-gate/usr/src/uts/sun4/os/
H A Dprom_subr.c104 struct vx_cmd *vp; in add_vx_handler() local
107 for (vp = vx_cmd; vp < vx_cmd_end; vp++) { in add_vx_handler()
109 vp->service = name; in add_vx_handler()
111 vp->func = func; in add_vx_handler()
143 struct vx_cmd *vp; in remove_vx_handler() local
146 for (vp = vx_cmd; vp < vx_cmd_end; vp++) { in remove_vx_handler()
151 vp->service = 0; in remove_vx_handler()
152 vp->take_tba = 0; in remove_vx_handler()
153 vp->func = 0; in remove_vx_handler()
165 struct vx_cmd *vp; in vx_handler() local
[all …]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_cdir.c68 vnode_t *vp; in ctfs_create_cdirnode() local
72 return (vp); in ctfs_create_cdirnode()
76 cdir = vp->v_data; in ctfs_create_cdirnode()
88 return (vp); in ctfs_create_cdirnode()
97 vnode_t *vp, in ctfs_cdir_getattr() argument
103 ctfs_cdirnode_t *cdirnode = vp->v_data; in ctfs_cdir_getattr()
114 ctfs_common_getattr(vp, vap); in ctfs_cdir_getattr()
123 ctfs_cdir_do_inode(vnode_t *vp, int index) in ctfs_cdir_do_inode() argument
125 ctfs_cdirnode_t *cdirnode = vp->v_data; in ctfs_cdir_do_inode()
137 ctfs_cdirnode_t *cdirnode = vp->v_data; in ctfs_cdir_inactive()
[all …]
H A Dctfs_ctl.c61 vnode_t *vp; in ctfs_create_ctlnode() local
64 ctlnode = vp->v_data; in ctfs_create_ctlnode()
71 return (vp); in ctfs_create_ctlnode()
83 vnode_t *vp, in ctfs_ctl_access() argument
89 ctfs_ctlnode_t *ctlnode = vp->v_data; in ctfs_ctl_access()
140 ctfs_common_getattr(vp, vap); in ctfs_ctl_common_getattr()
179 vnode_t *vp, in ctfs_ctl_ioctl() argument
249 vnode_t *vp; in ctfs_create_statnode() local
254 ctlnode = vp->v_data; in ctfs_create_statnode()
261 return (vp); in ctfs_create_statnode()
[all …]
/illumos-gate/usr/src/cmd/vscan/vscanadm/
H A Dvscanadm.c315 vs_props_t vp; in vs_adm_get() local
318 (void) memset(&vp, 0, sizeof (vp)); in vs_adm_get()
364 vs_props_t vp; in vs_adm_set() local
577 vs_props_t vp; in vs_adm_import() local
585 rc = vs_adm_file_read(filename, vp.vp_types, sizeof (vp.vp_types)); in vs_adm_import()
607 vs_props_t vp; in vs_adm_validate() local
614 rc = vs_adm_file_read(filename, vp.vp_types, sizeof (vp.vp_types)); in vs_adm_validate()
635 vs_props_t vp; in vs_adm_export() local
981 void *vp) in vs_adm_parse() argument
996 vs_props_t *svcp = vp; in vs_adm_parse_maxsize()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dacct.c213 realvp = vp; in acct_find()
249 if (vp == NULL) in acct_fs_in_use()
264 struct vnode *vp; in sysacct() local
278 vp = ag->acctvp; in sysacct()
281 if (vp) { in sysacct()
284 VN_RELE(vp); in sysacct()
321 vp = oldvp; in sysacct()
327 vp = NULL; in sysacct()
334 if (vp) { in sysacct()
336 VN_RELE(vp); in sysacct()
[all …]
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c167 shnode_t *sft = VTOSH(vp); in sharefs_getattr()
224 vnode_t *vp; in sharefs_open() local
250 *vpp = vp; in sharefs_open()
253 sft = VTOSH(vp); in sharefs_open()
278 shnode_t *sft = VTOSH(vp); in sharefs_close()
285 if (vp->v_count == 1) { in sharefs_close()
304 shnode_t *sft = VTOSH(vp); in sharefs_read()
351 gfs_file_t *fp = vp->v_data; in sharefs_inactive()
370 vnode_t *vp; in sharefs_create_root_file() local
376 sft = VTOSH(vp); in sharefs_create_root_file()
[all …]
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_subr.c69 #define ltablehash(vp, tblsz) ((((intptr_t)(vp))>>10) & ((tblsz)-1)) argument
96 #define TABLE_LOCK_ENTER(vp, li) table_lock_enter(vp, li) argument
264 lp = lfind(vp, li); in makelonode()
288 VN_RELE(vp); in makelonode()
296 VN_SET_VFS_TYPE_DEV(nvp, vfsp, vp->v_type, vp->v_rdev); in makelonode()
300 lp->lo_vp = vp; in makelonode()
303 vn_exists(vp); in makelonode()
305 VN_RELE(vp); in makelonode()
674 vp, vp->v_vfsp); in freelonode()
678 vn_invalid(vp); in freelonode()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c206 startvp = vp; in lookuppnvp()
243 cvp = vp; in lookuppnvp()
292 VN_HOLD(vp); in lookuppnvp()
352 *dirvpp = vp; in lookuppnvp()
418 VN_RELE(vp); in lookuppnvp()
419 vp = rootvp; in lookuppnvp()
420 VN_HOLD(vp); in lookuppnvp()
540 VN_RELE(vp); in lookuppnvp()
541 vp = cvp; in lookuppnvp()
564 (VN_CMP(vp, rootvp) || (vp->v_flag & VROOT) || vp == startvp)) in lookuppnvp()
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dklmops.c84 return (nlm_frlock(vp, cmd, flk, flags, off, in lm_frlock()
98 err = nlm_frlock(vp, cmd, flk, flags, off, in lm4_frlock()
108 lm_shrlock(struct vnode *vp, int cmd, in lm_shrlock() argument
111 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM_VERSX)); in lm_shrlock()
119 lm4_shrlock(struct vnode *vp, int cmd, in lm4_shrlock() argument
122 return (nlm_shrlock(vp, cmd, shr, flags, fh, NLM4_VERS)); in lm4_shrlock()
132 nlm_register_lock_locally(vp, (struct nlm_host *)ls, in lm_register_lock_locally()
159 lm_nlm_reclaim(struct vnode *vp, struct flock64 *flkp) in lm_nlm_reclaim() argument
161 _NOTE(ARGUNUSED(vp, flkp)) in lm_nlm_reclaim()
165 lm_nlm4_reclaim(struct vnode *vp, struct flock64 *flkp) in lm_nlm4_reclaim() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c96 struct vnode *vp, in tmp_close() argument
124 struct vnode *vp; in wrtmp() local
136 vp = TNTOV(tp); in wrtmp()
459 struct vnode *vp; in rdtmp() local
466 vp = TNTOV(tp); in rdtmp()
469 vp); in rdtmp()
502 vp = TNTOV(tp); in rdtmp()
1403 if (vp == dvp || vp == cdir) { in tmp_rmdir()
2088 tp = VTOTN(vp); in tmp_putapage()
2213 vn_a.vp = vp; in tmp_map()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c75 #define ATTRCACHE_VALID(vp) (gethrtime() < VTOSMB(vp)->r_attrtime) argument
121 np = VTOSMB(vp); in smbfs_waitfor_purge_complete()
150 struct vnode *vp, in smbfs_validate_caches() argument
211 struct vnode *vp, in smbfs_cache_check() argument
219 np = VTOSMB(vp); in smbfs_cache_check()
263 np = VTOSMB(vp); in smbfs_attrcache_fa()
264 smi = VTOSMI(vp); in smbfs_attrcache_fa()
321 oldvt = vp->v_type; in smbfs_attrcache_fa()
322 vp->v_type = vtype; in smbfs_attrcache_fa()
376 np = VTOSMB(vp); in smbfs_getattr_cache()
[all …]
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c316 vn_invalid(vp); in fdinactive()
317 vn_free(vp); in fdinactive()
342 struct vnode *vp; in fdget() local
350 vp->v_type = VCHR; in fdget()
353 vp->v_data = NULL; in fdget()
356 vn_exists(vp); in fdget()
357 *vpp = vp; in fdget()
370 struct vnode *vp; in fdmount() local
391 vp->v_vfsp = vfsp; in fdmount()
439 VN_HOLD(vp); in fdroot()
[all …]
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fop.c581 (void) fem_uninstall(vp, (fem_t *)pvp->pvp_femp, vp); in port_fop_femuninstall()
626 vnode_t *vp; in port_remove_fop() local
698 *vpp = vp; in port_remove_fop()
1182 (void) fem_uninstall(vp, femp, vp); in port_pfp_setup()
1228 VN_RELE(vp); in port_resolve_vp()
1237 if ((VOP_REALVP(vp, &rvp, NULL) == 0) && vp != rvp) { in port_resolve_vp()
1239 VN_RELE(vp); in port_resolve_vp()
1240 vp = rvp; in port_resolve_vp()
1242 return (vp); in port_resolve_vp()
1318 vp = port_resolve_vp(orig = vp); in port_associate_fop()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmgetputm.c67 va_list vp; local
72 va_start(vp, type);
74 va_start(vp);
98 va_end(vp);
112 va_list vp; local
116 va_start(vp, type);
118 va_start(vp);
121 va_end(vp);
140 va_start(vp, type);
142 va_start(vp);
[all …]

12345678910>>...23