Searched refs:preallocated_vmas (Results 1 – 1 of 1) sorted by relevance
171 struct panthor_vma *preallocated_vmas[3]; member1098 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) in panthor_vm_cleanup_op_ctx()1099 kfree(op_ctx->preallocated_vmas[i]); in panthor_vm_cleanup_op_ctx()1108 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_return_vma()1109 if (!op_ctx->preallocated_vmas[i]) { in panthor_vm_op_ctx_return_vma()1110 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_return_vma()1121 for (u32 i = 0; i < ARRAY_SIZE(op_ctx->preallocated_vmas); i++) { in panthor_vm_op_ctx_get_vma()1122 struct panthor_vma *vma = op_ctx->preallocated_vmas[i]; in panthor_vm_op_ctx_get_vma()1125 op_ctx->preallocated_vmas[i] = NULL; in panthor_vm_op_ctx_get_vma()1167 op_ctx->preallocated_vmas[i] = vma; in panthor_vm_op_ctx_prealloc_vmas()