Searched refs:remaining_len (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-2.7.6/tests/subsys/canbus/isotp/implementation/src/ |
D | main.c | 76 int remaining_len, ret; in get_sf_net() local 78 remaining_len = isotp_recv_net(recv_ctx, &buf, K_MSEC(1000)); in get_sf_net() 79 zassert_true(remaining_len >= 0, "recv returned %d", remaining_len); in get_sf_net() 80 zassert_equal(remaining_len, 0, "SF should fit in one frame"); in get_sf_net() 142 int remaining_len; in receive_test_data_net() local 148 remaining_len = isotp_recv_net(recv_ctx, &buf, K_MSEC(1000)); in receive_test_data_net() 149 zassert_true(remaining_len >= 0, "recv error: %d", in receive_test_data_net() 150 remaining_len); in receive_test_data_net() 152 zassert_equal(received_len + remaining_len, len, in receive_test_data_net() 162 } while (remaining_len); in receive_test_data_net() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/lib/http/ |
D | http_client.c | 55 int end_of_data, remaining_len; in http_send_data() local 67 remaining_len = strlen(data + end_of_data); in http_send_data() 70 if (remaining_len > to_be_copied) { in http_send_data() 77 remaining_len -= to_be_copied; in http_send_data() 94 remaining_len); in http_send_data() 95 end_of_send += remaining_len; in http_send_data() 96 remaining_len = 0; in http_send_data() 98 } while (remaining_len > 0); in http_send_data()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/ |
D | fsm.c | 554 uint16_t remaining_len) in fsm_recv_configure_req() argument 602 remaining_len, in fsm_recv_configure_req() 613 ret = fsm->cb.config_info_req(fsm, pkt, remaining_len, out); in fsm_recv_configure_req() 625 } else if (remaining_len) { in fsm_recv_configure_req() 628 net_pkt_copy(out, pkt, remaining_len); in fsm_recv_configure_req() 629 len = remaining_len; in fsm_recv_configure_req() 674 uint16_t remaining_len) in fsm_recv_configure_ack() argument 684 if (fsm->cb.config_info_ack(fsm, pkt, remaining_len) < 0) { in fsm_recv_configure_ack()
|
/Zephyr-Core-2.7.6/subsys/canbus/isotp/ |
D | isotp.c | 171 uint32_t remaining_len; in receive_alloc_buffer_chain() local 183 remaining_len = len - CONFIG_ISOTP_RX_BUF_SIZE; in receive_alloc_buffer_chain() 185 while (remaining_len) { in receive_alloc_buffer_chain() 194 remaining_len = remaining_len > CONFIG_ISOTP_RX_BUF_SIZE ? in receive_alloc_buffer_chain() 195 remaining_len - CONFIG_ISOTP_RX_BUF_SIZE : 0; in receive_alloc_buffer_chain()
|
/Zephyr-Core-2.7.6/drivers/dma/ |
D | dma_iproc_pax_v2.c | 820 uint32_t outstanding, remaining_len; in dma_iproc_pax_gen_packets() local 847 remaining_len = curr % PAX_DMA_MEGA_LENGTH_MULTIPLE; in dma_iproc_pax_gen_packets() 859 if (remaining_len) { in dma_iproc_pax_gen_packets() 863 remaining_len, dir, in dma_iproc_pax_gen_packets() 865 offset = offset + remaining_len; in dma_iproc_pax_gen_packets()
|
/Zephyr-Core-2.7.6/tests/subsys/canbus/isotp/conformance/src/ |
D | main.c | 210 size_t remaining_len = len; in receive_test_data() local 220 zassert_true(remaining_len >= recv_len, in receive_test_data() 225 remaining_len -= recv_len; in receive_test_data() 230 } while (remaining_len); in receive_test_data()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_pkt.c | 1099 size_t remaining_len = net_pkt_get_len(pkt); local 1101 if (remaining_len < length) { 1105 remaining_len -= length; 1108 if (buf->len >= remaining_len) { 1109 buf->len = remaining_len; 1119 remaining_len -= buf->len;
|