f3b585ce799a83688c5532c430f6133f098431c2samf/*
f3b585ce799a83688c5532c430f6133f098431c2samf * CDDL HEADER START
f3b585ce799a83688c5532c430f6133f098431c2samf *
f3b585ce799a83688c5532c430f6133f098431c2samf * The contents of this file are subject to the terms of the
f3b585ce799a83688c5532c430f6133f098431c2samf * Common Development and Distribution License (the "License").
f3b585ce799a83688c5532c430f6133f098431c2samf * You may not use this file except in compliance with the License.
f3b585ce799a83688c5532c430f6133f098431c2samf *
f3b585ce799a83688c5532c430f6133f098431c2samf * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f3b585ce799a83688c5532c430f6133f098431c2samf * or http://www.opensolaris.org/os/licensing.
f3b585ce799a83688c5532c430f6133f098431c2samf * See the License for the specific language governing permissions
f3b585ce799a83688c5532c430f6133f098431c2samf * and limitations under the License.
f3b585ce799a83688c5532c430f6133f098431c2samf *
f3b585ce799a83688c5532c430f6133f098431c2samf * When distributing Covered Code, include this CDDL HEADER in each
f3b585ce799a83688c5532c430f6133f098431c2samf * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f3b585ce799a83688c5532c430f6133f098431c2samf * If applicable, add the following below this CDDL HEADER, with the
f3b585ce799a83688c5532c430f6133f098431c2samf * fields enclosed by brackets "[]" replaced with your own identifying
f3b585ce799a83688c5532c430f6133f098431c2samf * information: Portions Copyright [yyyy] [name of copyright owner]
f3b585ce799a83688c5532c430f6133f098431c2samf *
f3b585ce799a83688c5532c430f6133f098431c2samf * CDDL HEADER END
f3b585ce799a83688c5532c430f6133f098431c2samf */
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samf/*
f3b585ce799a83688c5532c430f6133f098431c2samf * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
f3b585ce799a83688c5532c430f6133f098431c2samf * Use is subject to license terms.
f3b585ce799a83688c5532c430f6133f098431c2samf */
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samf#pragma ident "%Z%%M% %I% %E% SMI"
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samf/*
f3b585ce799a83688c5532c430f6133f098431c2samf * ASSERTION: Make sure nfs provider probes are firing
f3b585ce799a83688c5532c430f6133f098431c2samf *
f3b585ce799a83688c5532c430f6133f098431c2samf * SECTION: nfs4 provider
f3b585ce799a83688c5532c430f6133f098431c2samf */
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samf#pragma D option destructive
f3b585ce799a83688c5532c430f6133f098431c2samf#pragma D option quiet
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samfpid$1:a.out:waiting:entry
f3b585ce799a83688c5532c430f6133f098431c2samf{
f3b585ce799a83688c5532c430f6133f098431c2samf this->value = (int *)alloca(sizeof (int));
f3b585ce799a83688c5532c430f6133f098431c2samf *this->value = 1;
f3b585ce799a83688c5532c430f6133f098431c2samf copyout(this->value, arg0, sizeof (int));
f3b585ce799a83688c5532c430f6133f098431c2samf}
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samfnfsv4:::compound-start
f3b585ce799a83688c5532c430f6133f098431c2samf{
f3b585ce799a83688c5532c430f6133f098431c2samf cstart++;
f3b585ce799a83688c5532c430f6133f098431c2samf}
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samfnfsv4:::op-putrootfh-start
f3b585ce799a83688c5532c430f6133f098431c2samf{
f3b585ce799a83688c5532c430f6133f098431c2samf opstart++;
f3b585ce799a83688c5532c430f6133f098431c2samf}
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samfnfsv4:::op-putrootfh-done
f3b585ce799a83688c5532c430f6133f098431c2samf{
f3b585ce799a83688c5532c430f6133f098431c2samf opdone++;
f3b585ce799a83688c5532c430f6133f098431c2samf}
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samfnfsv4:::compound-done
f3b585ce799a83688c5532c430f6133f098431c2samf/cstart && opstart && opdone/
f3b585ce799a83688c5532c430f6133f098431c2samf{
f3b585ce799a83688c5532c430f6133f098431c2samf exit(0);
f3b585ce799a83688c5532c430f6133f098431c2samf}
f3b585ce799a83688c5532c430f6133f098431c2samf
f3b585ce799a83688c5532c430f6133f098431c2samftick-1s
f3b585ce799a83688c5532c430f6133f098431c2samf/tick++ == 3/
f3b585ce799a83688c5532c430f6133f098431c2samf{
f3b585ce799a83688c5532c430f6133f098431c2samf exit(1);
f3b585ce799a83688c5532c430f6133f098431c2samf}