/kernel/linux/linux-5.10/kernel/locking/ |
H A D | rwsem.c | 559 * If wstate is WRITER_HANDOFF, it will make sure that either the handoff 563 enum writer_wait_state wstate) in rwsem_try_write_lock() 573 if (has_handoff && wstate == WRITER_NOT_FIRST) in rwsem_try_write_lock() 579 if (has_handoff || (wstate != WRITER_HANDOFF)) in rwsem_try_write_lock() 1140 enum writer_wait_state wstate; in rwsem_down_write_slowpath() local 1170 wstate = list_empty(&sem->wait_list) ? WRITER_FIRST : WRITER_NOT_FIRST; in rwsem_down_write_slowpath() 1175 if (wstate == WRITER_NOT_FIRST) { in rwsem_down_write_slowpath() 1211 if (rwsem_try_write_lock(sem, wstate)) { in rwsem_down_write_slowpath() 1226 if (wstate == WRITER_HANDOFF && in rwsem_down_write_slowpath() 1242 if (wstate in rwsem_down_write_slowpath() 562 rwsem_try_write_lock(struct rw_semaphore *sem, enum writer_wait_state wstate) rwsem_try_write_lock() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/power/ |
H A D | hibernate_asm.S | 24 rdpr %wstate, %g2 106 wrpr %g2, %wstate
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | urtt_fill.S | 16 rdpr %wstate, %g2 18 wrpr %g2, 0x0, %wstate
|
H A D | asm-offsets.c | 35 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo()
|
H A D | hvtramp.S | 41 wrpr %g0, 0, %wstate
|
H A D | etrap_64.S | 102 rdpr %wstate, %g2 120 wrpr %g2, 0, %wstate
|
H A D | rtrap_64.S | 253 rdpr %wstate, %l1 263 wrpr %l1, %g0, %wstate
|
H A D | trampoline_64.S | 326 wrpr %g0, 0, %wstate
|
H A D | head_64.S | 718 wrpr %g0, 0, %wstate 855 wrpr %g0, %g0, %wstate
|
/kernel/linux/linux-6.6/arch/sparc/power/ |
H A D | hibernate_asm.S | 24 rdpr %wstate, %g2 106 wrpr %g2, %wstate
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | urtt_fill.S | 16 rdpr %wstate, %g2 18 wrpr %g2, 0x0, %wstate
|
H A D | asm-offsets.c | 35 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo()
|
H A D | hvtramp.S | 41 wrpr %g0, 0, %wstate
|
H A D | etrap_64.S | 102 rdpr %wstate, %g2 120 wrpr %g2, 0, %wstate
|
H A D | rtrap_64.S | 253 rdpr %wstate, %l1 263 wrpr %l1, %g0, %wstate
|
H A D | trampoline_64.S | 326 wrpr %g0, 0, %wstate
|
H A D | head_64.S | 718 wrpr %g0, 0, %wstate 855 wrpr %g0, %g0, %wstate
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 95 struct wstate { struct 354 int infd, struct wstate *winfo) in sock_connect_mptcp() 617 bool *in_closed_after_out, struct wstate *winfo) in copyfd_io_poll() 762 static int spool_buf(int fd, struct wstate *winfo) in spool_buf() 778 struct wstate *winfo) in do_mmap() 838 struct wstate *winfo) in do_sendfile() 864 struct wstate *winfo) in copyfd_io_mmap() 889 unsigned int size, bool *in_closed_after_out, struct wstate *winfo) in copyfd_io_sendfile() 913 static int copyfd_io(int infd, int peerfd, int outfd, bool close_peerfd, struct wstate *winfo) in copyfd_io() 1076 struct wstate winf in main_loop_s() [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | hibernate.h | 14 unsigned long wstate; member
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | hibernate.h | 14 unsigned long wstate; member
|