Lines Matching defs:ret
399 uint32_t ret;
403 ret = nss_core_register_handler(if_num, nss_tx_rx_virt_if_msg_handler, NULL);
404 if (ret != NSS_CORE_STATUS_SUCCESS) {
489 int ret = 0;
502 ret = wait_for_completion_timeout(&nrip->complete,
504 if (!ret) {
552 uint32_t ret;
567 handle = nss_tx_rx_virt_if_handle_create(nss_ctx, if_num, &ret);
569 nss_warning("%p:redir_if handle creation failed ret %d\n", nss_ctx, ret);
575 ret = nss_tx_rx_virt_if_register_handler(handle);
576 if (ret != NSS_VIRT_IF_SUCCESS) {
577 nss_warning("%p: Registration handler failed reason: %d\n", nss_ctx, ret);
588 ret = nss_tx_rx_virt_if_tx_msg_sync(handle, &nrim);
589 if (ret != NSS_TX_SUCCESS) {
590 nss_warning("%p: nss_tx_rx_virt_if_tx_msg_sync failed %u\n", nss_ctx, ret);
628 uint32_t ret;
661 ret = nss_core_unregister_handler(if_num);
662 if (ret != NSS_CORE_STATUS_SUCCESS) {