Lines Matching refs:prev
31 struct _trSPACE *next, *prev; member
109 if (head && head->prev) { in PetscMallocValidate()
112 …rPrintf)("Root memory header %p has invalid back pointer %p\n", (void *)head, (void *)head->prev)); in PetscMallocValidate()
142 if (head->prev && head->prev != lasthead) { in PetscMallocValidate()
145 …PetscCall((*PetscErrorPrintf)("Backpointer %p is invalid, should be %p\n", (void *)head->prev, (vo… in PetscMallocValidate()
180 if (TRhead) TRhead->prev = head; in PetscTrMallocDefault()
183 head->prev = NULL; in PetscTrMallocDefault()
308 if (head->prev) head->prev->next = head->next; in PetscTrFreeDefault()
311 if (head->next) head->next->prev = head->prev; in PetscTrFreeDefault()
378 if (head->prev) head->prev->next = head->next; in PetscTrReallocDefault()
380 if (head->next) head->next->prev = head->prev; in PetscTrReallocDefault()
388 if (TRhead) TRhead->prev = head; in PetscTrReallocDefault()
391 head->prev = NULL; in PetscTrReallocDefault()