Lines Matching full:storage
53 queue->storage = kzalloc(size * sizeof(VCHIQ_HEADER_T *), GFP_KERNEL); in vchiu_queue_init()
54 if (queue->storage == NULL) { in vchiu_queue_init()
63 if (queue->storage != NULL) in vchiu_queue_delete()
64 kfree(queue->storage); in vchiu_queue_delete()
89 * Write to queue->storage must be visible after read from in vchiu_queue_push()
94 queue->storage[queue->write & (queue->size - 1)] = header; in vchiu_queue_push()
97 * Write to queue->storage must be visible before write to in vchiu_queue_push()
118 * Read from queue->storage must be visible after read from in vchiu_queue_peek()
123 return queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_peek()
137 * Read from queue->storage must be visible after read from in vchiu_queue_pop()
142 header = queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_pop()
145 * Read from queue->storage must be visible before write to in vchiu_queue_pop()