Searched refs:retv (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/contrib/libpcap/
H A Dpcap-libdlpi.c100 int retv; local
109 retv = dlpi_open(p->opt.device, &dh, DLPI_RAW|DLPI_PASSIVE);
110 if (retv != DLPI_SUCCESS) {
111 if (retv == DLPI_ELINKNAMEINVAL || retv == DLPI_ENOLINK)
113 else if (retv == DL_SYSERR &&
118 pcap_libdlpi_err(p->opt.device, "dlpi_open", retv,
134 if ((retv = dlpi_bind(pd->dlpi_hd, DLPI_ANY_SAP, 0)) != DLPI_SUCCESS) {
136 pcap_libdlpi_err(p->opt.device, "dlpi_bind", retv, p->errbuf);
153 retv
262 int retv; local
321 int retv = 0; local
384 int retv; local
433 int retv; local
[all...]
H A Ddlpisubs.c211 int retv = 0; local
291 retv = -1;
294 return (retv);
377 int retv; local
383 if ((retv = ioctl(fd, I_STR, &str)) < 0)
384 return (retv);
H A Dpcap-dlpi.c504 int retv; local
554 retv = dl_doattach(p->fd, ppa, p->errbuf);
555 if (retv < 0) {
556 status = retv;
561 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
562 if (retv < 0) {
563 status = retv;
679 retv = dlpromiscon(p, DL_PROMISC_PHYS);
680 if (retv < 0) {
681 if (retv
[all...]
H A Dpcap-bpf.c1636 int retv; local
2255 retv = monitor_mode(p, 1);
2256 if (retv != 0) {
2260 status = retv;
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_calgps.c197 TNtpDatum retv; local
200 ZERO(retv);
201 retv.secs = ntpcal_date_to_daysec(jd);
202 gpsntp_add_offset(&retv, fofs); /* result is normalized */
203 retv.days = pivot->days;
208 retv.days -= (retv.secs > lim ||
209 (retv.secs == lim && retv.frac >= pivot->frac));
212 retv
305 TNtpDatum retv; local
334 l_fp retv; local
509 TGpsDatum retv; local
530 TGpsDatum retv; local
603 TGpsDatum retv; local
625 l_fp retv; local
[all...]
H A Dmsyslog.c596 int retv = 0; local
609 retv = 1;
611 retv = -1;
613 retv = -1;
621 return retv;
H A Dsystime.c599 char * retv; local
607 LIB_GETBUF(retv);
608 snprintf(retv, LIB_BUFLENGTH,
613 return retv;
H A Dntp_calendar.c2062 int32_t retv; local
2071 retv = s_baseday;
2087 return retv;
2093 time_t retv; local
2094 retv = (time_t)(s_baseday - NTP_TO_UNIX_DAYS);
2095 retv *= SECSPERDAY;
2096 retv += (UINT32_C(1) << 31);
2097 return retv;
2103 time_t retv; local
2104 retv
[all...]
H A Dntp_intres.c980 dnsworker_ctx * retv; local
993 retv = emalloc_zero(sizeof(dnsworker_ctx));
994 dnsworker_contexts[idx] = retv;
995 } else if (NULL == (retv = dnsworker_contexts[idx])) {
996 retv = emalloc_zero(sizeof(dnsworker_ctx));
997 dnsworker_contexts[idx] = retv;
1002 ZERO(*retv);
1003 retv->c = c;
1004 return retv;
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dacl.c41 char **retv; member in union:acl_field::__anon6004
51 if (*acl->u.retv)
52 free(*acl->u.retv);
53 *acl->u.retv = NULL;
60 acl_free_list(struct acl_field *acl, int retv) argument
63 if (retv)
97 tmp->u.retv = va_arg(ap, char **);
98 *tmp->u.retv = NULL;
128 *field->u.retv = strdup(string);
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clnode.c238 boolean_t retv; local
249 retv = vm_object_page_clean(vp->v_object, 0, 0,
253 retv = TRUE;
254 if (retv == TRUE) {
H A Dnfs_clbio.c1686 int retv; local
1690 retv = ncl_commit(vp, off, bp->b_dirtyend-bp->b_dirtyoff,
1692 if (retv == 0) {
1699 if (retv == NFSERR_STALEWRITEVERF) {
H A Dnfs_clvnops.c2659 int error = 0, slptimeo = 0, slpflag = 0, retv, bvecpos; local
2794 retv = ncl_commit(vp, off, (int)(endoff - off),
2797 retv = 0;
2805 retv = ncl_commit(vp, off, (int)size,
2807 if (retv) break;
2811 if (retv == NFSERR_STALEWRITEVERF)
2822 if (retv) {
H A Dnfs_clrpcops.c5220 enum nfsclds_state retv; local
5341 retv = nfscl_getsameserver(nmp, dsp, &tdsp);
5342 NFSCL_DEBUG(3, "getsame ret=%d\n", retv);
5343 if (retv == NFSDSP_USETHISSESSION) {
5354 if (retv == NFSDSP_SEQTHISSESSION)
/freebsd-11-stable/contrib/mdocml/
H A Dmdoc_argv.c282 struct mdoc_argv **retv; local
364 retv = &(*reta)->argv;
365 *retv = mandoc_reallocarray(*retv, retc, sizeof(**retv));
366 memcpy(*retv + retc - 1, &tmpv, sizeof(**retv));
/freebsd-11-stable/sys/dev/ath/ath_hal/ar9002/
H A Dar9285_cal.c214 HAL_BOOL retv = AH_TRUE; local
254 retv = ar9285_hw_cl_cal(ah, chan);
257 return retv;
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_scanner.c339 int retv = FALSE; local
342 retv = !lex_stack->force_eof;
347 return retv;
H A Dntp_refclock.c108 u_int retv = pp->coderecv - pp->codeproc; local
109 if (retv > MAXSTAGE)
110 retv += MAXSTAGE;
111 return retv;
H A Drefclock_gpsdjson.c1397 BOOL retv = FALSE; local
1406 retv = TRUE;
1408 return retv;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vfsops.c1560 int error, retv; local
1567 retv = EACCES; /* assume the worst */
1629 retv = 0;
1640 retv = 0;
1643 retv = 0;
1649 return (retv);
/freebsd-11-stable/sys/dev/sym/
H A Dsym_hipd.c2999 int retv = 0; local
3040 retv = 1;
3045 return retv;
7750 int retv; local
7753 retv = sym_scatter_sg_physical(np, cp, psegs, nsegs);
7755 retv = sym_fast_scatter_sg_physical(np,cp, psegs,nsegs);
7756 if (retv < 0) {
7822 int dir, retv; local
7844 retv = bus_dmamap_load_ccb(np->data_dmat, cp->dmamap,
7846 if (retv
9333 int retv = 1; local
9557 int retv = 1; local
[all...]
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_atheros.c2011 int retv; local
2019 retv = set80211priv(drv, IEEE80211_IOCTL_RES_REQ, &req,
2021 if (retv < 0) {
2023 "retv = %d", __func__, retv);
/freebsd-11-stable/contrib/gcc/
H A Dreload.c4729 int retv;
4734 retv = memory_address_p (mode, ad);
4737 return retv;
4715 int retv; local

Completed in 343 milliseconds