Lines Matching full:mem
120 void *mem, uint8_t *last) in mfifo_by_idx_enqueue() argument
124 *p = mem; /* store the payload which for API 2 is only a void-ptr */ in mfifo_by_idx_enqueue()
134 #define MFIFO_BY_IDX_ENQUEUE(name, i, mem) \ argument
136 (mem), &mfifo_##name.l)
143 * @return Index of newly allocated buffer; only valid if mem != NULL
146 uint8_t first, uint8_t last, void **mem) in mfifo_enqueue_get() argument
153 *mem = NULL; /* Signal the failure */ in mfifo_enqueue_get()
161 *mem = (void *)(fifo + last * size); /* preceding buffer */ in mfifo_enqueue_get()
171 * @param mem[out] Pointer to newly allocated buffer; NULL if allocation failed
174 #define MFIFO_ENQUEUE_GET(name, mem) \ argument
177 mfifo_##name.l, (mem))
318 void *mem; in mfifo_dequeue() local
328 mem = *((void **)(fifo + _first * size)); in mfifo_dequeue()
338 return mem; in mfifo_dequeue()