Searched refs:preallocated_vmas (Results 1 – 1 of 1) sorted by relevance
163 * @preallocated_vmas: Pre-allocated VMAs to handle the remap case.169 struct panthor_vma *preallocated_vmas[3]; member 1111 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) in panthor_vm_cleanup_op_ctx() 1112 kfree(op_ctx->preallocated_vmas[i]); in panthor_vm_cleanup_op_ctx() 1124 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_get_vma() 1125 struct panthor_vma *vma = op_ctx->preallocated_vmas[i]; in panthor_vm_op_ctx_get_vma() 1128 op_ctx->preallocated_vmas[i] = NULL; in panthor_vm_op_ctx_get_vma() 1166 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_prealloc_vmas()