Searched refs:preallocated_vmas (Results 1 – 1 of 1) sorted by relevance
171 struct panthor_vma *preallocated_vmas[3]; member1106 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) in panthor_vm_cleanup_op_ctx()1107 kfree(op_ctx->preallocated_vmas[i]); in panthor_vm_cleanup_op_ctx()1116 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_return_vma()1117 if (!op_ctx->preallocated_vmas[i]) { in panthor_vm_op_ctx_return_vma()1118 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_return_vma()1129 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_get_vma()1130 struct panthor_vma *vma = op_ctx->preallocated_vmas[i]; in panthor_vm_op_ctx_get_vma()1133 op_ctx->preallocated_vmas[i] = NULL; in panthor_vm_op_ctx_get_vma()1175 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_prealloc_vmas()