| /freebsd-14.2/cddl/contrib/opensolaris/lib/libctf/common/ |
| H A D | ctf_lib.c | 89 ctf_zopen(int *errp) in ctf_zopen() argument 216 ctf_fdopen(int fd, int *errp) in ctf_fdopen() argument 237 return (ctf_set_open_errno(errp, errno)); in ctf_fdopen() 256 return (ctf_set_open_errno(errp, errno)); in ctf_fdopen() 313 return (ctf_set_open_errno(errp, in ctf_fdopen() 323 return (ctf_set_open_errno(errp, in ctf_fdopen() 337 return (ctf_set_open_errno(errp, errno)); in ctf_fdopen() 471 ctf_open(const char *filename, int *errp) in ctf_open() argument 477 if (errp != NULL) in ctf_open() 478 *errp = errno; in ctf_open() [all …]
|
| /freebsd-14.2/sys/rpc/ |
| H A D | clnt_bck.c | 198 struct rpc_err *errp; in clnt_bck_call() local 226 errp = &ext->rc_err; in clnt_bck_call() 229 errp = &ct->ct_error; in clnt_bck_call() 294 if (errp != &ct->ct_error) { in clnt_bck_call() 296 errp->re_status = RPC_CANTRECV; in clnt_bck_call() 346 errp->re_errno = error; in clnt_bck_call() 358 errp->re_errno = cr->cr_error; in clnt_bck_call() 387 errp->re_errno = error; in clnt_bck_call() 398 errp->re_status = stat; in clnt_bck_call() 407 errp->re_errno = cr->cr_error; in clnt_bck_call() [all …]
|
| H A D | clnt_dg.c | 340 struct rpc_err *errp; in clnt_dg_call() local 371 errp = &ext->rc_err; in clnt_dg_call() 374 errp = &cu->cu_error; in clnt_dg_call() 397 errp->re_errno = error; in clnt_dg_call() 464 errp->re_errno = error; in clnt_dg_call() 497 errp->re_errno = error; in clnt_dg_call() 513 errp->re_errno = cr->cr_error; in clnt_dg_call() 636 errp->re_errno = error; in clnt_dg_call() 648 errp->re_errno = EWOULDBLOCK; in clnt_dg_call() 669 errp->re_errno = ESHUTDOWN; in clnt_dg_call() [all …]
|
| H A D | clnt_vc.c | 301 struct rpc_err *errp; in clnt_vc_call() local 329 errp = &ext->rc_err; in clnt_vc_call() 332 errp = &ct->ct_error; in clnt_vc_call() 410 if (errp != &ct->ct_error) { in clnt_vc_call() 412 errp->re_status = RPC_CANTRECV; in clnt_vc_call() 467 errp->re_errno = error; in clnt_vc_call() 479 errp->re_errno = cr->cr_error; in clnt_vc_call() 508 errp->re_errno = error; in clnt_vc_call() 519 errp->re_status = stat; in clnt_vc_call() 528 errp->re_errno = cr->cr_error; in clnt_vc_call() [all …]
|
| H A D | clnt.h | 294 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 295 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument
|
| H A D | clnt_rc.c | 387 clnt_reconnect_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_reconnect_geterr() argument 391 *errp = rc->rc_err; in clnt_reconnect_geterr()
|
| /freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_open.c | 848 if (errp != NULL) in set_open_errno() 849 *errp = err; in set_open_errno() 1028 dt_vopen(int version, int flags, int *errp, in dt_vopen() argument 1053 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1074 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1077 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1080 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1162 return (set_open_errno(dtp, errp, err)); in dt_vopen() 1253 return (set_open_errno(dtp, errp, errno)); in dt_vopen() 1393 return (set_open_errno(dtp, errp, EDT_CTF)); in dt_vopen() [all …]
|
| /freebsd-14.2/lib/libc/net/ |
| H A D | name6.c | 230 *errp = NO_RECOVERY; in getipnodebyname() 253 *errp = HOST_NOT_FOUND; in getipnodebyname() 264 *errp = HOST_NOT_FOUND; in getipnodebyname() 275 *errp = NETDB_INTERNAL; in getipnodebyname() 284 hp = _hpcopy(hp, errp); in getipnodebyname() 330 *errp = NO_RECOVERY; in getipnodebyaddr() 343 *errp = NO_RECOVERY; in getipnodebyaddr() 363 *errp = NO_RECOVERY; in getipnodebyaddr() 383 return (_hpcopy(hp, errp)); in getipnodebyaddr() 438 *errp = TRY_AGAIN; in _hpcopy() [all …]
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | commands.c | 218 struct errs *errp; in err_string() local 242 errp = &(errs[cnt++]); in err_string() 243 if (errp->errnum != currerr) in err_string() 253 currerr = errp->errnum; in err_string() 256 if ((stringlen = str_addarg(string, stringlen, errp->arg, first)) ==0) in err_string() 359 struct errs *errp = errs; in show_errors() local 364 printf("%5s: %s\n", errp->arg, in show_errors() 365 errp->errnum == 0 ? "Not a number" : strerror(errp->errnum)); in show_errors() 366 errp++; in show_errors()
|
| /freebsd-14.2/contrib/less/ |
| H A D | option.c | 596 static int num_error(char *printopt, int *errp, int overflow) in num_error() argument 600 if (errp != NULL) in num_error() 602 *errp = TRUE; in num_error() 621 public int getnum(char **sp, char *printopt, int *errp) in getnum() argument 635 return (num_error(printopt, errp, FALSE)); in getnum() 639 return (num_error(printopt, errp, TRUE)); in getnum() 640 if (errp != NULL) in getnum() 641 *errp = FALSE; in getnum() 661 return (num_error(printopt, errp, FALSE)); in getfraction() 673 if (errp != NULL) in getfraction() [all …]
|
| H A D | funcs.h | 290 public int getnum(char **sp, char *printopt, int *errp); 291 public long getfraction(char **sp, char *printopt, int *errp);
|
| /freebsd-14.2/sys/dev/hyperv/utilities/ |
| H A D | unicode.h | 44 int flags, int *errp) in utf8_to_utf16() argument 132 if (errp) in utf8_to_utf16() 133 *errp = error; in utf8_to_utf16() 144 int flags, int *errp) in utf16_to_utf8() argument 192 if (errp) in utf16_to_utf8() 193 *errp = error; in utf16_to_utf8()
|
| /freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
| H A D | ctf_mod.c | 67 ctf_zopen(int *errp) in ctf_zopen() argument 88 ctf_fdopen(int fd, int *errp) in ctf_fdopen() argument 90 return (ctf_set_open_errno(errp, ENOTSUP)); in ctf_fdopen() 95 ctf_open(const char *filename, int *errp) in ctf_open() argument 97 return (ctf_set_open_errno(errp, ENOTSUP)); in ctf_open()
|
| /freebsd-14.2/usr.bin/mdo/ |
| H A D | mdo.c | 50 const char *errp = NULL; in main() local 51 uid_t uid = strtonum(username, 0, UID_MAX, &errp); in main() 52 if (errp != NULL) in main() 53 err(EXIT_FAILURE, "%s", errp); in main()
|
| /freebsd-14.2/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_open.c | 719 const ctf_sect_t *strsect, int *errp) in ctf_bufopen() argument 729 return (ctf_set_open_errno(errp, EINVAL)); in ctf_bufopen() 733 return (ctf_set_open_errno(errp, ECTF_SYMTAB)); in ctf_bufopen() 736 return (ctf_set_open_errno(errp, ECTF_SYMBAD)); in ctf_bufopen() 739 return (ctf_set_open_errno(errp, ECTF_STRBAD)); in ctf_bufopen() 767 return (ctf_set_open_errno(errp, ECTF_CTFVERS)); in ctf_bufopen() 798 if (ctf_zopen(errp) == NULL) in ctf_bufopen() 837 return (ctf_set_open_errno(errp, EAGAIN)); in ctf_bufopen() 898 (void) ctf_set_open_errno(errp, EAGAIN); in ctf_bufopen() 903 (void) ctf_set_open_errno(errp, err); in ctf_bufopen() [all …]
|
| H A D | ctf_util.c | 136 ctf_set_open_errno(int *errp, int error) in ctf_set_open_errno() argument 138 if (errp != NULL) in ctf_set_open_errno() 139 *errp = error; in ctf_set_open_errno()
|
| /freebsd-14.2/include/rpc/ |
| H A D | clnt.h | 181 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 182 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument
|
| /freebsd-14.2/contrib/nvi/ex/ |
| H A D | ex.c | 1636 *errp = 0; in ex_range() 1671 *errp = 1; in ex_range() 1750 if (*errp) in ex_range() 1805 *errp = 1; in ex_range() 1846 *errp = 1; in ex_line() 1868 *errp = 1; in ex_line() 1873 *errp = 1; in ex_line() 1887 *errp = 1; in ex_line() 1891 *errp = 1; in ex_line() 1907 *errp = 1; in ex_line() [all …]
|
| /freebsd-14.2/sys/fs/nfsserver/ |
| H A D | nfs_nfsdsubs.c | 1544 short *defaulterrp, *errp; in nfsd_errmap() local 1554 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; in nfsd_errmap() 1568 errp = defaulterrp = nfsrv_v4errmap[nd->nd_procnum]; in nfsd_errmap() 1569 while (*++errp) in nfsd_errmap() 1570 if (*errp == nd->nd_repstat) in nfsd_errmap() 1746 short *errp; in nfsrv_errmoved() local 1748 errp = nfsrv_v4errmap[op]; in nfsrv_errmoved() 1749 while (*errp != 0) { in nfsrv_errmoved() 1750 if (*errp == NFSERR_MOVED) in nfsrv_errmoved() 1752 errp++; in nfsrv_errmoved()
|
| /freebsd-14.2/crypto/heimdal/appl/telnet/telnet/ |
| H A D | telnet.c | 639 telnet_setupterm(const char *tname, int fd, int *errp) in telnet_setupterm() argument 644 if (errp) in telnet_setupterm() 645 *errp = 1; in telnet_setupterm() 648 if (errp) in telnet_setupterm() 649 *errp = 0; in telnet_setupterm() 653 if(errp) *errp = 1; in telnet_setupterm()
|
| /freebsd-14.2/lib/libkvm/ |
| H A D | kvm_private.h | 62 char *errp; /* XXX this can probably go away */ member
|
| /freebsd-14.2/contrib/telnet/telnet/ |
| H A D | telnet.c | 700 setupterm(char *tname, int fd, int *errp) in setupterm() argument 704 if (errp) in setupterm() 705 *errp = 1; in setupterm() 708 if (errp) in setupterm() 709 *errp = 0; in setupterm()
|
| /freebsd-14.2/lib/libc/rpc/ |
| H A D | clnt_vc.c | 457 clnt_vc_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_vc_geterr() argument 462 assert(errp != NULL); in clnt_vc_geterr() 465 *errp = ct->ct_error; in clnt_vc_geterr()
|
| H A D | clnt_dg.c | 608 clnt_dg_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_dg_geterr() argument 612 *errp = cu->cu_error; in clnt_dg_geterr()
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | snmpagent.c | 115 find_node(const struct snmp_value *value, enum snmp_syntax *errp) in find_node() argument 137 *errp = SNMP_SYNTAX_NOSUCHOBJECT; in find_node() 147 *errp = SNMP_SYNTAX_NOSUCHINSTANCE; in find_node()
|