Home
last modified time | relevance | path

Searched refs:error_num (Results 1 – 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c246 getipnodebyname(const char *name, int af, int flags, int *error_num) in getipnodebyname() argument
259 *error_num = NO_RECOVERY; in getipnodebyname()
267 *error_num = HOST_NOT_FOUND; in getipnodebyname()
279 *error_num = NO_RECOVERY; in getipnodebyname()
289 nssout.nss.host.herrno_p = error_num; in getipnodebyname()
319 *error_num = NO_RECOVERY; in getipnodebyname()
327 nssout.nss.host.herrno_p = error_num; in getipnodebyname()
336 *error_num = HOST_NOT_FOUND; in getipnodebyname()
355 *error_num = NO_RECOVERY; in getipnodebyname()
364 *error_num = NO_RECOVERY; in getipnodebyname()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c239 int *error_num in kgetipnodebyname() argument
305 *error_num = NO_RECOVERY; in kgetipnodebyname()
311 *error_num = NO_RECOVERY; in kgetipnodebyname()
340 *error_num = NO_RECOVERY; in kgetipnodebyname()
363 *error_num = NO_RECOVERY; in kgetipnodebyname()
382 *error_num = NO_RECOVERY; in kgetipnodebyname()
388 *error_num = HOST_NOT_FOUND; in kgetipnodebyname()
399 *error_num = NO_RECOVERY; in kgetipnodebyname()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c268 getipnodebyname(const char *name, int af, int flags, int *error_num) { in getipnodebyname() argument
279 *error_num = NO_RECOVERY; in getipnodebyname()
286 *error_num = NO_RECOVERY; in getipnodebyname()
302 *error_num = HOST_NOT_FOUND; in getipnodebyname()
319 return (copyandmerge(&he, NULL, af, error_num)); in getipnodebyname()
329 he1 = copyandmerge(he2, NULL, af, error_num); in getipnodebyname()
344 *error_num = net_data->res->res_h_errno; in getipnodebyname()
348 *error_num = tmp_err; in getipnodebyname()
352 he3 = copyandmerge(he1, he2, af, error_num); in getipnodebyname()
360 getipnodebyaddr(const void *src, size_t len, int af, int *error_num) { argument
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c530 int error_num; in open_state_file() local
534 error_num = errno; in open_state_file()
536 "open", strerror(error_num)); in open_state_file()
537 rcmd_exit(error_num); in open_state_file()
542 error_num = errno; in open_state_file()
544 "fstat", strerror(error_num)); in open_state_file()
545 rcmd_exit(error_num); in open_state_file()
556 error_num = errno; in open_state_file()
558 "mmap", strerror(error_num)); in open_state_file()
559 rcmd_exit(error_num); in open_state_file()
[all …]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_utils.c101 static void error_and_exit(int error_num);
119 error_and_exit(int error_num) in error_and_exit() argument
121 if (error_num == ERR_MALLOC_FAIL) in error_and_exit()
124 (void) fprintf(stderr, "ERROR: code %d\n", error_num); in error_and_exit()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_ipaddr.c100 int error_num; local
123 AF_INET, &error_num);
143 int error_num; local
167 AF_INET6, &error_num);
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c277 int error_num = 0; in parse_opts() local
307 error_num += 1; in parse_opts()
316 error_num += 1; in parse_opts()
328 error_num += 1; in parse_opts()
333 error_num += 1; in parse_opts()
338 error_num += 1; in parse_opts()
343 error_num += 1; in parse_opts()
402 error_num++; in parse_opts()
411 error_num++; in parse_opts()
426 error_num++; in parse_opts()
[all …]
H A Diconv_tm.h418 itm_num_t error_num; member
464 itm_num_t error_num; member
540 itm_num_t error_num; member
586 itm_num_t error_num; member
H A Ddisassemble.c489 if (0 < map_hdr->error_num) { in dump_map_i_f()
536 if (0 < map_hdr->error_num) { in dump_map_i_f()
538 map_hdr->error_num); in dump_map_i_f()
633 if (0 < map_hdr->error_num) { in dump_map_l_f()
635 map_hdr->error_num); in dump_map_l_f()
732 if (0 < map_hdr->error_num) { in dump_map_hash()
734 map_hdr->error_num); in dump_map_hash()
822 if (0 < map_hdr->error_num) { in dump_map_dense_enc()
882 if (0 < map_hdr->error_num) { in dump_map_dense_enc()
884 map_hdr->error_num); in dump_map_dense_enc()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c49 int error_num; in self_check() local
69 &error_num)) == NULL) { in self_check()
71 if (error_num == TRY_AGAIN) in self_check()
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c73 error_num; in tcp_open() local
86 &error_num))) == NULL) { in tcp_open()
90 "getipnodebyname() returned %d", error_num); in tcp_open()
H A Dnetpr.c80 int error_num; in net_open() local
94 &error_num)) == NULL) { in net_open()
96 "getipnodebyname() returned %d", host, error_num); in net_open()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewscreen.c307 short error_num = -1; in _chk_trm() local
314 error_num = CURS_UNKNOWN; in _chk_trm()
331 error_num = CURS_STUPID; in _chk_trm()
335 return (error_num); in _chk_trm()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c316 int error_num; in setpeer() local
341 AI_ALL | AI_ADDRCONFIG | AI_V4MAPPED, &error_num); in setpeer()
362 unknown_host(error_num, hostnameinput); in setpeer()
459 int error_num; in put() local
473 &error_num)) == NULL) { in put()
474 unknown_host(error_num, cp); in put()
562 int error_num; in get() local
597 &error_num)) == NULL) { in get()
598 unknown_host(error_num, hostnameinput); in get()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c112 int error_num; in iplookup() local
136 AF_INET, &error_num); in iplookup()
162 int error_num; in ip6lookup() local
186 AF_INET6, &error_num); in ip6lookup()
374 lgetipnodebyname(const char *name, int af, int flags, int *error_num) in lgetipnodebyname() argument
H A Dsnoop_pf.c595 int error_num = 0; in pf_ipaddr_match() local
612 hp = getipnodebyname(hostname, AF_INET, 0, &error_num); in pf_ipaddr_match()
614 if (error_num == TRY_AGAIN) { in pf_ipaddr_match()
623 hp = getipnodebyname(hostname, AF_INET6, 0, &error_num); in pf_ipaddr_match()
625 if (error_num == TRY_AGAIN) { in pf_ipaddr_match()
638 hp = getipnodebyname(hostname, AF_INET, 0, &error_num); in pf_ipaddr_match()
645 hp = getipnodebyname(hostname, AF_INET6, 0, &error_num); in pf_ipaddr_match()
653 AI_ALL | AI_V4MAPPED, &error_num); in pf_ipaddr_match()
663 if (error_num == TRY_AGAIN) { in pf_ipaddr_match()
H A Dsnoop_filter.c1485 int error_num = 0; in ipaddr_match() local
1501 hp = lgetipnodebyname(hostname, AF_INET, 0, &error_num); in ipaddr_match()
1503 hp = getipnodebyname(hostname, AF_INET, 0, &error_num); in ipaddr_match()
1507 if (error_num == TRY_AGAIN) { in ipaddr_match()
1516 hp = lgetipnodebyname(hostname, AF_INET6, 0, &error_num); in ipaddr_match()
1518 hp = getipnodebyname(hostname, AF_INET6, 0, &error_num); in ipaddr_match()
1522 if (error_num == TRY_AGAIN) { in ipaddr_match()
1535 hp = lgetipnodebyname(hostname, AF_INET, 0, &error_num); in ipaddr_match()
1538 &error_num); in ipaddr_match()
1548 &error_num); in ipaddr_match()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dprogerr.c48 error_and_exit(int error_num) in error_and_exit() argument
50 (void) fprintf(stderr, "%d\n", error_num); in error_and_exit()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Discsi_door.h75 int32_t error_num; member
145 int *error_num
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dprint-job.c115 int error_num; in ipp_print_job() local
123 &error_num)) == NULL) { in ipp_print_job()
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c217 int error_num; in parsehosts() local
279 hostentry = getipnodebyname(hostname, AF_INET6, 0, &error_num); in parsehosts()
282 &error_num); in parsehosts()
285 if (error_num == TRY_AGAIN) { in parsehosts()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c285 int *error_num, in my_getipnodebyname() argument
291 res = getipnodebyname(name, af, flags, error_num); in my_getipnodebyname()
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c202 int error_num; in disp_host() local
207 if ((phe = getipnodebyaddr(addr, len, family, &error_num)) != NULL) { in disp_host()
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Din.lpd.c69 int error_num; in remote_host_name() local
84 &error_num)) == NULL) { in remote_host_name()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c180 int error_num; in hookup() local
197 error_num = getaddrinfo(host, service, &hints, &ai); in hookup()
198 if (error_num != 0) { in hookup()
199 if (error_num == EAI_AGAIN) { in hookup()
267 error_num = connect(s, (struct sockaddr *)&remctladdr, in hookup()
270 if (error_num >= 0) in hookup()

12