Home
last modified time | relevance | path

Searched refs:wstate (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/kernel/locking/
Drwsem.c564 enum writer_wait_state wstate) in rwsem_try_write_lock() argument
574 if (has_handoff && wstate == WRITER_NOT_FIRST) in rwsem_try_write_lock()
580 if (has_handoff || (wstate != WRITER_HANDOFF)) in rwsem_try_write_lock()
1143 enum writer_wait_state wstate; in rwsem_down_write_slowpath() local
1173 wstate = list_empty(&sem->wait_list) ? WRITER_FIRST : WRITER_NOT_FIRST; in rwsem_down_write_slowpath()
1178 if (wstate == WRITER_NOT_FIRST) { in rwsem_down_write_slowpath()
1214 if (rwsem_try_write_lock(sem, wstate)) { in rwsem_down_write_slowpath()
1229 if ((wstate == WRITER_HANDOFF) && in rwsem_down_write_slowpath()
1245 if (wstate == WRITER_HANDOFF) in rwsem_down_write_slowpath()
1248 if ((wstate == WRITER_NOT_FIRST) && in rwsem_down_write_slowpath()
[all …]
/Linux-v5.4/arch/sparc/kernel/
Durtt_fill.S16 rdpr %wstate, %g2
18 wrpr %g2, 0x0, %wstate
Dasm-offsets.c35 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo()
Detrap_64.S102 rdpr %wstate, %g2
120 wrpr %g2, 0, %wstate
Dhvtramp.S41 wrpr %g0, 0, %wstate
Drtrap_64.S253 rdpr %wstate, %l1
263 wrpr %l1, %g0, %wstate
Dtrampoline_64.S326 wrpr %g0, 0, %wstate
Dhead_64.S718 wrpr %g0, 0, %wstate
855 wrpr %g0, %g0, %wstate
/Linux-v5.4/arch/sparc/power/
Dhibernate_asm.S24 rdpr %wstate, %g2
106 wrpr %g2, %wstate
/Linux-v5.4/arch/sparc/include/asm/
Dhibernate.h14 unsigned long wstate; member