Lines Matching refs:ebx

664  * Loadup %ebx with the address of _profile_vars.  On a multiprocessor, this
682 #define Vload CPU_NUMBER(%ebx); movl EXT(_profile_vars_cpus)(,%ebx,4),%ebx
685 #define Vload Gload; Egaddr(%ebx,_profile_vars)
694 * %ebx contains the address of the appropriate profile_vars structure.
711 xchgb %cl,V_recursive_alloc(%ebx)
721 leal V_acontext(%ebx,%edi,4),%ecx
724 /* %eax = size, %ebx = vars addr, %ecx = ptr to allocation context to try */
738 SDADDNEG(%edx,V_acontext_locked(%ebx)) /* increment counter if lock was held */
753 /* %eax = bytes to allocate, %ebx = GOT, %ecx = context, %edx = memory block */
760 SLOCK incl V_num_alloc(%ebx,%edi,4) /* update global counters */
761 SLOCK addl %eax,V_bytes_alloc(%ebx,%edi,4)
762 SLOCK subl %eax,V_wasted(%ebx,%edi,4)
774 movb $0,V_recursive_alloc(%ebx)
783 /* %eax = bytes to allocate, %ebx = vars address, %ecx = context */
790 movl V_page_size(%ebx),%edx
798 call *V_alloc_pages(%ebx) /* allocate some memory */
802 SLOCK addl %esi,V_wasted(%ebx,%edi,4) /* udpate global counters */
803 SLOCK addl $(M_size),V_overhead(%ebx,%edi,4)
819 /* %eax = bytes to allocate, %ebx = GOT, %esi = ptr to store context ptr */
826 movl V_page_size(%ebx),%edx
834 call *V_alloc_pages(%ebx) /* allocate some memory */
838 SLOCK incl V_num_context(%ebx,%edi,4) /* bump # context blocks */
839 SLOCK addl %esi,V_wasted(%ebx,%edi,4) /* update global counters */
840 SLOCK addl $(A_size+M_size),V_overhead(%ebx,%edi,4)
868 pushl %ebx
870 movl 8+Estack(%esp),%ebx /* provile_vars address */
875 popl %ebx
905 pushl %ebx
906 MP_DISABLE_PREEMPTION(%ebx)
908 SDINC(V_dummy(%ebx))
909 MP_ENABLE_PREEMPTION(%ebx)
910 popl %ebx
951 pushl %ebx
952 MP_DISABLE_PREEMPTION(%ebx)
954 SDINC(V_cnt(%ebx))
964 MP_ENABLE_PREEMPTION(%ebx)
965 popl %ebx
975 pushl %ebx
976 MP_DISABLE_PREEMPTION(%ebx)
980 SLOCK incl V_prof_records(%ebx)
991 MP_ENABLE_PREEMPTION(%ebx)
992 popl %ebx
1040 pushl %ebx
1041 MP_DISABLE_PREEMPTION(%ebx)
1043 SDINC(V_cnt(%ebx)) /* bump profile call counter (double int) */
1063 SDINC(V_cache_hits1(%ebx)) /* update counter */
1064 MP_ENABLE_PREEMPTION(%ebx)
1065 popl %ebx
1072 /* %eax = gprof func header, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1074 /* %ebx if DO_STATS pushed on stack */
1093 SDINC(V_cache_hits2(%ebx)) /* update counter */
1094 MP_ENABLE_PREEMPTION(%ebx)
1095 popl %ebx
1102 /* %eax = gprof func header, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1104 /* %esi, %ebx if DO_STATS pushed on stack */
1125 SDINC(V_cache_hits3(%ebx)) /* update counter */
1126 MP_ENABLE_PREEMPTION(%ebx)
1127 popl %ebx
1134 /* %ebx is the variables address if DO_STATS */
1137 /* %ebx if DO_STATS pushed on stack */
1146 pushl %ebx /* Address of vars needed for alloc */
1147 MP_DISABLE_PREEMPTION(%ebx)
1151 SLOCK incl V_prof_records(%ebx)
1158 movl V_hash_ptr(%ebx),%ecx /* copy hash_ptr to func header */
1159 movl V_dummy_ptr(%ebx),%edx /* dummy cache entry */
1173 popl %ebx
1182 /* %eax = gprof func header, %ebx = vars address if DO_STATS */
1185 /* %edi, %esi, %ebx if DO_STATS pushed on stack */
1196 SDINC(V_hash_num(%ebx))
1209 /* %eax = old arc, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1211 /* 2 old arcs, %edi, %esi, %ebx if DO_STATS pushed on stack */
1220 SDINC(V_hash_search(%ebx))
1230 /* %eax = arc, %ebx = vars address if DO_STATS, %esi = func header */
1231 /* 2 old arcs, %edi, %esi, %ebx if DO_STATS pushed on stack */
1244 MP_ENABLE_PREEMPTION(%ebx)
1245 popl %ebx
1252 /* %eax = old arc, %ebx = vars address if DO_STATS, %ecx = caller's caller */
1254 /* 2 old arcs, %edi, %esi, %ebx if DO_STATS pushed on stack */
1261 pushl %ebx /* load address of vars if we haven't */
1262 MP_DISABLE_PREEMPTION(%ebx)
1266 SLOCK incl V_gprof_records(%ebx)
1280 popl %ebx /* release %ebx if no stats */
1299 MP_ENABLE_PREEMPTION(%ebx)
1300 popl %ebx
1356 pushl %ebx
1357 MP_DISABLE_PREEMPTION(%ebx)
1361 SDINC(V_old_mcount(%ebx))
1368 movl V_mcount_ptr_ptr(%ebx),%ecx /* address of mcount_ptr */
1369 MP_ENABLE_PREEMPTION(%ebx)
1370 popl %ebx
1393 pushl %ebx
1396 movl Estack+16(%esp),%ebx /* pointer or null */
1399 cmpl $0,%ebx /* skip if pointer ok */
1402 MP_DISABLE_PREEMPTION(%ebx)
1404 leal V_num_buffer(%ebx),%ebx /* temp buffer to use */
1408 addl $(N_digit-1),%ebx /* point string at end */
1409 movb $0,0(%ebx) /* null terminate string */
1427 decl %ebx /* decrement string pointer */
1429 movb %dl,0(%ebx) /* store digit in string */
1443 decl %ebx /* decrement string pointer */
1445 movb %dl,0(%ebx) /* store digit in string */
1449 movl %ebx,%eax /* return value */
1452 MP_ENABLE_PREEMPTION(%ebx)
1453 popl %ebx