/freebsd/sys/powerpc/pseries/ |
H A D | vdevice.c | 173 int retval = 0; in vdevice_print_child() local 178 retval += bus_print_child_header(dev, child); in vdevice_print_child() 180 retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%jd"); in vdevice_print_child() 182 retval += bus_print_child_footer(dev, child); in vdevice_print_child() 184 return (retval); in vdevice_print_child()
|
/freebsd/lib/libutil/tests/ |
H A D | expand_number_test.c | 37 int retval; in ATF_TC_BODY() local 42 ATF_CHECK_ERRNO(0, (retval = expand_number((string), &num)) == 0); \ in ATF_TC_BODY() 43 ATF_CHECK_EQ(retval, 0); \ in ATF_TC_BODY()
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | hostname | 110 retval=$? 117 retval=$? 120 exit $retval
|
/freebsd/libexec/rtld-elf/rtld-libc/ |
H A D | rtld_libc.c | 115 int retval; in sysctl() local 118 retval = __sys___sysctl(name, namelen, oldp, oldlenp, newp, newlen); in sysctl() 119 return (retval); in sysctl()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_node.c | 1750 retval = 0; in ocs_mgmt_node_get() 1753 retval = 0; in ocs_mgmt_node_get() 1756 retval = 0; in ocs_mgmt_node_get() 1759 retval = 0; in ocs_mgmt_node_get() 1762 retval = 0; in ocs_mgmt_node_get() 1765 retval = 0; in ocs_mgmt_node_get() 1768 retval = 0; in ocs_mgmt_node_get() 1771 retval = 0; in ocs_mgmt_node_get() 1774 retval = 0; in ocs_mgmt_node_get() 1777 retval = 0; in ocs_mgmt_node_get() [all …]
|
/freebsd/sys/kern/ |
H A D | device_if.m | 138 * @retval 0 if this is the only possible driver for this 140 * @retval negative if the driver can match this device - the 143 * @retval ENXIO if the driver does not match the device 144 * @retval positive if some kind of error was detected during 206 * @retval 0 success 207 * @retval non-zero if some kind of error was detected during 238 * @retval 0 success 283 * @retval 0 success 305 * @retval 0 success 331 * @retval 0 success [all …]
|
/freebsd/usr.bin/sdiotool/ |
H A D | cam_sdio.c | 40 int retval = 0; in sdio_rw_direct() local 65 if (((retval = cam_send_ccb(dev, ccb)) < 0) in sdio_rw_direct() 69 if (retval < 0) in sdio_rw_direct() 78 return (retval); in sdio_rw_direct() 102 int retval = 0; in sdio_rw_extended() local 147 if (((retval = cam_send_ccb(dev, ccb)) < 0) in sdio_rw_extended() 151 if (retval < 0) in sdio_rw_extended() 162 return (retval); in sdio_rw_extended()
|
/freebsd/usr.sbin/bsdconfig/usermgmt/ |
H A D | userdel | 81 retval=$? 83 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 86 [ $retval -eq $DIALOG_OK ] || f_die
|
H A D | groupdel | 81 retval=$? 83 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 86 [ $retval -eq $DIALOG_OK ] || f_die
|
H A D | groupedit | 81 retval=$? 83 f_dprintf "retval=%s mtag=[%s]" $retval "$mtag" 86 [ $retval -eq $DIALOG_OK ] || f_die
|
H A D | useredit | 81 retval=$? 83 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 86 [ $retval -eq $DIALOG_OK ] || f_die
|
/freebsd/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu_if.m | 242 * @retval 0 success 243 * @retval ENODEV If @p regulator is not supported by this driver. 257 * @retval 0 success 258 * @retval ENODEV If @p regulator is not supported by this driver. 271 * @retval 0 success 272 * @retval ENODEV If @p regulator is not supported by this driver. 291 * @retval 0 success 307 * @retval 0 success 308 * @retval ENODEV If the frequency for @p clock is not available. 323 * @retval 0 success [all …]
|
/freebsd/usr.sbin/bsdconfig/networking/share/ |
H A D | ipaddr.subr | 73 local retval=$? 76 [ $retval -eq $SUCCESS ] || f_dialog_iperror $retval "$ip" 78 return $retval 117 local retval=$? 120 [ $retval -eq $SUCCESS ] || f_dialog_ip6error $retval "$ip" 122 return $retval 158 local retval
|
/freebsd/sbin/fsck_ffs/ |
H A D | fsck.h | 419 void *retval; in Malloc() local 421 while ((retval = malloc(size)) == NULL) in Malloc() 424 return (retval); in Malloc() 433 void *retval; in Balloc() local 435 while ((retval = aligned_alloc(LIBUFS_BUFALIGN, size)) == NULL) in Balloc() 438 return (retval); in Balloc() 448 void *retval; in Calloc() local 450 while ((retval = calloc(cnt, size)) == NULL) in Calloc() 453 return (retval); in Calloc()
|
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/ |
H A D | bhnd_pwrctl_if.m | 53 * @retval 0 success 54 * @retval ENODEV If an unsupported clock was requested. 74 * @retval 0 success 75 * @retval ENODEV If the transition latency for @p clock is not available. 90 * @retval 0 success 91 * @retval ENODEV If the frequency for @p clock is not available.
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | posix_compat.h | 326 DWORD retval = GetCurrentDirectoryW(buff_size, buff.get()); in getcwd() local 327 if (retval > buff_size) { in getcwd() 328 buff_size = retval; in getcwd() 330 retval = GetCurrentDirectoryW(buff_size, buff.get()); in getcwd() 332 if (!retval) { in getcwd() 350 …DWORD retval = GetFinalPathNameByHandleW(h, buff.get(), buff_size, FILE_NAME_NORMALIZED | VOLUME_N… in realpath() local 351 if (retval > buff_size) { in realpath() 352 buff_size = retval; in realpath() 354 …retval = GetFinalPathNameByHandleW(h, buff.get(), buff_size, FILE_NAME_NORMALIZED | VOLUME_NAME_DO… in realpath() 356 if (!retval) { in realpath()
|
/freebsd/libexec/bootpd/ |
H A D | hash.c | 237 int retval; in hash_Delete() local 239 retval = -1; in hash_Delete() 256 retval = 0; in hash_Delete() 275 retval = 0; in hash_Delete() 281 return retval; in hash_Delete()
|
/freebsd/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_freebsd.c | 181 int retval; in eth_get() local 183 retval = dlpi_open(device, &dh, 0); in eth_get() 184 if (retval != DLPI_SUCCESS) { in eth_get() 186 dlpi_strerror(retval)); in eth_get() 190 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, physaddr, in eth_get() 192 if (retval != DLPI_SUCCESS) { in eth_get() 194 dlpi_strerror(retval)); in eth_get()
|
/freebsd/sys/dev/random/ |
H A D | nehemiah.c | 58 uint32_t retval = 0; in VIA_RNG_store() local 64 : "=a" (retval), "+d" (rate), "+D" (buf) in VIA_RNG_store() 69 return (retval&0x1f); in VIA_RNG_store()
|
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vnops.c | 528 int name, register_t *retval) in dtfs_node_pathconf() argument 533 *retval = LINK_MAX; in dtfs_node_pathconf() 536 *retval = NAME_MAX; in dtfs_node_pathconf() 539 *retval = PATH_MAX; in dtfs_node_pathconf() 542 *retval = PIPE_BUF; in dtfs_node_pathconf() 545 *retval = 1; in dtfs_node_pathconf() 548 *retval = 1; in dtfs_node_pathconf() 551 *retval = 1; in dtfs_node_pathconf() 554 *retval = 43; /* this one goes to 11 */ in dtfs_node_pathconf() 557 *retval = MAXPATHLEN; in dtfs_node_pathconf() [all …]
|
/freebsd/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 290 uint8_t retval; in do_read_10() local 306 if (retval) { in do_read_10() 310 return (retval); in do_read_10() 317 uint8_t retval; in do_write_10() local 336 if (retval) { in do_write_10() 340 return (retval); in do_write_10() 351 uint8_t retval; in do_io_test() local 450 if (retval == 0) { in do_io_test() 456 retval = 1; in do_io_test() 1206 uint8_t retval; in show_host_msc_test() local [all …]
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuzip.c | 467 void *retval; in mkuz_safe_malloc() local 469 retval = malloc(size); in mkuz_safe_malloc() 470 if (retval == NULL) { in mkuz_safe_malloc() 474 return retval; in mkuz_safe_malloc() 480 void *retval; in mkuz_safe_zmalloc() local 482 retval = mkuz_safe_malloc(size); in mkuz_safe_zmalloc() 483 bzero(retval, size); in mkuz_safe_zmalloc() 484 return retval; in mkuz_safe_zmalloc()
|
/freebsd/lib/libc/locale/ |
H A D | mbrtocXX_iconv.h | 63 size_t i, retval; in mbrtocXX_l() local 88 retval = (size_t)-3; in mbrtocXX_l() 116 retval = src - cs->srcbuf - cs->srcbuf_len; in mbrtocXX_l() 146 return (retval); in mbrtocXX_l()
|
/freebsd/usr.sbin/bsdconfig/security/ |
H A D | kern_securelevel | 100 return $retval 133 if [ $retval -eq $DIALOG_HELP ]; then 136 elif [ $retval -ne $DIALOG_OK ]; then
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 921 dfsan_set_label(0, retval, sizeof(*retval)); in __dfsw_pthread_join() 2170 int retval = in format() local 2174 return retval; in format() 2179 int retval; in format() local 2188 return retval; in format() 2195 if (retval > 0) { in scan() 2209 if (retval > 0) { in scan() 2241 if (retval < 0) { in num_written_bytes() 2292 int retval = 0; in format_buffer() local 2444 if (retval < 0) { in format_buffer() [all …]
|