/netbsd/external/cddl/osnet/dist/common/zfs/ |
H A D | zfs_namecheck.c | 73 if (why) in zfs_component_namecheck() 79 if (why) in zfs_component_namecheck() 106 if (why) in permset_namecheck() 146 if (why) in dataset_namecheck() 153 if (why) in dataset_namecheck() 159 if (why) in dataset_namecheck() 262 if (why) in mountpoint_namecheck() 301 if (why) in pool_namecheck() 320 if (why) in pool_namecheck() 326 if (why) in pool_namecheck() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/smtp/ |
H A D | smtp_trouble.c | 219 DSN_BUF *why = state->why; in smtp_bulk_fail() local 266 (void) DSN_FROM_DSN_BUF(why); in smtp_bulk_fail() 285 request->hop_status = DSN_COPY(&why->dsn); in smtp_bulk_fail() 316 DSN_BUF *why = state->why; in vsmtp_fill_dsn() local 330 VSTRING_RESET(why->reason); in vsmtp_fill_dsn() 336 vstring_strcpy(why->reason, "Protocol error: "); in vsmtp_fill_dsn() 340 dsb_formal(why, status, DSB_DEF_ACTION, in vsmtp_fill_dsn() 375 DSN_BUF *why = state->why; in smtp_rcpt_fail() local 393 soft_error = STR(why->status)[0] == '4'; in smtp_rcpt_fail() 419 (void) DSN_FROM_DSN_BUF(state->why); in smtp_rcpt_fail() [all …]
|
H A D | smtp_addr.c | 187 dsb_status(why, SMTP_HAS_SOFT_DSN(why) ? "4.4.3" : "5.4.3"); in smtp_addr_one() 190 dsb_status(why, SMTP_HAS_SOFT_DSN(why) ? "4.4.4" : "5.4.4"); in smtp_addr_one() 196 dsb_status(why, SMTP_HAS_SOFT_DSN(why) ? "4.4.4" : "5.4.4"); in smtp_addr_one() 220 dsb_simple(why, (SMTP_HAS_SOFT_DSN(why) || RETRY_AI_ERROR(aierr)) ? in smtp_addr_one() 248 dsb_simple(why, SMTP_HAS_SOFT_DSN(why) ? "4.4.4" : "5.4.4", in smtp_addr_one() 301 rr->pref, why); in smtp_addr_list() 572 dsb_status(why, "4.4.3"); in smtp_domain_addr() 577 dsb_status(why, "5.4.4"); in smtp_domain_addr() 582 dsb_status(why, "5.1.0"); in smtp_domain_addr() 585 dsb_status(why, "4.7.0"); in smtp_domain_addr() [all …]
|
H A D | smtp_tls_policy.c | 169 #define MARK_INVALID(why, levelp) do { \ argument 257 INVALID_RETURN(tls->why, site_level); in tls_policy_lookup_one() 263 INVALID_RETURN(tls->why, site_level); in tls_policy_lookup_one() 396 INVALID_RETURN(tls->why, site_level); in tls_policy_lookup_one() 679 dsb_free(tls->why); in policy_delete() 716 dsb_update(why, in smtp_tls_policy_cache_query() 717 STR(tls->why->status), STR(tls->why->action), in smtp_tls_policy_cache_query() 718 STR(tls->why->mtype), STR(tls->why->mname), in smtp_tls_policy_cache_query() 719 STR(tls->why->dtype), STR(tls->why->dtext), in smtp_tls_policy_cache_query() 720 "%s", STR(tls->why->reason)); in smtp_tls_policy_cache_query() [all …]
|
H A D | smtp_connect.c | 137 dsb_reset(why); /* Paranoia */ in smtp_connect_unix() 192 dsb_reset(why); /* Paranoia */ in smtp_connect_addr() 311 DSN_BUF *why, in smtp_connect_sock() argument 506 DSN_BUF *why = state->why; in smtp_connect_local() local 693 DSN_BUF *why = state->why; in smtp_reuse_session() local 802 DSN_BUF *why = state->why; in smtp_connect_inet() local 900 why, &i_am_mx); in smtp_connect_inet() 1084 msg_info("%s", STR(why->reason)); in smtp_connect_inet() 1111 if (!SMTP_HAS_DSN(why)) { in smtp_connect_inet() 1112 dsb_simple(why, "4.3.0", in smtp_connect_inet() [all …]
|
H A D | smtp.h | 100 DSN_BUF *why; /* Lookup error status */ member 135 _tls_policy_init_tmp->why = (w); \ 189 DSN_BUF *why; /* on-the-fly formatting buffer */ member 285 #define SMTP_HAS_DSN(why) (STR((why)->status)[0] != 0) argument 286 #define SMTP_HAS_SOFT_DSN(why) (STR((why)->status)[0] == '4') argument 287 #define SMTP_HAS_HARD_DSN(why) (STR((why)->status)[0] == '5') argument 288 #define SMTP_HAS_LOOP_DSN(why) \ argument 289 (SMTP_HAS_DSN(why) && strcmp(STR((why)->status) + 1, ".4.6") == 0) 291 #define SMTP_SET_SOFT_DSN(why) (STR((why)->status)[0] = '4') argument 292 #define SMTP_SET_HARD_DSN(why) (STR((why)->status)[0] = '5') argument
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | cidr_match.c | 189 VSTRING *why) in cidr_match_parse() argument 207 vstring_sprintf(why ? why : (why = vstring_alloc(20)), in cidr_match_parse() 209 return (why); in cidr_match_parse() 212 vstring_sprintf(why ? why : (why = vstring_alloc(20)), in cidr_match_parse() 214 return (why); in cidr_match_parse() 240 vstring_sprintf(why ? why : (why = vstring_alloc(20)), in cidr_match_parse() 242 return (why); in cidr_match_parse() 261 vstring_sprintf(why ? why : (why = vstring_alloc(20)), in cidr_match_parse() 265 return (why); in cidr_match_parse() 278 vstring_sprintf(why ? why : (why = vstring_alloc(20)), in cidr_match_parse() [all …]
|
H A D | safe_open.c | 95 struct stat * fstat_st, VSTRING *why) in safe_open_exist() argument 107 vstring_sprintf(why, "cannot open file: %m"); in safe_open_exist() 122 vstring_sprintf(why, "file has %d hard links", in safe_open_exist() 126 vstring_sprintf(why, "file is a directory"); in safe_open_exist() 152 vstring_sprintf(why, "file status changed unexpectedly: %m"); in safe_open_exist() 168 vstring_sprintf(why, "file is a symbolic link"); in safe_open_exist() 177 vstring_sprintf(why, "file status changed unexpectedly"); in safe_open_exist() 207 vstring_sprintf(why, "cannot create file exclusively: %m"); in safe_open_create() 256 return (safe_open_exist(path, flags, st, why)); in safe_open() 271 fp = safe_open_exist(path, flags, st, why); in safe_open() [all …]
|
H A D | dict_cidr.c | 119 int nesting, VSTRING *why) in dict_cidr_parse_rule() argument 162 vstring_sprintf(why, "ENDIF without IF"); in dict_cidr_parse_rule() 225 vstring_strcpy(why, err); in dict_cidr_parse_rule() 259 VSTRING *why = 0; in dict_cidr_open() local 277 if (why != 0) \ in dict_cidr_open() 278 vstring_free(why); \ in dict_cidr_open() 295 dict_flags, &st, &why)) == 0) in dict_cidr_open() 298 "%s", vstring_str(why))); in dict_cidr_open() 300 why = vstring_alloc(100); in dict_cidr_open() 319 nesting, why); in dict_cidr_open() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/virtual/ |
H A D | mailbox.c | 85 DSN_BUF *why = state.msg_attr.why; in deliver_mailbox_file() local 103 dsb_simple(why, "2.0.0", "delivers to mailbox"); in deliver_mailbox_file() 127 virtual_mbox_lock_mask, "4.2.0", why); in deliver_mailbox_file() 136 dsb_simple(why, "4.2.0", in deliver_mailbox_file() 145 copy_flags, "\n", why); in deliver_mailbox_file() 160 (STR(why->status)[0] == '4' ? in deliver_mailbox_file() 165 dsb_simple(why, "2.0.0", "delivered to mailbox"); in deliver_mailbox_file() 180 DSN_BUF *why = state.msg_attr.why; in deliver_mailbox() local 210 dsb_simple(why, "4.3.5", "mail system configuration error"); in deliver_mailbox() 228 dsb_simple(why, "4.3.5", "mail system configuration error"); in deliver_mailbox() [all …]
|
H A D | maildir.c | 83 DSN_BUF *why = state.msg_attr.why; in deliver_maildir() local 105 dsb_simple(why, "2.0.0", "delivers to maildir"); in deliver_maildir() 188 dsb_simple(why, mbox_dsn(errno, "4.2.0"), in deliver_maildir() 208 why)) == 0) { in deliver_maildir() 213 dsb_simple(why, mbox_dsn(errno, "4.2.0"), in deliver_maildir() 234 STR(why->reason)); in deliver_maildir() 237 vstring_sprintf_prepend(why->reason, "maildir delivery failed: "); in deliver_maildir() 239 (STR(why->status)[0] == '4' ? in deliver_maildir() 244 dsb_simple(why, "2.0.0", "delivered to maildir"); in deliver_maildir()
|
/netbsd/external/ibm-public/postfix/dist/src/global/ |
H A D | mbox_open.c | 110 DSN_BUF *why) in mbox_open() argument 143 if (dot_lockfile(path, why->reason) == 0) { in mbox_open() 146 dsb_status(why, mbox_dsn(EAGAIN, def_dsn)); in mbox_open() 149 msg_warn("%s", vstring_str(why->reason)); in mbox_open() 151 dsb_status(why, mbox_dsn(errno, def_dsn)); in mbox_open() 166 chown_uid, chown_gid, why->reason)) == 0) { in mbox_open() 167 dsb_status(why, mbox_dsn(errno, def_dsn)); in mbox_open() 181 || deliver_flock(vstream_fileno(fp), (myflock_style), why->reason) == 0) in mbox_open() 188 dsb_status(why, mbox_dsn(errno, def_dsn)); in mbox_open() 209 vstring_sprintf(why->reason, "target file status changed unexpectedly"); in mbox_open() [all …]
|
H A D | reject_deliver_request.c | 74 DSN_BUF *why; in reject_deliver_request() local 84 why = vdsb_simple(dsb_create(), code, format, ap); in reject_deliver_request() 86 (void) DSN_FROM_DSN_BUF(why); in reject_deliver_request() 87 if (strchr("45", vstring_str(why->status)[0]) == 0) in reject_deliver_request() 95 status = (vstring_str(why->status)[0] != '4' ? in reject_deliver_request() 100 service, &why->dsn); in reject_deliver_request() 105 dsb_free(why); in reject_deliver_request()
|
H A D | dot_lockfile.c | 82 int dot_lockfile(const char *path, VSTRING *why) in dot_lockfile() argument 126 if (status && why) in dot_lockfile() 127 vstring_sprintf(why, "unable to create lock file %s: %m", lock_file); in dot_lockfile() 162 VSTRING *why = vstring_alloc(100); in main() local 168 if (dot_lockfile(argv[1], why) < 0) in main() 169 msg_fatal("%s", vstring_str(why)); in main() 171 vstring_free(why); in main()
|
H A D | pipe_command.c | 391 int pipe_command(VSTREAM *src, DSN_BUF *why,...) in pipe_command() argument 415 va_start(ap, why); in pipe_command() 463 dsb_unix(why, "4.3.0", sys_exits_detail(EX_OSERR)->text, in pipe_command() 592 args.eol, why); in pipe_command() 622 dsb_unix(why, "5.3.0", log_len ? in pipe_command() 636 dsb_unix(why, "4.3.0", log_len ? in pipe_command() 646 dsb_unix(why, DSN_STATUS(dp.dsn), dp.text, "%s", dp.text); in pipe_command() 653 dsb_unix(why, sp->dsn, in pipe_command() 665 dsb_unix(why, sp->dsn, in pipe_command() 676 vstring_prepend(why->reason, "Command failed: ", in pipe_command() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/pipe/ |
H A D | pipe.c | 1040 DSN_BUF *why) in eval_command_status() argument 1055 vstring_truncate(why->reason, trimblanks(STR(why->reason), in eval_command_status() 1056 VSTRING_LEN(why->reason)) - STR(why->reason)); in eval_command_status() 1069 (void) DSN_FROM_DSN_BUF(why); in eval_command_status() 1074 service, &why->dsn); in eval_command_status() 1082 (void) DSN_FROM_DSN_BUF(why); in eval_command_status() 1091 service, &why->dsn); in eval_command_status() 1126 dsb_free(why); \ in deliver_message() 1198 (void) DSN_FROM_DSN_BUF(why); in deliver_message() 1233 request, &attr, why); in deliver_message() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/local/ |
H A D | file.c | 89 DSN_BUF *why = state.msg_attr.why; in deliver_file() local 115 dsb_simple(why, "5.7.1", "mail to file is restricted"); in deliver_file() 124 dsb_simple(why, "2.0.0", "delivers to file: %s", path); in deliver_file() 166 "5.2.0", why); in deliver_file() 170 dsb_simple(why, "5.7.1", "file is executable"); in deliver_file() 175 "\n", why); in deliver_file() 187 vstring_sprintf_prepend(why->reason, in deliver_file() 192 dsb_simple(why, "2.0.0", "delivered to file: %s", path); in deliver_file()
|
H A D | maildir.c | 88 DSN_BUF *why = state.msg_attr.why; in deliver_maildir() local 110 dsb_simple(why, "2.0.0", "delivers to maildir"); in deliver_maildir() 194 dsb_simple(why, mbox_dsn(errno, "5.2.0"), in deliver_maildir() 214 why)) == 0) { in deliver_maildir() 219 dsb_simple(why, mbox_dsn(errno, "5.2.0"), in deliver_maildir() 238 STR(why->reason)); in deliver_maildir() 241 vstring_sprintf_prepend(why->reason, "maildir delivery failed: "); in deliver_maildir() 243 (STR(why->status)[0] == '4' ? in deliver_maildir() 247 dsb_simple(why, "2.0.0", "delivered to maildir"); in deliver_maildir()
|
H A D | mailbox.c | 101 DSN_BUF *why = state.msg_attr.why; in deliver_mailbox_file() local 125 dsb_simple(why, "2.0.0", "delivers to mailbox"); in deliver_mailbox_file() 197 local_mbox_lock_mask, "5.2.0", why); in deliver_mailbox_file() 203 dsb_simple(why, "5.2.0", in deliver_mailbox_file() 207 dsb_simple(why, "4.2.0", in deliver_mailbox_file() 215 copy_flags, "\n", why); in deliver_mailbox_file() 229 vstring_sprintf_prepend(why->reason, in deliver_mailbox_file() 233 (STR(why->status)[0] == '4' ? in deliver_mailbox_file() 237 dsb_simple(why, "2.0.0", "delivered to mailbox"); in deliver_mailbox_file() 300 dsb_simple(state.msg_attr.why, "4.3.0", "table lookup failure"); in deliver_mailbox() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/posttls-finger/ |
H A D | posttls-finger.c | 1007 DSN_BUF *why = state->why; in connect_sock() local 1062 DSN_BUF *why = state->why; in connect_unix() local 1112 DSN_BUF *why = state->why; in connect_addr() local 1151 #define HAS_DSN(why) (STR((why)->status)[0] != 0) argument 1152 #define HAS_SOFT_DSN(why) (STR((why)->status)[0] == '4') argument 1153 #define HAS_HARD_DSN(why) (STR((why)->status)[0] == '5') argument 1157 #define SET_SOFT_DSN(why) (STR((why)->status)[0] = '4') argument 1158 #define SET_HARD_DSN(why) (STR((why)->status)[0] = '5') argument 1166 DSN_BUF *why = state->why; in addr_one() local 1260 dsb_simple(why, HAS_SOFT_DSN(why) ? "4.4.4" : "5.4.4", in addr_one() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/dns/ |
H A D | dns_lookup.c | 502 if (why) in dns_query() 571 if (why) in dns_query() 1019 if (why) in dns_lookup_x() 1033 if (why) in dns_lookup_x() 1088 if (why) in dns_lookup_x() 1094 if (why) in dns_lookup_x() 1102 if (why) in dns_lookup_x() 1103 vstring_sprintf(why, in dns_lookup_x() 1111 if (why) in dns_lookup_x() 1112 vstring_sprintf(why, in dns_lookup_x() [all …]
|
H A D | dns.h | 247 #define dns_lookup(name, type, rflags, list, fqdn, why) \ argument 248 dns_lookup_x((name), (type), (rflags), (list), (fqdn), (why), (int *) 0, \ 250 #define dns_lookup_r(name, type, rflags, list, fqdn, why, rcode) \ argument 251 dns_lookup_x((name), (type), (rflags), (list), (fqdn), (why), (rcode), \ 253 #define dns_lookup_l(name, rflags, list, fqdn, why, lflags, ...) \ argument 254 dns_lookup_rl((name), (rflags), (list), (fqdn), (why), (int *) 0, \ 256 #define dns_lookup_v(name, rflags, list, fqdn, why, lflags, ltype) \ argument 257 dns_lookup_rv((name), (rflags), (list), (fqdn), (why), (int *) 0, \
|
H A D | dns_sec.c | 88 VSTRING *why; in dns_sec_probe() local 121 why = vstring_alloc(100); in dns_sec_probe() 122 dns_status = dns_lookup(qname, qtype, rflags, &rrlist, (VSTRING *) 0, why); in dns_sec_probe() 141 var_dnssec_probe, vstring_str(why)); in dns_sec_probe() 145 vstring_free(why); in dns_sec_probe()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | proc-why.c | 61 proc_prettyfprint_why (FILE *file, unsigned long why, unsigned long what, in proc_prettyfprint_why() argument 66 if (why == 0) in proc_prettyfprint_why() 70 if (why == pr_why_table[i].value) in proc_prettyfprint_why() 76 switch (why) { in proc_prettyfprint_why() 97 fprintf (file, "Unknown why %ld, what %ld\n", why, what); in proc_prettyfprint_why() 109 proc_prettyprint_why (unsigned long why, unsigned long what, int verbose) in proc_prettyprint_why() argument 111 proc_prettyfprint_why (stdout, why, what, verbose); in proc_prettyprint_why()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | proc-why.c | 61 proc_prettyfprint_why (FILE *file, unsigned long why, unsigned long what, in proc_prettyfprint_why() argument 66 if (why == 0) in proc_prettyfprint_why() 70 if (why == pr_why_table[i].value) in proc_prettyfprint_why() 76 switch (why) { in proc_prettyfprint_why() 97 fprintf (file, "Unknown why %ld, what %ld\n", why, what); in proc_prettyfprint_why() 109 proc_prettyprint_why (unsigned long why, unsigned long what, int verbose) in proc_prettyprint_why() argument 111 proc_prettyfprint_why (stdout, why, what, verbose); in proc_prettyprint_why()
|