dt_program.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <unistd.h>
#include <strings.h>
#include <stdlib.h>
#include <errno.h>
#include <assert.h>
#include <dt_impl.h>
#include <dt_printf.h>
{
else
return (pgp);
}
void
{
}
}
/*ARGSUSED*/
void
{
return;
} else {
}
continue;
pip->dpi_descattr =
pip->dpi_stmtattr =
/*
* If there aren't any actions, account for the fact that
* recording the epid will generate a record.
*/
pip->dpi_recgens++;
pip->dpi_speculations++;
continue;
}
pip->dpi_aggregates++;
continue;
}
continue;
DIF_TYPE_CTF &&
continue;
pip->dpi_recgens++;
}
}
}
int
{
void *dof;
int n, err;
return (-1);
if (n == -1) {
switch (errno) {
case EINVAL:
err = EDT_DIFINVAL;
break;
case EFAULT:
err = EDT_DIFFAULT;
break;
case E2BIG:
err = EDT_DIFSIZE;
break;
default:
}
}
pip->dpi_matches += n;
return (0);
}
void
{
edp->dted_refcnt++;
}
void
{
if (--edp->dted_refcnt > 0)
return;
}
{
return (NULL);
}
return (edp);
}
{
return (NULL);
}
return (sdp);
}
{
return (NULL);
}
} else {
else
}
return (new);
}
int
{
return (0);
}
int
{
int status = 0;
break;
}
return (status);
}
void
{
/*
* We need to remove any actions that we have on this ECB, and
* remove our hold on the ECB itself.
*/
break;
break;
}
} else {
}
/*
* We have now removed our action list from its ECB; we can
* safely destroy the list.
*/
}
}
}