Lines Matching defs:entries
88 struct vn_buffer_cache_entry *entries;
92 entries = vk_zalloc(alloc, sizeof(*entries) * entry_count,
94 if (!entries)
118 vk_free(alloc, entries);
127 vk_free(alloc, entries);
133 entries[i].create_info = &cache_infos[i];
134 entries[i].requirements.memory = buf->requirements.memory;
135 entries[i].requirements.dedicated = buf->requirements.dedicated;
140 *out_entries = entries;
147 struct vn_buffer_cache_entry *entries)
151 if (entries)
152 vk_free(alloc, entries);
204 struct vn_buffer_cache_entry *entries = NULL;
220 result = vn_buffer_cache_entries_create(dev, &entries, &entry_count);
226 dev->buffer_cache.entries = entries;
234 vn_buffer_cache_entries_destroy(dev, dev->buffer_cache.entries);
266 const struct vn_buffer_cache_entry *entry = &cache->entries[i];