Searched refs:reserved_size (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/subsys/modem/backends/uart/src/ |
D | main.c | 114 uint32_t reserved_size; in transmit_prng() local 119 reserved_size = ring_buf_get_claim(&transmit_ring_buf, &reserved, UINT32_MAX); in transmit_prng() 120 transmit_size = MIN(transmit_size_prng_random(), reserved_size); in transmit_prng()
|
/Zephyr-latest/subsys/retention/ |
D | retention.c | 55 size_t reserved_size; member 167 return (config->size - config->reserved_size); in retention_size() 272 if (offset < 0 || ((size_t)offset + size) > (config->size - config->reserved_size)) { in retention_read() 298 if (offset < 0 || ((size_t)offset + size) > (config->size - config->reserved_size)) { in retention_write() 414 .reserved_size = (COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, prefix), \
|
/Zephyr-latest/subsys/modem/ |
D | modem_ppp.c | 361 uint32_t reserved_size; in modem_ppp_send_handler() local 393 reserved_size = ring_buf_get_claim(&ppp->transmit_rb, &reserved, UINT32_MAX); in modem_ppp_send_handler() 395 ret = modem_pipe_transmit(ppp->pipe, reserved, reserved_size); in modem_ppp_send_handler() 403 if (ret < reserved_size) { in modem_ppp_send_handler()
|
D | modem_cmux.c | 940 uint32_t reserved_size; in modem_cmux_transmit_handler() local 957 reserved_size = ring_buf_get_claim(&cmux->transmit_rb, &reserved, UINT32_MAX); in modem_cmux_transmit_handler() 959 ret = modem_pipe_transmit(cmux->pipe, reserved, reserved_size); in modem_cmux_transmit_handler() 964 "transmit", reserved_size, ret); in modem_cmux_transmit_handler() 971 if (ret < reserved_size) { in modem_cmux_transmit_handler() 972 LOG_DBG("Transmitted only %u out of %u bytes at once.", ret, reserved_size); in modem_cmux_transmit_handler()
|