Home | History | Annotate | Download | only in runtime

Lines Matching refs:bitp

168 	bitp  *uint8
462 prefetchnta(uintptr(unsafe.Pointer((h.bitp))))
473 return heapBits{h.bitp, h.shift + heapBitsShift}
475 return heapBits{subtract1(h.bitp), 0}
485 return heapBits{subtractb(h.bitp, n/4), uint32(n%4) * heapBitsShift}
494 return uint32(*h.bitp) >> (h.shift & 31)
519 return (*h.bitp>>h.shift)&bitScan != 0
528 return (*h.bitp>>h.shift)&bitPointer != 0
533 // same heap bitmap byte, *h.bitp.
534 return (*h.bitp>>(heapBitsShift+h.shift))&bitScan != 0
543 atomic.Or8(h.bitp, bitPointer<<h.shift)
546 atomic.Or8(h.bitp, bitScan<<(heapBitsShift+h.shift))
759 end := h.bitp
760 bitp := subtractb(end, nbyte-1)
762 *bitp = bitPointerAll | bitScanAll
763 if bitp == end {
766 bitp = add1(bitp)
770 memclrNoHeapPointers(unsafe.Pointer(subtractb(h.bitp, nbyte-1)), nbyte)
782 bitp := h.bitp
784 *bitp &^= bitPointerAll
785 bitp = subtract1(bitp)
790 *h.bitp &^= bitScan << (heapBitsShift + h.shift)
806 bitp := h.bitp
808 *bitp |= bitPointerAll
809 bitp = subtract1(bitp)
942 *h.bitp &^= (bitPointer | bitScan | ((bitPointer | bitScan) << heapBitsShift)) << h.shift
943 *h.bitp |= (bitPointer | bitScan) << h.shift
946 *h.bitp |= (bitPointer | bitScan | bitPointer<<heapBitsShift) << h.shift
964 *h.bitp &^= (bitPointer | bitScan | ((bitPointer | bitScan) << heapBitsShift)) << h.shift
965 *h.bitp |= uint8(hb << h.shift)
992 hbitp = h.bitp
1306 if typ.kind&kindGCProg == 0 && (hbitp != end.bitp || (w == nw+2) != (end.shift == 2)) {
1311 print("initial bits h0.bitp=", h0.bitp, " h0.shift=", h0.shift, "\n")
1312 print("ended at hbitp=", hbitp, " but next starts at bitp=", end.bitp, " shift=", end.shift, "\n")
1326 have = (*h.bitp >> h.shift) & (bitPointer | bitScan)
1348 print("initial bits h0.bitp=", h0.bitp, " h0.shift=", h0.shift, "\n")
1349 print("current bits h.bitp=", h.bitp, " h.shift=", h.shift, " *h.bitp=", hex(*h.bitp), "\n")
1370 *h.bitp &^= (bitPointer | bitScan) << h.shift
1395 totalBits = runGCProg(prog, nil, h.bitp, 2)
1450 runGCProg(prog, &trailer[0], h.bitp, 2)
1459 endProg := unsafe.Pointer(subtractb(h.bitp, (totalBits+3)/4))
1460 endAlloc := unsafe.Pointer(subtractb(h.bitp, allocSize/heapBitmapScale))