Lines Matching refs:n_rescue
54 PetscInt n_rescue; in spbas_cholesky_garbage_collect() local
107 n_rescue = 0; in spbas_cholesky_garbage_collect()
119 if (*n_alloc_used > i_here || i_last > n_alloc) n_rescue += result->row_nnz[i]; in spbas_cholesky_garbage_collect()
127 PetscCall(PetscMalloc1(n_rescue, &icol_rescue)); in spbas_cholesky_garbage_collect()
128 PetscCall(PetscMalloc1(n_rescue, &val_rescue)); in spbas_cholesky_garbage_collect()
131 n_rescue = 0; in spbas_cholesky_garbage_collect()
143 PetscCall(PetscArraycpy(&icol_rescue[n_rescue], result->icols[i], result->row_nnz[i])); in spbas_cholesky_garbage_collect()
144 PetscCall(PetscArraycpy(&val_rescue[n_rescue], result->values[i], result->row_nnz[i])); in spbas_cholesky_garbage_collect()
145 n_rescue += result->row_nnz[i]; in spbas_cholesky_garbage_collect()
189 n_rescue = 0; in spbas_cholesky_garbage_collect()
206 PetscCall(PetscArraycpy(result->icols[i], &icol_rescue[n_rescue], result->row_nnz[i])); in spbas_cholesky_garbage_collect()
207 PetscCall(PetscArraycpy(result->values[i], &val_rescue[n_rescue], result->row_nnz[i])); in spbas_cholesky_garbage_collect()
209 n_rescue += result->row_nnz[i]; in spbas_cholesky_garbage_collect()