Searched refs:n_vms (Results 1 – 2 of 2) sorted by relevance
603 unsigned int n_vms; /* Number of VMs reserved */ member633 ctx->n_vms = 1; in reserve_bo_and_vm()639 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), GFP_KERNEL); in reserve_bo_and_vm()683 ctx->n_vms = 0; in reserve_bo_and_cond_vms()696 ctx->n_vms++; in reserve_bo_and_cond_vms()699 if (ctx->n_vms != 0) { in reserve_bo_and_cond_vms()700 ctx->vm_pd = kcalloc(ctx->n_vms, sizeof(*ctx->vm_pd), in reserve_bo_and_cond_vms()961 vm->process_info->n_vms++; in init_kfd_vm()1071 process_info->n_vms--; in amdgpu_amdkfd_gpuvm_destroy_cb()1078 if (!process_info->n_vms) { in amdgpu_amdkfd_gpuvm_destroy_cb()[all …]
110 unsigned int n_vms; member