Home
last modified time | relevance | path

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

/Linux-v4.19/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.c231 int sigframe_size, err, wsaved; in setup_frame() local
237 wsaved = current_thread_info()->w_saved; in setup_frame()
242 if (wsaved) in setup_frame()
268 if (wsaved) { in setup_frame()
271 err |= save_rwin_state(wsaved, rwp); in setup_frame()
280 if (!wsaved) { in setup_frame()
286 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame()
326 int sigframe_size, wsaved; in setup_rt_frame() local
332 wsaved = current_thread_info()->w_saved; in setup_rt_frame()
336 if (wsaved) in setup_rt_frame()
[all …]
Dsignal32.c352 int i, err, wsaved; in setup_frame32() local
362 wsaved = get_thread_wsaved(); in setup_frame32()
367 if (wsaved) in setup_frame32()
410 if (wsaved) { in setup_frame32()
413 err |= save_rwin_state(wsaved, rwp); in setup_frame32()
430 if (!wsaved) { in setup_frame32()
437 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame32()
483 int i, err, wsaved; in setup_rt_frame32() local
492 wsaved = get_thread_wsaved(); in setup_rt_frame32()
497 if (wsaved) in setup_rt_frame32()
[all …]
Dsignal_64.c355 int wsaved, err, sf_size; in setup_rt_frame() local
362 wsaved = get_thread_wsaved(); in setup_rt_frame()
367 if (wsaved) in setup_rt_frame()
390 if (wsaved) { in setup_rt_frame()
393 err |= save_rwin_state(wsaved, rwin_save); in setup_rt_frame()
405 if (!wsaved) { in setup_rt_frame()
413 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-v4.19/arch/sparc/include/asm/
Dsigcontext.h57 int wsaved; member