/Zephyr-latest/kernel/ |
D | mem_slab.c | 30 struct k_mem_slab *slab; in k_mem_slab_stats_raw() local 45 struct k_mem_slab *slab; in k_mem_slab_stats_query() local 68 struct k_mem_slab *slab; in k_mem_slab_stats_reset() local 104 static int create_free_list(struct k_mem_slab *slab) in create_free_list() 171 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer, in k_mem_slab_init() 207 static bool slab_ptr_is_good(struct k_mem_slab *slab, const void *ptr) in slab_ptr_is_good() 221 int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem, k_timeout_t timeout) in k_mem_slab_alloc() 270 void k_mem_slab_free(struct k_mem_slab *slab, void *mem) in k_mem_slab_free() 302 int k_mem_slab_runtime_stats_get(struct k_mem_slab *slab, struct sys_memory_stats *stats) in k_mem_slab_runtime_stats_get() 326 int k_mem_slab_runtime_stats_reset_max(struct k_mem_slab *slab) in k_mem_slab_runtime_stats_reset_max()
|
/Zephyr-latest/tests/bluetooth/audio/mocks/src/ |
D | mem_slab.c | 10 int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem, k_timeout_t timeout) in k_mem_slab_alloc() 24 void k_mem_slab_free(struct k_mem_slab *slab, void *mem) in k_mem_slab_free()
|
/Zephyr-latest/subsys/demand_paging/backing_store/ |
D | ram.c | 70 static uintptr_t slab_to_location(void *slab) in slab_to_location() 90 void *slab; in k_mem_paging_backing_store_location_get() local 109 void *slab = location_to_slab(location); in k_mem_paging_backing_store_location_free() local
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | mem.c | 23 struct k_mem_slab *slab, in slab_pool_found_already() 50 struct k_mem_slab *slab; in context_info() local
|
D | pkt.c | 13 static bool is_pkt_part_of_slab(const struct k_mem_slab *slab, const char *ptr) in is_pkt_part_of_slab() 46 struct k_mem_slab *slab = context->tx_slab(); in check_context_pool() local
|
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/ |
D | common.c | 109 struct k_mem_slab *slab) in tx_block_write_slab() 131 struct k_mem_slab *slab) in rx_block_read_slab()
|
/Zephyr-latest/tests/kernel/obj_tracking/src/ |
D | main.c | 33 struct k_mem_slab slab; in ZTEST() local
|
/Zephyr-latest/tests/kernel/mem_slab/mslab_threadsafe/src/ |
D | test_mslab_threadsafe.c | 44 struct k_mem_slab *slab = slabs[id % SLAB_NUM]; in tmslab_api() local
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_string_format_test.c | 482 void sys_trace_k_mem_slab_alloc_enter(struct k_mem_slab *slab, void **mem, k_timeout_t timeout) in sys_trace_k_mem_slab_alloc_enter() 487 void sys_trace_k_mem_slab_alloc_blocking(struct k_mem_slab *slab, void **mem, k_timeout_t timeout) in sys_trace_k_mem_slab_alloc_blocking() 492 void sys_trace_k_mem_slab_alloc_exit(struct k_mem_slab *slab, void **mem, k_timeout_t timeout, in sys_trace_k_mem_slab_alloc_exit() 498 void sys_trace_k_mem_slab_free_enter(struct k_mem_slab *slab, void *mem) in sys_trace_k_mem_slab_free_enter() 503 void sys_trace_k_mem_slab_free_exit(struct k_mem_slab *slab, void *mem) in sys_trace_k_mem_slab_free_exit()
|
D | tracing_test.h | 414 #define sys_port_trace_k_mem_slab_init(slab, rc) \ argument 416 #define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout) \ argument 418 #define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout) \ argument 420 #define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret) \ argument 422 #define sys_port_trace_k_mem_slab_free_enter(slab) argument 423 #define sys_port_trace_k_mem_slab_free_exit(slab) sys_trace_k_mem_slab_free_exit(slab, mem) argument
|
/Zephyr-latest/subsys/net/ip/ |
D | net_pkt.c | 279 const char *net_pkt_slab2str(struct k_mem_slab *slab) in net_pkt_slab2str() 365 static inline const char *slab2str(struct k_mem_slab *slab) in slab2str() 870 static struct net_pkt_alloc_stats_slab *find_alloc_stats(struct k_mem_slab *slab) 1455 static struct net_pkt *pkt_alloc(struct k_mem_slab *slab, k_timeout_t timeout, 1541 struct net_pkt *net_pkt_alloc_from_slab_debug(struct k_mem_slab *slab, 1575 static struct net_pkt *pkt_alloc_on_iface(struct k_mem_slab *slab, 1637 pkt_alloc_with_buffer(struct k_mem_slab *slab, 2120 struct k_mem_slab *slab,
|
/Zephyr-latest/subsys/tracing/ |
D | tracing_tracking.c | 68 void sys_track_k_mem_slab_init(struct k_mem_slab *slab) in sys_track_k_mem_slab_init()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | adv.c | 138 struct k_mem_slab *slab = &local_adv_pool; in bt_mesh_adv_unref() local
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracking.h | 91 #define sys_port_track_k_mem_slab_init(slab, rc) \ argument 145 #define sys_port_track_k_mem_slab_init(slab, rc) argument
|
D | tracing.h | 1830 #define sys_port_trace_k_mem_slab_init(slab, rc) argument 1837 #define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout) argument 1844 #define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout) argument 1852 #define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret) argument 1858 #define sys_port_trace_k_mem_slab_free_enter(slab) argument 1864 #define sys_port_trace_k_mem_slab_free_exit(slab) argument
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | tracing_ctf.h | 323 #define sys_port_trace_k_mem_slab_init(slab, rc) argument 324 #define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout) argument 325 #define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout) argument 326 #define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret) argument 327 #define sys_port_trace_k_mem_slab_free_enter(slab) argument 328 #define sys_port_trace_k_mem_slab_free_exit(slab) argument
|
/Zephyr-latest/subsys/tracing/sysview/ |
D | tracing_sysview.h | 606 #define sys_port_trace_k_mem_slab_init(slab, rc) \ argument 609 #define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout) \ argument 613 #define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout) argument 614 #define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret) \ argument 617 #define sys_port_trace_k_mem_slab_free_enter(slab) \ argument 620 #define sys_port_trace_k_mem_slab_free_exit(slab) SEGGER_SYSVIEW_RecordEndCall(TID_MSLAB_ALLOC) argument
|
/Zephyr-latest/subsys/tracing/user/ |
D | tracing_user.h | 363 #define sys_port_trace_k_mem_slab_init(slab, rc) argument 364 #define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout) argument 365 #define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout) argument 366 #define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret) argument 367 #define sys_port_trace_k_mem_slab_free_enter(slab) argument 368 #define sys_port_trace_k_mem_slab_free_exit(slab) argument
|
/Zephyr-latest/include/zephyr/net/ |
D | net_pkt.h | 63 struct k_mem_slab *slab; member 72 #define NET_PKT_ALLOC_STATS_DEFINE(name, slab) argument 99 struct k_mem_slab *slab; member
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5369 static inline uint32_t k_mem_slab_num_used_get(struct k_mem_slab *slab) in k_mem_slab_num_used_get() 5384 static inline uint32_t k_mem_slab_max_used_get(struct k_mem_slab *slab) in k_mem_slab_max_used_get() 5404 static inline uint32_t k_mem_slab_num_free_get(struct k_mem_slab *slab) in k_mem_slab_num_free_get()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_common.h | 424 struct k_mem_slab slab; member
|