/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_208.cpp | 49 exit(255); // 255, Set a exit status. in SigUsr1() 112 exit(10); // 10, Set a exit status. in Child() 123 int status; in Testcase() local 130 exit(255); // 255, Set a exit status. in Testcase() 133 ret = waitpid(pid, &status, 0); in Testcase() 136 status = WEXITSTATUS(status); in Testcase() 137 ICUNIT_ASSERT_EQUAL(status, 10, status); // 10, Here, assert the ret. in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smp/ |
H A D | process_test_smp_002.cpp | 67 int status; in Testcase() local 113 ret = waitpid(ret, &status, 0); in Testcase() 114 status = WEXITSTATUS(status); in Testcase() 116 ICUNIT_ASSERT_EQUAL(status, 11, status); // 11, assert that function Result is equal to this. in Testcase()
|
H A D | process_test_smp_008.cpp | 80 int status; in Testcase() local 118 ret = waitpid(ret, &status, 0); in Testcase() 119 status = WEXITSTATUS(status); in Testcase() 121 ICUNIT_ASSERT_EQUAL(status, 11, status); // 11, assert that function Result is equal to this. in Testcase()
|
H A D | process_test_smp_007.cpp | 54 int status; in Testcase() local 99 ret = waitpid(ret, &status, 0); in Testcase() 100 status = WEXITSTATUS(status); in Testcase() 102 ICUNIT_ASSERT_EQUAL(status, 11, status); // 11, assert that function Result is equal to this. in Testcase()
|
H A D | process_test_smp_005.cpp | 57 int status; in Testcase() local 96 ret = waitpid(ret, &status, 0); in Testcase() 97 status = WEXITSTATUS(status); in Testcase() 99 ICUNIT_ASSERT_EQUAL(status, 11, status); // 11, assert that function Result is equal to this. in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/ |
H A D | pthread_atfork_test_002.cpp | 97 int status = 0; in PthreadAtforkTest() local 116 exit(10); // 10, set exit status. in PthreadAtforkTest() 126 err = waitpid(pid, &status, 0); in PthreadAtforkTest() 127 status = WEXITSTATUS(status); in PthreadAtforkTest() 129 ICUNIT_GOTO_EQUAL(status, 10, status, EXIT); // 10, get exit status. in PthreadAtforkTest()
|
H A D | pthread_test_018.cpp | 122 int status = 0; in TestCase() local 134 ret = waitpid(pid, &status, 0); in TestCase() 136 status = WEXITSTATUS(status); in TestCase() 137 ICUNIT_GOTO_EQUAL(status, 255, status, EXIT); // 255, assert the special exit code. in TestCase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/ |
H A D | pthread_mutex_test_025.cpp | 124 int status; in Testcase() local 134 ret = waitpid(pid, &status, 0); in Testcase() 136 status = WEXITSTATUS(status); in Testcase() 137 ICUNIT_ASSERT_EQUAL(status, 255, status); // 255, exitcode is 255 in Testcase()
|
/test/xts/hats/kernel/freelist/safe_unlink/ |
H A D | Malloc_safe_unlink.cpp | 152 int status; in HWTEST_F() local 178 if (waitpid(pid, &status, 0) != pid) { in HWTEST_F() 186 if (WIFSIGNALED(status)) { in HWTEST_F() 187 ASSERT_TRUE(WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGILL) << "child process out with %s\n" << in HWTEST_F() 188 WTERMSIG(status); in HWTEST_F()
|
/test/xts/hats/kernel/freelist/modify_pointer/ |
H A D | Malloc_modify_pointer.cpp | 133 int status; in HWTEST_F() local 159 if (waitpid(pid, &status, 0) != pid) { in HWTEST_F() 167 if (WIFSIGNALED(status)) { in HWTEST_F() 168 ASSERT_TRUE(WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGILL) << "child process out with %s\n" << in HWTEST_F() 169 WTERMSIG(status); in HWTEST_F()
|
/test/xts/hats/kernel/freelist/encode_pointer/ |
H A D | Malloc_encode_pointer.cpp | 142 int status; in HWTEST_F() local 168 if (waitpid(pid, &status, 0) != pid) { in HWTEST_F() 176 if (WIFSIGNALED(status)) { in HWTEST_F() 177 ASSERT_TRUE(WTERMSIG(status) == SIGSEGV || WTERMSIG(status) == SIGILL) << "child process out with %s\n" << in HWTEST_F() 178 WTERMSIG(status); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 38 static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status); 128 pr_debug("status prev -> new: %08x -> %08x\n", prev_status, new_status); in dump_port_status_diff() 158 u32 status; in rh_port_connect() local 165 status = vhci_hcd->port_status[rhport]; in rh_port_connect() 167 status |= USB_PORT_STAT_CONNECTION | (1 << USB_PORT_FEAT_C_CONNECTION); in rh_port_connect() 171 status |= USB_PORT_STAT_HIGH_SPEED; in rh_port_connect() 174 status |= USB_PORT_STAT_LOW_SPEED; in rh_port_connect() 180 vhci_hcd->port_status[rhport] = status; in rh_port_connect() 192 u32 status; in rh_port_disconnect() local 199 status in rh_port_disconnect() 869 vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) vhci_urb_dequeue() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/phy/ |
H A D | phy-isp1301-omap.c | 100 int status = tps65010_set_vbus_draw(mA); in enable_vbus_draw() local 101 if (status < 0) in enable_vbus_draw() 102 pr_debug(" VBUS %d mA error %d\n", mA, status); in enable_vbus_draw() 313 int status; in isp1301_defer_work() local 317 status = schedule_work(&isp->work); in isp1301_defer_work() 318 if (!status && !isp->working) in isp1301_defer_work() 376 u8 status = isp1301_get_u8(isp, ISP1301_OTG_STATUS); in dump_regs() local 381 ctrl, status, src); in dump_regs() 392 * We translate isp1301 outputs (mostly voltage comparator status) into 874 int status; in otg_bind() local 1481 int status; isp1301_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm_bo.c | 78 bo->status = HMM_BO_FREE; in __bo_init() 211 bo->status = (bo->status & ~HMM_BO_MASK) | HMM_BO_FREE; in __bo_insert_to_free_rbtree() 216 bo->status = (bo->status & ~HMM_BO_MASK) | HMM_BO_FREE; in __bo_insert_to_free_rbtree() 241 bo->status = (bo->status & ~HMM_BO_MASK) | HMM_BO_ALLOCED; in __bo_insert_to_alloc_rbtree() 467 if (bo->status & HMM_BO_MMAPED) { in hmm_bo_release() 473 if (bo->status & HMM_BO_BINDED) { in hmm_bo_release() 478 if (bo->status in hmm_bo_release() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.c | 91 u32 status; member 418 if (unlikely(desc->status)) in ct_write() 427 desc->status |= GUC_CTB_STATUS_MISMATCH; in ct_write() 433 desc->status |= GUC_CTB_STATUS_OVERFLOW; in ct_write() 490 CT_ERROR(ct, "Corrupted descriptor head=%u tail=%u status=%#x\n", in ct_write() 491 desc->head, desc->tail, desc->status); in ct_write() 501 * @status: placeholder for status 504 * Our message handler will update status of tracked request once 506 * check for valid response status valu 512 wait_for_ct_request_update(struct intel_guc_ct *ct, struct ct_request *req, u32 *status) wait_for_ct_request_update() argument 684 ct_send(struct intel_guc_ct *ct, const u32 *action, u32 len, u32 *response_buf, u32 response_buf_size, u32 *status) ct_send() argument 810 u32 status = ~0; /* undefined */ intel_guc_ct_send() local 876 u32 status = desc->status; ct_read() local [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | patch_ca0132.c | 1587 int status = 0; in chipio_write_data_multiple() local 1594 while ((count-- != 0) && (status == 0)) in chipio_write_data_multiple() 1595 status = chipio_write_data(codec, *data++); in chipio_write_data_multiple() 1597 return status; in chipio_write_data_multiple() 1613 /* read status */ in chipio_read_data() 1690 int status; in chipio_write_multiple() local 1693 status = chipio_write_address(codec, chip_addx); in chipio_write_multiple() 1694 if (status < 0) in chipio_write_multiple() 1697 status = chipio_write_data_multiple(codec, data, count); in chipio_write_multiple() 1701 return status; in chipio_write_multiple() 1921 int status; dspio_write_wait() local 1940 int status; dspio_write() local 1971 int status = 0; dspio_write_multiple() local 1990 int status; dspio_read() local 2010 int status = 0; dspio_read_multiple() local 2104 int status; dspio_clear_response_queue() local 2144 int status = -1; dspio_send_scp_message() local 2230 int status = 0; dspio_scp() local 2334 int status = 0; dspio_alloc_dma_chan() local 2363 int status = 0; dspio_free_dma_chan() local 2480 int status = 0; dsp_dma_setup_common() local 2592 int status = 0; dsp_dma_setup() local 2682 int status = 0; dsp_dma_start() local 2718 int status = 0; dsp_dma_stop() local 2763 int status = 0; dsp_allocate_router_ports() local 2800 int status = 0; dsp_free_router_ports() local 2822 int status; dsp_allocate_ports() local 2843 int status; dsp_allocate_ports_format() local 2867 int status; dsp_free_ports() local 2920 int status; dma_reset() local 3036 int status; dspxfr_hci_write() local 3082 int status = 0; dspxfr_one_seg() local 3278 int status; dspxfr_image() local 3430 int status = 0; dspload_image() local 3481 int status = 0; dspload_is_loaded() local [all...] |
/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/ |
H A D | phone_number_matched.cpp | 130 UErrorCode status = U_ZERO_ERROR; in FindShortNumbers() local 143 icu::RegexMatcher* shortMatch = shortPattern->matcher(message, status); in FindShortNumbers() 149 while (shortMatch->find(status)) { in FindShortNumbers() 150 icu::UnicodeString numberToParse = shortMatch->group(status); in FindShortNumbers() 163 matcher.SetBegin(shortMatch->start(status)); in FindShortNumbers() 164 matcher.SetEnd(shortMatch->end(status)); in FindShortNumbers() 165 icu::UnicodeString stringShort = shortMatch->group(status); in FindShortNumbers() 206 UErrorCode status = U_ZERO_ERROR; in FindNumbers() local 215 icu::RegexMatcher* numberMatcher = numberPattern->matcher(filteredString, status); in FindNumbers() 221 while (numberMatcher->find(status)) { in FindNumbers() 263 UErrorCode status = U_ZERO_ERROR; HandleWithShortAndShort() local [all...] |
/base/startup/init/services/loopevent/task/ |
H A D | le_streamtask.c | 56 LE_STATUS status = LE_SUCCESS;
in HandleRecvMsg_() local 71 status = LE_DIS_CONNECTED;
in HandleRecvMsg_() 75 status = LE_DIS_CONNECTED;
in HandleRecvMsg_() 81 if (status != LE_SUCCESS) {
in HandleRecvMsg_() 83 return status;
in HandleRecvMsg_() 89 return status;
in HandleRecvMsg_() 97 LE_STATUS status = LE_SUCCESS;
in HandleStreamEvent_() local 99 status = HandleSendMsg_(loopHandle, handle, stream->sendMessageComplete);
in HandleStreamEvent_() 102 status = HandleRecvMsg_(loopHandle, handle, stream->recvMessage, stream->handleRecvMsg);
in HandleStreamEvent_() 110 return status;
in HandleStreamEvent_() 118 LE_STATUS status = LE_SUCCESS; HandleClientEvent_() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_dev.h | 193 u8 status; member 204 u8 status; member 226 u8 status; member 237 u8 status; member 247 u8 status; member 258 u8 status; member 269 u8 status; member 278 u8 status; member 297 u8 status; member 306 u8 status; member 321 u8 status; global() member 351 u8 status; global() member 408 u8 status; global() member 491 u8 status; global() member 519 u8 status; global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 22 enum ice_status status; in ice_info_pba() local 24 status = ice_read_pba_string(hw, (u8 *)buf, len); in ice_info_pba() 25 if (status) in ice_info_pba() 27 dev_dbg(ice_pf_to_dev(pf), "Failed to read Product Board Assembly string, status %s\n", in ice_info_pba() 28 ice_stat_str(status)); in ice_info_pba() 449 enum ice_status status; in ice_devlink_nvm_snapshot() local 458 status = ice_acquire_nvm(hw, ICE_RES_READ); in ice_devlink_nvm_snapshot() 459 if (status) { in ice_devlink_nvm_snapshot() 461 status, hw->adminq.sq_last_status); in ice_devlink_nvm_snapshot() 467 status in ice_devlink_nvm_snapshot() 506 enum ice_status status; ice_devlink_devcaps_snapshot() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | tls.c | 88 u8 status) in mlx5_fpga_cmd_send_complete() 95 if (unlikely(status)) in mlx5_fpga_cmd_send_complete() 165 struct mlx5_fpga_dma_buf *buf, u8 status) in mlx_tls_kfree_complete() 299 atomic_t status; member 312 int status = MLX5_FPGA_CMD_SEND_FAILED; in mlx5_fpga_tls_setup_completion() local 318 status = MLX5_FPGA_CMD_RESPONSE_RECEIVED; in mlx5_fpga_tls_setup_completion() 321 status = atomic_xchg_release(&ctx->status, status); in mlx5_fpga_tls_setup_completion() 322 if (likely(status ! in mlx5_fpga_tls_setup_completion() 85 mlx5_fpga_cmd_send_complete(struct mlx5_fpga_conn *conn, struct mlx5_fpga_device *fdev, struct mlx5_fpga_dma_buf *buf, u8 status) mlx5_fpga_cmd_send_complete() argument 163 mlx_tls_kfree_complete(struct mlx5_fpga_conn *conn, struct mlx5_fpga_device *fdev, struct mlx5_fpga_dma_buf *buf, u8 status) mlx_tls_kfree_complete() argument 352 int status, ret = 0; mlx5_fpga_tls_setup_stream_cmd() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tt.c | 160 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_check_exit_ct_kill() 210 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_tt_ready_for_ct_kill() 218 set_bit(STATUS_CT_KILL, &priv->status); in iwl_tt_ready_for_ct_kill() 298 clear_bit(STATUS_CT_KILL, &priv->status); in iwl_legacy_tt_handler() 305 set_bit(STATUS_CT_KILL, &priv->status); in iwl_legacy_tt_handler() 312 set_bit(STATUS_CT_KILL, &priv->status); in iwl_legacy_tt_handler() 438 clear_bit(STATUS_CT_KILL, &priv->status); in iwl_advance_tt_handler() 447 set_bit(STATUS_CT_KILL, &priv->status); in iwl_advance_tt_handler() 458 set_bit(STATUS_CT_KILL, &priv->status); in iwl_advance_tt_handler() 489 if (test_bit(STATUS_EXIT_PENDING, &priv->status)) in iwl_bg_ct_enter() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | tx.c | 42 u32 status, addr, data_out_count; in wl1251_tx_path_status() local 46 status = wl1251_mem_read32(wl, addr); in wl1251_tx_path_status() 47 data_out_count = status & TX_STATUS_DATA_OUT_COUNT_MASK; in wl1251_tx_path_status() 367 static const char *wl1251_tx_parse_status(u8 status) in wl1251_tx_parse_status() argument 369 /* 8 bit status field, one character per bit plus null */ in wl1251_tx_parse_status() 375 if (status & TX_DMA_ERROR) in wl1251_tx_parse_status() 377 if (status & TX_DISABLED) in wl1251_tx_parse_status() 379 if (status & TX_RETRY_EXCEEDED) in wl1251_tx_parse_status() 381 if (status & TX_TIMEOUT) in wl1251_tx_parse_status() 383 if (status in wl1251_tx_parse_status() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_subset.c | 297 int status; in geth_bind() local 314 status = gether_register_netdev(gether_opts->net); in geth_bind() 316 if (status) in geth_bind() 317 return status; in geth_bind() 330 status = usb_interface_id(c, f); in geth_bind() 331 if (status < 0) in geth_bind() 333 subset_data_intf.bInterfaceNumber = status; in geth_bind() 335 status = -ENODEV; in geth_bind() 360 status = usb_assign_descriptors(f, fs_eth_function, hs_eth_function, in geth_bind() 362 if (status) in geth_bind() 469 int status; geth_alloc() local [all...] |
/kernel/linux/linux-5.10/drivers/tee/amdtee/ |
H A D | call.c | 170 u32 status, count; in handle_unload_ta() local 190 sizeof(cmd), &status); in handle_unload_ta() 191 if (!ret && status != 0) { in handle_unload_ta() 192 pr_err("unload ta: status = 0x%x\n", status); in handle_unload_ta() 206 u32 status; in handle_close_session() local 216 sizeof(cmd), &status); in handle_close_session() 217 if (!ret && status != 0) { in handle_close_session() 218 pr_err("close session: status = 0x%x\n", status); in handle_close_session() 228 u32 status; handle_unmap_shmem() local 291 u32 status; handle_map_shmem() local [all...] |