Searched refs:remaining_len (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/subsys/canbus/isotp/implementation/src/ |
D | main.c | 67 int remaining_len, ret; in get_sf_net() local 69 remaining_len = isotp_recv_net(recv_ctx, &buf, K_MSEC(1000)); in get_sf_net() 70 zassert_true(remaining_len >= 0, "recv returned %d", remaining_len); in get_sf_net() 71 zassert_equal(remaining_len, 0, "SF should fit in one frame"); in get_sf_net() 133 int remaining_len; in receive_test_data_net() local 139 remaining_len = isotp_recv_net(recv_ctx, &buf, K_MSEC(1000)); in receive_test_data_net() 140 zassert_true(remaining_len >= 0, "recv error: %d", in receive_test_data_net() 141 remaining_len); in receive_test_data_net() 143 zassert_equal(received_len + remaining_len, len, in receive_test_data_net() 153 } while (remaining_len); in receive_test_data_net() [all …]
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_client.c | 74 int end_of_data, remaining_len; in http_send_data() local 87 remaining_len = strlen(data + end_of_data); in http_send_data() 90 if (remaining_len > to_be_copied) { in http_send_data() 97 remaining_len -= to_be_copied; in http_send_data() 114 remaining_len); in http_send_data() 115 end_of_send += remaining_len; in http_send_data() 116 remaining_len = 0; in http_send_data() 118 } while (remaining_len > 0); in http_send_data()
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | fsm.c | 563 uint16_t remaining_len) in fsm_recv_configure_req() argument 611 remaining_len, in fsm_recv_configure_req() 622 ret = fsm->cb.config_info_req(fsm, pkt, remaining_len, out); in fsm_recv_configure_req() 634 } else if (remaining_len) { in fsm_recv_configure_req() 637 net_pkt_copy(out, pkt, remaining_len); in fsm_recv_configure_req() 638 len = remaining_len; in fsm_recv_configure_req() 683 uint16_t remaining_len) in fsm_recv_configure_ack() argument 693 if (fsm->cb.config_info_ack(fsm, pkt, remaining_len) < 0) { in fsm_recv_configure_ack()
|
/Zephyr-latest/drivers/entropy/ |
D | entropy_stm32.c | 343 uint16_t remaining_len = len; in generate_from_isr() local 393 buf[--remaining_len] = byte; in generate_from_isr() 394 } while (remaining_len); in generate_from_isr()
|
/Zephyr-latest/drivers/dma/ |
D | dma_iproc_pax_v2.c | 811 uint32_t outstanding, remaining_len; in dma_iproc_pax_gen_packets() local 838 remaining_len = curr % PAX_DMA_MEGA_LENGTH_MULTIPLE; in dma_iproc_pax_gen_packets() 850 if (remaining_len) { in dma_iproc_pax_gen_packets() 854 remaining_len, dir, in dma_iproc_pax_gen_packets() 856 offset = offset + remaining_len; in dma_iproc_pax_gen_packets()
|
/Zephyr-latest/subsys/canbus/isotp/ |
D | isotp.c | 175 uint32_t remaining_len; in receive_alloc_buffer_chain() local 187 remaining_len = len - CONFIG_ISOTP_RX_BUF_SIZE; in receive_alloc_buffer_chain() 189 while (remaining_len) { in receive_alloc_buffer_chain() 198 remaining_len = remaining_len > CONFIG_ISOTP_RX_BUF_SIZE ? in receive_alloc_buffer_chain() 199 remaining_len - CONFIG_ISOTP_RX_BUF_SIZE : 0; in receive_alloc_buffer_chain()
|
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/ |
D | main.c | 232 size_t remaining_len = len; in receive_test_data() local 242 zassert_true(remaining_len >= recv_len, in receive_test_data() 247 remaining_len -= recv_len; in receive_test_data() 252 } while (remaining_len); in receive_test_data()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_pkt.c | 1225 size_t remaining_len = net_pkt_get_len(pkt); local 1227 if (remaining_len < length) { 1231 remaining_len -= length; 1234 if (buf->len >= remaining_len) { 1235 buf->len = remaining_len; 1245 remaining_len -= buf->len;
|