/Zephyr-latest/kernel/ |
D | mem_slab.c | 30 struct k_mem_slab *slab; in k_mem_slab_stats_raw() 33 slab = CONTAINER_OF(obj_core, struct k_mem_slab, obj_core); in k_mem_slab_stats_raw() 45 struct k_mem_slab *slab; in k_mem_slab_stats_query() 49 slab = CONTAINER_OF(obj_core, struct k_mem_slab, obj_core); in k_mem_slab_stats_query() 68 struct k_mem_slab *slab; in k_mem_slab_stats_reset() 71 slab = CONTAINER_OF(obj_core, struct k_mem_slab, obj_core); in k_mem_slab_stats_reset() 104 static int create_free_list(struct k_mem_slab *slab) in create_free_list() 140 offsetof(struct k_mem_slab, obj_core)); in init_mem_slab_obj_core_list() 148 STRUCT_SECTION_FOREACH(k_mem_slab, slab) { in init_mem_slab_obj_core_list() 171 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer, in k_mem_slab_init() [all …]
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_mailq.c | 43 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc() 47 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc() 51 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc() 77 (struct k_mem_slab *)(queue_def->pool), in osMailCAlloc() 81 (struct k_mem_slab *)(queue_def->pool), in osMailCAlloc() 85 (struct k_mem_slab *)(queue_def->pool), in osMailCAlloc() 173 k_mem_slab_free((struct k_mem_slab *)(queue_def->pool), (void *)mail); in osMailFree()
|
D | cmsis_mempool.c | 33 if (k_mem_slab_alloc((struct k_mem_slab *)(osPool->pool), in osPoolAlloc() 49 if (k_mem_slab_alloc((struct k_mem_slab *)(osPool->pool), in osPoolCAlloc() 71 k_mem_slab_free((struct k_mem_slab *)(osPool->pool), (void *)block); in osPoolFree()
|
/Zephyr-latest/tests/kernel/mem_slab/mslab_api/src/ |
D | test_mslab_api.c | 13 static struct k_mem_slab mslab; 28 struct k_mem_slab *pslab = (struct k_mem_slab *)data; in tmslab_alloc_free() 55 struct k_mem_slab *pslab = (struct k_mem_slab *)data; in tmslab_alloc_align() 74 struct k_mem_slab *pslab = (struct k_mem_slab *)data; in tmslab_alloc_timeout() 111 struct k_mem_slab *pslab = (struct k_mem_slab *)data; in tmslab_used_get()
|
D | test_mslab_extern.c | 10 extern struct k_mem_slab kmslab;
|
/Zephyr-latest/subsys/tracing/ |
D | tracing_tracking.c | 16 struct k_mem_slab *_track_list_k_mem_slab; 68 void sys_track_k_mem_slab_init(struct k_mem_slab *slab) in sys_track_k_mem_slab_init() 70 SYS_PORT_TRACING_TYPE_MASK(k_mem_slab, in sys_track_k_mem_slab_init() 144 SYS_PORT_TRACING_TYPE_MASK(k_mem_slab, in sys_track_static_init() 145 SYS_TRACK_STATIC_INIT(k_mem_slab, 0)); in sys_track_static_init()
|
/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/tests/drivers/i2s/i2s_api/src/ |
D | i2s_api_test.h | 14 extern struct k_mem_slab rx_mem_slab; 15 extern struct k_mem_slab tx_mem_slab;
|
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/subsys/portability/cmsis_rtos_v2/ |
D | mempool.c | 111 (struct k_mem_slab *)(&mslab->z_mslab), in osMemoryPoolAlloc() 115 (struct k_mem_slab *)(&mslab->z_mslab), in osMemoryPoolAlloc() 119 (struct k_mem_slab *)(&mslab->z_mslab), in osMemoryPoolAlloc() 146 k_mem_slab_free((struct k_mem_slab *)(&mslab->z_mslab), (void *)block); in osMemoryPoolFree()
|
D | wrapper.h | 53 struct k_mem_slab z_mslab;
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | mem.c | 16 struct k_mem_slab *tx_slabs[CONFIG_NET_MAX_CONTEXTS]; 23 struct k_mem_slab *slab, in slab_pool_found_already() 50 struct k_mem_slab *slab; in context_info() 102 struct k_mem_slab *rx, *tx; in cmd_net_mem()
|
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() 57 struct k_mem_slab *rx, *tx; in is_pkt_ptr_valid()
|
/Zephyr-latest/tests/kernel/mem_slab/mslab_threadsafe/src/ |
D | test_mslab_threadsafe.c | 32 static struct k_mem_slab mslab2, *slabs[SLAB_NUM] = { &mslab1, &mslab2 }; 44 struct k_mem_slab *slab = slabs[id % SLAB_NUM]; in tmslab_api()
|
/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/src/ |
D | main.c | 26 static struct k_mem_slab i2s_rx_mem_slab; 27 static struct k_mem_slab i2s_tx_mem_slab;
|
/Zephyr-latest/drivers/audio/ |
D | mpxxdtyy.h | 30 struct k_mem_slab *pcm_mem_slab;
|
/Zephyr-latest/modules/openthread/platform/ |
D | messagepool.c | 26 static struct k_mem_slab message_pool;
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracking.h | 38 extern struct k_mem_slab *_track_list_k_mem_slab; 102 void sys_track_k_mem_slab_init(struct k_mem_slab *slab);
|
/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()
|
/Zephyr-latest/tests/kernel/obj_tracking/src/ |
D | main.c | 33 struct k_mem_slab slab; in ZTEST() 63 list = SYS_PORT_TRACK_NEXT((struct k_mem_slab *)list); in ZTEST()
|
/Zephyr-latest/tests/benchmarks/app_kernel/src/ |
D | master.h | 107 extern struct k_mem_slab MAP1;
|
/Zephyr-latest/subsys/demand_paging/backing_store/ |
D | ram.c | 56 static struct k_mem_slab backing_slabs;
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 81 struct k_mem_slab; 5211 struct k_mem_slab { struct 5218 SYS_PORT_TRACING_TRACKING_FIELD(k_mem_slab) argument 5273 STRUCT_SECTION_ITERABLE(k_mem_slab, name) = \ 5295 static STRUCT_SECTION_ITERABLE(k_mem_slab, name) = \ 5320 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer, 5345 int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem, 5357 void k_mem_slab_free(struct k_mem_slab *slab, void *mem); 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() [all …]
|
/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() 496 static inline struct k_mem_slab *get_tx_slab(struct net_context *context) in get_tx_slab() 835 void net_pkt_get_info(struct k_mem_slab **rx, 836 struct k_mem_slab **tx, 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, 1458 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, 1545 struct net_pkt *net_pkt_alloc_from_slab(struct k_mem_slab *slab, [all …]
|
/Zephyr-latest/samples/drivers/i2s/output/src/ |
D | main.c | 55 static STRUCT_SECTION_ITERABLE(k_mem_slab, tx_0_mem_slab) =
|