Lines Matching defs:untrusted
53 void *untrusted
139 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos)
141 /* Note that the untrusted pointer passed to these functions is
144 return (untrusted - 1 == exec->bin_u + pos);
224 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) {
253 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) {
267 uint32_t length = *(uint32_t *)(untrusted + 1);
268 uint32_t offset = *(uint32_t *)(untrusted + 5);
269 uint32_t max_index = *(uint32_t *)(untrusted + 9);
270 uint32_t index_size = (*(uint8_t *)(untrusted + 0) >> 4) ? 2 : 1;
305 uint32_t length = *(uint32_t *)(untrusted + 1);
306 uint32_t base_index = *(uint32_t *)(untrusted + 5);
339 exec->shader_state[i].addr = *(uint32_t *)untrusted;
372 exec->bin_tiles_x = *(uint8_t *)(untrusted + 12);
373 exec->bin_tiles_y = *(uint8_t *)(untrusted + 13);
375 flags = *(uint8_t *)(untrusted + 14);
436 memcpy(exec->bo_index, untrusted, sizeof(exec->bo_index));
447 void *untrusted);