Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 5042) sorted by last modified time

12345678910>>...202

/freebsd/sys/dev/sound/pcm/
H A Dsound.c828 int ret; in sound_modevent() local
830 ret = 0; in sound_modevent()
845 ret = ENOTSUP; in sound_modevent()
848 return ret; in sound_modevent()
/freebsd/contrib/one-true-awk/
H A Drun.c604 int n, ret; in u8_isutf() local
613 ret = 2; /* 110xxxxx 10xxxxxx */ in u8_isutf()
616 ret = 3; /* 1110xxxx 10xxxxxx 10xxxxxx */ in u8_isutf()
619 ret = 4; /* 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx */ in u8_isutf()
621 ret = 0; in u8_isutf()
623 return ret; in u8_isutf()
631 int n, ret; in u8_rune() local
643 ret = 2; in u8_rune()
648 ret = 3; in u8_rune()
653 ret = 4; in u8_rune()
[all …]
/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr.c1251 int ret = 0; in nvme_ctrlr_passthrough_cmd() local
1269 ret = EFAULT; in nvme_ctrlr_passthrough_cmd()
1314 return (ret); in nvme_ctrlr_passthrough_cmd()
/freebsd/sbin/ifconfig/
H A Difconfig.c270 int ret; in cmpifaddrs() local
274 ret = strcmp(a->ifa_name, b->ifa_name); in cmpifaddrs()
275 if (ret != 0) { in cmpifaddrs()
/freebsd/contrib/bmake/
H A Dmake.h1156 void *ret; in UNCONST() local
1157 memcpy(&ret, &ptr, sizeof(ret)); in UNCONST()
1158 return ret; in UNCONST()
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1245 int ret; in linprocfs_doproccmdline() local
1248 if ((ret = p_cansee(td, p)) != 0) { in linprocfs_doproccmdline()
1250 return (ret); in linprocfs_doproccmdline()
1274 ret = proc_getargv(td, p, sb); in linprocfs_doproccmdline()
1275 return (ret); in linprocfs_doproccmdline()
/freebsd/sys/net/
H A Dif_ovpn.c517 int ret = 0; in ovpn_new_peer() local
579 if (ret) in ovpn_new_peer()
642 ret = 0; in ovpn_new_peer()
693 int ret; in ovpn_del_peer() local
1132 int ret; in ovpn_ioctl_set() local
1212 int ret; in ovpn_get_stats() local
1252 int ret; in ovpn_get_peer_stats() local
1480 int ret; in ovpn_encrypt_tx_cb() local
1837 int ret; in ovpn_transmit_to_peer() local
1961 if (ret) { in ovpn_transmit_to_peer()
[all …]
/freebsd/share/mk/
H A Dbsd.sys.mk286 CLANG_OPT_SMALL+= -mllvm -simplifycfg-dup-ret
/freebsd/sys/arm64/arm64/
H A Dlocore.S236 ret
320 ret
420 ret
645 ret
681 ret
710 ret
752 ret
782 ret
837 ret
912 ret
/freebsd/lib/libc/stdio/
H A Dsprintf.c51 int ret; in sprintf() local
55 ret = vsprintf(str, fmt, ap); in sprintf()
57 return (ret); in sprintf()
63 int ret; in sprintf_l() local
68 ret = vsprintf_l(str, locale, fmt, ap); in sprintf_l()
70 return (ret); in sprintf_l()
H A Dvsnprintf.c53 int ret; in vsnprintf_l() local
76 ret = __vfprintf(&f, locale, fmt, ap); in vsnprintf_l()
79 return (ret); in vsnprintf_l()
H A Dvsprintf.c51 int ret; in vsprintf_l() local
58 ret = __vfprintf(&f, locale, fmt, ap); in vsprintf_l()
60 return (ret); in vsprintf_l()
H A Dfgets.c54 char *s, *ret; in fgets() local
63 ret = NULL; in fgets()
77 ret = NULL; in fgets()
101 ret = buf; in fgets()
111 ret = buf; in fgets()
114 return (ret); in fgets()
H A Dsnprintf.c54 int ret; in snprintf() local
70 ret = __vfprintf(&f, __get_locale(), fmt, ap); in snprintf()
74 return (ret); in snprintf()
81 int ret; in snprintf_l() local
98 ret = __vfprintf(&f, locale, fmt, ap); in snprintf_l()
102 return (ret); in snprintf_l()
/freebsd/lib/libc/string/
H A Dstpncpy.c39 char *ret = dst; in stpncpy() local
42 return (ret); in stpncpy()
/freebsd/sys/fs/devfs/
H A Ddevfs_vnops.c1783 goto ret; in devfs_setattr()
1794 goto ret; in devfs_setattr()
1803 goto ret; in devfs_setattr()
1826 ret: in devfs_setattr()
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c8694 ret = -1; in rack_process_timers()
8705 ret = -2; in rack_process_timers()
8716 ret = -3; in rack_process_timers()
8744 return (ret); in rack_process_timers()
16269 int ret; in rack_init() local
16325 if (ret) { in rack_init()
21482 int ret; in rack_output() local
21486 if (ret >= 0) in rack_output()
21487 return(ret); in rack_output()
21887 int ret; in rack_output() local
[all …]
/freebsd/sys/vm/
H A Ddevice_pager.c374 int ref, ret; in old_dev_pager_fault() local
389 ret = csw->d_mmap(dev, offset, &paddr, prot, &memattr); in old_dev_pager_fault()
392 if (ret != 0) { in old_dev_pager_fault()
394 "WARNING: dev_pager_getpage: map function returns error %d", ret); in old_dev_pager_fault()
/freebsd/sys/netinet/
H A Dsctputil.c1020 uint32_t ret; in sctp_select_initial_TSN() local
1024 return (ret); in sctp_select_initial_TSN()
1664 int ret; in sctp_handle_addr_wq() local
1674 if (ret) { in sctp_handle_addr_wq()
7489 int ret; in sctp_over_udp_start() local
7522 return (ret); in sctp_over_udp_start()
7530 return (ret); in sctp_over_udp_start()
7540 return (ret); in sctp_over_udp_start()
7548 return (ret); in sctp_over_udp_start()
7556 return (ret); in sctp_over_udp_start()
[all …]
H A Dsctp_input.c4323 int ret; in sctp_process_control() local
4637 ret = sctp_handle_init_ack(m, iphlen, *offset, in sctp_process_control()
4645 ret = -1; in sctp_process_control()
4655 if ((stcb != NULL) && (ret == 0)) { in sctp_process_control()
H A Dsctp_output.c3989 int ret; in sctp_lowlevel_chunk_output() local
4234 if (ret) in sctp_lowlevel_chunk_output()
4564 if (ret) { in sctp_lowlevel_chunk_output()
6666 int ret = 0; in sctp_sendall_iterator() local
6835 if (ret) { in sctp_sendall_iterator()
6884 at = ret; in sctp_copy_out_all()
6917 int ret; in sctp_sendall() local
10116 ret = 1; in sctp_chunk_output()
11355 if (ret) { in sctp_send_resp_msg()
12239 int ret; in sctp_send_str_reset_req() local
[all …]
/freebsd/sys/kern/
H A Dvfs_vnops.c915 int ret; in get_advice() local
917 ret = POSIX_FADV_NORMAL; in get_advice()
919 return (ret); in get_advice()
926 ret = fp->f_advice->fa_advice; in get_advice()
928 return (ret); in get_advice()
H A Dkern_intr.c1365 int ret; in intr_event_handle() local
1384 ret = 0; in intr_event_handle()
1409 ret = ih->ih_filter(ih->ih_argument); in intr_event_handle()
1413 KASSERT(ret == FILTER_STRAY || in intr_event_handle()
1415 (ret & ~(FILTER_SCHEDULE_THREAD | FILTER_HANDLED)) == 0), in intr_event_handle()
1416 ("%s: incorrect return value %#x from %s", __func__, ret, in intr_event_handle()
1418 filter = filter || ret == FILTER_HANDLED; in intr_event_handle()
1420 if (ret & FILTER_SCHEDULE_THREAD) in intr_event_handle()
1422 else if (ret & FILTER_HANDLED) in intr_event_handle()
1424 else if (ret == FILTER_STRAY) in intr_event_handle()
[all …]
/freebsd/libexec/tftpd/
H A Dtftpd.c624 int i, ret; in find_next_name() local
652 ret = snprintf(newname, sizeof(newname), "%s.%s.%02d", in find_next_name()
659 if (ret < 0 || (size_t)ret >= sizeof(newname)) in find_next_name()
/freebsd/contrib/unbound/util/
H A Dnetevent.c1395 int ret; local
1402 if(ret) {
3371 ssize_t ret; local
3409 if(ret == 0) {
3439 return ret;
3448 int ret; local
3453 if(ret) {
3699 ssize_t ret; local
3773 return ret;
3782 int ret; local
[all …]

12345678910>>...202