Searched refs:msg_slab (Results 1 – 1 of 1) sorted by relevance
20 static struct k_mem_slab msg_slab; variable22 K_MEM_SLAB_DEFINE_STATIC(msg_slab, sizeof(struct ptp_msg), CONFIG_PTP_MSG_POLL_SIZE, 8);222 int ret = k_mem_slab_alloc(&msg_slab, (void **)&msg, K_FOREVER); in ptp_msg_alloc()247 k_mem_slab_free(&msg_slab, (void *)msg); in ptp_msg_unref()