Home
last modified time | relevance | path

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

/titanic_50/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 …]
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vnode.c41 vn_compare(vnode_t *vp1, vnode_t *vp2) in vn_compare() argument
45 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0) in vn_compare()
46 vp1 = realvp; in vn_compare()
49 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.c732 vnode_t *vp1, in fop_cmp() argument
737 return (vncache_cmp(vp1, vp2)); in fop_cmp()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c439 struct exp_visible *vp1, *vp2, *vis_head, *tail, *next; in more_visible() local
461 for (vp1 = vis_head; vp1; vp1 = next) { in more_visible()
463 next = vp1->vis_next; in more_visible()
468 if (EQFID(&vp1->vis_fid, &vp2->vis_fid)) { in more_visible()
471 VN_RELE(vp1->vis_vp); in more_visible()
473 if (vp1->vis_exported && !vp2->vis_exported) in more_visible()
475 kmem_free(vp1, sizeof (*vp1)); in more_visible()
483 tail->vis_next = vp1; in more_visible()
484 vp1->vis_next = NULL; in more_visible()
538 less_visible(struct exportinfo *exi, struct exp_visible *vp1) in less_visible() argument
[all …]
H A Dnfs4_recovery.c340 nfs4_start_recovery(nfs4_error_t *ep, mntinfo4_t *mi, vnode_t *vp1, in nfs4_start_recovery() argument
383 start_recovery(recovp, mi, vp1, vp2, sp, moved_vp, moved_nm); in nfs4_start_recovery()
396 vnode_t *vp1, vnode_t *vp2) in start_recovery_action() argument
409 start_recovery(recovp, mi, vp1, vp2, NULL, NULL, NULL); in start_recovery_action()
414 vnode_t *vp1, vnode_t *vp2, nfs4_server_t *sp, in start_recovery() argument
487 if (vp1 != NULL) in start_recovery()
488 recov_badstate(recovp, vp1, NFS4ERR_EXPIRED); in start_recovery()
494 if (vp1 != NULL) in start_recovery()
495 recov_badstate(recovp, vp1, NFS4ERR_BAD_STATEID); in start_recovery()
502 if (vp1 != NULL) in start_recovery()
[all …]
H A Dnfs4_client_secinfo.c1038 nfs4_secinfo_recov(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2) in nfs4_secinfo_recov() argument
1063 if (vp1 == NULL && vp2 == NULL) { in nfs4_secinfo_recov()
1068 } else if (vp1) { in nfs4_secinfo_recov()
1069 error = nfs4_secinfo_vnode(vp1, cr, TRUE); in nfs4_secinfo_recov()
1072 error = nfs4_secinfo_vnode(vp1, lcr, TRUE); in nfs4_secinfo_recov()
H A Dnfs4_callback.c2417 nfs4_end_op_recall(vnode_t *vp1, vnode_t *vp2, nfs4_recov_state_t *rsp) in nfs4_end_op_recall() argument
2421 (void *)vp1, (void *)vp2)); in nfs4_end_op_recall()
2425 if (vp1 && rsp->rs_flags & NFS4_RS_RECALL_HELD1) in nfs4_end_op_recall()
2426 nfs_rw_exit(&VTOR4(vp1)->r_deleg_recall_lock); in nfs4_end_op_recall()
2430 wait_for_recall(vnode_t *vp1, vnode_t *vp2, nfs4_op_hint_t op, in wait_for_recall() argument
2437 (void *)vp1, (void *) vp2)); in wait_for_recall()
2441 if ((error = wait_for_recall1(vp1, op, rsp, NFS4_RS_RECALL_HELD1)) != 0) in wait_for_recall()
2447 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()
H A Dnfs4_vnops.c10853 nfs4_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in nfs4_cmp() argument
10856 return (VTOR4(vp1) == VTOR4(vp2)); in nfs4_cmp()
/titanic_50/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c271 vnode_t *vp1; in pipe_constructor() local
276 vp1 = FTOV(fnp1); in pipe_constructor()
279 vp1->v_vfsp = vp2->v_vfsp = fifovfsp; 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()
921 if (error = falloc(vp1, FWRITE|FREAD, &filep, NULL)) { in fifo_connld()
[all …]
/titanic_50/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c985 lo_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in lo_cmp() argument
987 while (vn_matchops(vp1, lo_vnodeops)) in lo_cmp()
988 vp1 = realvp(vp1); in lo_cmp()
991 return (VOP_CMP(vp1, vp2, ct)); in lo_cmp()
/titanic_50/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()
/titanic_50/usr/src/cmd/csh/
H A Dsh.set.c396 struct varent *vp1; in madrof() local
402 if (vp->v_left && (vp1 = madrof(pat, vp->v_left))) in madrof()
403 return vp1; in madrof()
/titanic_50/usr/src/uts/common/sys/
H A Dvnode.h1081 #define VOP_CMP(vp1, vp2, ct) \ argument
1082 fop_cmp(vp1, vp2, ct)
1087 #define VOP_REALVP(vp1, vp2, ct) \ argument
1088 fop_realvp(vp1, vp2, ct)
1267 int vn_compare(vnode_t *vp1, vnode_t *vp2);
/titanic_50/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);
/titanic_50/usr/src/cmd/format/
H A Dstartup.c2551 struct dk_map2 *vp1; local
2555 struct dkl_partition *vp1; local
2582 vp1 = pp1->vtoc.v_part;
2584 for (i = 0; i < NDKMAP; i++, vp1++, vp2++) {
2585 result |= (vp1->p_tag != vp2->p_tag);
2586 result |= (vp1->p_flag != vp2->p_flag);
/titanic_50/usr/src/uts/common/fs/
H A Dfs_subr.c205 fs_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in fs_cmp() argument
207 return (vp1 == vp2); in fs_cmp()
H A Dvnode.c1976 vn_compare(vnode_t *vp1, vnode_t *vp2) in vn_compare() argument
1980 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0) in vn_compare()
1981 vp1 = realvp; in vn_compare()
1984 return (VN_CMP(vp1, vp2)); in vn_compare()
3788 vnode_t *vp1, in fop_cmp() argument
3794 err = (*(vp1)->v_op->vop_cmp)(vp1, vp2, ct); in fop_cmp()
3795 VOPSTATS_UPDATE(vp1, cmp); in fop_cmp()
H A Dfem.c1116 vhead_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in vhead_cmp() argument
1124 if ((femsp = fem_lock(vp1->v_femhead)) == NULL) { in vhead_cmp()
1125 func = (int (*)()) (vp1->v_op->vop_cmp); in vhead_cmp()
1126 arg0 = vp1; in vhead_cmp()
1127 fem_unlock(vp1->v_femhead); in vhead_cmp()
1131 fem_unlock(vp1->v_femhead); in vhead_cmp()
1132 farg.fa_vnode.vp = vp1; in vhead_cmp()
/titanic_50/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()
/titanic_50/usr/src/uts/common/fs/proc/
H A Dprvnops.c5859 prcmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in prcmp() argument
5863 if (vp1 == vp2) in prcmp()
5866 if (!vn_matchops(vp1, prvnodeops) || !vn_matchops(vp2, prvnodeops)) in prcmp()
5869 pp1 = VTOP(vp1); in prcmp()
/titanic_50/usr/src/uts/common/vm/
H A Dseg_vn.c6972 struct vnode *vp1, *vp2; in segvn_kluster() local
7044 swap_xlate(ap, &vp1, &off1); in segvn_kluster()
7048 if (!VOP_CMP(vp1, vp2, NULL) || off1 - off2 != delta) in segvn_kluster()
/titanic_50/usr/src/uts/common/os/
H A Dstreamio.c8545 strmate(vnode_t *vp1, vnode_t *vp2) in strmate() argument
8547 queue_t *wrq1 = strvp2wq(vp1); in strmate()