Lines Matching refs:untrusted
53 void *untrusted
139 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
144 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
224 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) { in validate_flush()
253 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) { in validate_increment_semaphore()
267 uint32_t length = *(uint32_t *)(untrusted + 1); in validate_indexed_prim_list()
268 uint32_t offset = *(uint32_t *)(untrusted + 5); in validate_indexed_prim_list()
269 uint32_t max_index = *(uint32_t *)(untrusted + 9); in validate_indexed_prim_list()
270 uint32_t index_size = (*(uint8_t *)(untrusted + 0) >> 4) ? 2 : 1; in validate_indexed_prim_list()
305 uint32_t length = *(uint32_t *)(untrusted + 1); in validate_gl_array_primitive()
306 uint32_t base_index = *(uint32_t *)(untrusted + 5); in validate_gl_array_primitive()
339 exec->shader_state[i].addr = *(uint32_t *)untrusted; in validate_gl_shader_state()
372 exec->bin_tiles_x = *(uint8_t *)(untrusted + 12); in validate_tile_binning_config()
373 exec->bin_tiles_y = *(uint8_t *)(untrusted + 13); in validate_tile_binning_config()
375 flags = *(uint8_t *)(untrusted + 14); in validate_tile_binning_config()
436 memcpy(exec->bo_index, untrusted, sizeof(exec->bo_index)); in validate_gem_handles()
447 void *untrusted);