HomeSort by: relevance | last modified time | path
    Searched refs:RW_WRITE_LOCKED (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/kern/
kern_rwlock.c 257 if ((owner & (RW_WRITE_LOCKED|RW_HAS_WAITERS)) != RW_WRITE_LOCKED) {
319 need_wait = RW_WRITE_LOCKED | RW_WRITE_WANTED;
323 incr = curthread | RW_WRITE_LOCKED;
325 need_wait = RW_WRITE_LOCKED | RW_THREAD;
455 if (__predict_false((owner & RW_WRITE_LOCKED) != 0)) {
458 decr = curthread | RW_WRITE_LOCKED;
513 newown |= RW_WRITE_LOCKED | RW_HAS_WAITERS;
562 need_wait = RW_WRITE_LOCKED | RW_WRITE_WANTED;
565 incr = curthread | RW_WRITE_LOCKED;
    [all...]
  /src/lib/libpthread/
pthread_rwlock.c 144 if ((owner & ~RW_THREAD) != RW_WRITE_LOCKED)
173 if ((owner & (RW_WRITE_LOCKED | RW_WRITE_WANTED)) == 0) {
263 if ((owner & (RW_WRITE_LOCKED | RW_WRITE_WANTED)) != 0)
297 (uintptr_t)self | RW_WRITE_LOCKED);
385 next = rw_cas(ptr, owner, (uintptr_t)self | RW_WRITE_LOCKED);
466 if ((owner & RW_WRITE_LOCKED) != 0) {
468 decr = (uintptr_t)self | RW_WRITE_LOCKED;
516 new = (uintptr_t)thread | RW_WRITE_LOCKED;
616 if ((owner & RW_WRITE_LOCKED) != 0)
626 return (owner & RW_THREAD) != 0 && (owner & RW_WRITE_LOCKED) == 0
    [all...]
pthread_int.h 326 #define RW_WRITE_LOCKED 0x04 /* lock is currently write locked */
  /src/sys/arch/powerpc/powerpc/
lock_stubs.S 128 ori %r7,%r13,RW_WRITE_LOCKED
154 ori %r7,%r13,RW_WRITE_LOCKED
176 andi. %r0,%r9,RW_WRITE_LOCKED
186 ori %r9,%r13,RW_WRITE_LOCKED
  /src/sys/ddb/
db_syncobj.c 66 if (owner & RW_WRITE_LOCKED)
  /src/sys/arch/amd64/amd64/
lock_stubs.S 188 testb $(RW_WRITE_LOCKED|RW_WRITE_WANTED), %al
203 orq $RW_WRITE_LOCKED, %rcx
219 testb $RW_WRITE_LOCKED, %al
240 2: leaq -RW_WRITE_LOCKED(%rax), %rdx
265 testb $(RW_WRITE_LOCKED|RW_WRITE_WANTED), %al
281 orq $RW_WRITE_LOCKED, %rcx
  /src/sys/arch/alpha/alpha/
lock_stubs.s 230 and t0, (RW_WRITE_LOCKED|RW_WRITE_WANTED), t1
243 or v0, RW_WRITE_LOCKED, t2
267 and t0, (RW_WRITE_LOCKED|RW_WRITE_WANTED), t1
280 or v0, RW_WRITE_LOCKED, v0
311 and a1, RW_WRITE_LOCKED, t1
  /src/sys/arch/i386/i386/
lock_stubs.S 115 testb $(RW_WRITE_LOCKED|RW_WRITE_WANTED), %al
130 orl $RW_WRITE_LOCKED, %ecx
147 testb $RW_WRITE_LOCKED, %al
168 2: leal -RW_WRITE_LOCKED(%eax), %ecx
197 testb $(RW_WRITE_LOCKED|RW_WRITE_WANTED), %al
214 orl $RW_WRITE_LOCKED, %ecx
  /src/sys/arch/vax/vax/
lock_stubs.S 165 bitl $(RW_WRITE_LOCKED|RW_WRITE_WANTED), %r2
183 bisl2 $RW_WRITE_LOCKED, %r3 /* show that it's a write */
195 bitl $RW_WRITE_LOCKED, %r2 /* is it write locked? */
214 bisl2 $RW_WRITE_LOCKED, %r2 /* show that it's a write */
230 bitl $(RW_WRITE_LOCKED|RW_WRITE_WANTED), %r2
251 bisl2 $RW_WRITE_LOCKED, %r3 /* show that it's a write */
  /src/sys/sys/
rwlock.h 74 #define RW_WRITE_LOCKED 0x04UL /* lock is currently write locked */

Completed in 16 milliseconds