Home
last modified time | relevance | path

Searched refs:vp2 (Results 1 – 25 of 25) 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()
134 VN_RELE(vp2); in pipe()
138 if (error = falloc(vp2, FWRITE|FREAD, &fp2, &fd2)) in pipe()
147 if (error = fifo_stropen(&vp2, FWRITE|FREAD, fp2->f_cred, 0, 0)) { in pipe()
153 strmate(vp1, vp2); in pipe()
155 VTOF(vp1)->fn_ino = VTOF(vp2)->fn_ino = fifogetid(); in pipe()
170 if (error = VOP_SETFL(vp2, flag2, iflags, fp2->f_cred, NULL)) { in pipe()
206 (void) VOP_CLOSE(vp2, FWRITE|FREAD, 1, (offset_t)0, fp2->f_cred, NULL); in pipe()
214 VN_RELE(vp2); in pipe()
/titanic_50/usr/src/cmd/mailx/
H A Dvars.c95 register struct var *vp, *vp2; in deassign() local
98 if ((vp2 = lookup(s)) == NOVAR) { in deassign()
111 if (vp2 == variables[h]) { in deassign()
113 vfree(vp2->v_name); in deassign()
114 vfree(vp2->v_value); in deassign()
115 free(vp2); in deassign()
118 for (vp = variables[h]; vp->v_link != vp2; vp = vp->v_link) in deassign()
120 vp->v_link = vp2->v_link; in deassign()
121 vfree(vp2->v_name); in deassign()
122 vfree(vp2->v_value); in deassign()
[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
47 if (vp2 != NULL && VOP_REALVP(vp2, &realvp, NULL) == 0) in vn_compare()
48 vp2 = 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
163 vp2 = v2; 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.c733 vnode_t *vp2, 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
466 for (vp2 = exi->exi_visible; vp2; vp2 = vp2->vis_next) { in more_visible()
467 tail = vp2; in more_visible()
468 if (EQFID(&vp1->vis_fid, &vp2->vis_fid)) { in more_visible()
470 vp2->vis_count++; in more_visible()
473 if (vp1->vis_exported && !vp2->vis_exported) in more_visible()
474 vp2->vis_exported = 1; in more_visible()
476 tree_head->tree_vis = vp2; in more_visible()
540 struct exp_visible *vp2; in less_visible() local
543 for (vp2 = exi->exi_visible, prev = NULL; vp2; vp2 = next) { in less_visible()
[all …]
H A Dnfs4_recovery.c341 vnode_t *vp2, stateid4 *sid, nfs4_lost_rqst_t *lost_rqstp, nfs_opnum4 op, 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
489 if (vp2 != NULL) in start_recovery()
490 recov_badstate(recovp, vp2, NFS4ERR_EXPIRED); in start_recovery()
496 if (vp2 != NULL) in start_recovery()
497 recov_badstate(recovp, vp2, NFS4ERR_BAD_STATEID); in start_recovery()
504 if (vp2 != NULL) in start_recovery()
[all …]
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()
2423 if (vp2 && rsp->rs_flags & NFS4_RS_RECALL_HELD2) in nfs4_end_op_recall()
2424 nfs_rw_exit(&VTOR4(vp2)->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()
2444 if ((error = wait_for_recall1(vp2, op, rsp, NFS4_RS_RECALL_HELD2)) in wait_for_recall()
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()
H A Dnfs4_client_debug.c1355 uint_t count, vnode_t *vp1, vnode_t *vp2, nfsstat4 nfs4_error, in nfs4_queue_event() argument
1368 if (vp2) in nfs4_queue_event()
1369 rp2 = VTOR4(vp2); 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.c272 vnode_t *vp2; in pipe_constructor() local
277 vp2 = FTOV(fnp2); 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()
296 vnode_t *vp2 = FTOV(fnp2); in pipe_destructor() local
299 ASSERT(vp2->v_vfsp == fifovfsp); in pipe_destructor()
301 ASSERT(vp2->v_rdev == fifodev); in pipe_destructor()
902 struct vnode *vp2; in fifo_connld() local
913 makepipe(&vp1, &vp2); in fifo_connld()
923 VN_RELE(vp2); in fifo_connld()
[all …]
/titanic_50/usr/src/cmd/csh/
H A Dsh.hist.c108 tchar *vp2 = *vp; in dohist() local
110 while (*++vp2) in dohist()
111 switch (*vp2) { in dohist()
121 printf("Unknown flag: -%c\n", *vp2); in dohist()
/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
989 while (vn_matchops(vp2, lo_vnodeops)) in lo_cmp()
990 vp2 = realvp(vp2); in lo_cmp()
991 return (VOP_CMP(vp1, vp2, ct)); in lo_cmp()
/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);
H A Dfem.h211 int (*femop_cmp)(femarg_t *vf, vnode_t *vp2, \
353 extern int vnext_cmp(femarg_t *vf, vnode_t *vp2, caller_context_t *ct);
/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.c2552 struct dk_map2 *vp2; local
2556 struct dkl_partition *vp2; local
2583 vp2 = pp2->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
1982 if (vp2 != NULL && VOP_REALVP(vp2, &realvp, NULL) == 0) in vn_compare()
1983 vp2 = realvp; in vn_compare()
1984 return (VN_CMP(vp1, vp2)); in vn_compare()
3789 vnode_t *vp2, in fop_cmp() argument
3794 err = (*(vp1)->v_op->vop_cmp)(vp1, vp2, ct); in fop_cmp()
H A Dfem.c1116 vhead_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) in vhead_cmp() argument
1128 errc = (*func)(arg0, vp2, ct); in vhead_cmp()
1135 errc = (*func)(arg0, vp2, ct); in vhead_cmp()
2414 vnext_cmp(femarg_t *vf, vnode_t *vp2, caller_context_t *ct) in vnext_cmp() argument
2424 return ((*func)(arg0, vp2, ct)); in vnext_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()
5870 pp2 = VTOP(vp2); in prcmp()
/titanic_50/usr/src/uts/common/vm/
H A Dseg_vn.c6972 struct vnode *vp1, *vp2; in segvn_kluster() local
7045 swap_xlate(oap, &vp2, &off2); 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
8548 queue_t *wrq2 = strvp2wq(vp2); in strmate()