• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching refs:r8

79 			ld		r8,next_savearea(r10)		; Start with the current savearea
80 std r8,SVsavefreesnapshot(0) ; Make it the restore list anchor
85 std r7,savemisc1(r8) ; Link this one
87 mr r8,r7
98 std r7,savemisc1(r8) ; Link this one
100 mr r8,r7
104 std r5,savemisc1(r8) ; End the list
113 lwz r8,next_savearea+4(r10) ; Start with the current savearea
114 stw r8,SVsavefreesnapshot+4(0) ; Make it the restore list anchor
119 stw r7,savemisc1+4(r8) ; Link this one
121 mr r8,r7
132 stw r7,savemisc1+4(r8) ; Link this one
134 mr r8,r7
138 stw r5,savemisc1+4(r8) ; End the list
171 ld r8,SVsavefreesnapshot(0) ; Get the restore list anchor
172 std r8,SVfree(0) ; Make it the free list anchor
177 stb r5,SAVflags+2(r8) ; Mark savearea free
178 ld r7,savemisc1(r8) ; Get the next
179 std r7,SAVprev(r8) ; Set the next in free list
180 mr. r8,r7
201 lwz r8,SVsavefreesnapshot+4(0) ; Get the restore list anchor
202 stw r8,SVfree+4(0) ; Make it the free list anchor
207 stb r5,SAVflags+2(r8) ; Mark savearea free
208 lwz r7,savemisc1+4(r8) ; Get the next
209 stw r7,SAVprev+4(r8) ; Set the next in free list
210 mr. r8,r7
238 mr r8,r3 ; move pagenum out of the way
242 sldi r2,r8,12 ; r2 <-- phys address of page
243 li r8,sac_cnt ; Get the number of saveareas per page
248 addic. r8,r8,-1 ; Keep track of how many we did
271 slwi r2,r8,12 ; r2 <-- phys address of page
272 li r8,sac_cnt ; Get the number of saveareas per page
277 addic. r8,r8,-1 ; Keep track of how many we did
460 * r2-r8.
466 lwz r8,lclfreecnt(r10) ; Get the count
468 cmplwi r8,LocalSaveMin ; Are we too low?
477 subi r8,r8,1 ; Back down count
486 stw r8,lclfreecnt(r10) ; Set new count
493 ; r8 = lclfreecnt
498 subfic r5,r8,LocalSaveTarget ; Get the number of saveareas we need to grab to get to target
502 ld r8,SVfree(0) ; Get the head of the save area list
512 mr r6,r8 ; Remember the first in the list
516 ld r8,SAVprev(r8) ; Get the next
520 ld r3,SAVprev(r8) ; Get the next one
532 std r4,SAVprev(r8) ; Point to the old head
548 lwz r8,lclfreecnt(r10) ; Get the count
549 mr. r8,r8 ; Are there any reserve to get?
553 lwz r8,lclfreecnt(r10) ; Get the count
564 lwz r8,SVfreecnt-saveanchor(r9) ; Get the new number of free elements
568 stw r8,SVfreecnt(0) ; Set the new number of free elements
569 add r6,r6,r8 ; Add in the new ones
603 * r2-r8.
607 lwz r8,lclfreecnt(r10) ; Get the count
609 cmplwi r8,LocalSaveMin ; Are we too low?
618 subi r8,r8,1 ; Back down count
626 stw r8,lclfreecnt(r10) ; Set new count
633 ; r8 = lclfreecnt
638 subfic r5,r8,LocalSaveTarget ; Get the number of saveareas we need to grab to get to target
642 lwz r8,SVfree+4(0) ; Get the head of the save area list
652 mr r6,r8 ; Remember the first in the list
656 lwz r8,SAVprev+4(r8) ; Get the next
660 lwz r3,SAVprev+4(r8) ; Get the next one
672 stw r4,SAVprev+4(r8) ; Point to the old head
688 lwz r8,lclfreecnt(r10) ; Get the count
689 mr. r8,r8 ; Are there any reserve to get?
693 lwz r8,lclfreecnt(r10) ; Get the count
704 lwz r8,SVfreecnt-saveanchor(r9) ; Get the new number of free elements
708 stw r8,SVfreecnt(0) ; Set the new number of free elements
709 add r6,r6,r8 ; Add in the new ones (why?)
744 mr r8,r3 ; save virtual address
762 xor r3,r8,r6 ; get r3 <- 64-bit physical address of this savearea
770 xor r3,r8,r6 ; get r3 <- 32-bit physical address of this savearea
812 * r0,r2-r8.
859 ld r8,SVfree(0) ; Get the old head of the free list
864 std r8,SAVprev(r3) ; Chain the old head to the tail of the trimmed guys
883 * r0,r2-r8.
930 lwz r8,SVfree+4(0) ; Get the old head of the free list
935 stw r8,SAVprev+4(r3) ; Chain the old head to the tail of the trimmed guys
985 lwz r8,SVadjust(0) ; How many do we need to clear out?
987 neg. r8,r8 ; Get the actual we need to toss (adjust is neg if too many)
1013 * r8 = #pages to trim (>0)
1022 mr r5,r8 ; Save the number we are trimming
1032 sub r4,r4,r8 ; Calculate the new free count
1048 ; r8 = #pages to trim (>0)
1121 * r8 = #pages to trim (>0)
1130 mr r5,r8 ; Save the number we are trimming
1142 sub r4,r4,r8 ; Calculate the new free count
1152 ; r8 = #pages to trim (>0)
1273 lwz r8,SVadjust(0) ; How many do we need to clear get?
1275 mr. r8,r8 ; Do we need any?
1299 * r8 = #pages to recover
1331 ; r8 = #pages more we still need to recover
1335 ; cr1 = beq if (r8==0)
1344 subi r8,r8,1 ; Decrement the need count
1353 cmplwi cr1,r8,0 ; Do we actually need any more?
1388 * r8 = #pages to recover
1414 ; r8 = #pages more we still need to recover
1418 ; cr1 = beq if (r8==0)
1430 subi r8,r8,1 ; Decrement the need count
1439 cmplwi cr1,r8,0 ; Do we actually need any more?
1462 * r8, r3, r12
1466 savelock: lwz r8,SVlock(0) ; See if lock is held
1467 cmpwi r8,0
1471 savelock0: lwarx r8,0,r12 ; Grab the lock value
1472 cmpwi r8,0 ; taken?
1473 li r8,1 ; get nonzero to lock it with
1475 stwcx. r8,0,r12 ; Try to seize that there durn lock
1480 savelock1: li r8,lgKillResv ; Point to killing field
1481 stwcx. r8,0,r8 ; Kill reservation
1495 * r2, r5, r6, r8.
1501 subic. r8,r6,FreeListMin ; do we have at least the minimum?
1503 neg r8,r8 ; assuming we are short, get r8 <- shortfall
1512 and r8,r2,r5 ; r8 <- 0 if in range or distance to target if not
1516 stw r8,SVadjust(0) ; Set the adjustment value
1538 mr r8,r3 ; save upper half of phys address here
1542 rldimi r5,r8,32,0 ; r5 <- 64-bit phys address of block