Searched refs:preallocated_vmas (Results 1 – 1 of 1) sorted by relevance
191 struct panthor_vma *preallocated_vmas[3]; member1201 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) in panthor_vm_cleanup_op_ctx()1202 kfree(op_ctx->preallocated_vmas[i]); in panthor_vm_cleanup_op_ctx()1212 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_return_vma()1213 if (!op_ctx->preallocated_vmas[i]) { in panthor_vm_op_ctx_return_vma()1214 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_return_vma()1225 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_get_vma()1226 struct panthor_vma *vma = op_ctx->preallocated_vmas[i]; in panthor_vm_op_ctx_get_vma()1229 op_ctx->preallocated_vmas[i] = NULL; in panthor_vm_op_ctx_get_vma()1271 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_prealloc_vmas()