fac
nvlist_t *fac, *rsrc = NULL;
if (nvlist_lookup_nvlist(rsrc, "facility", &fac) != 0)
if (nvlist_lookup_string(fac, FM_FMRI_FACILITY_TYPE,
int i, j, fac;
fac = facpri & LOG_FACMASK;
j = fac >> 3;
if (facs[j].value == fac)
if (fac == facs[i].value)
int fac, pri;
fac = 0;
fac = fac_findname(*cpp);
if (fac == -1) {
*facpri = fac|pri;
int fac = 0;
fac = decode(p, FacNames);
if (fac < 0)
return ((lev & LOG_PRIMASK) | (fac & LOG_FACMASK));
int fac, prilev, flags, refcnt;
fac = (mp->pri & LOG_FACMASK) >> 3;
fac = LOG_NFACILITIES;
mythreadno, fac, prilev);
if (f->f_pmask[fac] < (unsigned)prilev ||
f->f_pmask[fac] == NOPRI)
uint_t fac, const fmd_log_filtvec_t *fav)
for (i = 0; i < fac; i++) {
uint_t i, fac = 0;
fav[fac++].filt_argv = &fv[i];
fav[fac - 1].filt_argc++;
return (fmd_log_xiter_filter(lp, rp, fac, fav));
uint_t i, fac = 0;
fav[fac++].filt_argv = &fv[i];
fav[fac - 1].filt_argc++;
if (fc == 0 || fmd_log_xiter_filter(lp, &rec, fac, fav))
if (fac != 0)
char *fac, *copy, *fname, *ftype;
if ((fac = strchr(str, '?')) == NULL)
++fac;
if ((copy = topo_mod_strdup(mod, fac)) == NULL)
fac = copy;
len = strlen(fac);
if ((fname = strchr(fac, '=')) == NULL) {
ftype = fac;
nvlist_t *fac = NULL;
if (make_facility(mod, str, &fac) == -1)
if (fac != NULL) {
if (nvlist_add_nvlist(nf, FM_FMRI_FACILITY, fac) != 0)
nvlist_t *rsrc, *fac;
if ((nvlist_lookup_nvlist(rsrc, "facility", &fac) != 0) ||
(nvlist_lookup_string(fac, FM_FMRI_FACILITY_TYPE,
extern struct fac krb5int_fac;
struct fac krb5int_fac = { K5_MUTEX_PARTIAL_INITIALIZER, 0 };
#define ASY_DPRINTF(asy, fac, format, ...) \
if (ASY_DEBUG(asy, fac)) \
#define ASY_DPRINTF(asy, fac, format, ...)
int flags, fac;
fac = (lc->pri & LOG_FACMASK) >> 3;
log_fac[MIN(fac, LOG_NFACILITIES)],
extern int cladmin(int fac, int cmd, void *data);
extern int _cladm(int fac, int cmd, void *data);
#define TRACE_0(fac, tag, name) { \
#define TRACE_1(fac, tag, name, d1) { \
#define TRACE_2(fac, tag, name, d1, d2) { \
#define TRACE_3(fac, tag, name, d1, d2, d3) { \
#define TRACE_4(fac, tag, name, d1, d2, d3, d4) { \
#define TRACE_5(fac, tag, name, d1, d2, d3, d4, d5) { \
#define TRACE_0(fac, tag, name)
#define TRACE_1(fac, tag, name, d1)
#define TRACE_2(fac, tag, name, d1, d2)
#define TRACE_3(fac, tag, name, d1, d2, d3)
#define TRACE_4(fac, tag, name, d1, d2, d3, d4)
#define TRACE_5(fac, tag, name, d1, d2, d3, d4, d5)
cladm(int fac, int cmd, void *arg)
switch (fac) {
error = cladmin(fac, cmd, arg);
#define DEBUGWARN0(fac, format) \
if (debug & (fac)) \
#define DEBUGNOTE0(fac, format) \
if (debug & (fac)) \
#define DEBUGNOTE1(fac, format, arg1) \
if (debug & (fac)) \
#define DEBUGNOTE2(fac, format, arg1, arg2) \
if (debug & (fac)) \
#define DEBUGNOTE3(fac, format, arg1, arg2, arg3) \
if (debug & (fac)) \
#define DEBUGCONT0(fac, format) \
if (debug & (fac)) \
#define DEBUGCONT1(fac, format, arg1) \
if (debug & (fac)) \
#define DEBUGCONT2(fac, format, arg1, arg2) \
if (debug & (fac)) \
#define DEBUGCONT3(fac, format, arg1, arg2, arg3) \
if (debug & (fac)) \
#define DEBUGCONT4(fac, format, arg1, arg2, arg3, arg4) \
if (debug & (fac)) \
#define DEBUGCONT10(fac, format, \
if (debug & (fac)) \
#define DEBUGWARN0(fac, format)
#define DEBUGNOTE0(fac, format)
#define DEBUGNOTE1(fac, format, arg1)
#define DEBUGNOTE2(fac, format, arg1, arg2)
#define DEBUGNOTE3(fac, format, arg1, arg2, arg3)
#define DEBUGCONT0(fac, format)
#define DEBUGCONT1(fac, format, arg1)
#define DEBUGCONT2(fac, format, arg1, arg2)
#define DEBUGCONT3(fac, format, arg1, arg2, arg3)
#define DEBUGCONT4(fac, format, arg1, arg2, arg3, arg4)
#define DEBUGCONT10(fac, format, \