Lines Matching defs:exclude
218 file_has_potential(char *fmri, int exclude)
223 int good = exclude ? B_FALSE : B_TRUE;
241 * Returns 0 if not, 1 if it is, or 2 if it is an optional or exclude
246 inst_has_potential(scf_instance_t *inst, int enabled, int optional, int exclude)
251 return ((optional || exclude) ? 2 : 0);
274 return ((optional || exclude) ? 2 : 0);
280 if (exclude)
297 fmri_has_potential(char *fmri, int isfile, int optional, int exclude,
303 int good = exclude ? B_FALSE : B_TRUE;
308 assert(!optional || !exclude);
311 return (file_has_potential(fmri, exclude));
322 (inst_has_potential(inst, enabled, optional, exclude) != 0);
347 result = exclude || (optional && !optbad);
358 r = inst_has_potential(inst, enabled, optional, exclude);
364 if (exclude)
412 int isfile, int optional, int exclude)
419 if (!fmri_has_potential(value, isfile, optional, exclude,