Lines Matching defs:handle
93 bo_size(int fd, uint32_t handle)
98 struct hash_entry *e = _mesa_hash_table_search(t, (void*)(uintptr_t)handle);
164 padding_is_good(int fd, uint32_t handle)
167 .handle = handle,
168 .offset = align64(bo_size(fd, handle), 4096),
183 mesa_logd("Unable to map buffer %d for pad checking.", handle);
194 expected_value = handle & 0xFF;
221 .handle = create->handle,
229 mesa_logd("Unable to map buffer %d for pad creation.\n", create->handle);
234 fill_noise_buffer(noise_values, create->handle & 0xFF,
238 _mesa_hash_table_insert(bo_size_table(fd), (void*)(uintptr_t)create->handle,
254 uint32_t batch_bo = exec->flags & I915_EXEC_BATCH_FIRST ? objects[0].handle :
255 objects[exec->buffer_count - 1].handle;
268 uint32_t handle = objects[i].handle;
270 if (!padding_is_good(fd, handle)) {
272 mesa_loge("Detected buffer out-of-bounds write in bo %d", handle);
292 _mesa_hash_table_search(t, (void*)(uintptr_t)close->handle);