Home
last modified time | relevance | path

Searched refs:buff_len (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.5.0/subsys/rtio/
Drtio_handlers.c55 static inline void z_vrfy_rtio_release_buffer(struct rtio *r, void *buff, uint32_t buff_len) in z_vrfy_rtio_release_buffer() argument
58 z_impl_rtio_release_buffer(r, buff, buff_len); in z_vrfy_rtio_release_buffer()
63 uint8_t **buff, uint32_t *buff_len) in z_vrfy_rtio_cqe_get_mempool_buffer() argument
68 Z_OOPS(Z_SYSCALL_MEMORY_READ(buff_len, sizeof(uint32_t))); in z_vrfy_rtio_cqe_get_mempool_buffer()
69 return z_impl_rtio_cqe_get_mempool_buffer(r, cqe, buff, buff_len); in z_vrfy_rtio_cqe_get_mempool_buffer()
/Zephyr-Core-3.5.0/subsys/shell/
Dshell_utils.c87 uint16_t buff_pos, uint16_t buff_len) in z_shell_multiline_data_calc() argument
96 cons->cur_y_end = (buff_len + cons->name_len) / cons->terminal_wid + 1; in z_shell_multiline_data_calc()
97 cons->cur_x_end = (buff_len + cons->name_len) % cons->terminal_wid + 1; in z_shell_multiline_data_calc()
237 void z_shell_pattern_remove(char *buff, uint16_t *buff_len, const char *pattern) in z_shell_pattern_remove() argument
255 *buff_len -= pattern_len; in z_shell_pattern_remove()
461 static void buffer_trim(char *buff, uint16_t *buff_len) in buffer_trim() argument
470 while (isspace((int) buff[*buff_len - 1U]) != 0) { in buffer_trim()
471 *buff_len -= 1U; in buffer_trim()
472 if (*buff_len == 0U) { in buffer_trim()
477 buff[*buff_len] = '\0'; in buffer_trim()
[all …]
Dshell_wildcard.c13 static enum shell_wildcard_status command_add(char *buff, uint16_t *buff_len, in command_add() argument
22 if ((*buff_len + cmd_len + 1) > CONFIG_SHELL_CMD_BUFF_SIZE) { in command_add()
40 *buff_len += cmd_len + 1; /* + 1 for space */ in command_add()
Dshell_utils.h27 uint16_t buff_pos, uint16_t buff_len);
40 void z_shell_pattern_remove(char *buff, uint16_t *buff_len,
/Zephyr-Core-3.5.0/modules/hal_nordic/nrf_802154/serialization/platform/
Dnrf_802154_spinel_log.c21 void nrf_802154_spinel_buff_log(const uint8_t *p_buff, size_t buff_len) in nrf_802154_spinel_buff_log() argument
23 for (size_t i = 0; i < buff_len; i++) { in nrf_802154_spinel_buff_log()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_shell.c169 uint16_t buff_len = 0; in cmd_read() local
172 NULL, &buff_len, NULL); in cmd_read()
176 shell_hexdump(sh, buff, buff_len); in cmd_read()
179 uint16_t buff_len = 0; in cmd_read() local
182 NULL, &buff_len, NULL); in cmd_read()
186 shell_print(sh, "%.*s\n", buff_len, buff); in cmd_read()
/Zephyr-Core-3.5.0/include/zephyr/rtio/
Drtio.h1051 uint8_t **buff, uint32_t *buff_len);
1054 uint8_t **buff, uint32_t *buff_len) in z_impl_rtio_cqe_get_mempool_buffer() argument
1063 *buff_len = blk_count * blk_size; in z_impl_rtio_cqe_get_mempool_buffer()
1074 ARG_UNUSED(buff_len); in z_impl_rtio_cqe_get_mempool_buffer()
1234 __syscall void rtio_release_buffer(struct rtio *r, void *buff, uint32_t buff_len);
1236 static inline void z_impl_rtio_release_buffer(struct rtio *r, void *buff, uint32_t buff_len) in z_impl_rtio_release_buffer() argument
1239 if (r == NULL || buff == NULL || r->block_pool == NULL || buff_len == 0) { in z_impl_rtio_release_buffer()
1243 rtio_block_pool_free(r, buff, buff_len); in z_impl_rtio_release_buffer()
1247 ARG_UNUSED(buff_len); in z_impl_rtio_release_buffer()