Lines Matching refs:entries
57 struct pb_validate_entry *entries; member
80 if(vl->used && vl->entries[vl->used - 1].buf == buf) { in pb_validate_add_buffer()
81 vl->entries[vl->used - 1].flags |= flags; in pb_validate_add_buffer()
94 new_entries = (struct pb_validate_entry *)REALLOC(vl->entries, in pb_validate_add_buffer()
103 vl->entries = new_entries; in pb_validate_add_buffer()
106 assert(!vl->entries[vl->used].buf); in pb_validate_add_buffer()
107 pb_reference(&vl->entries[vl->used].buf, buf); in pb_validate_add_buffer()
108 vl->entries[vl->used].flags = flags; in pb_validate_add_buffer()
123 ret = callback(vl->entries[i].buf, data); in pb_validate_foreach()
138 ret = pb_validate(vl->entries[i].buf, vl, vl->entries[i].flags); in pb_validate_validate()
141 pb_validate(vl->entries[i].buf, NULL, 0); in pb_validate_validate()
156 pb_fence(vl->entries[i].buf, fence); in pb_validate_fence()
157 pb_reference(&vl->entries[i].buf, NULL); in pb_validate_fence()
168 pb_reference(&vl->entries[i].buf, NULL); in pb_validate_destroy()
169 FREE(vl->entries); in pb_validate_destroy()
184 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry)); in pb_validate_create()
185 if(!vl->entries) { in pb_validate_create()