Lines Matching refs:PetscTrMalloc
188 PetscErrorCode (*PetscTrMalloc)(size_t, PetscBool, int, const char[], const char[], void **) = Pets… variable
216 …PetscCheck(!petscsetmallocvisited || !(imalloc != PetscTrMalloc || ifree != PetscTrFree), PETSC_CO… in PetscMallocSet()
217 PetscTrMalloc = imalloc; in PetscMallocSet()
243 PetscTrMalloc = PetscMallocAlign; in PetscMallocClear()
288 if (PetscTrMalloc == PetscMallocAlign) { in PetscMallocSetDRAM()
295 PetscTrMallocOld = PetscTrMalloc; in PetscMallocSetDRAM()
298 PetscTrMalloc = PetscMallocAlign; in PetscMallocSetDRAM()
317 if (PetscTrMalloc == PetscMallocAlign) { in PetscMallocResetDRAM()
323 PetscTrMalloc = PetscTrMallocOld; in PetscMallocResetDRAM()
406 PetscCall((*PetscTrMalloc)(sumbytes, clear, lineno, function, filename, (void **)&p)); in PetscMallocA()
416 …for (i = 0; i < n; i++) PetscCall((*PetscTrMalloc)(bytes[i], clear, lineno, function, filename, pt… in PetscMallocA()