Lines Matching refs:fault_nr
66 int fault_nr; member
454 if (!buffer->fault[buffer->fault_nr]) { in nouveau_svm_fault_cache()
460 buffer->fault[buffer->fault_nr] = fault; in nouveau_svm_fault_cache()
463 fault = buffer->fault[buffer->fault_nr++]; in nouveau_svm_fault_cache()
550 buffer->fault_nr = 0; in nouveau_svm_fault()
559 SVM_DBG(svm, "%d fault(s) pending", buffer->fault_nr); in nouveau_svm_fault()
565 sort(buffer->fault, buffer->fault_nr, sizeof(*buffer->fault), in nouveau_svm_fault()
570 for (fi = 0, svmm = NULL; fi < buffer->fault_nr; fi++) { in nouveau_svm_fault()
589 for (fi = 0; fn = fi + 1, fi < buffer->fault_nr; fi = fn) { in nouveau_svm_fault()
658 while (++fn < buffer->fault_nr && in nouveau_svm_fault()
666 if (fn >= buffer->fault_nr || in nouveau_svm_fault()