Lines Matching refs:gpp
17 // func netpollready(gpp **g, pd *pollDesc, mode int32)
279 func netpollready(gpp *guintptr, pd *pollDesc, mode int32) {
288 rg.ptr().schedlink = *gpp
289 *gpp = rg
292 wg.ptr().schedlink = *gpp
293 *gpp = wg
307 func netpollblockcommit(gp *g, gpp unsafe.Pointer) bool {
308 return casuintptr((*uintptr)(gpp), pdWait, uintptr(unsafe.Pointer(gp)))
314 gpp := &pd.rg
316 gpp = &pd.wg
319 // set the gpp semaphore to WAIT
321 old := *gpp
323 *gpp = 0
329 if casuintptr(gpp, 0, pdWait) {
334 // need to recheck error states after setting gpp to WAIT
338 gopark(netpollblockcommit, unsafe.Pointer(gpp), "IO wait", traceEvGoBlockNet, 5)
341 old := xchguintptr(gpp, 0)
349 gpp := &pd.rg
351 gpp = &pd.wg
355 old := *gpp
368 if casuintptr(gpp, old, new) {