Searched refs:n_vms (Results 1 – 2 of 2) sorted by relevance
541 unsigned int n_vms; /* Number of VMs reserved */ member571 ctx->n_vms = 1; in reserve_bo_and_vm()577 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), GFP_KERNEL); in reserve_bo_and_vm()621 ctx->n_vms = 0; in reserve_bo_and_cond_vms()634 ctx->n_vms++; in reserve_bo_and_cond_vms()637 if (ctx->n_vms != 0) { in reserve_bo_and_cond_vms()638 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), in reserve_bo_and_cond_vms()901 vm->process_info->n_vms++; in init_kfd_vm()1007 process_info->n_vms--; in amdgpu_amdkfd_gpuvm_destroy_cb()1012 if (!process_info->n_vms) { in amdgpu_amdkfd_gpuvm_destroy_cb()[all …]
112 unsigned int n_vms; member