| /f-stack/dpdk/app/test/ |
| H A D | test_power_cpufreq.c | 51 int ret = -1; in check_cur_freq() local 70 return ret; in check_cur_freq() 111 if (ret == 0 || ret > TEST_POWER_FREQS_NUM_MAX) { in check_power_freqs() 127 int ret; in check_power_get_freq() local 157 int ret; in check_power_set_freq() local 207 int ret; in check_power_freq_down() local 262 int ret; in check_power_freq_up() local 317 int ret; in check_power_freq_max() local 345 int ret; in check_power_freq_min() local 373 int ret; in check_power_turbo() local [all …]
|
| H A D | test_cfgfile.c | 24 int ret; in test_cfgfile_setup() local 39 int ret; in test_cfgfile_cleanup() local 54 int ret; in _test_cfgfile_sample() local 57 TEST_ASSERT(ret == 2, "Unexpected number of sections: %d", ret); in _test_cfgfile_sample() 90 int ret; in test_cfgfile_sample1() local 109 int ret; in test_cfgfile_sample2() local 132 int ret; in test_cfgfile_realloc_sections() local 139 TEST_ASSERT(ret == 9, "Unexpected number of sections: %d", ret); in test_cfgfile_realloc_sections() 209 int ret; in test_cfgfile_empty_key_value_pair() local 249 int ret; in test_cfgfile_global_properties() local [all …]
|
| H A D | test_power_kvm_vm.c | 32 int ret; in test_power_kvm_vm() local 36 if (ret != 0) { in test_power_kvm_vm() 88 if (ret != -1) { in test_power_kvm_vm() 97 if (ret < 0) { in test_power_kvm_vm() 109 if (ret == 0) { in test_power_kvm_vm() 117 if (ret == 1) { in test_power_kvm_vm() 125 if (ret == 1) { in test_power_kvm_vm() 133 if (ret == 1) { in test_power_kvm_vm() 141 if (ret == 1) { in test_power_kvm_vm() 149 if (ret == 1) { in test_power_kvm_vm() [all …]
|
| H A D | test_eventdev.c | 49 int ret; in test_eventdev_get_dev_id() local 71 int ret; in test_eventdev_info_get() local 169 int ret; in test_eventdev_configure() local 230 int ret; in eventdev_configure_setup() local 316 int ret; in test_eventdev_queue_count() local 594 int ret; in test_eventdev_port_attr_dequeue_depth() local 619 int ret; in test_eventdev_port_attr_enqueue_depth() local 644 int ret; in test_eventdev_port_attr_new_event_threshold() local 669 int ret; in test_eventdev_port_count() local 687 int ret; in test_eventdev_timeout_ticks() local [all …]
|
| H A D | test_bitratestats.c | 39 int ret = 0; in test_stats_bitrate_free() local 53 int ret = 0; in test_stats_bitrate_reg() local 73 int ret = 0; in test_stats_bitrate_reg_invalidpointer() local 86 int ret = 0; in test_stats_bitrate_calc_invalid_bitrate_data() local 101 int ret = 0; in test_stats_bitrate_calc_invalid_portid_1() local 114 int ret = 0; in test_stats_bitrate_calc_invalid_portid_2() local 127 int ret = 0; in test_stats_bitrate_calc_non_existing_portid() local 141 int ret = 0; in test_stats_bitrate_calc() local 153 int ret; in test_bit_packet_forward() local 158 if (ret < 0) { in test_bit_packet_forward() [all …]
|
| H A D | test_pdump.c | 30 int ret = 0; in test_pdump_init() local 33 if (ret < 0) { in test_pdump_init() 38 if (ret < 0) { in test_pdump_init() 43 return ret; in test_pdump_init() 57 if (ret < 0) in run_pdump_client_tests() 119 return ret; in run_pdump_client_tests() 125 int ret = 0; in test_pdump_uninit() local 136 return ret; in test_pdump_uninit() 142 int ret = 0; in send_pkts() local 148 if (ret < 0) in send_pkts() [all …]
|
| H A D | test_latencystats.c | 33 int ret = 0; in test_latency_init() local 47 int ret = 0; in test_latency_update() local 49 ret = rte_latencystats_update(); in test_latency_update() 58 int ret = 0; in test_latency_uninit() local 60 ret = rte_latencystats_uninit(); in test_latency_uninit() 63 ret = rte_metrics_deinit(); in test_latency_uninit() 72 int ret = 0, i = 0; in test_latencystats_get_names() local 108 int ret = 0, i = 0; in test_latencystats_get() local 151 int ret; in test_latency_packet_forward() local 157 if (ret < 0) { in test_latency_packet_forward() [all …]
|
| /f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _error_translation.py | 51 if ret == 0: 68 if ret == 0: 86 if ret == 0: 109 if ret == 0: 139 if ret == 0: 157 if ret == 0: 207 if ret == 0: 215 if ret == 0: 228 if ret == 0: 255 if ret == 0: [all …]
|
| /f-stack/dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | process.c | 28 int ret; in check_fd() local 82 if (ret) in process_alloc() 85 if (ret) in process_alloc() 87 for (ret = 0; ret < (int)id.num; ret++) in process_alloc() 88 base[ret] = id.base + ret; in process_alloc() 106 if (ret) in process_release() 120 if (ret) in process_reserve() 138 if (ret) in process_portal_map() 153 if (ret) in process_portal_unmap() 211 if (ret) in process_portal_allocate() [all …]
|
| /f-stack/freebsd/arm/include/ |
| H A D | atomic-v6.h | 240 int ret; local 250 int ret; in atomic_fcmpset_acq_8() local 260 int ret; in atomic_fcmpset_rel_8() local 270 int ret; in atomic_fcmpset_16() local 280 int ret; in atomic_fcmpset_acq_16() local 290 int ret; in atomic_fcmpset_rel_16() local 602 : [ret] "=&r" (ret), in atomic_fetchadd_64() 641 : [ret] "=&r" (ret) in atomic_load_64() 699 : [ret] "=&r" (ret), in atomic_readandclear_64() 991 : [ret] "=&r" (ret), in atomic_swap_32() [all …]
|
| /f-stack/freebsd/contrib/libsodium/test/default/ |
| H A D | secretstream.c | 67 assert(ret == 0); in main() 71 assert(ret == 0); in main() 76 assert(ret == 0); in main() 81 assert(ret == 0); in main() 86 assert(ret == 0); in main() 91 assert(ret == 0); in main() 99 assert(ret == 0); in main() 112 assert(ret == 0); in main() 151 assert(ret == 0); in main() 154 assert(ret == 0); in main() [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-atomic.h | 253 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_compare_and_store32_nosync() 257 return(ret); in cvmx_atomic_compare_and_store32_nosync() 275 uint32_t ret; in cvmx_atomic_compare_and_store32() local 279 return ret; in cvmx_atomic_compare_and_store32() 311 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_compare_and_store64_nosync() 315 return(ret); in cvmx_atomic_compare_and_store64_nosync() 337 return ret; in cvmx_atomic_compare_and_store64() 422 return ret; in cvmx_atomic_fetch_and_add64() 507 return ret; in cvmx_atomic_fetch_and_add32() 536 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_fetch_and_bset64_nosync() [all …]
|
| /f-stack/dpdk/drivers/raw/skeleton/ |
| H A D | skeleton_rawdev_test.c | 87 int ret; in test_rawdev_get_dev_id() local 111 int ret; in test_rawdev_info_get() local 129 int ret; in test_rawdev_configure() local 156 ret); in test_rawdev_configure() 184 ret); in test_rawdev_queue_default_conf_get() 221 int ret; in test_rawdev_queue_setup() local 234 ret); in test_rawdev_queue_setup() 264 int ret; in test_rawdev_queue_release() local 287 int ret; in test_rawdev_attr_set_get() local 317 int ret; in test_rawdev_start_stop() local [all …]
|
| /f-stack/dpdk/lib/librte_mbuf/ |
| H A D | rte_mbuf_ptype.c | 122 int ret; in rte_get_ptype_name() local 130 if (ret < 0) in rte_get_ptype_name() 140 if (ret < 0) in rte_get_ptype_name() 144 buf += ret; in rte_get_ptype_name() 150 if (ret < 0) in rte_get_ptype_name() 154 buf += ret; in rte_get_ptype_name() 164 buf += ret; in rte_get_ptype_name() 174 buf += ret; in rte_get_ptype_name() 184 buf += ret; in rte_get_ptype_name() 194 buf += ret; in rte_get_ptype_name() [all …]
|
| /f-stack/freebsd/contrib/zlib/test/ |
| H A D | infcover.c | 287 int ret; in inf() local 309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf() 321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf() 352 int ret; in cover_support() local 390 int ret; in cover_wrap() local 472 int ret; in cover_back() local 509 int ret; in try() local 542 assert(ret != Z_STREAM_ERROR && ret != Z_MEM_ERROR); in try() 543 if (ret == Z_DATA_ERROR || ret == Z_NEED_DICT) in try() 577 return ret; in try() [all …]
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev_vf.c | 52 int ret; in hns3vf_set_bus_master() local 84 int ret; in hns3vf_find_pci_capability() local 135 int ret; in hns3vf_enable_msix() local 167 int ret; in hns3vf_add_uc_mac_addr() local 186 int ret; in hns3vf_remove_uc_mac_addr() local 206 int ret; in hns3vf_add_mc_addr_common() local 239 int ret; in hns3vf_add_mac_addr() local 262 ret); in hns3vf_add_mac_addr() 275 int ret; in hns3vf_remove_mac_addr() local 302 int ret; in hns3vf_set_default_mac_addr() local [all …]
|
| H A D | hns3_dcb.c | 156 int ret; in hns3_up_to_tc_map() local 162 if (ret) in hns3_up_to_tc_map() 200 if (ret) in hns3_pg_to_pri_map() 340 int ret; in hns3_dcb_port_shaper_cfg() local 415 int ret; in hns3_dcb_pg_shaper_cfg() local 591 int ret; in hns3_dcb_pri_shaper_cfg() local 597 if (ret) in hns3_dcb_pri_shaper_cfg() 686 int ret; in hns3_queue_to_tc_mapping() local 689 if (ret) in hns3_queue_to_tc_mapping() 701 int ret; in hns3_dcb_update_tc_queue_mapping() local [all …]
|
| H A D | hns3_ethdev.c | 271 int ret; in hns3_set_port_vlan_filter() local 286 if (ret) in hns3_set_port_vlan_filter() 401 int ret; in hns3_vlan_filter_set() local 417 int ret; in hns3_vlan_tpid_configure() local 446 ret); in hns3_vlan_tpid_configure() 457 if (ret) in hns3_vlan_tpid_configure() 459 ret); in hns3_vlan_tpid_configure() 469 int ret; in hns3_vlan_tpid_set() local 486 int ret; in hns3_set_vlan_rx_offload_cfg() local 515 if (ret) in hns3_set_vlan_rx_offload_cfg() [all …]
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | hotplug_mp.c | 68 int ret; in send_response_to_secondary() local 80 return ret; in send_response_to_secondary() 94 int ret = 0; in __handle_secondary_request() local 176 if (ret) in __handle_secondary_request() 325 if (ret) in handle_primary_request() 342 if (ret) in handle_primary_request() 371 int ret; in eal_dev_hotplug_request_to_primary() local 381 if (!ret) in eal_dev_hotplug_request_to_primary() 398 int ret; in eal_dev_hotplug_request_to_secondary() local 412 ret = 0; in eal_dev_hotplug_request_to_secondary() [all …]
|
| /f-stack/dpdk/drivers/net/failsafe/ |
| H A D | failsafe_ops.c | 268 ret = fs_err(sdev, ret); in fs_rx_queue_stop() 294 ret = fs_err(sdev, ret); in fs_rx_queue_start() 321 ret = fs_err(sdev, ret); in fs_tx_queue_stop() 347 ret = fs_err(sdev, ret); in fs_tx_queue_start() 496 ret = fs_err(sdev, ret); in fs_rx_intr_enable() 530 ret = fs_err(sdev, ret); in fs_rx_intr_disable() 670 ret = ret ? ret : err; in failsafe_eth_dev_close() 685 ret = ret ? ret : err; in failsafe_eth_dev_close() 696 ret = ret ? ret : err; in failsafe_eth_dev_close() 712 ret = fs_err(sdev, ret); in fs_promiscuous_enable() [all …]
|
| /f-stack/freebsd/contrib/libfdt/ |
| H A D | fdt_overlay.c | 205 int ret; in overlay_adjust_node_phandles() local 208 if (ret && ret != -FDT_ERR_NOTFOUND) in overlay_adjust_node_phandles() 212 if (ret && ret != -FDT_ERR_NOTFOUND) in overlay_adjust_node_phandles() 217 if (ret) in overlay_adjust_node_phandles() 272 int ret; in overlay_update_local_node_references() local 345 if (ret) in overlay_update_local_node_references() 867 int ret; in fdt_overlay_apply() local 873 if (ret) in fdt_overlay_apply() 877 if (ret) in fdt_overlay_apply() 881 if (ret) in fdt_overlay_apply() [all …]
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/examples/ |
| H A D | fitblk_original.c | 75 int ret, flush; in partcompress() local 89 return ret; in partcompress() 98 int ret, flush; in recompress() local 107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && in recompress() 110 return ret; in recompress() 120 return ret; in recompress() 144 size = (unsigned)ret; in main() 159 if (ret == Z_ERRNO) in main() 198 if (ret == Z_MEM_ERROR) in main() 213 if (ret == Z_MEM_ERROR) in main() [all …]
|
| H A D | fitblk.c | 80 int ret, flush; in partcompress() local 96 return ret; in partcompress() 105 int ret, flush; in recompress() local 117 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && in recompress() 120 return ret; in recompress() 132 return ret; in recompress() 156 size = (unsigned)ret; in main() 176 if (ret == Z_ERRNO) in main() 217 if (ret == Z_MEM_ERROR) in main() 234 if (ret == Z_MEM_ERROR) in main() [all …]
|
| /f-stack/dpdk/lib/librte_telemetry/ |
| H A D | telemetry_json.h | 34 int ret; in __json_snprintf() local 39 if (ret > 0 && ret < (int)sizeof(tmp) && ret < len) { in __json_snprintf() 41 return ret; in __json_snprintf() 77 return ret == 0 ? used : end + ret; in rte_tel_json_add_array_string() 89 return ret == 0 ? used : end + ret; in rte_tel_json_add_array_int() 102 return ret == 0 ? used : end + ret; in rte_tel_json_add_array_u64() 118 return ret == 0 ? used : end + ret; in rte_tel_json_add_array_json() 136 return ret == 0 ? used : end + ret; in rte_tel_json_add_obj_u64() 154 return ret == 0 ? used : end + ret; in rte_tel_json_add_obj_int() 171 return ret == 0 ? used : end + ret; in rte_tel_json_add_obj_str() [all …]
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | event_helper.c | 103 int j, ret; in eh_dev_has_rx_internal_port() local 122 int j, ret; in eh_dev_has_tx_internal_port() local 332 int ret; in eh_set_default_conf_rx_adapter() local 435 int ret; in eh_set_default_conf_tx_adapter() local 531 int ret; in eh_validate_conf() local 592 int ret; in eh_initialize_eventdev() local 741 int ret; in eh_rx_adapter_configure() local 793 if (ret != -ESRCH && ret < 0) { in eh_rx_adapter_configure() 865 if (ret != -ESRCH && ret < 0) { in eh_start_worker_eth_core() 898 if (ret != -ESRCH && ret < 0) { in eh_start_worker_eth_core() [all …]
|