Lines Matching refs:ecx
77 * %ecx = stack ptr
78 * Destroys %eax, %ecx, and %edx.
82 movl %esp,%ecx // save stack ptr here
101 pushl %ecx
103 popl %ecx
124 orl $-1, %ecx
126 cmpxchgl %ecx, 8(%edi) // try to take the spinlock
132 cmpxchgl %ecx, 8(%edi) // try 2nd time to take the spinlock
138 cmpxchgl %ecx, 8(%edi) // try 3rd time to take the spinlock
144 movl 4(%edi),%ecx // get ptr to last element in q
145 testl %ecx,%ecx // q null?
150 movl %esi,(%edx,%ecx) // point to new element from last
169 orl $-1, %ecx
171 cmpxchgl %ecx, 8(%edi) // try to take the spinlock
177 cmpxchgl %ecx, 8(%edi) // try 2nd time to take the spinlock
183 cmpxchgl %ecx, 8(%edi) // try 3rd time to take the spinlock
269 orl $-1, %ecx
271 cmpxchgl %ecx,16(%rdi) // try to take the spinlock
277 cmpxchgl %ecx,16(%rdi) // try 2nd time to take the spinlock
283 cmpxchgl %ecx,16(%rdi) // try 3rd time to take the spinlock
315 orl $-1, %ecx
317 cmpxchgl %ecx,16(%rdi) // try to take the spinlock
323 cmpxchgl %ecx,16(%rdi) // try 2nd time to take the spinlock
329 cmpxchgl %ecx,16(%rdi) // try 3rd time to take the spinlock