Home | History | Annotate | Download | only in runtime

Lines Matching refs:gpp

20 // func netpollready(gpp **g, pd *pollDesc, mode int32)
286 func netpollready(gpp *guintptr, pd *pollDesc, mode int32) {
295 rg.ptr().schedlink = *gpp
296 *gpp = rg
299 wg.ptr().schedlink = *gpp
300 *gpp = wg
314 func netpollblockcommit(gp *g, gpp unsafe.Pointer) bool {
315 return atomic.Casuintptr((*uintptr)(gpp), pdWait, uintptr(unsafe.Pointer(gp)))
321 gpp := &pd.rg
323 gpp = &pd.wg
326 // set the gpp semaphore to WAIT
328 old := *gpp
330 *gpp = 0
336 if atomic.Casuintptr(gpp, 0, pdWait) {
341 // need to recheck error states after setting gpp to WAIT
345 gopark(netpollblockcommit, unsafe.Pointer(gpp), "IO wait", traceEvGoBlockNet, 5)
348 old := atomic.Xchguintptr(gpp, 0)
356 gpp := &pd.rg
358 gpp = &pd.wg
362 old := *gpp
375 if atomic.Casuintptr(gpp, old, new) {