Home
last modified time | relevance | path

Searched refs:wsaved (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Dsigutil_64.c59 int save_rwin_state(int wsaved, __siginfo_rwin_t __user *rwin) in save_rwin_state() argument
61 int i, err = __put_user(wsaved, &rwin->wsaved); in save_rwin_state()
63 for (i = 0; i < wsaved; i++) { in save_rwin_state()
77 int i, wsaved, err; in restore_rwin_state() local
82 get_user(wsaved, &rp->wsaved); in restore_rwin_state()
83 if (wsaved > NSWINS) in restore_rwin_state()
87 for (i = 0; i < wsaved; i++) { in restore_rwin_state()
97 set_thread_wsaved(wsaved); in restore_rwin_state()
Dsigutil_32.c83 int save_rwin_state(int wsaved, __siginfo_rwin_t __user *rwin) in save_rwin_state() argument
85 int i, err = __put_user(wsaved, &rwin->wsaved); in save_rwin_state()
87 for (i = 0; i < wsaved; i++) { in save_rwin_state()
103 int i, wsaved, err; in restore_rwin_state() local
108 get_user(wsaved, &rp->wsaved); in restore_rwin_state()
109 if (wsaved > NSWINS) in restore_rwin_state()
113 for (i = 0; i < wsaved; i++) { in restore_rwin_state()
123 t->w_saved = wsaved; in restore_rwin_state()
Dsignal_32.c229 int sigframe_size, err, wsaved; in setup_frame() local
235 wsaved = current_thread_info()->w_saved; in setup_frame()
240 if (wsaved) in setup_frame()
266 if (wsaved) { in setup_frame()
269 err |= save_rwin_state(wsaved, rwp); in setup_frame()
278 if (!wsaved) { in setup_frame()
284 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame()
324 int sigframe_size, wsaved; in setup_rt_frame() local
330 wsaved = current_thread_info()->w_saved; in setup_rt_frame()
334 if (wsaved) in setup_rt_frame()
[all …]
Dsignal32.c354 int i, err, wsaved; in setup_frame32() local
364 wsaved = get_thread_wsaved(); in setup_frame32()
369 if (wsaved) in setup_frame32()
416 if (wsaved) { in setup_frame32()
419 err |= save_rwin_state(wsaved, rwp); in setup_frame32()
436 if (!wsaved) { in setup_frame32()
443 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame32()
489 int i, err, wsaved; in setup_rt_frame32() local
498 wsaved = get_thread_wsaved(); in setup_rt_frame32()
503 if (wsaved) in setup_rt_frame32()
[all …]
Dsignal_64.c354 int wsaved, err, sf_size; in setup_rt_frame() local
361 wsaved = get_thread_wsaved(); in setup_rt_frame()
366 if (wsaved) in setup_rt_frame()
393 if (wsaved) { in setup_rt_frame()
396 err |= save_rwin_state(wsaved, rwin_save); in setup_rt_frame()
408 if (!wsaved) { in setup_rt_frame()
416 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame()
Dsigutil.h7 int save_rwin_state(int wsaved, __siginfo_rwin_t __user *rwin);
/linux-6.1.9/arch/sparc/include/asm/
Dsigcontext.h57 int wsaved; member