Searched refs:errs (Results 1 - 25 of 61) sorted by relevance

123

/illumos-gate/usr/src/cmd/filesync/
H A Dmain.c123 errmask_t errs = ERR_OK; local
193 errs |= ERR_INVAL;
210 errs |= ERR_INVAL;
221 errs |= ERR_INVAL;
227 errs |= ERR_MISSING;
232 errs |= ERR_MISSING;
237 errs |= ERR_INVAL;
248 errs |= ERR_INVAL;
252 errs |= ERR_INVAL;
257 if (errs
499 errmask_t errs = 0; local
[all...]
H A Drules.c100 errmask_t errs = 0; local
169 errs |= add_rule(bp, R_PROGRAM,
174 errs |= add_rule(bp, flags, s);
193 errs |= add_rule(bp, R_PROGRAM|flags,
199 errs |= add_rule(bp, flags, s);
221 errs |= ERR_FILES;
229 errs |= ERR_FILES;
234 return (errs);
288 errmask_t errs = 0; local
310 errs |
544 errmask_t errs = 0; local
[all...]
H A Drecon.c123 { errmask_t errs = 0; local
169 errs = do_rename(fp, OPT_DST);
172 errs = do_rename(fp, OPT_SRC);
176 if (errs != ERR_RESOLVABLE)
226 errs = do_remove(fp, OPT_SRC);
237 errs = do_copy(fp, OPT_DST);
252 errs = do_remove(fp, OPT_DST);
263 errs = do_copy(fp, OPT_SRC);
280 errs = do_copy(fp, OPT_DST);
287 errs
[all...]
H A Drename.c91 errmask_t errs = 0; local
109 errs |= note_rename(fp, np, rp, side);
115 errs |= find_renames(np);
118 return (errs);
222 errmask_t errs = 0; local
251 return (errs);
260 return (errs);
H A Deval.c117 { errmask_t errs = 0; local
170 errs |= add_run(bp, rp->r_file);
172 errs |= add_glob(bp, rp->r_file);
174 errs |= add_file_arg(bp, rp->r_file);
207 errs |= eval_file(bp, fp);
214 return (errs);
248 errmask_t errs = 0; local
345 return (errs);
371 { errmask_t errs = 0; local
449 errs |
878 errmask_t errs = 0; local
949 errmask_t errs = 0; local
[all...]
H A Dbase.c325 errmask_t errs = 0; local
381 errs |= ERR_FILES;
643 errs |= ERR_FILES;
647 return (errs);
666 errmask_t errs = 0; local
688 errs |= bw_header(newfile);
690 errs |= bw_base(newfile, bp);
695 errs |= ERR_FILES;
701 errs |= ERR_FILES;
705 if (errs
766 errmask_t errs = 0; local
810 errmask_t errs = 0; local
[all...]
H A Daction.c126 errmask_t errs = 0; local
342 return (errs);
349 errs |= ERR_PERM | ERR_UNRESOLVED;
360 errs |= ERR_RESOLVABLE;
363 return (errs);
404 errmask_t errs = 0; local
718 errs |= rc;
764 errs |= rc;
820 if (errs == 0)
821 errs
854 errmask_t errs = 0; local
940 errmask_t errs = 0; local
1068 errmask_t errs = 0; local
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgerr.c50 PKG_ERR_CODE *errs; member in struct:_pkg_err_struct
63 newerr->errs = NULL;
82 err->errs = (PKG_ERR_CODE *)realloc(err->errs,
85 err->errs[err->nerrs - 1] = code;
98 free(err->errs);
100 err->errs = NULL;
/illumos-gate/usr/src/cmd/renice/
H A Drenice.c104 int errs = 0; local
187 errs += donice(which, who, incr, prio_type,
197 errs += donice(which, who, incr, prio_type,
203 errs++;
209 errs += donice(which, who, incr, prio_type,
215 errs++;
220 errs += donice(which, who, incr, prio_type,
226 errs++;
234 errs++;
237 errs
258 int errs = 0; local
[all...]
/illumos-gate/usr/src/cmd/roles/
H A Droles.c53 int errs = 0; local
62 errs = show_roles(NULL, 0);
65 errs += show_roles(*argv, print_name);
68 return ((errs == 0) ? EXIT_OK : EXIT_FATAL);
/illumos-gate/usr/src/lib/libresolv2/
H A Ddns-install161 errs=0
168 errs=`expr $errs + 1`
174 errs=`expr $errs + 1`
185 if [ $errs -ne 0 ]; then
186 echo "$errs errors encountered" \
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsignal.c95 int sig, errs, sigerr; local
104 errs = 0;
125 if (++errs > MAX_FAILS_T)
132 errs = 0;
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddstyle.pl37 $errs = 0;
44 $errs++;
240 exit($errs != 0);
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac_del.c218 int errs; local
257 if ((errs = kphysm_del_span(handle, base, npgs)) != KPHYSM_OK) {
258 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs));
264 errs = kcage_range_add(base, npgs, KCAGE_DOWN);
266 if (errs != 0) {
267 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs));
271 pkt->softsp->board, pkt->bank, errs);
288 int errs; local
306 errs = kcage_range_add(base, npgs, KCAGE_DOWN);
308 if (errs !
318 int errs; local
[all...]
H A Dac_add.c108 int errs; local
174 errs = kphysm_add_memory_dynamic(base_pa >> PAGESHIFT,
177 if (errs != KPHYSM_OK) {
178 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs));
185 errs = kcage_range_add(btop(base_pa), btop(bank_size), KCAGE_DOWN);
187 if (errs != 0)
190 add->sc.board, pkt->bank, errs);
/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/uts/common/avs/ns/sdbc/
H A Dsd_pcu.h71 * zaitcev - XXX errs is per block, not per fba?
75 int32_t errs; /* error status per fba, needed to recover */ member in struct:sdbc_pwf_rec_s
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm159 my @errs;
173 push(@errs,
185 push(@errs, @$ref);
205 push(@errs, @$ref);
209 if (@errs) {
210 return (1, \@errs);
278 my @errs;
291 push(@errs, [5, gettext(
303 push(@errs, @$ref);
310 push(@errs,
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
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...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c76 vdev_missing(uint64_t state, uint64_t aux, uint64_t errs) argument
84 vdev_faulted(uint64_t state, uint64_t aux, uint64_t errs) argument
91 vdev_errors(uint64_t state, uint64_t aux, uint64_t errs) argument
93 return (state == VDEV_STATE_DEGRADED || errs != 0);
98 vdev_broken(uint64_t state, uint64_t aux, uint64_t errs) argument
105 vdev_offlined(uint64_t state, uint64_t aux, uint64_t errs) argument
112 vdev_removed(uint64_t state, uint64_t aux, uint64_t errs) argument
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DPrinter.java236 public synchronized void setErrorLog(String errs) argument
238 if (errs == null) {
241 if (!errs.endsWith("\n")) {
242 errs = errs.concat("\n");
245 errlog = new String(errs);
248 errlog = errlog.concat(errs);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c97 int errs = 0; local
230 errs += quotaonoff(&mntp, offmode);
238 errs++;
242 if (errs > 0)
243 errs += 31;
244 return (errs);
/illumos-gate/usr/src/lib/libscf/common/
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/cmd/svc/milestone/
H A Dnet-install419 errs=0
429 errs=`expr $errs + 1`
442 errs=`expr $errs + 1`
453 if [ $errs -ne 0 ]; then
454 echo "$errs errors encountered" \
/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...]

Completed in 117 milliseconds

123