Lines Matching refs:tp
42 static inline void shift_window_buffer(int first_win, int last_win, struct thread_info *tp)
47 tp->rwbuf_stkptrs[i] = tp->rwbuf_stkptrs[i+1];
48 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32));
63 struct thread_info *tp = current_thread_info();
67 if(!tp->w_saved)
71 for(window = tp->w_saved - 1; window >= 0; window--) {
72 unsigned long sp = tp->rwbuf_stkptrs[window];
75 if (copy_to_user((char __user *) sp, &tp->reg_window[window],
79 shift_window_buffer(window, tp->w_saved - 1, tp);
80 tp->w_saved--;
115 struct thread_info *tp = current_thread_info();
119 for(window = 0; window < tp->w_saved; window++) {
120 unsigned long sp = tp->rwbuf_stkptrs[window];
123 copy_to_user((char __user *) sp, &tp->reg_window[window],
129 tp->w_saved = 0;