Lines Matching refs:ecx

695  * %ecx is the number of the memory pool to allocate from (trashed on exit).
707 movl %ecx,%edi /* move context number to saved reg */
721 leal V_acontext(%ebx,%edi,4),%ecx
724 /* %eax = size, %ebx = vars addr, %ecx = ptr to allocation context to try */
729 movl %ecx,%esi /* save ptr in case no more contexts */
730 movl A_next(%ecx),%ecx /* next context block */
731 cmpl $0,%ecx
735 xchgl %edx,A_lock(%ecx) /* %edx == 0 if context available */
744 /* Allocation context found (%ecx), now allocate. */
745 movl A_plist(%ecx),%edx /* pointer to current block */
753 /* %eax = bytes to allocate, %ebx = GOT, %ecx = context, %edx = memory block */
770 movl $0,A_lock(%ecx) /* unlock context block */
783 /* %eax = bytes to allocate, %ebx = vars address, %ecx = context */
789 pushl %ecx
806 popl %ecx /* context block */
810 movl A_plist(%ecx),%esi /* previous memory block or 0 */
814 movl %edx,A_plist(%ecx) /* update current page list */
843 movl %eax,%ecx /* context pointer */
850 movl %edx,A_plist(%ecx) /* head of memory block list */
851 movl $1,A_lock(%ecx) /* set lock */
853 movl %ecx,%eax /* context pointer temp */
855 movl %eax,A_next(%ecx) /* add links in case of threading */
872 movl 16+Estack(%esp),%ecx /* which memory pool to allocate from */
983 movl $(C_prof),%ecx /* allocation pool */
987 movl Estack+4(%esp),%ecx /* caller's address */
988 movl %ecx,P_addr(%eax)
1037 movl Estack+4(%esp),%ecx /* caller's caller address */
1055 cmpl %ecx,G_frompc(%edx) /* skip if not equal */
1072 /* %eax = gprof func header, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1081 cmpl %ecx,G_frompc(%esi) /* skip if not equal */
1102 /* %eax = gprof func header, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1111 cmpl %ecx,G_frompc(%edi) /* skip if not equal */
1135 /* %ecx is the caller's caller's address */
1153 movl %ecx,%edi /* and caller's caller address */
1155 movl $(C_gfunc),%ecx /* gprof function header memory pool */
1158 movl V_hash_ptr(%ebx),%ecx /* copy hash_ptr to func header */
1160 movl %ecx,H_hash_ptr(%eax)
1165 movl Estack+12(%esp),%ecx /* caller's address */
1167 movl %ecx,H_prof+P_addr(%eax) /* set up prof information */
1169 movl %edi,%ecx /* caller's caller address */
1183 /* %ecx = caller's caller */
1201 movl %ecx,%eax /* caller's caller address */
1209 /* %eax = old arc, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1226 cmpl G_frompc(%eax),%ecx /* loop back if not one we want */
1235 popl %ecx /* previous 1st arc searched */
1238 movl %ecx,H_cache_ptr+4(%esi) /* new 2nd arc to be searched */
1252 /* %eax = old arc, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1268 movl %ecx,%edi /* save caller's caller */
1270 movl $(C_gprof),%ecx /* gprof memory pool */
1275 movl Estack+20(%esp),%ecx /* caller's address */
1277 movl %ecx,G_selfpc(%eax)
1283 movl (%edx),%ecx /* first hash bucket */
1284 movl %ecx,G_next(%eax) /* update link */
1285 movl %eax,%ecx /* copy for xchgl */
1286 xchgl %ecx,(%edx) /* add to hash linked list */
1287 movl %ecx,G_next(%eax) /* update in case list changed */
1289 popl %ecx /* previous 1st arc searched */
1292 movl %ecx,H_cache_ptr+4(%esi) /* new 2nd arc to be searched */
1368 movl V_mcount_ptr_ptr(%ebx),%ecx /* address of mcount_ptr */
1374 jmp *(%ecx) /* go to profile the function */
1398 movl $10,%ecx /* divisor */
1420 divl %ecx
1424 divl %ecx
1442 divl %ecx /* calculate next digit */