Searched refs:wlink (Results 1 – 1 of 1) sorted by relevance
824 PetscSFWinLink wlink, wnext; in PetscSFReset_Window() local844 for (wlink = w->wins; wlink; wlink = wnext) { in PetscSFReset_Window()845 wnext = wlink->next; in PetscSFReset_Window()846 …PetscCheck(!wlink->inuse, wcomm, PETSC_ERR_ARG_WRONGSTATE, "Window still in use with address %p", … in PetscSFReset_Window()847 PetscCall(PetscFree(wlink->dyn_target_addr)); in PetscSFReset_Window()848 PetscCall(PetscFree(wlink->reqs)); in PetscSFReset_Window()849 PetscCallMPI(MPI_Win_free(&wlink->win)); in PetscSFReset_Window()850 PetscCall(PetscFree(wlink)); in PetscSFReset_Window()