Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/kernel/
H A 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()
H A 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()
H A 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()
324 int sigframe_size, wsaved; in setup_rt_frame() local
334 if (wsaved) in setup_rt_frame()
362 if (wsaved) { in setup_rt_frame()
365 err |= save_rwin_state(wsaved, rwp); in setup_rt_frame()
[all …]
H A Dsignal32.c356 int i, err, wsaved; in setup_frame32() local
366 wsaved = get_thread_wsaved(); in setup_frame32()
371 if (wsaved) in setup_frame32()
418 if (wsaved) { in setup_frame32()
421 err |= save_rwin_state(wsaved, rwp); in setup_frame32()
438 if (!wsaved) { in setup_frame32()
491 int i, err, wsaved; in setup_rt_frame32() local
500 wsaved = get_thread_wsaved(); in setup_rt_frame32()
505 if (wsaved) in setup_rt_frame32()
552 if (wsaved) { in setup_rt_frame32()
[all …]
H A 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()
H A Dsigutil.h7 int save_rwin_state(int wsaved, __siginfo_rwin_t __user *rwin);
/openbmc/linux/arch/sparc/include/asm/
H A Dsigcontext.h57 int wsaved; member