Lines Matching defs:g

269 func (gp *guintptr) set(g *g) { *gp = guintptr(unsafe.Pointer(g)) }  argument
286 func setGNoWB(gp **g, new *g) {
339 g guintptr member
361 g *g member
422 type g struct { struct
430 stack stack // offset known to runtime/cgo
431 stackguard0 uintptr // offset known to liblink
432 stackguard1 uintptr // offset known to liblink
434 _panic *_panic // innermost panic - offset known to liblink
435 _defer *_defer // innermost defer
436 m *m // current m; offset known to arm liblink
437 sched gobuf
438 syscallsp uintptr // if status==Gsyscall, syscallsp = sched.sp to use during gc
439 syscallpc uintptr // if status==Gsyscall, syscallpc = sched.pc to use during gc
440 syscallbp uintptr // if status==Gsyscall, syscallbp = sched.bp to use in fpTraceback
441 stktopsp uintptr // expected sp at top of stack, to check in traceback
455 param unsafe.Pointer
456 atomicstatus atomic.Uint32
457 stackLock uint32 // sigprof/scang lock; TODO: fold in to atomicstatus
458 goid uint64
459 schedlink guintptr
460 waitsince int64 // approx time when the g become blocked
461 waitreason waitReason // if status==Gwaiting argument
463 preempt bool // preemption signal, duplicates stackguard0 = stackpreempt
464 preemptStop bool // transition to _Gpreempted on preemption; otherwise, just deschedule
465 preemptShrink bool // shrink stack at synchronous safe point
470 asyncSafePoint bool
472 paniconfault bool // panic (instead of crash) on unexpected fault address
473 gcscandone bool // g has scanned stack; protected by _Gscan bit in status
474 throwsplit bool // must not split stack
479 activeStackChans bool
483 parkingOnChan atomic.Bool
486 inMarkAssist bool
487 coroexit bool // argument to coroswitch_m
489 raceignore int8 // ignore race detection events
490 nocgocallback bool // whether disable callback from C
491 tracking bool // whether we're tracking this G for sched latency statistics
492 trackingSeq uint8 // used to decide whether to track this G
493 trackingStamp int64 // timestamp of when the G last started being tracked
494 …ableTime int64 // the amount of time spent runnable, cleared when running, only used when tracking argument
495 lockedm muintptr
496 sig uint32
497 writebuf []byte
498 sigcode0 uintptr
499 sigcode1 uintptr
500 sigpc uintptr
501 parentGoid uint64 // goid of goroutine that created this goroutine
502 gopc uintptr // pc of go statement that created this goroutine
503 …cestor information goroutine(s) that created this goroutine (only used if debug.tracebackancestors)
504 startpc uintptr // pc of goroutine function
505 racectx uintptr
506 …*sudog // sudog structures this g is waiting on (that have a valid elem ptr); in lock order
507 cgoCtxt []uintptr // cgo traceback context
508 labels unsafe.Pointer // profiler labels
509 timer *timer // cached timer for time.Sleep
510 sleepWhen int64 // when to sleep until
511 selectDone atomic.Uint32 // are we participating in a select and did someone win the race?
515 goroutineProfiled goroutineProfileStateHolder
517 coroarg *coro // argument during coroutine transfers
520 trace gTraceState
531 gcAssistBytes int64
980 g *g member