Lines Matching refs:edx

696  * %edx is trashed.
734 movl $-1,%edx
735 xchgl %edx,A_lock(%ecx) /* %edx == 0 if context available */
738 SDADDNEG(%edx,V_acontext_locked(%ebx)) /* increment counter if lock was held */
741 cmpl $0,%edx
745 movl A_plist(%ecx),%edx /* pointer to current block */
746 cmpl $0,%edx /* first allocation? */
749 cmpl %eax,M_nfree(%edx) /* see if we have enough space */
753 /* %eax = bytes to allocate, %ebx = GOT, %ecx = context, %edx = memory block */
765 movl M_ptr(%edx),%esi /* pointer return value */
766 subl %eax,M_nfree(%edx) /* decrement bytes remaining */
767 addl %eax,M_nalloc(%edx) /* increment bytes allocated */
768 incl M_num(%edx) /* increment # allocations */
769 addl %eax,M_ptr(%edx) /* advance pointer */
790 movl V_page_size(%ebx),%edx
792 decl %edx /* page_size - 1 */
793 addl %edx,%eax /* round up to whole number of pages */
794 notl %edx
795 andl %edx,%eax
807 movl %eax,%edx /* memory block pointer */
808 movl %esi,M_nfree(%edx) /* # free bytes */
811 movl %eax,M_first(%edx) /* first space available */
812 movl %eax,M_ptr(%edx) /* current address available */
813 movl %esi,M_next(%edx) /* next memory block allocated */
814 movl %edx,A_plist(%ecx) /* update current page list */
826 movl V_page_size(%ebx),%edx
828 decl %edx /* page_size - 1 */
829 addl %edx,%eax /* round up to whole number of pages */
830 notl %edx
831 andl %edx,%eax
844 leal A_size(%eax),%edx /* memory block pointer */
845 movl %esi,M_nfree(%edx) /* # free bytes */
847 movl %eax,M_first(%edx) /* first space available */
848 movl %eax,M_ptr(%edx) /* current address available */
849 movl $0,M_next(%edx) /* next memory block allocated */
850 movl %edx,A_plist(%ecx) /* head of memory block list */
898 * edx --> function unqiue LCL
921 * is called. The function label is passed in %edx, and the top two words on
937 * edx --> function unique label
957 movl (%edx),%eax /* initialized? */
981 pushl %edx
985 popl %edx
990 xchgl %eax,(%edx) /* update function header */
1003 * %edx, and the top two words on the stack are the caller's address, and the
1019 * edx --> function unqiue label
1046 movl (%edx),%eax /* Gprof header allocated? */
1054 movl H_cache_ptr(%eax),%edx /* last arc searched */
1055 cmpl %ecx,G_frompc(%edx) /* skip if not equal */
1060 DINC2(G_count(%edx),G_overflow(%edx)) /* bump arc count */
1073 /* %edx = first arc searched */
1090 movl %edx,H_cache_ptr+4(%eax)
1103 /* %edx = first arc searched, %esi = second arc searched */
1120 movl %edx,H_cache_ptr+4(%eax)
1136 /* %edx is the unique function pointer */
1152 movl %edx,%esi /* save unique function ptr */
1159 movl V_dummy_ptr(%ebx),%edx /* dummy cache entry */
1161 movl %edx,H_cache_ptr+0(%eax) /* store dummy cache ptrs */
1162 movl %edx,H_cache_ptr+4(%eax)
1163 movl %edx,H_cache_ptr+8(%eax)
1170 movl %edx,%esi /* 2nd cached arc */
1184 /* %edx, %esi = cached arcs that were searched */
1192 pushl %edx /* save 1st arc searched */
1203 movl H_hash_ptr(%esi),%edx /* hash pointer */
1206 leal 0(%edx,%eax,4),%eax /* pointer to hash bucket */
1207 movl %eax,%edx /* save hash bucket address */
1210 /* %edx = hash bucket address, %esi = gfunc ptr, %edi = caller's addr */
1253 /* %edx = hash bucket address, %esi = gfunc ptr, %edi = caller's addr */
1267 pushl %edx
1272 popl %edx
1283 movl (%edx),%ecx /* first hash bucket */
1286 xchgl %ecx,(%edx) /* add to hash linked list */
1336 * sized word in %edx. Previous versions did not, but this code
1419 xorl %edx,%edx
1428 addl $48,%edx /* convert from 0..9 -> '0'..'9' */
1441 xorl %edx,%edx /* 0 */
1444 addl $48,%edx /* convert from 0..9 -> '0'..'9' */