Searched refs:vp2 (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vnode.c38 * Are vp1 and vp2 the same vnode?
41 vn_compare(vnode_t *vp1, vnode_t *vp2) argument
47 if (vp2 != NULL && VOP_REALVP(vp2, &realvp, NULL) == 0)
48 vp2 = realvp;
49 return (VN_CMP(vp1, vp2));
H A Dvncache.c160 const vnode_t *vp1, *vp2; local
163 vp2 = v2;
165 if (vp1->v_st_dev < vp2->v_st_dev)
167 if (vp1->v_st_dev > vp2->v_st_dev)
169 if (vp1->v_st_ino < vp2->v_st_ino)
171 if (vp1->v_st_ino > vp2->v_st_ino)
H A Dfake_vop.c733 vnode_t *vp2,
737 return (vncache_cmp(vp1, vp2));
731 fop_cmp( vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
/illumos-gate/usr/src/cmd/mailx/
H A Dvars.c95 register struct var *vp, *vp2; local
98 if ((vp2 = lookup(s)) == NOVAR) {
111 if (vp2 == variables[h]) {
113 vfree(vp2->v_name);
114 vfree(vp2->v_value);
115 free(vp2);
118 for (vp = variables[h]; vp->v_link != vp2; vp = vp->v_link)
120 vp->v_link = vp2->v_link;
121 vfree(vp2->v_name);
122 vfree(vp2
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c110 vnode_t *vp1, *vp2; local
125 makepipe(&vp1, &vp2);
134 VN_RELE(vp2);
138 if (error = falloc(vp2, FWRITE|FREAD, &fp2, &fd2))
147 if (error = fifo_stropen(&vp2, FWRITE|FREAD, fp2->f_cred, 0, 0)) {
153 strmate(vp1, vp2);
155 VTOF(vp1)->fn_ino = VTOF(vp2)->fn_ino = fifogetid();
170 if (error = VOP_SETFL(vp2, flag2, iflags, fp2->f_cred, NULL)) {
206 (void) VOP_CLOSE(vp2, FWRITE|FREAD, 1, (offset_t)0, fp2->f_cred, NULL);
214 VN_RELE(vp2);
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.hist.c108 tchar *vp2 = *vp; local
110 while (*++vp2)
111 switch (*vp2) {
121 printf("Unknown flag: -%c\n", *vp2);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c436 struct exp_visible *vp1, *vp2, *vis_head, *tail, *next; local
463 for (vp2 = exi->exi_visible; vp2; vp2 = vp2->vis_next) {
464 tail = vp2;
465 if (EQFID(&vp1->vis_fid, &vp2->vis_fid)) {
467 vp2->vis_count++;
469 /* Transfer vis_exported from vp1 to vp2. */
470 if (vp1->vis_exported && !vp2
537 struct exp_visible *vp2; local
[all...]
H A Dnfs4_recovery.c329 * attempt. mi, vp1, and vp2 refer to the filesystem and files that were
330 * being operated on. vp1 and vp2 may be NULL.
341 vnode_t *vp2, stateid4 *sid, nfs4_lost_rqst_t *lost_rqstp, nfs_opnum4 op,
383 start_recovery(recovp, mi, vp1, vp2, sp, moved_vp, moved_nm);
396 vnode_t *vp1, vnode_t *vp2)
409 start_recovery(recovp, mi, vp1, vp2, NULL, NULL, NULL);
414 vnode_t *vp1, vnode_t *vp2, nfs4_server_t *sp,
489 if (vp2 != NULL)
490 recov_badstate(recovp, vp2, NFS4ERR_EXPIRED);
496 if (vp2 !
340 nfs4_start_recovery(nfs4_error_t *ep, mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2, stateid4 *sid, nfs4_lost_rqst_t *lost_rqstp, nfs_opnum4 op, nfs4_bseqid_entry_t *bsep, vnode_t *moved_vp, char *moved_nm) argument
395 start_recovery_action(nfs4_recov_t what, bool_t reboot, mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2) argument
413 start_recovery(recov_info_t *recovp, mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2, nfs4_server_t *sp, vnode_t *moved_vp, char *moved_nm) argument
735 nfs4_start_fop(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2, nfs4_op_hint_t op, nfs4_recov_state_t *rsp, bool_t *startrecovp) argument
955 nfs4_start_op(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2, nfs4_recov_state_t *rsp) argument
972 nfs4_end_fop(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2, nfs4_op_hint_t op, nfs4_recov_state_t *rsp, bool_t needs_recov) argument
1027 nfs4_end_op(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2, nfs4_recov_state_t *rsp, bool_t needrecov) argument
[all...]
H A Dnfs4_callback.c2415 nfs4_end_op_recall(vnode_t *vp1, vnode_t *vp2, nfs4_recov_state_t *rsp) argument
2419 (void *)vp1, (void *)vp2));
2421 if (vp2 && rsp->rs_flags & NFS4_RS_RECALL_HELD2)
2422 nfs_rw_exit(&VTOR4(vp2)->r_deleg_recall_lock);
2428 wait_for_recall(vnode_t *vp1, vnode_t *vp2, nfs4_op_hint_t op, argument
2435 (void *)vp1, (void *) vp2));
2442 if ((error = wait_for_recall1(vp2, op, rsp, NFS4_RS_RECALL_HELD2))
H A Dnfs4_client_debug.c1355 uint_t count, vnode_t *vp1, vnode_t *vp2, nfsstat4 nfs4_error,
1368 if (vp2)
1369 rp2 = VTOR4(vp2);
1354 nfs4_queue_event(nfs4_event_type_t id, mntinfo4_t *mi, char *server1, uint_t count, vnode_t *vp1, vnode_t *vp2, nfsstat4 nfs4_error, char *why, pid_t pid, nfs4_tag_type_t tag1, nfs4_tag_type_t tag2, seqid4 seqid1, seqid4 seqid2) argument
H A Dnfs4_client_secinfo.c1038 nfs4_secinfo_recov(mntinfo4_t *mi, vnode_t *vp1, vnode_t *vp2) argument
1063 if (vp1 == NULL && vp2 == NULL) {
H A Dnfs4_vnops.c10838 nfs4_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
10841 return (VTOR4(vp1) == VTOR4(vp2));
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c272 vnode_t *vp2; local
277 vp2 = FTOV(fnp2);
279 vp1->v_vfsp = vp2->v_vfsp = fifovfsp;
280 vp1->v_rdev = vp2->v_rdev = fifodev;
296 vnode_t *vp2 = FTOV(fnp2); local
299 ASSERT(vp2->v_vfsp == fifovfsp);
301 ASSERT(vp2->v_rdev == fifodev);
902 struct vnode *vp2; local
913 makepipe(&vp1, &vp2);
923 VN_RELE(vp2);
[all...]
/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) argument
1028 while (vn_matchops(vp2, lo_vnodeops))
1029 vp2 = realvp(vp2);
1030 return (VOP_CMP(vp1, vp2, ct));
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h1076 #define VOP_CMP(vp1, vp2, ct) \
1077 fop_cmp(vp1, vp2, ct)
1082 #define VOP_REALVP(vp1, vp2, ct) \
1083 fop_realvp(vp1, vp2, ct)
1264 int vn_compare(vnode_t *vp1, vnode_t *vp2);
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h1089 #define VOP_CMP(vp1, vp2, ct) \
1090 fop_cmp(vp1, vp2, ct)
1095 #define VOP_REALVP(vp1, vp2, ct) \
1096 fop_realvp(vp1, vp2, ct)
1275 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);
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c223 fs_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
225 return (vp1 == vp2);
H A Dvnode.c1984 vn_compare(vnode_t *vp1, vnode_t *vp2) argument
1990 if (vp2 != NULL && VOP_REALVP(vp2, &realvp, NULL) == 0)
1991 vp2 = realvp;
1992 return (VN_CMP(vp1, vp2));
3827 vnode_t *vp2,
3832 err = (*(vp1)->v_op->vop_cmp)(vp1, vp2, ct);
3825 fop_cmp( vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
H A Dfem.c1116 vhead_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
1128 errc = (*func)(arg0, vp2, ct);
1135 errc = (*func)(arg0, vp2, ct);
2414 vnext_cmp(femarg_t *vf, vnode_t *vp2, caller_context_t *ct) argument
2424 return ((*func)(arg0, vp2, ct));
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1867 mntcmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
1869 return (vp1 != NULL && vp2 != NULL && vp1->v_vfsp == vp2->v_vfsp);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c5887 prcmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
5891 if (vp1 == vp2)
5894 if (!vn_matchops(vp1, prvnodeops) || !vn_matchops(vp2, prvnodeops))
5898 pp2 = VTOP(vp2);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c6972 struct vnode *vp1, *vp2; local
7045 swap_xlate(oap, &vp2, &off2);
7048 if (!VOP_CMP(vp1, vp2, NULL) || off1 - off2 != delta)
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c8545 strmate(vnode_t *vp1, vnode_t *vp2) argument
8548 queue_t *wrq2 = strvp2wq(vp2);

Completed in 233 milliseconds