Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 102) sorted by relevance

12345

/subsys/net/l2/ppp/
A Dppp_stats.h17 uint32_t bytes) in ppp_stats_update_bytes_rx() argument
32 stats->bytes.received += bytes; in ppp_stats_update_bytes_rx()
36 uint32_t bytes) in ppp_stats_update_bytes_tx() argument
51 stats->bytes.sent += bytes; in ppp_stats_update_bytes_tx()
128 #define ppp_stats_update_bytes_rx(iface, bytes) argument
129 #define ppp_stats_update_bytes_tx(iface, bytes) argument
/subsys/usb/device/
A Dusb_transfer.c75 uint32_t bytes; in usb_transfer_work() local
110 trans->buffer += bytes; in usb_transfer_work()
111 trans->bsize -= bytes; in usb_transfer_work()
112 trans->tsize += bytes; in usb_transfer_work()
115 &bytes); in usb_transfer_work()
123 trans->buffer += bytes; in usb_transfer_work()
124 trans->bsize -= bytes; in usb_transfer_work()
125 trans->tsize += bytes; in usb_transfer_work()
128 if (!bytes || (bytes % usb_dc_ep_mps(ep)) || !trans->bsize) { in usb_transfer_work()
173 uint32_t bytes; in usb_transfer_ep_callback() local
[all …]
/subsys/net/ip/
A Dnet_stats.h52 uint32_t bytes) in net_stats_update_bytes_recv() argument
54 UPDATE_STAT(iface, stats.bytes.received += bytes); in net_stats_update_bytes_recv()
58 uint32_t bytes) in net_stats_update_bytes_sent() argument
60 UPDATE_STAT(iface, stats.bytes.sent += bytes); in net_stats_update_bytes_sent()
283 UPDATE_STAT(iface, stats.tcp.bytes.sent += bytes); in net_stats_update_tcp_sent()
288 UPDATE_STAT(iface, stats.tcp.bytes.received += bytes); in net_stats_update_tcp_recv()
292 uint32_t bytes) in net_stats_update_tcp_resent() argument
540 UPDATE_STAT(iface, stats.tc.sent[tc].bytes += bytes); in net_stats_update_tc_sent_bytes()
646 UPDATE_STAT(iface, stats.tc.recv[tc].bytes += bytes); in net_stats_update_tc_recv_bytes()
672 ARG_UNUSED(bytes); in net_stats_update_tc_sent_bytes()
[all …]
A Dnet_stats.c156 GET_STAT(iface, tcp.bytes.received), in stats()
157 GET_STAT(iface, tcp.bytes.sent)); in stats()
175 NET_INFO("Bytes received %llu", GET_STAT(iface, bytes.received)); in stats()
176 NET_INFO("Bytes sent %llu", GET_STAT(iface, bytes.sent)); in stats()
191 GET_STAT(iface, tc.sent[i].bytes)); in stats()
205 GET_STAT(iface, tc.recv[i].bytes)); in stats()
276 src = GET_STAT_ADDR(iface, bytes); in net_stats_get()
A DKconfig.stack12 Set the TX thread stack size in bytes. The TX thread is waiting
23 Set the RX thread stack size in bytes. The RX thread is waiting
/subsys/llext/
A Dllext_priv.h73 static inline void *llext_alloc_data(size_t bytes) in llext_alloc_data() argument
80 return k_heap_alloc(&llext_data_heap, bytes, K_NO_WAIT); in llext_alloc_data()
83 static inline void *llext_aligned_alloc_data(size_t align, size_t bytes) in llext_aligned_alloc_data() argument
90 return k_heap_aligned_alloc(&llext_data_heap, align, bytes, K_NO_WAIT); in llext_aligned_alloc_data()
102 static inline void *llext_aligned_alloc_instr(size_t align, size_t bytes) in llext_aligned_alloc_instr() argument
108 return k_heap_aligned_alloc(&llext_instr_heap, align, bytes, K_NO_WAIT); in llext_aligned_alloc_instr()
/subsys/net/lib/sockets/
A Dsockets_internal.h63 void sock_obj_core_update_send_stats(int sock, int bytes);
64 void sock_obj_core_update_recv_stats(int sock, int bytes);
95 static inline void sock_obj_core_update_send_stats(int sock, int bytes) in sock_obj_core_update_send_stats() argument
98 ARG_UNUSED(bytes); in sock_obj_core_update_send_stats()
101 static inline void sock_obj_core_update_recv_stats(int sock, int bytes) in sock_obj_core_update_recv_stats() argument
104 ARG_UNUSED(bytes); in sock_obj_core_update_recv_stats()
A Dsocket_obj_core.c222 void sock_obj_core_update_send_stats(int fd, int bytes) in sock_obj_core_update_send_stats() argument
224 if (bytes > 0) { in sock_obj_core_update_send_stats()
229 sock_objects[i].stats.sent += bytes; in sock_obj_core_update_send_stats()
238 void sock_obj_core_update_recv_stats(int fd, int bytes) in sock_obj_core_update_recv_stats() argument
240 if (bytes > 0) { in sock_obj_core_update_recv_stats()
245 sock_objects[i].stats.received += bytes; in sock_obj_core_update_recv_stats()
/subsys/net/l2/ethernet/
A Deth_stats.h18 uint32_t bytes) in eth_stats_update_bytes_rx() argument
33 stats->bytes.received += bytes; in eth_stats_update_bytes_rx()
37 uint32_t bytes) in eth_stats_update_bytes_tx() argument
52 stats->bytes.sent += bytes; in eth_stats_update_bytes_tx()
226 #define eth_stats_update_bytes_rx(iface, bytes) argument
227 #define eth_stats_update_bytes_tx(iface, bytes) argument
/subsys/pmci/mctp/
A Dmctp_memory.c19 static void *mctp_heap_alloc(size_t bytes) in mctp_heap_alloc() argument
23 void *ptr = sys_heap_alloc(&mctp_heap.heap, bytes); in mctp_heap_alloc()
39 static void *mctp_heap_realloc(void *ptr, size_t bytes) in mctp_heap_realloc() argument
43 void *new_ptr = sys_heap_realloc(&mctp_heap.heap, ptr, bytes); in mctp_heap_realloc()
/subsys/net/lib/tls_credentials/
A DKconfig.shell15 int "Size of buffer used for storing and retrieving credentials, measured in bytes."
18 The amount of preallocated buffer (in bytes) used for storing and retrieving credentials.
31 The amount of preallocated buffer (in bytes) for temporarily storing credential digests.
39 # default 4 certs and each assume 1500 bytes
/subsys/mem_mgmt/
A Dmem_attr_heap.c63 void *mem_attr_heap_alloc(uint32_t attr, size_t bytes) in mem_attr_heap_alloc() argument
66 (void *)(long) attr, bytes); in mem_attr_heap_alloc()
69 void *mem_attr_heap_aligned_alloc(uint32_t attr, size_t align, size_t bytes) in mem_attr_heap_aligned_alloc() argument
72 (void *)(long) attr, align, bytes); in mem_attr_heap_aligned_alloc()
/subsys/modem/
A DKconfig18 int "Modem chat log buffer size in bytes"
35 Hint that the default MODEM_CMUX_MTU size should be 127 bytes.
38 int "CMUX MTU size in bytes"
44 Linux ldattach defaults to 127 bytes, 3GPP TS 27.010 to 31.
47 int "CMUX module work buffer size in bytes"
/subsys/tracing/
A Dtracing_backend_usb.c264 uint32_t bytes; in tracing_backend_usb_output() local
278 bytes = MIN(length, net_buf_tailroom(buf)); in tracing_backend_usb_output()
279 net_buf_add_mem(buf, data, bytes); in tracing_backend_usb_output()
287 data += bytes; in tracing_backend_usb_output()
288 length -= bytes; in tracing_backend_usb_output()
/subsys/net/lib/shell/
A Dstats.c53 PR("Bytes received : %llu\n", data->bytes.received); in print_eth_stats()
54 PR("Bytes sent : %llu\n", data->bytes.sent); in print_eth_stats()
322 GET_STAT(iface, tc.sent[i].bytes)); in print_tc_tx_stats()
328 GET_STAT(iface, tc.sent[i].bytes), in print_tc_tx_stats()
343 GET_STAT(iface, tc.sent[i].bytes)); in print_tc_tx_stats()
382 GET_STAT(iface, tc.recv[i].bytes)); in print_tc_rx_stats()
389 GET_STAT(iface, tc.recv[i].bytes), in print_tc_rx_stats()
405 GET_STAT(iface, tc.recv[i].bytes)); in print_tc_rx_stats()
537 GET_STAT(iface, tcp.bytes.received), in net_shell_print_statistics()
538 GET_STAT(iface, tcp.bytes.sent), in net_shell_print_statistics()
[all …]
/subsys/tracing/test/
A Dtracing_string_format_test.c353 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes) in sys_trace_k_heap_init() argument
358 void sys_trace_k_heap_aligned_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_aligned_alloc_enter() argument
363 void sys_trace_k_heap_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_alloc_enter() argument
378 void sys_trace_k_heap_realloc_enter(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_realloc_enter() argument
382 void sys_trace_k_heap_realloc_exit(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout, in sys_trace_k_heap_realloc_exit() argument
388 void sys_trace_k_heap_alloc_helper_blocking(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_alloc_helper_blocking() argument
393 void sys_trace_k_heap_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, void *ret) in sys_trace_k_heap_alloc_exit() argument
404 void sys_trace_k_heap_aligned_alloc_exit(struct k_heap *h, size_t bytes, in sys_trace_k_heap_aligned_alloc_exit() argument
A Dtracing_test.h396 #define sys_port_trace_k_heap_init(h) sys_trace_k_heap_init(h, mem, bytes)
398 sys_trace_k_heap_aligned_alloc_enter(h, bytes, timeout)
400 sys_trace_k_heap_alloc_helper_blocking(h, bytes, timeout)
402 sys_trace_k_heap_aligned_alloc_exit(h, bytes, timeout, ret)
404 sys_trace_k_heap_alloc_enter(h, bytes, timeout)
406 sys_trace_k_heap_alloc_exit(h, bytes, timeout, ret)
413 sys_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
415 sys_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
706 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes);
707 void sys_trace_k_heap_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout);
[all …]
/subsys/net/lib/mqtt/
A Dmqtt_decoder.c161 int bytes = 0; in unpack_variable_int() local
176 bytes++; in unpack_variable_int()
185 return bytes; in unpack_variable_int()
433 int bytes; in decode_sub_id_property() local
436 if (bytes < 0) { in decode_sub_id_property()
440 if (*remaining_len < bytes) { in decode_sub_id_property()
444 *remaining_len -= bytes; in decode_sub_id_property()
467 int bytes; in properties_decode() local
471 if (bytes < 0) { in properties_decode()
475 bytes += (int)properties_len; in properties_decode()
[all …]
/subsys/bluetooth/mesh/
A Dblob.h109 size_t bytes = block->chunk_count / 8; in blob_chunk_missing_set_all() local
111 memset(block->missing, 0xff, bytes); in blob_chunk_missing_set_all()
113 block->missing[bytes] = BIT_MASK(block->chunk_count % 8); in blob_chunk_missing_set_all()
/subsys/usb/device/class/
A DKconfig.msc23 Spaces must be added to bring the string to 8 bytes.
30 Spaces must be added to bring the string to 16 bytes.
37 Spaces must be added to bring the string to 4 bytes.
/subsys/bluetooth/audio/
A DKconfig.mpl31 Sets the maximum number of bytes (including the null termination) of
45 Sets the maximum number of bytes (including the null termination) of
53 Sets the maximum number of bytes (including the null termination) of
61 Sets the maximum number of bytes (including the null termination)
69 Sets the maximum number of bytes (including the null termination) of
/subsys/sd/
A DKconfig73 # If MMC is being used, need 512 bytes to read EXT_CSD
75 # If SDIO is being used, need 512 bytes to read FUNC0 CIS
77 # Otherwise, we only need 64 bytes to read SD switch function
80 Size in bytes of internal buffer SD card uses for unaligned reads and
/subsys/shell/modules/
A Ddevmem_service.c33 static unsigned char *bytes; variable
219 *bytes = byte; in bypass_cb()
220 bytes++; in bypass_cb()
251 bytes = (unsigned char *)strtoul(argv[1], NULL, 0); in cmd_load()
/subsys/mgmt/ec_host_cmd/
A DKconfig25 int "Buffer size in bytes for TX buffer shared by all EC host commands"
32 Buffer size in bytes for TX buffer defined by the host command handler.
38 int "Buffer size in bytes for RX buffer shared by all EC host commands"
45 Buffer size in bytes for TX buffer defined by the host command handler.
/subsys/lorawan/services/
A DKconfig93 in bytes.
111 242 bytes depending on the region and frequency settings. 3 bytes of
132 242 bytes depending on the region and frequency settings. 3 bytes of

Completed in 39 milliseconds

12345