Searched refs:preallocated_vmas (Results 1 – 1 of 1) sorted by relevance
171 struct panthor_vma *preallocated_vmas[3]; member1108 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) in panthor_vm_cleanup_op_ctx()1109 kfree(op_ctx->preallocated_vmas[i]); in panthor_vm_cleanup_op_ctx()1118 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_return_vma()1119 if (!op_ctx->preallocated_vmas[i]) { in panthor_vm_op_ctx_return_vma()1120 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_return_vma()1131 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_get_vma()1132 struct panthor_vma *vma = op_ctx->preallocated_vmas[i]; in panthor_vm_op_ctx_get_vma()1135 op_ctx->preallocated_vmas[i] = NULL; in panthor_vm_op_ctx_get_vma()1177 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_prealloc_vmas()