Home
last modified time | relevance | path

Searched refs:vp1 (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c110 vnode_t *vp1, *vp2; in pipe() local
125 makepipe(&vp1, &vp2); in pipe()
132 if (error = falloc(vp1, FWRITE|FREAD, &fp1, &fd1)) { in pipe()
133 VN_RELE(vp1); in pipe()
144 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0)) in pipe()
148 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, in pipe()
153 strmate(vp1, vp2); in pipe()
155 VTOF(vp1)->fn_ino = VTOF(vp2)->fn_ino = fifogetid(); in pipe()
165 if (error = VOP_SETFL(vp1, flag1, iflags, fp1->f_cred, NULL)) { in pipe()
205 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0, fp1->f_cred, NULL); in pipe()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vnode.c42 vn_compare(vnode_t *vp1, vnode_t *vp2) in vn_compare() argument
46 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0) in vn_compare()
47 vp1 = realvp; in vn_compare()
50 return (VN_CMP(vp1, vp2)); in vn_compare()
H A Dvncache.c160 const vnode_t *vp1, *vp2; in vncache_cmp() local
162 vp1 = v1; in vncache_cmp()
165 if (vp1->v_st_dev < vp2->v_st_dev) in vncache_cmp()
167 if (vp1->v_st_dev > vp2->v_st_dev) in vncache_cmp()
169 if (vp1->v_st_ino < vp2->v_st_ino) in vncache_cmp()
171 if (vp1->v_st_ino > vp2->v_st_ino) in vncache_cmp()
H A Dfake_vop.c920 vnode_t *vp1, in fop_cmp() argument
925 return (vncache_cmp(vp1, vp2)); in fop_cmp()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c449 struct exp_visible *vp1, *vp2, *vis_head, *tail, *next; in more_visible() local
472 for (vp1 = vis_head; vp1; vp1 = next) { in more_visible()
474 next = vp1->vis_next; in more_visible()
479 if (EQFID(&vp1->vis_fid, &vp2->vis_fid)) { in more_visible()
482 VN_RELE(vp1->vis_vp); in more_visible()
484 if (vp1->vis_exported && !vp2->vis_exported) in more_visible()
486 kmem_free(vp1, sizeof (*vp1)); in more_visible()
494 tail->vis_next = vp1; in more_visible()
495 vp1->vis_next = NULL; in more_visible()
558 if (vp1 == vp2) { in less_visible()
[all …]
H A Dnfs4_recovery.c487 if (vp1 != NULL) in start_recovery()
494 if (vp1 != NULL) in start_recovery()
502 if (vp1 != NULL) in start_recovery()
516 if (vp1 != NULL) in start_recovery()
531 if (vp1 != NULL) in start_recovery()
550 if (vp1 != NULL) in start_recovery()
557 if (vp1 != NULL) in start_recovery()
568 if (vp1) in start_recovery()
589 if (vp1 != NULL) in start_recovery()
610 if (vp1 != NULL) { in start_recovery()
[all …]
H A Dnfs4_client_secinfo.c1037 nfs4_secinfo_recov(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2) in nfs4_secinfo_recov() argument
1062 if (vp1 == NULL && vp2 == NULL) { in nfs4_secinfo_recov()
1067 } else if (vp1) { in nfs4_secinfo_recov()
1068 error = nfs4_secinfo_vnode(vp1, cr, TRUE); in nfs4_secinfo_recov()
1071 error = nfs4_secinfo_vnode(vp1, lcr, TRUE); in nfs4_secinfo_recov()
H A Dnfs4_callback.c2419 nfs4_end_op_recall(vnode_t *vp1, vnode_t *vp2, nfs4_recov_state_t *rsp) in nfs4_end_op_recall() argument
2423 (void *)vp1, (void *)vp2)); in nfs4_end_op_recall()
2427 if (vp1 && rsp->rs_flags & NFS4_RS_RECALL_HELD1) in nfs4_end_op_recall()
2428 nfs_rw_exit(&VTOR4(vp1)->r_deleg_recall_lock); in nfs4_end_op_recall()
2432 wait_for_recall(vnode_t *vp1, vnode_t *vp2, nfs4_op_hint_t op, in wait_for_recall() argument
2439 (void *)vp1, (void *) vp2)); in wait_for_recall()
2443 if ((error = wait_for_recall1(vp1, op, rsp, NFS4_RS_RECALL_HELD1)) != 0) in wait_for_recall()
2449 nfs_rw_exit(&VTOR4(vp1)->r_deleg_recall_lock); in wait_for_recall()
H A Dnfs4_client_debug.c1355 uint_t count, vnode_t *vp1, vnode_t *vp2, nfsstat4 nfs4_error, in nfs4_queue_event() argument
1366 if (vp1) in nfs4_queue_event()
1367 rp1 = VTOR4(vp1); in nfs4_queue_event()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c271 vnode_t *vp1; in pipe_constructor() local
276 vp1 = FTOV(fnp1); in pipe_constructor()
280 vp1->v_rdev = vp2->v_rdev = fifodev; in pipe_constructor()
295 vnode_t *vp1 = FTOV(fnp1); in pipe_destructor() local
298 ASSERT(vp1->v_vfsp == fifovfsp); in pipe_destructor()
300 ASSERT(vp1->v_rdev == fifodev); in pipe_destructor()
901 struct vnode *vp1; in fifo_connld() local
913 makepipe(&vp1, &vp2); in fifo_connld()
922 VN_RELE(vp1); in fifo_connld()
952 strmate(vp1, vp2); in fifo_connld()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Ddba.c313 compare_names(const void *vp1, const void *vp2) in compare_names() argument
318 cp1 = *(const char * const *)vp1; in compare_names()
325 compare_strings(const void *vp1, const void *vp2) in compare_strings() argument
329 cp1 = *(const char * const *)vp1; in compare_strings()
501 compare_entries(const void *vp1, const void *vp2) in compare_entries() argument
505 ep1 = *(const struct macro_entry * const *)vp1; in compare_entries()
H A Dmansearch.c405 manpage_compare(const void *vp1, const void *vp2) in manpage_compare() argument
412 mp1 = vp1; in manpage_compare()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_fssub.c190 fs_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in fs_cmp() argument
192 return (vp1 == vp2); in fs_cmp()
H A Dfake_vnode.c440 vn_compare(vnode_t *vp1, vnode_t *vp2) in vn_compare() argument
444 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0) in vn_compare()
445 vp1 = realvp; in vn_compare()
448 return (VN_CMP(vp1, vp2)); in vn_compare()
1626 vnode_t *vp1, in fop_cmp() argument
1632 err = (*(vp1)->v_op->vop_cmp)(vp1, vp2, ct); in fop_cmp()
1633 VOPSTATS_UPDATE(vp1, cmp); in fop_cmp()
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c1024 lo_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in lo_cmp() argument
1026 while (vn_matchops(vp1, lo_vnodeops)) in lo_cmp()
1027 vp1 = realvp(vp1); in lo_cmp()
1030 return (VOP_CMP(vp1, vp2, ct)); in lo_cmp()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dvroot.cc300 else { pathcellt *vp1= vp; in translate_with_thunk() local
302 for (vp= vp1; vp->path != NULL; vp++) { in translate_with_thunk()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.set.c393 struct varent *vp1; in madrof() local
399 if (vp->v_left && (vp1 = madrof(pat, vp->v_left))) in madrof()
400 return vp1; in madrof()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h1076 #define VOP_CMP(vp1, vp2, ct) \ argument
1077 fop_cmp(vp1, vp2, ct)
1082 #define VOP_REALVP(vp1, vp2, ct) \ argument
1083 fop_realvp(vp1, vp2, ct)
1264 int vn_compare(vnode_t *vp1, vnode_t *vp2);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dvnode.h1083 #define VOP_CMP(vp1, vp2, ct) \ argument
1084 fop_cmp(vp1, vp2, ct)
1089 #define VOP_REALVP(vp1, vp2, ct) \ argument
1090 fop_realvp(vp1, vp2, ct)
1271 int vn_compare(vnode_t *vp1, vnode_t *vp2);
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h1163 #define VOP_CMP(vp1, vp2, ct) \ argument
1164 fop_cmp(vp1, vp2, ct)
1169 #define VOP_REALVP(vp1, vp2, ct) \ argument
1170 fop_realvp(vp1, vp2, ct)
1351 int vn_compare(vnode_t *vp1, vnode_t *vp2);
/illumos-gate/usr/src/cmd/format/
H A Dstartup.c2563 struct dk_map2 *vp1; in check_pinfo_for_inconsistency() local
2567 struct dkl_partition *vp1; in check_pinfo_for_inconsistency() local
2594 vp1 = pp1->vtoc.v_part; in check_pinfo_for_inconsistency()
2596 for (i = 0; i < NDKMAP; i++, vp1++, vp2++) { in check_pinfo_for_inconsistency()
2597 result |= (vp1->p_tag != vp2->p_tag); in check_pinfo_for_inconsistency()
2598 result |= (vp1->p_flag != vp2->p_flag); in check_pinfo_for_inconsistency()
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c209 fs_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in fs_cmp() argument
211 return (vp1 == vp2); in fs_cmp()
H A Dvnode.c2034 vn_compare(vnode_t *vp1, vnode_t *vp2) in vn_compare() argument
2038 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0) in vn_compare()
2039 vp1 = realvp; in vn_compare()
2042 return (VN_CMP(vp1, vp2)); in vn_compare()
4018 vnode_t *vp1, in fop_cmp() argument
4024 err = (*(vp1)->v_op->vop_cmp)(vp1, vp2, ct); in fop_cmp()
4025 VOPSTATS_UPDATE(vp1, cmp); in fop_cmp()
H A Dfem.c1118 vhead_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in vhead_cmp() argument
1126 if ((femsp = fem_lock(vp1->v_femhead)) == NULL) { in vhead_cmp()
1127 func = (int (*)()) (vp1->v_op->vop_cmp); in vhead_cmp()
1128 arg0 = vp1; in vhead_cmp()
1129 fem_unlock(vp1->v_femhead); in vhead_cmp()
1133 fem_unlock(vp1->v_femhead); in vhead_cmp()
1134 farg.fa_vnode.vp = vp1; in vhead_cmp()
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1867 mntcmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in mntcmp() argument
1869 return (vp1 != NULL && vp2 != NULL && vp1->v_vfsp == vp2->v_vfsp); in mntcmp()

12