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

Lines Matching refs:block

228  *			This routine will add a savearea block to the free list.
229 * We also queue the block to the free pool list. This is a
230 * circular double linked list. Because this block has no free entries,
254 b saveQueue64a ; Fill the whole block...
283 b saveQueue32a ; Fill the whole block...
1053 ; r31 = free pool block list
1077 bne+ cr7,sttoss ; Not an empty block
1080 ; We have an empty block. Remove it from the pool list.
1102 ; A pool block that had no free entries now has one. Stick it on the pool list.
1157 ; r31 = free pool block list
1168 rldicr r2,r6,0,51 ; r2 <- phys addr of savearea block (with control area)
1184 bne++ cr7,sttoss64 ; Not an empty block
1186 ; We have an empty block. Remove it from the pool list.
1207 ; A pool block that had no free entries now has one. Stick it on the pool list.
1224 ; r31 = free pool block list
1262 * pool. If we empty a pool block, we remove it from the pool list.
1311 ; Loop over next block in free pool. r6 is the ptr to the last block we looked at.
1317 lwz r5,SACalloc(r6) ; Pick up the allocation for this pool block
1327 ; Loop over free savearea in current block.
1328 ; r5 = bitmap of free saveareas in block at r6 (ie, SACalloc)
1329 ; r6 = ptr to current free pool block
1357 bne+ srcnext ; The pool block is not empty yet, try for another...
1400 ; Loop over next block in free pool. r6 is the ptr to the last block we looked at.
1407 lwz r5,SACalloc(r6) ; Pick up the allocation for this pool block
1410 ; Loop over free savearea in current block.
1411 ; r5 = bitmap of free saveareas in block at r6 (ie, SACalloc)
1412 ; r6 = ptr to current free pool block
1443 bne++ srcnext64 ; The pool block is not empty yet, try for another...
1540 rlwinm r5,r4,0,0,19 ; Round back to the start of the physical savearea block
1542 rldimi r5,r8,32,0 ; r5 <- 64-bit phys address of block