Lines Matching refs:untrusted
53 void *untrusted
135 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
140 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
216 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) { in validate_flush()
245 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) { in validate_increment_semaphore()
259 uint32_t length = *(uint32_t *)(untrusted + 1); in validate_indexed_prim_list()
260 uint32_t offset = *(uint32_t *)(untrusted + 5); in validate_indexed_prim_list()
261 uint32_t max_index = *(uint32_t *)(untrusted + 9); in validate_indexed_prim_list()
262 uint32_t index_size = (*(uint8_t *)(untrusted + 0) >> 4) ? 2 : 1; in validate_indexed_prim_list()
297 uint32_t length = *(uint32_t *)(untrusted + 1); in validate_gl_array_primitive()
298 uint32_t base_index = *(uint32_t *)(untrusted + 5); in validate_gl_array_primitive()
331 exec->shader_state[i].addr = *(uint32_t *)untrusted; in validate_gl_shader_state()
364 exec->bin_tiles_x = *(uint8_t *)(untrusted + 12); in validate_tile_binning_config()
365 exec->bin_tiles_y = *(uint8_t *)(untrusted + 13); in validate_tile_binning_config()
367 flags = *(uint8_t *)(untrusted + 14); in validate_tile_binning_config()
428 memcpy(exec->bo_index, untrusted, sizeof(exec->bo_index)); in validate_gem_handles()
439 void *untrusted);