Searched refs:retval (Results 201 - 225 of 694) sorted by relevance

1234567891011>>

/freebsd-current/lib/libc/gen/
H A Dsem_new.c353 int retval; local
365 retval = _umtx_op(sem, UMTX_OP_SEM2_WAIT, 0, (void *)tm_size, tm_p);
366 if (retval == -1 && errno == EINTR && (flags & TIMER_ABSTIME) == 0 &&
371 return (retval);
394 int val, retval; local
399 retval = 0;
408 if (retval) {
424 retval = usem_wait(&sem->_kern, clock_id, flags, rqtp, rmtp);
427 return (retval);
/freebsd-current/sbin/fsck_ffs/
H A Dfsck.h419 void *retval; local
421 while ((retval = malloc(size)) == NULL)
424 return (retval);
433 void *retval; local
435 while ((retval = aligned_alloc(LIBUFS_BUFALIGN, size)) == NULL)
438 return (retval);
448 void *retval; local
450 while ((retval = calloc(cnt, size)) == NULL)
453 return (retval);
/freebsd-current/libexec/bootpd/
H A Dhash.c243 int retval;
245 retval = -1;
262 retval = 0;
281 retval = 0;
287 return retval;
237 int retval; local
/freebsd-current/sys/x86/pci/
H A Dqpi.c165 int retval = 0; local
168 retval += bus_print_child_header(bus, child);
170 retval += printf(" pcibus %d", qdev->qd_pcibus);
171 retval += bus_print_child_footer(bus, child);
173 return (retval);
/freebsd-current/sys/kern/
H A Dsubr_syscall.c89 goto retval;
111 goto retval;
126 goto retval;
152 goto retval;
197 retval:
/freebsd-current/usr.sbin/bhyve/
H A Duart_backend.c343 int retval; local
346 retval = uart_stdio_backend(sc);
348 retval = uart_tty_backend(sc, path);
349 if (retval == 0) {
355 return (retval);
/freebsd-current/contrib/bsddialog/lib/
H A Dmessagebox.c100 int retval; local
121 retval = BUTTONVALUE(d.bs);
126 retval = BSDDIALOG_ESC;
185 retval = BUTTONVALUE(d.bs);
193 return (retval);
H A Dtimebox.c99 int i, retval, sel; local
135 retval = BUTTONVALUE(d.bs);
141 retval = BSDDIALOG_ESC;
225 retval = BUTTONVALUE(d.bs);
239 return (retval);
H A Dbarbox.c356 int retval; local
358 retval = do_mixedgauge(conf, text, rows, cols, mainperc, nminibars,
361 return (retval);
370 int perc, retval, *minipercs; local
389 retval = BSDDIALOG_OK;
402 retval = do_mixedgauge(conf, text, rows, cols, mainperc,
404 if (retval == BSDDIALOG_ERROR)
440 return (retval);
470 int currvalue, retval, bigchange, positions; local
509 retval
623 int retval, tout; local
[all...]
/freebsd-current/contrib/unifdef/
H A Dunifdef.c799 Linetype retval; local
813 retval = LT_PLAIN;
821 retval = LT_IF;
823 retval = (keyword[2] == 'n')
826 retval = (retval == LT_TRUE)
829 retval = (retval == LT_TRUE)
833 retval = ifeval(&cp);
835 retval
[all...]
/freebsd-current/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.h55 #define RTE_LPM_RETURN_IF_TRUE(cond, retval) do { \
56 if (cond) return (retval); \
59 #define RTE_LPM_RETURN_IF_TRUE(cond, retval)
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c97 bool retval = false; local
107 retval = true;
113 return (retval);
411 bool retval = false; local
419 return (retval);
429 retval = true;
570 bool retval; local
580 retval = taskqueue_poll_is_busy(tq, &work->work_task);
582 return (retval);
595 bool retval; local
[all...]
/freebsd-current/sys/dev/sound/usb/
H A Duaudio_pcm.c157 int retval; local
166 retval = uaudio_mixer_setrecsrc(mix_getdevinfo(m), m, src);
170 return (retval);
/freebsd-current/sys/x86/x86/
H A Dnexus.c283 int retval = 0; local
286 retval += printf(" at");
288 retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#jx");
289 retval += resource_list_print_type(rl, "iomem", SYS_RES_MEMORY, "%#jx");
290 retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%jd");
292 return (retval);
298 int retval = 0; local
300 retval += bus_print_child_header(bus, child);
301 retval += nexus_print_all_resources(child);
303 retval
[all...]
/freebsd-current/contrib/openresolv/
H A Dresolvconf.in423 retval=0
487 retval=1
493 retval=2
503 [ $? = 0 ] && [ "$retval" = 1 ] && retval=0
506 return $retval
515 retval=0
527 retval=$(($retval + 1))
534 return $retval
[all...]
/freebsd-current/usr.sbin/apm/
H A Dapm.c82 int retval = 0; local
89 retval |= (i % 10) << base;
93 return retval;
99 int retval = 0; local
106 retval += (bcd & 0xf) * place;
110 return retval;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp70 StructElement retval; local
72 retval.name = ReadQuotedString(type);
74 return retval;
76 retval.type = BuildType(ast_ctx, type, for_expression, &bitfield_size);
77 retval.bitfield = bitfield_size;
78 return retval;
/freebsd-current/sys/cddl/dev/dtrace/
H A Ddtrace_debug.c240 int stop = 0, retval = 0; local
370 *(va_arg(ap, intmax_t *)) = retval;
372 *(va_arg(ap, quad_t *)) = retval;
374 *(va_arg(ap, long *)) = retval;
376 *(va_arg(ap, size_t *)) = retval;
378 *(va_arg(ap, short *)) = retval;
380 *(va_arg(ap, char *)) = retval;
382 *(va_arg(ap, int *)) = retval;
/freebsd-current/sys/dev/ocs_fc/
H A Docs_node.c1512 int retval = 0; local
1588 return retval;
1737 int retval = -1; local
1750 retval = 0;
1753 retval = 0;
1756 retval = 0;
1759 retval = 0;
1762 retval = 0;
1765 retval = 0;
1768 retval
1894 int retval = -1; local
1923 int retval = -1; local
[all...]
/freebsd-current/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c109 int retval = VM_PAGER_OK; local
141 retval = VM_PAGER_ERROR;
172 retval = VM_PAGER_ERROR;
180 retval = VM_PAGER_ERROR;
185 retval = VM_PAGER_ERROR;
206 retval = VM_PAGER_ERROR;
223 retval = VM_PAGER_ERROR;
267 return (retval);
/freebsd-current/usr.bin/sdiotool/
H A Dcam_sdio.c40 int retval = 0; local
65 if (((retval = cam_send_ccb(dev, ccb)) < 0)
69 if (retval < 0)
78 return (retval);
102 int retval = 0; local
147 if (((retval = cam_send_ccb(dev, ccb)) < 0)
151 if (retval < 0)
162 return (retval);
/freebsd-current/sys/dev/sound/midi/
H A Dsequencer.c695 int retval, r; local
697 retval = 0;
702 retval = seq_addunit();
709 retval = r;
714 retval = 0;
723 return retval;
862 int retval, used; local
878 retval = EIO;
901 retval = EWOULDBLOCK;
911 retval
942 int retval; local
[all...]
/freebsd-current/usr.bin/mkuzip/
H A Dmkuzip.c467 void *retval; local
469 retval = malloc(size);
470 if (retval == NULL) {
474 return retval;
480 void *retval; local
482 retval = mkuz_safe_malloc(size);
483 bzero(retval, size);
484 return retval;
/freebsd-current/lib/libc/net/
H A Dgetprotoent.c138 __proto_marshal_func(char *buffer, size_t *buffer_size, void *retval, argument
225 __proto_unmarshal_func(char *buffer, size_t buffer_size, void *retval, argument
281 if (retval != NULL)
282 *((struct protoent **)retval) = proto;
407 files_getprotoent_r(void *retval, void *mdata, va_list ap) argument
437 *((struct protoent **)retval) = pptr;
442 files_setprotoent(void *retval, void *mdata, va_list ap) argument
456 files_endprotoent(void *retval, void *mdata, va_list ap) argument
H A Dgetprotoname.c54 files_getprotobyname(void *retval, void *mdata, va_list ap) argument
99 *((struct protoent **)retval) = pptr;

Completed in 263 milliseconds

1234567891011>>