Searched defs:vp1 (Results 1 - 21 of 21) 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
45 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0)
46 vp1 = realvp;
49 return (VN_CMP(vp1, vp2));
H A Dvncache.c160 const vnode_t *vp1, *vp2; local
162 vp1 = v1;
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.c732 vnode_t *vp1,
737 return (vncache_cmp(vp1, vp2));
731 fop_cmp( vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c110 vnode_t *vp1, *vp2; local
125 makepipe(&vp1, &vp2);
132 if (error = falloc(vp1, FWRITE|FREAD, &fp1, &fd1)) {
133 VN_RELE(vp1);
144 if (error = fifo_stropen(&vp1, FWRITE|FREAD, fp1->f_cred, 0, 0))
148 (void) VOP_CLOSE(vp1, FWRITE|FREAD, 1, (offset_t)0,
153 strmate(vp1, vp2);
155 VTOF(vp1)->fn_ino = VTOF(vp2)->fn_ino = fifogetid();
165 if (error = VOP_SETFL(vp1, flag1, iflags, fp1->f_cred, NULL)) {
205 (void) VOP_CLOSE(vp1, FWRIT
[all...]
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dvroot.cc300 else { pathcellt *vp1= vp; local
302 for (vp= vp1; vp->path != NULL; vp++) {
/illumos-gate/usr/src/uts/common/fs/nfs/
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) {
1068 } else if (vp1) {
1069 error = nfs4_secinfo_vnode(vp1, cr, TRUE);
1072 error = nfs4_secinfo_vnode(vp1, lcr, TRUE);
H A Dnfs4_srv_ns.c436 struct exp_visible *vp1, *vp2, *vis_head, *tail, *next; local
458 for (vp1 = vis_head; vp1; vp1 = next) {
460 next = vp1->vis_next;
465 if (EQFID(&vp1->vis_fid, &vp2->vis_fid)) {
468 VN_RELE(vp1->vis_vp);
469 /* Transfer vis_exported from vp1 to vp2. */
470 if (vp1->vis_exported && !vp2->vis_exported)
472 kmem_free(vp1, sizeo
535 less_visible(struct exportinfo *exi, struct exp_visible *vp1) argument
[all...]
H A Dnfs4_client_debug.c1355 uint_t count, vnode_t *vp1, vnode_t *vp2, nfsstat4 nfs4_error,
1366 if (vp1)
1367 rp1 = VTOR4(vp1);
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_callback.c2415 nfs4_end_op_recall(vnode_t *vp1, vnode_t *vp2, nfs4_recov_state_t *rsp) argument
2419 (void *)vp1, (void *)vp2));
2423 if (vp1 && rsp->rs_flags & NFS4_RS_RECALL_HELD1)
2424 nfs_rw_exit(&VTOR4(vp1)->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));
2439 if ((error = wait_for_recall1(vp1, op, rsp, NFS4_RS_RECALL_HELD1)) != 0)
2445 nfs_rw_exit(&VTOR4(vp1)->r_deleg_recall_lock);
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.
340 nfs4_start_recovery(nfs4_error_t *ep, mntinfo4_t *mi, vnode_t *vp1, argument
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,
487 if (vp1 != NULL)
488 recov_badstate(recovp, vp1, NFS4ERR_EXPIRED);
494 if (vp1 !
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_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.c271 vnode_t *vp1; local
276 vp1 = FTOV(fnp1);
279 vp1->v_vfsp = vp2->v_vfsp = fifovfsp;
280 vp1->v_rdev = vp2->v_rdev = fifodev;
295 vnode_t *vp1 = FTOV(fnp1); local
298 ASSERT(vp1->v_vfsp == fifovfsp);
300 ASSERT(vp1->v_rdev == fifodev);
901 struct vnode *vp1; local
913 makepipe(&vp1, &vp2);
921 if (error = falloc(vp1, FWRIT
[all...]
/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 Dfem.c1116 vhead_cmp(vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
1124 if ((femsp = fem_lock(vp1->v_femhead)) == NULL) {
1125 func = (int (*)()) (vp1->v_op->vop_cmp);
1126 arg0 = vp1;
1127 fem_unlock(vp1->v_femhead);
1131 fem_unlock(vp1->v_femhead);
1132 farg.fa_vnode.vp = vp1;
H A Dvnode.c1984 vn_compare(vnode_t *vp1, vnode_t *vp2) argument
1988 if (vp1 != NULL && VOP_REALVP(vp1, &realvp, NULL) == 0)
1989 vp1 = realvp;
1992 return (VN_CMP(vp1, vp2));
3826 vnode_t *vp1,
3832 err = (*(vp1)->v_op->vop_cmp)(vp1, vp2, ct);
3833 VOPSTATS_UPDATE(vp1, cmp);
3825 fop_cmp( vnode_t *vp1, vnode_t *vp2, caller_context_t *ct) argument
/illumos-gate/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);
/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
1026 while (vn_matchops(vp1, lo_vnodeops))
1027 vp1 = realvp(vp1);
1030 return (VOP_CMP(vp1, 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/os/
H A Dstreamio.c8545 strmate(vnode_t *vp1, vnode_t *vp2) argument
8547 queue_t *wrq1 = strvp2wq(vp1);
/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))
5897 pp1 = VTOP(vp1);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c6972 struct vnode *vp1, *vp2; local
7044 swap_xlate(ap, &vp1, &off1);
7048 if (!VOP_CMP(vp1, vp2, NULL) || off1 - off2 != delta)

Completed in 202 milliseconds