| /subsys/ipc/ipc_service/backends/ |
| A D | ipc_rpmsg_static_vrings.h | 144 static inline size_t vq_ring_size(unsigned int num, unsigned int buf_size) in vq_ring_size() argument 146 return ROUND_UP((buf_size * num), MEM_ALIGNMENT); in vq_ring_size() 149 static inline size_t shm_size(unsigned int num, unsigned int buf_size) in shm_size() argument 151 return (VRING_COUNT * (vq_ring_size(num, buf_size) + in shm_size() 155 static inline unsigned int optimal_num_desc(size_t mem_size, unsigned int buf_size) in optimal_num_desc() argument 162 while (available > shm_size(num_desc, buf_size)) { in optimal_num_desc()
|
| /subsys/net/lib/dns/ |
| A D | dns_sd.c | 40 uint16_t buf_size, 50 uint16_t buf_size); 55 uint16_t buf_size, 326 if (offset > buf_size || total_size >= buf_size - offset) { in add_a_record() 403 if (offset > buf_size || name_size >= buf_size - offset) { in add_ptr_record() 494 if (offset > buf_size || total_size >= buf_size - offset) { in add_txt_record() 543 if (offset > buf_size || total_size >= buf_size - offset) { in add_aaaa_record() 607 if (offset > buf_size || total_size >= buf_size - offset) { in add_srv_record() 818 buf_size - offset); in dns_sd_handle_ptr_query() 886 if (offset > buf_size || name_size >= buf_size - offset) { in dns_sd_handle_service_type_enum() [all …]
|
| A D | dns_sd.h | 141 uint8_t *buf, uint16_t buf_size); 159 uint8_t *buf, uint16_t buf_size);
|
| /subsys/shell/modules/ |
| A D | device_service.c | 36 size_t buf_size; member 45 get_device_name(dev, ctx->buf, ctx->buf_size)); in cmd_device_list_visitor() 98 .buf_size = sizeof(buf), in cmd_device_list() 146 get_device_name(dev, ctx->buf, ctx->buf_size)); in cmd_device_check_deps() 177 .buf_size = sizeof(buf), in cmd_device_init()
|
| /subsys/llext/ |
| A D | llext_handlers.c | 18 ssize_t z_impl_llext_get_fn_table(struct llext *ext, bool is_init, void *buf, size_t buf_size) in z_impl_llext_get_fn_table() argument 36 if (buf_size < table_size) { in z_impl_llext_get_fn_table()
|
| /subsys/net/lib/lwm2m/ |
| A D | lwm2m_rw_senml_cbor.c | 73 static int path_to_string(char *buf, size_t buf_size, const struct lwm2m_obj_path *input, 1079 static int path_to_string(char *buf, size_t buf_size, const struct lwm2m_obj_path *input, in path_to_string() argument 1086 if (!buf || buf_size < sizeof("/") || !input) { in path_to_string() 1090 memset(buf, '\0', buf_size); in path_to_string() 1098 w = snprintk(&(buf[fpl]), buf_size - fpl, "/"); in path_to_string() 1101 w = snprintk(&(buf[fpl]), buf_size - fpl, "%" PRIu16 "/", input->obj_id); in path_to_string() 1104 w = snprintk(&(buf[fpl]), buf_size - fpl, "%" PRIu16 "/", in path_to_string() 1108 w = snprintk(&(buf[fpl]), buf_size - fpl, "%" PRIu16 "", input->res_id); in path_to_string() 1111 w = snprintk(&(buf[fpl]), buf_size - fpl, "/%" PRIu16 "", in path_to_string() 1119 if (w < 0 || w >= buf_size - fpl) { in path_to_string()
|
| /subsys/storage/flash_map/ |
| A D | flash_map.c | 87 off_t len, uint8_t *buf, size_t buf_size) in flash_area_copy() argument 96 buf_size); in flash_area_copy()
|
| /subsys/modem/backends/ |
| A D | modem_backend_uart_async_hwfc.c | 409 int32_t buf_size = (int32_t)config->receive_buf_size; in modem_backend_uart_async_init() local 419 buf_size -= (config->receive_buf_size % (sizeof(uint32_t) * backend->async.rx_buf_count)); in modem_backend_uart_async_init() 420 backend->async.rx_buf_size = buf_size / backend->async.rx_buf_count; in modem_backend_uart_async_init()
|
| A D | modem_backend_uart_async.c | 119 const unsigned int buf_size = get_receive_buf_length(backend); in modem_backend_uart_async_event_handler() local 125 buf_size - received, (unsigned int)evt->data.rx.len); in modem_backend_uart_async_event_handler()
|
| /subsys/modem/ |
| A D | modem_ppp.c | 414 ret = modem_pipe_receive(ppp->pipe, ppp->receive_buf, ppp->buf_size); in modem_ppp_process_handler() 494 return ppp->buf_size; in get_buf_size() 587 ring_buf_init(&ppp->transmit_rb, ppp->buf_size, ppp->transmit_buf); in modem_ppp_init_internal()
|
| /subsys/logging/ |
| A D | log_core.c | 897 int log_mem_get_usage(uint32_t *buf_size, uint32_t *usage) in log_mem_get_usage() argument 899 __ASSERT_NO_MSG(buf_size != NULL); in log_mem_get_usage() 906 mpsc_pbuf_get_utilization(&log_buffer, buf_size, usage); in log_mem_get_usage()
|
| /subsys/fb/ |
| A D | cfb.c | 572 .buf_size = fb->size, in cfb_framebuffer_finalize()
|