Searched defs:errs (Results 26 - 45 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c128 int errs = 0; local
229 errs = preen(listcnt, listp);
243 errs +=
253 errs++;
257 if (errs > 0)
258 errs += 31;
259 return (errs);
271 int i, rc, errs; local
287 errs = 0;
309 errs
[all...]
/illumos-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c185 char *errs[] = { variable
593 filename, line, gettext(errs[err]));
598 filename, line, errs[err]);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.h92 int errs; /* write errors */ member in struct:filed_stats
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_engine.c524 tmpl_errors_t *errs; local
539 if ((vr = tmpl_validate_bundle(b, &errs)) != TVS_SUCCESS) {
547 tmpl_errors_print(stderr, errs, prefix);
549 tmpl_errors_destroy(errs);
560 tmpl_errors_destroy(errs);
H A Dsvccfg_tmpl.c1670 * new error structure to errs.
1673 add_scf_error(tmpl_errors_t *errs, scf_tmpl_error_type_t ec, argument
1804 rc = _scf_tmpl_add_error(errs->te_cur_scf->tve_errors, ec,
1814 * list of errors in errs. The rest of the parameters are used to
1818 tmpl_errors_add_im(tmpl_errors_t *errs, tmpl_validate_status_t ec, entity_t *e, argument
1839 result = uu_list_insert_after(errs->te_list, NULL, ite);
2091 * to errs.
2095 tmpl_errors_t *errs)
2163 if (add_scf_error(errs, SCF_TERR_PG_PATTERN_CONFLICT,
2187 if (add_scf_error(errs, SCF_TERR_PROP_PATTERN_CONFLIC
2094 gather_pattern(entity_t *e, ptrn_type_t type, uu_avl_t *tree, tmpl_errors_t *errs) argument
2585 include_values_support(ptrn_info_t *pinfo, const char *type, tmpl_errors_t *errs) argument
2646 tmpl_include_values_check(uu_avl_t *tree, tmpl_errors_t *errs) argument
2682 tmpl_pattern_conflict(entity_t *inst, uu_avl_t *tree, ptrn_type_t type, tmpl_errors_t *errs) argument
2700 tmpl_required_attr_present(uu_avl_t *tree, tmpl_errors_t *errs) argument
2773 tmpl_scan_general(entity_t *general, uu_avl_t *tree, tmpl_level_t level, tmpl_errors_t *errs) argument
2855 tmpl_level_redefine(entity_t *inst, uu_avl_t *tree, tmpl_errors_t *errs) argument
2901 tmpl_consistency(entity_t *inst, tmpl_errors_t *errs) argument
3042 tmpl_errors_print(FILE *out, tmpl_errors_t *errs, const char *prefix) argument
3282 tmpl_validate_cardinality(pgroup_t *prop_pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3332 tmpl_required_pg_present(entity_t *e, tmpl_errors_t *errs) argument
3398 tmpl_required_props_present(entity_t *e, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3498 tmpl_validate_value_range(pgroup_t *pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3574 tmpl_validate_values(pgroup_t *prop_pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3665 tmpl_validate_value_constraints(pgroup_t *pattern, property_t *prop, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3693 tmpl_validate_prop(property_t *prop, pgroup_t *tmpl, pgroup_t *pg, pgroup_t *pg_pattern, tmpl_errors_t *errs) argument
3770 tmpl_validate_pg(entity_t *e, pgroup_t *pg, tmpl_errors_t *errs) argument
3897 tmpl_validate_entity_pgs(entity_t *e, tmpl_errors_t *errs) argument
3933 tmpl_validate_instance(entity_t *e, tmpl_errors_t *errs) argument
3966 tmpl_validate_service(entity_t *svc, tmpl_errors_t *errs) argument
4001 tmpl_errors_t *errs = NULL; local
[all...]
H A Dsvccfg_libscf.c11364 scf_tmpl_errors_t *errs = NULL; local
11404 ret = scf_tmpl_validate_fmri(g_hndl, inst_fmri, snapbuf, &errs,
11416 } else if (ret == 1 && errs != NULL) {
11425 while ((err = scf_tmpl_next_error(errs)) != NULL) {
11443 if (errs != NULL)
11444 scf_tmpl_errors_destroy(errs);
11454 tmpl_errors_t *errs; local
11458 if (tmpl_validate_bundle(b, &errs) != TVS_SUCCESS) {
11459 tmpl_errors_print(stderr, errs, "");
11462 tmpl_errors_destroy(errs);
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dnotify_params.c70 check_scf_error(scf_error_t e, const scf_error_t *errs) argument
72 if (ismember(e, errs))
H A Dscf_tmpl.c4838 * Allocate a new scf_tmpl_error_t and add it to the errs list provided.
4843 _create_error(scf_tmpl_errors_t *errs) argument
4848 assert(errs != NULL);
4855 ret->te_errs = errs;
4857 assert(errs->tes_num_errs <= errs->tes_errs_size);
4858 if (errs->tes_num_errs == errs->tes_errs_size) {
4860 saved_errs = errs->tes_errs;
4861 errs
4940 _scf_tmpl_error_set_prefix(scf_tmpl_errors_t *errs, const char *prefix) argument
4960 _scf_tmpl_add_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, const char *pg_name, const char *prop_name, const char *ev1, const char *ev2, const char *actual, const char *tmpl_fmri, const char *tmpl_pg_name, const char *tmpl_pg_type, const char *tmpl_prop_name, const char *tmpl_prop_type) argument
5032 _add_tmpl_missing_pg_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t) argument
5083 _add_tmpl_wrong_pg_type_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_propertygroup_t *pg) argument
5137 _add_tmpl_missing_prop_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt) argument
5207 _add_tmpl_wrong_prop_type_error(scf_tmpl_errors_t *errs, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop) argument
5285 _add_tmpl_count_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, uint64_t count, uint64_t *min, uint64_t *max) argument
5394 _add_tmpl_constraint_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, scf_value_t *val) argument
5485 _add_tmpl_int_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, int64_t val, int64_t *min, int64_t *max) argument
5594 _add_tmpl_pg_redefine_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_pg_tmpl_t *r) argument
5689 _value_in_constraint(scf_propertygroup_t *pg, scf_property_t *prop, const scf_prop_tmpl_t *pt, scf_value_t *value, scf_tmpl_errors_t *errs) argument
5881 scf_tmpl_value_in_constraint(const scf_prop_tmpl_t *pt, scf_value_t *value, scf_tmpl_errors_t **errs) argument
5902 scf_tmpl_next_error(scf_tmpl_errors_t *errs) argument
5913 scf_tmpl_reset_errors(scf_tmpl_errors_t *errs) argument
5977 _validate_cardinality(scf_propertygroup_t *pg, scf_prop_tmpl_t *pt, scf_property_t *prop, scf_tmpl_errors_t *errs) argument
6065 _check_property(scf_prop_tmpl_t *pt, scf_propertygroup_t *pg, scf_property_t *prop, scf_tmpl_errors_t *errs) argument
6192 _check_pg(scf_pg_tmpl_t *t, scf_propertygroup_t *pg, char *pg_name, char *type, scf_tmpl_errors_t *errs) argument
6389 _scf_tmpl_check_pg_redef(scf_handle_t *h, const char *fmri, const char *snapname, scf_tmpl_errors_t *errs) argument
6529 scf_tmpl_validate_fmri(scf_handle_t *h, const char *fmri, const char *snapshot, scf_tmpl_errors_t **errs, int flags) argument
6744 scf_tmpl_errors_destroy(scf_tmpl_errors_t *errs) argument
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_create.c1424 int errs = 0; local
1459 errs++; /* increment errs and fail at bottom of case */
1479 errs++;
1482 if (errs)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c712 int line, errs = 0; local
743 errs++;
749 errs++;
757 if (errs != 0)
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/
H A Dsdhost.c832 uint16_t errs; local
848 errs = GET16(ss, REG_ERR_STAT);
970 PUT16(ss, REG_ERR_STAT, errs);
973 if (errs & ERR_DAT) {
974 if ((errs & ERR_DAT_END) == ERR_DAT_END) {
976 } else if ((errs & ERR_DAT_CRC) == ERR_DAT_CRC) {
982 } else if (errs & ERR_ACMD12) {
994 if (errs & ERR_CURRENT) {
1280 uint16_t errs; local
1310 if ((errs
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dbscv_impl.h329 uint64_t errs; member in struct:bscv_idi_callout_mgr
/illumos-gate/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c81 it_validate_configprops(nvlist_t *nvl, nvlist_t *errs);
84 it_validate_tgtprops(nvlist_t *nvl, nvlist_t *errs);
87 it_validate_iniprops(nvlist_t *nvl, nvlist_t *errs);
326 nvlist_t *errs = NULL; local
341 (void) nvlist_alloc(&errs, 0, 0);
342 *errlist = errs;
373 ret = it_val_pass(PROP_RADIUS_SECRET, val, errs);
408 ret = it_validate_configprops(cprops, errs);
624 nvlist_t *errs = NULL; local
639 (void) nvlist_alloc(&errs,
1388 nvlist_t *errs = NULL; local
1535 it_validate_tgtprops(nvlist_t *nvl, nvlist_t *errs) argument
1635 it_validate_configprops(nvlist_t *nvl, nvlist_t *errs) argument
1795 it_validate_iniprops(nvlist_t *nvl, nvlist_t *errs) argument
[all...]
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c1241 int errs = 0; local
1261 return (chg_time(to, s1save) + errs);
1262 return (errs);
1274 errs++;
1279 errs += cpymve(fromname, to);
/illumos-gate/usr/src/common/net/wanboot/
H A Dboot_http.c122 errent_t errs[ESTACK_SIZE]; /* stack of errors on the last request */ member in struct:http_conn_t
139 (c_id)->errs[(c_id)->numerrs].errsrc = (src), \
140 (c_id)->errs[(c_id)->numerrs ++].error = (err)
144 (e_src) = (c_id)->errs[((c_id)->nexterr)].errsrc, \
145 (e_code) = (c_id)->errs[((c_id)->nexterr)++].error; \
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c76 static int errs; variable
351 return (errs);
358 return (errs);
534 return (errs > 0 ? EXIT_FAILURE : EXIT_SUCCESS);
581 errs++;
598 errs++;
808 errs++;
821 errs++;
932 ++errs;
958 ++errs;
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c455 int errs; local
484 errs = 0;
493 errs++;
497 return (errs);
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c1993 int i, errs = 0; local
2001 errs++;
2003 errs += (cmi_hdl_wrmsr(hdl, msr, val) != CMI_SUCCESS);
2005 errs++;
2009 return (errs == 0 ? CMI_SUCCESS : CMIERR_UNKNOWN);
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c5883 int errs; local
5918 errs = STPLEX;
5920 errs = STRHUP|STRDERR|STWRERR|STPLEX;
5945 if (stp->sd_flag & errs) {
5947 error = strgeterr(stp, errs, 0);
6010 } else if ((stp->sd_flag & errs)) {
6011 error = strgeterr(stp, errs, 0);
6075 if (stp->sd_flag & errs) {
6076 error = strgeterr(stp, errs, 0);
6351 int errs local
[all...]
H A Dstrsubr.c3002 int slpflg, errs; local
3013 errs = STRDERR|STPLEX;
3017 errs = STWRERR|STRHUP|STPLEX;
3020 errs = STPLEX;
3031 if (stp->sd_flag & errs) {
3037 error = strgeterr(stp, errs, (flag & STR_PEEK));
3129 if ((stp->sd_flag & errs) && !(flag & STR_DELAYERR)) {
3130 error = strgeterr(stp, errs, (flag & STR_PEEK));

Completed in 188 milliseconds

12