| /freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
| HD | ctf_lib.c | 89 ctf_zopen(int *errp) in ctf_zopen() argument 98 return (ctf_set_open_errno(errp, ECTF_ZMISSING)); in ctf_zopen() 101 return (ctf_set_open_errno(errp, ECTF_ZINIT)); in ctf_zopen() 109 return (ctf_set_open_errno(errp, ECTF_ZINIT)); in ctf_zopen() 216 ctf_fdopen(int fd, int *errp) in ctf_fdopen() argument 237 return (ctf_set_open_errno(errp, errno)); in ctf_fdopen() 240 return (ctf_set_open_errno(errp, nbytes < 0? errno : ECTF_FMT)); in ctf_fdopen() 250 return (ctf_set_open_errno(errp, ECTF_CTFVERS)); in ctf_fdopen() 256 return (ctf_set_open_errno(errp, errno)); in ctf_fdopen() 265 if ((fp = ctf_bufopen(&ctfsect, NULL, NULL, errp)) == NULL) in ctf_fdopen() [all …]
|
| /freebsd-13-stable/sys/rpc/ |
| HD | 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() 265 errp->re_status = stat = RPC_SUCCESS; in clnt_bck_call() 270 errp->re_status = stat = RPC_CANTENCODEARGS; in clnt_bck_call() 294 if (errp != &ct->ct_error) { in clnt_bck_call() 295 errp->re_errno = ct->ct_error.re_errno; in clnt_bck_call() 296 errp->re_status = RPC_CANTRECV; in clnt_bck_call() 346 errp->re_errno = error; in clnt_bck_call() 347 errp->re_status = stat = RPC_CANTSEND; in clnt_bck_call() [all …]
|
| HD | 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() 398 errp->re_status = stat = RPC_CANTSEND; in clnt_dg_call() 447 errp->re_status = stat = RPC_CANTENCODEARGS; in clnt_dg_call() 464 errp->re_errno = error; in clnt_dg_call() 466 errp->re_status = stat = RPC_INTR; in clnt_dg_call() 468 errp->re_status = stat = RPC_CANTSEND; in clnt_dg_call() 497 errp->re_errno = error; in clnt_dg_call() [all …]
|
| HD | 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() 381 errp->re_status = stat = RPC_SUCCESS; in clnt_vc_call() 386 errp->re_status = stat = RPC_CANTENCODEARGS; in clnt_vc_call() 410 if (errp != &ct->ct_error) { in clnt_vc_call() 411 errp->re_errno = ct->ct_error.re_errno; in clnt_vc_call() 412 errp->re_status = RPC_CANTRECV; in clnt_vc_call() 467 errp->re_errno = error; in clnt_vc_call() 468 errp->re_status = stat = RPC_CANTSEND; in clnt_vc_call() [all …]
|
| HD | 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
|
| HD | clnt_rc.c | 379 clnt_reconnect_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_reconnect_geterr() argument 383 *errp = rc->rc_err; in clnt_reconnect_geterr()
|
| /freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| HD | dt_open.c | 843 set_open_errno(dtrace_hdl_t *dtp, int *errp, int err) in set_open_errno() argument 847 if (errp != NULL) in set_open_errno() 848 *errp = err; in set_open_errno() 1027 dt_vopen(int version, int flags, int *errp, in dt_vopen() argument 1052 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1055 return (set_open_errno(dtp, errp, EDT_VERSION)); in dt_vopen() 1069 return (set_open_errno(dtp, errp, EDT_OVERSION)); in dt_vopen() 1073 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1076 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() 1079 return (set_open_errno(dtp, errp, EINVAL)); in dt_vopen() [all …]
|
| /freebsd-13-stable/lib/libc/net/ |
| HD | name6.c | 217 getipnodebyname(const char *name, int af, int flags, int *errp) in getipnodebyname() argument 231 *errp = NO_RECOVERY; in getipnodebyname() 254 *errp = HOST_NOT_FOUND; in getipnodebyname() 257 return _hpaddr(af, name, &addrbuf, errp); in getipnodebyname() 265 *errp = HOST_NOT_FOUND; in getipnodebyname() 269 return _hpaddr(af, name, &addrbuf, errp); in getipnodebyname() 276 *errp = NETDB_INTERNAL; in getipnodebyname() 285 hp = _hpcopy(hp, errp); in getipnodebyname() 295 *errp = statp->res_h_errno; in getipnodebyname() 297 hp = _hpmapv6(hp2, errp); in getipnodebyname() [all …]
|
| /freebsd-13-stable/usr.bin/top/ |
| HD | 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-13-stable/contrib/less/ |
| HD | option.c | 654 static int num_error(constant char *printopt, lbool *errp, lbool overflow) in num_error() argument 658 if (errp != NULL) in num_error() 660 *errp = TRUE; in num_error() 679 public int getnumc(constant char **sp, constant char *printopt, lbool *errp) in getnumc() argument 693 return (num_error(printopt, errp, FALSE)); in getnumc() 697 return (num_error(printopt, errp, TRUE)); in getnumc() 698 if (errp != NULL) in getnumc() 699 *errp = FALSE; in getnumc() 705 public int getnum(char **sp, constant char *printopt, lbool *errp) in getnum() argument 708 int r = getnumc(&cs, printopt, errp); in getnum() [all …]
|
| HD | optfunc.c | 1003 …blic int next_cnum(constant char **sp, constant char *printopt, constant char *errmsg, lbool *errp) in next_cnum() argument 1006 *errp = FALSE; in next_cnum() 1014 n = getnumc(sp, printopt, errp); in next_cnum() 1015 if (*errp) in next_cnum()
|
| HD | funcs.h | 306 …lic int next_cnum(constant char **sp, constant char *printopt, constant char *errmsg, lbool *errp); 323 public int getnumc(constant char **sp, constant char *printopt, lbool *errp); 324 public int getnum(char **sp, constant char *printopt, lbool *errp); 325 public long getfraction(constant char **sp, constant char *printopt, lbool *errp);
|
| /freebsd-13-stable/sys/dev/hyperv/utilities/ |
| HD | 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-13-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
| HD | 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-13-stable/cddl/contrib/opensolaris/common/ctf/ |
| HD | 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() 742 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); in ctf_bufopen() 756 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); in ctf_bufopen() 761 return (ctf_set_open_errno(errp, ECTF_NOCTFBUF)); in ctf_bufopen() 767 return (ctf_set_open_errno(errp, ECTF_CTFVERS)); in ctf_bufopen() 776 return (ctf_set_open_errno(errp, ECTF_CORRUPT)); in ctf_bufopen() [all …]
|
| HD | 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-13-stable/include/rpc/ |
| HD | 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-13-stable/contrib/nvi/ex/ |
| HD | ex.c | 1628 ex_range(SCR *sp, EXCMD *ecp, int *errp) in ex_range() argument 1636 *errp = 0; in ex_range() 1671 *errp = 1; in ex_range() 1686 *errp = 1; in ex_range() 1706 *errp = 1; in ex_range() 1748 if (ex_line(sp, ecp, &m, &isaddr, errp)) in ex_range() 1750 if (*errp) in ex_range() 1756 *errp = 1; in ex_range() 1805 *errp = 1; in ex_range() 1827 ex_line(SCR *sp, EXCMD *ecp, MARK *mp, int *isaddrp, int *errp) in ex_line() argument [all …]
|
| /freebsd-13-stable/sys/fs/nfsserver/ |
| HD | nfs_nfsdsubs.c | 1547 short *defaulterrp, *errp; in nfsd_errmap() local 1557 errp = defaulterrp = nfsrv_v3errmap[nd->nd_procnum]; in nfsd_errmap() 1571 errp = defaulterrp = nfsrv_v4errmap[nd->nd_procnum]; in nfsd_errmap() 1572 while (*++errp) in nfsd_errmap() 1573 if (*errp == nd->nd_repstat) in nfsd_errmap() 1749 short *errp; in nfsrv_errmoved() local 1751 errp = nfsrv_v4errmap[op]; in nfsrv_errmoved() 1752 while (*errp != 0) { in nfsrv_errmoved() 1753 if (*errp == NFSERR_MOVED) in nfsrv_errmoved() 1755 errp++; in nfsrv_errmoved()
|
| /freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/ |
| HD | 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-13-stable/lib/libkvm/ |
| HD | kvm_private.h | 62 char *errp; /* XXX this can probably go away */ member
|
| /freebsd-13-stable/contrib/telnet/telnet/ |
| HD | telnet.c | 702 setupterm(char *tname, int fd, int *errp) in setupterm() argument 706 if (errp) in setupterm() 707 *errp = 1; in setupterm() 710 if (errp) in setupterm() 711 *errp = 0; in setupterm()
|
| /freebsd-13-stable/lib/libc/rpc/ |
| HD | clnt_vc.c | 458 clnt_vc_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_vc_geterr() argument 463 assert(errp != NULL); in clnt_vc_geterr() 466 *errp = ct->ct_error; in clnt_vc_geterr()
|
| HD | clnt_dg.c | 609 clnt_dg_geterr(CLIENT *cl, struct rpc_err *errp) in clnt_dg_geterr() argument 613 *errp = cu->cu_error; in clnt_dg_geterr()
|
| /freebsd-13-stable/contrib/bsnmp/lib/ |
| HD | 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()
|