Home
last modified time | relevance | path

Searched refs:vp (Results 76 – 100 of 557) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_acl.c84 np = VTOSMB(vp); in smbfs_getsd()
85 smi = VTOSMI(vp); in smbfs_getsd()
143 np = VTOSMB(vp); in smbfs_setsd()
144 smi = VTOSMI(vp); in smbfs_setsd()
312 np = VTOSMB(vp); in smbfs_acl_refresh()
313 smi = VTOSMI(vp); in smbfs_acl_refresh()
397 np = VTOSMB(vp); in smbfs_acl_getids()
411 error = smbfs_acl_refresh(vp, cr); in smbfs_acl_getids()
433 np = VTOSMB(vp); in smbfs_acl_getvsa()
563 smbnode_t *np = VTOSMB(vp); in smbfs_acl_setvsa()
[all …]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_svcout.c205 version_list *vp; in write_netid_register() local
229 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_netid_register()
256 version_list *vp; in write_nettype_register() local
263 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_nettype_register()
350 version_list *vp; in write_real_program() local
356 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_real_program()
446 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_program()
763 for (vp = def->def.pr.versions; vp != NULL; in print_pmapunset()
764 vp = vp->next) { in print_pmapunset()
1006 for (vp = def->def.pr.versions; vp != NULL; vp = vp->next) { in write_pm_most()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c164 exi->exi_vp = vp; in pseudo_exportfs()
652 VN_HOLD(vp); in treeclimb_export()
668 if (vp->v_flag & VROOT || vp == EXI_TO_ZONEROOTVP(exip)) { in treeclimb_export()
679 vp); in treeclimb_export()
723 vp = untraverse(vp, ne->exi_root->exi_vp); in treeclimb_export()
741 VN_HOLD(vp); in treeclimb_export()
779 VN_RELE(vp); in treeclimb_export()
780 vp = dvp; in treeclimb_export()
783 VN_RELE(vp); in treeclimb_export()
918 tvp = vp; in untraverse()
[all …]
H A Dnfs4_client.c88 vnode_t *vp; member
146 rp = VTOR4(vp); in nfs4_waitfor_purge_complete()
201 rp = VTOR4(vp); in nfs4_getattr_cache()
322 args->vp = vp; in nfs4_purge_caches()
830 if (nfs4_start_recovery(&e, VTOMI4(vp), vp, NULL, NULL, in nfs4_getattr_otw()
832 nfs4_end_fop(VTOMI4(vp), vp, NULL, OH_GETATTR, in nfs4_getattr_otw()
1288 VN_HOLD(vp); in nfs4_async_readahead()
1338 VN_RELE(vp); in nfs4_async_readahead()
1718 VN_HOLD(vp); in nfs4_async_putapage()
1842 VN_HOLD(vp); in nfs4_async_pageio()
[all …]
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vnops.c64 bootfs_node_t *bnp = vp->v_data; in bootfs_read()
66 if (vp->v_type == VDIR) in bootfs_read()
69 if (vp->v_type != VREG) in bootfs_read()
231 if (vp->v_type != VDIR) in bootfs_readdir()
354 if (vp->v_type == VDIR) in bootfs_seek()
370 bootfs_node_t *bnp = vp->v_data; in bootfs_getapage()
422 bootfs_node_t *bnp = vp->v_data; in bootfs_getpage()
454 if (vp->v_flag & VNOMAP) in bootfs_map()
460 if (vp->v_type != VREG) in bootfs_map()
473 vn_a.vp = vp; in bootfs_map()
[all …]
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_misc.c179 struct vnode *vp; in cpr_get_config() local
194 VN_RELE(vp); in cpr_get_config()
263 struct vnode *vp; in cpr_verify_statefile_path() local
311 VN_RELE(vp); in cpr_verify_statefile_path()
355 VN_RELE(vp); in cpr_verify_statefile_path()
388 VN_RELE(vp); in cpr_verify_statefile_path()
410 VN_RELE(vp); in cpr_verify_statefile_path()
413 VN_RELE(vp); in cpr_verify_statefile_path()
782 VN_RELE(vp); in cpr_write_deffile()
808 VN_RELE(vp); in cpr_clear_definfo()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dl_strplumb.c59 vnode_t *vp; in kstr_open() local
69 error = fassign(&vp, FREAD|FWRITE, fd); in kstr_open()
78 *vpp = vp; in kstr_open()
84 kstr_plink(vnode_t *vp, int fd, int *mux_id) in kstr_plink() argument
97 kstr_unplink(vnode_t *vp, int mux_id) in kstr_unplink() argument
106 kstr_push(vnode_t *vp, char *mod) in kstr_push() argument
114 kstr_pop(vnode_t *vp) in kstr_pop() argument
122 kstr_close(vnode_t *vp, int fd) in kstr_close() argument
126 if (vp == (vnode_t *)NULL && fd == -1) in kstr_close()
137 VN_RELE(vp); in kstr_close()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Ddegenerate-ptr.c33 void *vp; in local() local
39 vp = array; in local()
40 vp = matrix; in local()
42 vp = fun; in local()
43 vp = &fun; in local()
51 extern void *vp;
60 vp = array; in global()
61 vp = matrix; in global()
63 vp = fun; in global()
64 vp = &fun; in global()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c155 vnode_t *vp, in auto_close() argument
167 vnode_t *vp, in auto_getattr() argument
253 ASSERT(vp->v_type == VDIR || vp->v_type == VLNK); in auto_getattr()
276 vnode_t *vp, in auto_setattr() argument
310 vnode_t *vp, in auto_access() argument
408 vnode_t *vp; in auto_lookup() local
416 VN_HOLD(vp); in auto_lookup()
420 VN_RELE(vp); in auto_lookup()
944 vnode_t *vp, in auto_readdir() argument
1308 (void *)vp, vp->v_count, fnp->fn_linkcnt)); in auto_inactive()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c223 vnode_t *vp, *rvp; in zfsctl_create() local
232 zcp = vp->v_data; in zfsctl_create()
1059 vnode_t *vp; in zfsctl_mknode_snapdir() local
1065 sdp = vp->v_data; in zfsctl_mknode_snapdir()
1071 return (vp); in zfsctl_mknode_snapdir()
1077 vnode_t *vp; in zfsctl_mknode_shares() local
1085 return (vp); in zfsctl_mknode_shares()
1188 vnode_t *vp; in zfsctl_snapshot_mknode() local
1196 return (vp); in zfsctl_snapshot_mknode()
1288 VN_HOLD(vp); in zfsctl_lookup_objset()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c239 vn_is_mapped(vp, V_RDORWR)); in smb_vop_other_opens()
390 use_vp = vp; in smb_vop_getattr()
590 use_vp = vp; in smb_vop_setattr()
1141 if (vp->v_type != VDIR) in smb_vop_readdir()
1388 ASSERT(vp); in smb_vop_acl_read()
1412 if (vp->v_type == VDIR) in smb_vop_acl_read()
1430 ASSERT(vp); in smb_vop_acl_write()
1454 smb_vop_acl_type(vnode_t *vp) in smb_vop_acl_type() argument
1555 if (nbl_need_check(vp)) { in smb_vop_shrlock()
1556 if (vp->v_type != VREG) in smb_vop_shrlock()
[all …]
H A Dsmb_fsops.c132 vnode_t *vp; in smb_fsop_create_with_sd() local
235 rc = smb_vop_mkdir(dnode->vp, name, attr, &vp, in smb_fsop_create_with_sd()
238 rc = smb_vop_create(dnode->vp, name, attr, &vp, in smb_fsop_create_with_sd()
257 VN_RELE(vp); in smb_fsop_create_with_sd()
434 vnode_t *vp; in smb_fsop_create_stream() local
470 VN_RELE(vp); in smb_fsop_create_stream()
548 rc = smb_vop_create(dnode->vp, name, attr, &vp, in smb_fsop_create_file()
593 vnode_t *vp; in smb_fsop_mkdir() local
1558 vp = snode->vp; in smb_fsop_write()
2157 vp = lnk_target_node->vp; in smb_fsop_lookup()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c73 *vp = NULL; in cstatat_getvp()
222 ((vp->v_type == VBLK) || (vp->v_type == VCHR))) { in cstat()
258 vnode_t *vp; in cstatat() local
270 VN_RELE(vp); in cstatat()
338 ((vp->v_type == VBLK) || (vp->v_type == VCHR))) { in cstat32()
381 vnode_t *vp; in cstatat32() local
393 VN_RELE(vp); in cstatat32()
489 vnode_t *vp; in cstatat64() local
501 VN_RELE(vp); in cstatat64()
608 vnode_t *vp; in cstatat64_32() local
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ktli.c120 vnode_t *vp; in t_kopen() local
158 vp = fp->f_vnode; in t_kopen()
159 fd = vp->v_fd; in t_kopen()
193 int fd = vp->v_fd; in t_kclose()
277 vnode_t *vp; in t_kspoll() local
282 vp = fp->f_vnode; in t_kspoll()
293 pfds[0].fd = vp->v_fd; in t_kspoll()
318 vnode_t *vp; in tli_send() local
322 vp = tiptr->fp->f_vnode; in tli_send()
377 vnode_t *vp; in tli_recv() local
[all …]
H A Dfake_fio.c59 vnode_t *vp; in getf() local
72 vp = kmem_zalloc(sizeof (*vp), KM_SLEEP); in getf()
73 vp->v_fd = fd; in getf()
74 fp->f_vnode = vp; in getf()
87 vnode_t *vp; in releasef() local
102 vp = fp->f_vnode; in releasef()
103 kmem_free(vp, sizeof (*vp)); in releasef()
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_subr.c215 struct vnode *vp; in swapfs_getvp() local
218 if (vp) { in swapfs_getvp()
219 return (vp); in swapfs_getvp()
224 if (vp == NULL) { in swapfs_getvp()
227 vp->v_type = VREG; in swapfs_getvp()
233 return (vp); in swapfs_getvp()
242 struct vnode *vp; in swap_sync() local
253 vp = swap_vnodes[i]; in swap_sync()
254 if (vp) { in swap_sync()
255 VN_HOLD(vp); in swap_sync()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dinst_sync.c121 static int in_write_instance(struct vnode *vp);
128 struct vnode *vp; in in_sync_sys() local
166 FCREAT, 0444, &vp, CRCREAT, 0)) != 0) { in in_sync_sys()
177 error = in_write_instance(vp); in in_sync_sys()
202 vnode_t *vp; member
213 error = vn_rdwr(UIO_WRITE, vp, buf, count, *vo, in in_write()
222 in_fvpopen(struct vnode *vp) in in_fvpopen() argument
227 fp->vp = vp; in in_fvpopen()
239 VN_RELE(fp->vp); in in_fclose()
345 in_write_instance(struct vnode *vp) in in_write_instance() argument
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_client.c270 mi = VTOMI(vp); in nlm_frlock()
290 PURGE_ATTRCACHE(vp); in nlm_frlock()
530 rnode_t *rp = VTOR(vp); in nlm_safelock()
567 if ((llp->ll_vp == vp) && in nlm_safemap()
584 nslp->nsl_vp == vp && in nlm_safemap()
607 nslp->nsl_vp == vp) { in nlm_has_sleep()
629 mi = VTOMI(vp); in nlm_register_lock_locally()
755 rnode_t *rnp = VTOR(vp); in nlm_call_lock()
933 vp->v_flag |= VNOCACHE; in nlm_call_lock()
934 mutex_exit(&vp->v_lock); in nlm_call_lock()
[all …]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_tdir.c80 vnode_t *vp, in ctfs_tdir_getattr() argument
90 contract_type_count(ct_types[gfs_file_index(vp)]); in ctfs_tdir_getattr()
91 vap->va_ctime.tv_sec = vp->v_vfsp->vfs_mtime; in ctfs_tdir_getattr()
95 ctfs_common_getattr(vp, vap); in ctfs_tdir_getattr()
101 ctfs_tdir_do_inode(vnode_t *vp, int index) in ctfs_tdir_do_inode() argument
103 return (CTFS_INO_TYPE_FILE(gfs_file_index(vp), index)); in ctfs_tdir_do_inode()
108 ctfs_tdir_do_readdir(vnode_t *vp, void *dp, int *eofp, in ctfs_tdir_do_readdir() argument
113 ct_type_t *ty = ct_types[gfs_file_index(vp)]; in ctfs_tdir_do_readdir()
118 zuniqid = VTOZONE(vp)->zone_uniqid; in ctfs_tdir_do_readdir()
147 VTOZONE(vp)->zone_uniqid); in ctfs_tdir_do_lookup()
[all …]
H A Dctfs_sym.c58 vnode_t *vp; in ctfs_create_symnode() local
61 vp = gfs_file_create(sizeof (ctfs_symnode_t), pvp, ctfs_ops_sym); in ctfs_create_symnode()
62 vp->v_type = VLNK; in ctfs_create_symnode()
63 symnode = vp->v_data; in ctfs_create_symnode()
74 return (vp); in ctfs_create_symnode()
83 vnode_t *vp, in ctfs_sym_getattr() argument
89 ctfs_symnode_t *symnode = vp->v_data; in ctfs_sym_getattr()
97 ctfs_common_getattr(vp, vap); in ctfs_sym_getattr()
112 ctfs_symnode_t *symnode = vp->v_data; in ctfs_sym_readlink()
123 ctfs_sym_inactive(vnode_t *vp, cred_t *cr, caller_context_t *ct) in ctfs_sym_inactive() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllnext.c65 register char* vp; in _dll_next() local
79 if (getenv("DLL_DEBUG") && (vp = (char*)_rld_new_interface(_RLD_FIRST_PATHNAME))) in _dll_next()
83 if (strcmp(vp, "MAIN") && (lp = dllopen(vp, flags))) in _dll_next()
88 } while (vp = (char*)_rld_new_interface(_RLD_NEXT_PATHNAME)); in _dll_next()
91 if (vp = (char*)_rld_new_interface(_RLD_FIRST_PATHNAME)) in _dll_next()
95 if (lp = dllopen(strcmp(vp, "MAIN") ? vp : (char*)0, flags)) in _dll_next()
100 s = vp; in _dll_next()
139 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: next %s\n", vp)); in _dll_next()
145 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: skip %s\n", vp)); in _dll_next()
152 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: this %s\n", vp)); in _dll_next()
[all …]
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c160 hp = VTOH(vp); in hsfs_read()
258 hp = VTOH(vp); in hsfs_getattr()
281 if (vp->v_type == VCHR || vp->v_type == VBLK) in hsfs_getattr()
303 hp = VTOH(vp); in hsfs_readlink()
322 hp = VTOH(vp); in hsfs_inactive()
427 dhp = VTOH(vp); in hsfs_readdir()
593 hp = VTOH(vp); in hsfs_fid()
1038 hp = VTOH(vp); in hsfs_getapage()
1473 hp = VTOH(vp); in hsfs_getpage()
1679 if (vn_has_mandatory_locks(vp, VTOH(vp)->hs_dirent.mode)) in hsfs_map()
[all …]
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dvroot.cc168 pathcellt *vp; in translate_with_thunk() local
204 switch ((vp ?1:0) + (pp1 ? 2:0)) { in translate_with_thunk()
213 for (; vp->path != NULL; vp++) { in translate_with_thunk()
220 p+= vp->length; in translate_with_thunk()
259 for (; vp->path != NULL; vp++) in translate_with_thunk()
270 (void)strcpy(vroot_data.vroot_start= p, vp->path); p+= vp->length; in translate_with_thunk()
271 len += vp->length; in translate_with_thunk()
300 else { pathcellt *vp1= vp; in translate_with_thunk()
302 for (vp= vp1; vp->path != NULL; vp++) { in translate_with_thunk()
310 (void)strcpy(vroot_data.vroot_start= p, vp->path); p+= vp->length; in translate_with_thunk()
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c210 struct vnode *vp, in pcfs_close() argument
223 struct vnode *vp, in pcfs_read() argument
257 struct vnode *vp, in pcfs_write() argument
568 struct vnode *vp, in pcfs_getattr() argument
703 struct vnode *vp, in pcfs_setattr() argument
852 struct vnode *vp, in pcfs_access() argument
940 vn_free(vp); in pcfs_inactive()
961 pcp = VTOPC(vp); in pcfs_inactive()
970 vn_free(vp); in pcfs_inactive()
1775 pcp = VTOPC(vp); in pcfs_putapage()
[all …]
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c119 #define FIFOHASH(vp) (((uintptr_t)(vp) >> FIFOSHFT) % FIFO_HASHSZ) argument
184 vnode_t *vp; in fnode_constructor() local
187 if (vp == NULL) { in fnode_constructor()
217 vn_exists(vp); in fnode_constructor()
239 if (vp == NULL) { in fnode_destructor()
258 vn_invalid(vp); in fnode_destructor()
259 vn_free(vp); in fnode_destructor()
313 vn_reinit(vp); in fifo_reinit_vp()
432 vp = rvp; in fifovp()
467 VN_HOLD(vp); in fifovp()
[all …]

12345678910>>...23