Home
last modified time | relevance | path

Searched refs:errs (Results 1 – 25 of 66) sorted by relevance

123

/titanic_41/usr/src/cmd/filesync/
H A Dmain.c123 errmask_t errs = ERR_OK; in main() local
193 errs |= ERR_INVAL; in main()
210 errs |= ERR_INVAL; in main()
221 errs |= ERR_INVAL; in main()
227 errs |= ERR_MISSING; in main()
232 errs |= ERR_MISSING; in main()
237 errs |= ERR_INVAL; in main()
248 errs |= ERR_INVAL; in main()
252 errs |= ERR_INVAL; in main()
257 if (errs & ERR_INVAL) { in main()
[all …]
H A Drules.c100 errmask_t errs = 0; in read_rules() local
169 errs |= add_rule(bp, R_PROGRAM, in read_rules()
174 errs |= add_rule(bp, flags, s); in read_rules()
193 errs |= add_rule(bp, R_PROGRAM|flags, in read_rules()
199 errs |= add_rule(bp, flags, s); in read_rules()
221 errs |= ERR_FILES; in read_rules()
229 errs |= ERR_FILES; in read_rules()
234 return (errs); in read_rules()
288 errmask_t errs = 0; in write_rules() local
310 errs |= rw_header(newfile); in write_rules()
[all …]
H A Drecon.c123 { errmask_t errs = 0; in reconcile() local
169 errs = do_rename(fp, OPT_DST); in reconcile()
172 errs = do_rename(fp, OPT_SRC); in reconcile()
176 if (errs != ERR_RESOLVABLE) in reconcile()
226 errs = do_remove(fp, OPT_SRC); in reconcile()
237 errs = do_copy(fp, OPT_DST); in reconcile()
252 errs = do_remove(fp, OPT_DST); in reconcile()
263 errs = do_copy(fp, OPT_SRC); in reconcile()
280 errs = do_copy(fp, OPT_DST); in reconcile()
287 errs = do_copy(fp, OPT_SRC); in reconcile()
[all …]
H A Deval.c117 { errmask_t errs = 0; in evaluate() local
170 errs |= add_run(bp, rp->r_file); in evaluate()
172 errs |= add_glob(bp, rp->r_file); in evaluate()
174 errs |= add_file_arg(bp, rp->r_file); in evaluate()
207 errs |= eval_file(bp, fp); in evaluate()
214 return (errs); in evaluate()
248 errmask_t errs = 0; in add_file_arg() local
345 return (errs); in add_file_arg()
371 { errmask_t errs = 0; in eval_file() local
449 errs |= eval_file(bp, cp); in eval_file()
[all …]
H A Drename.c91 errmask_t errs = 0; in find_renames() local
109 errs |= note_rename(fp, np, rp, side); in find_renames()
115 errs |= find_renames(np); in find_renames()
118 return (errs); in find_renames()
222 errmask_t errs = 0; in note_rename() local
251 return (errs); in note_rename()
260 return (errs); in note_rename()
H A Daction.c126 errmask_t errs = 0; in do_like() local
342 return (errs); in do_like()
349 errs |= ERR_PERM | ERR_UNRESOLVED; in do_like()
360 errs |= ERR_RESOLVABLE; in do_like()
363 return (errs); in do_like()
404 errmask_t errs = 0; in do_copy() local
718 errs |= rc; in do_copy()
764 errs |= rc; in do_copy()
820 if (errs == 0) in do_copy()
821 errs = ERR_PERM; in do_copy()
[all …]
H A Dbase.c325 errmask_t errs = 0; in read_baseline() local
381 errs |= ERR_FILES; in read_baseline()
643 errs |= ERR_FILES; in read_baseline()
647 return (errs); in read_baseline()
666 errmask_t errs = 0; in write_baseline() local
688 errs |= bw_header(newfile); in write_baseline()
690 errs |= bw_base(newfile, bp); in write_baseline()
695 errs |= ERR_FILES; in write_baseline()
701 errs |= ERR_FILES; in write_baseline()
705 if (errs == 0) in write_baseline()
[all …]
H A Danal.c114 int errs = 0; in analyze() local
129 errs |= find_renames(fp); in analyze()
152 errs |= check_file(fp); in analyze()
205 errs |= ERR_UNRESOLVED; in analyze()
213 errs |= err; in analyze()
220 return (errs); in analyze()
357 int errs = 0; in check_file() local
413 return (errs); in check_file()
433 errs |= check_file(cp); in check_file()
438 return (errs); in check_file()
/titanic_41/usr/src/cmd/renice/
H A Drenice.c104 int errs = 0; in main() local
187 errs += donice(which, who, incr, prio_type, in main()
197 errs += donice(which, who, incr, prio_type, in main()
203 errs++; in main()
209 errs += donice(which, who, incr, prio_type, in main()
215 errs++; in main()
220 errs += donice(which, who, incr, prio_type, in main()
226 errs++; in main()
234 errs++; in main()
237 errs += donice(which, who, incr, prio_type, *argv); in main()
[all …]
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dac_del.c218 int errs; in ac_del_bank_add_span() local
257 if ((errs = kphysm_del_span(handle, base, npgs)) != KPHYSM_OK) { in ac_del_bank_add_span()
258 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs)); in ac_del_bank_add_span()
264 errs = kcage_range_add(base, npgs, KCAGE_DOWN); in ac_del_bank_add_span()
266 if (errs != 0) { in ac_del_bank_add_span()
267 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs)); in ac_del_bank_add_span()
271 pkt->softsp->board, pkt->bank, errs); in ac_del_bank_add_span()
288 int errs; in ac_del_bank_add_cage() local
306 errs = kcage_range_add(base, npgs, KCAGE_DOWN); in ac_del_bank_add_cage()
308 if (errs != 0) in ac_del_bank_add_cage()
[all …]
H A Dac_add.c108 int errs; in ac_add_bank() local
174 errs = kphysm_add_memory_dynamic(base_pa >> PAGESHIFT, in ac_add_bank()
177 if (errs != KPHYSM_OK) { in ac_add_bank()
178 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs)); in ac_add_bank()
185 errs = kcage_range_add(btop(base_pa), btop(bank_size), KCAGE_DOWN); in ac_add_bank()
187 if (errs != 0) in ac_add_bank()
190 add->sc.board, pkt->bank, errs); in ac_add_bank()
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgerr.c50 PKG_ERR_CODE *errs; member
63 newerr->errs = NULL; in pkgerr_new()
82 err->errs = (PKG_ERR_CODE *)realloc(err->errs, in pkgerr_add()
85 err->errs[err->nerrs - 1] = code; in pkgerr_add()
98 free(err->errs); in pkgerr_clear()
100 err->errs = NULL; in pkgerr_clear()
/titanic_41/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, @$ref);
[all …]
/titanic_41/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c80 it_validate_configprops(nvlist_t *nvl, nvlist_t *errs);
83 it_validate_tgtprops(nvlist_t *nvl, nvlist_t *errs);
86 it_validate_iniprops(nvlist_t *nvl, nvlist_t *errs);
322 nvlist_t *errs = NULL; in it_config_setprop() local
337 (void) nvlist_alloc(&errs, 0, 0); in it_config_setprop()
338 *errlist = errs; in it_config_setprop()
369 ret = it_val_pass(PROP_RADIUS_SECRET, val, errs); in it_config_setprop()
404 ret = it_validate_configprops(cprops, errs); in it_config_setprop()
617 nvlist_t *errs = NULL; in it_tgt_setprop() local
632 (void) nvlist_alloc(&errs, 0, 0); in it_tgt_setprop()
[all …]
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c1673 add_scf_error(tmpl_errors_t *errs, scf_tmpl_error_type_t ec, in add_scf_error() argument
1804 rc = _scf_tmpl_add_error(errs->te_cur_scf->tve_errors, ec, in add_scf_error()
1818 tmpl_errors_add_im(tmpl_errors_t *errs, tmpl_validate_status_t ec, entity_t *e, in tmpl_errors_add_im() argument
1839 result = uu_list_insert_after(errs->te_list, NULL, ite); in tmpl_errors_add_im()
2095 tmpl_errors_t *errs) in gather_pattern() argument
2163 if (add_scf_error(errs, SCF_TERR_PG_PATTERN_CONFLICT, in gather_pattern()
2187 if (add_scf_error(errs, SCF_TERR_PROP_PATTERN_CONFLICT, in gather_pattern()
2586 tmpl_errors_t *errs) in include_values_support() argument
2604 (void) tmpl_errors_add_im(errs, TVS_BAD_TEMPLATE, in include_values_support()
2632 (void) add_scf_error(errs, SCF_TERR_INCLUDE_VALUES, pinfo->pi_enc_pgp, in include_values_support()
[all …]
/titanic_41/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" \
/titanic_41/usr/src/cmd/roles/
H A Droles.c53 int errs = 0; in main() local
62 errs = show_roles(NULL, 0); in main()
65 errs += show_roles(*argv, print_name); in main()
68 return ((errs == 0) ? EXIT_OK : EXIT_FATAL); in main()
/titanic_41/usr/src/lib/libscf/common/
H A Dscf_tmpl.c4843 _create_error(scf_tmpl_errors_t *errs) in _create_error() argument
4848 assert(errs != NULL); in _create_error()
4855 ret->te_errs = errs; in _create_error()
4857 assert(errs->tes_num_errs <= errs->tes_errs_size); in _create_error()
4858 if (errs->tes_num_errs == errs->tes_errs_size) { in _create_error()
4860 saved_errs = errs->tes_errs; in _create_error()
4861 errs->tes_errs = calloc(2 * errs->tes_errs_size, in _create_error()
4863 if (errs->tes_errs == NULL) { in _create_error()
4865 errs->tes_errs = saved_errs; in _create_error()
4869 (void) memcpy(errs->tes_errs, saved_errs, errs->tes_errs_size * in _create_error()
[all …]
/titanic_41/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;
/titanic_41/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddstyle.pl37 $errs = 0;
44 $errs++;
240 exit($errs != 0);
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DPrinter.java236 public synchronized void setErrorLog(String errs) in setErrorLog() argument
238 if (errs == null) { in setErrorLog()
241 if (!errs.endsWith("\n")) { in setErrorLog()
242 errs = errs.concat("\n"); in setErrorLog()
245 errlog = new String(errs); in setErrorLog()
248 errlog = errlog.concat(errs); in setErrorLog()
/titanic_41/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c128 int errs = 0; in main() local
229 errs = preen(listcnt, listp); in main()
243 errs += in main()
253 errs++; in main()
257 if (errs > 0) in main()
258 errs += 31; in main()
259 return (errs); in main()
271 int i, rc, errs; in preen() local
287 errs = 0; in preen()
309 errs += (31+chkquota(mntp.mnt_special, in preen()
[all …]
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c76 vdev_missing(uint64_t state, uint64_t aux, uint64_t errs) in vdev_missing() argument
84 vdev_faulted(uint64_t state, uint64_t aux, uint64_t errs) in vdev_faulted() argument
91 vdev_errors(uint64_t state, uint64_t aux, uint64_t errs) in vdev_errors() argument
93 return (state == VDEV_STATE_DEGRADED || errs != 0); in vdev_errors()
98 vdev_broken(uint64_t state, uint64_t aux, uint64_t errs) in vdev_broken() argument
105 vdev_offlined(uint64_t state, uint64_t aux, uint64_t errs) in vdev_offlined() argument
112 vdev_removed(uint64_t state, uint64_t aux, uint64_t errs) in vdev_removed() argument
/titanic_41/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" \
/titanic_41/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c97 int errs = 0; in main() local
230 errs += quotaonoff(&mntp, offmode); in main()
238 errs++; in main()
242 if (errs > 0) in main()
243 errs += 31; in main()
244 return (errs); in main()

123