Lines Matching refs:untrusted
53 void *untrusted
135 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos)
137 /* Note that the untrusted pointer passed to these functions is
140 return (untrusted - 1 == exec->bin_u + pos);
216 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) {
245 if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) {
259 uint32_t length = *(uint32_t *)(untrusted + 1);
260 uint32_t offset = *(uint32_t *)(untrusted + 5);
261 uint32_t max_index = *(uint32_t *)(untrusted + 9);
262 uint32_t index_size = (*(uint8_t *)(untrusted + 0) >> 4) ? 2 : 1;
297 uint32_t length = *(uint32_t *)(untrusted + 1);
298 uint32_t base_index = *(uint32_t *)(untrusted + 5);
331 exec->shader_state[i].addr = *(uint32_t *)untrusted;
364 exec->bin_tiles_x = *(uint8_t *)(untrusted + 12);
365 exec->bin_tiles_y = *(uint8_t *)(untrusted + 13);
367 flags = *(uint8_t *)(untrusted + 14);
428 memcpy(exec->bo_index, untrusted, sizeof(exec->bo_index));
439 void *untrusted);