Lines Matching refs:task

39 				      struct task_struct *task);
41 struct task_struct *task);
42 extern unsigned long copy_vsx_from_user(struct task_struct *task,
44 extern unsigned long copy_ckvsx_from_user(struct task_struct *task,
46 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task);
47 unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task);
48 unsigned long copy_fpr_from_user(struct task_struct *task, void __user *from);
49 unsigned long copy_ckfpr_from_user(struct task_struct *task, void __user *from);
51 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument
52 struct task_struct *__t = task; \
61 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument
62 struct task_struct *__t = task; \
71 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument
72 struct task_struct *__t = task; \
81 #define unsafe_copy_vsx_from_user(task, from, label) do { \ argument
82 struct task_struct *__t = task; \
92 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \ argument
93 struct task_struct *__t = task; \
102 #define unsafe_copy_ckvsx_to_user(to, task, label) do { \ argument
103 struct task_struct *__t = task; \
112 #define unsafe_copy_ckfpr_from_user(task, from, label) do { \ argument
113 struct task_struct *__t = task; \
122 #define unsafe_copy_ckvsx_from_user(task, from, label) do { \ argument
123 struct task_struct *__t = task; \
134 #define unsafe_copy_fpr_to_user(to, task, label) \ argument
135 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \
138 #define unsafe_copy_fpr_from_user(task, from, label) \ argument
139 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \
143 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user() argument
145 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
150 copy_fpr_from_user(struct task_struct *task, void __user *from) in copy_fpr_from_user() argument
152 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
157 #define unsafe_copy_ckfpr_to_user(to, task, label) \ argument
158 unsafe_copy_to_user(to, (task)->thread.ckfp_state.fpr, \
161 inline unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task) in copy_ckfpr_to_user() argument
163 return __copy_to_user(to, task->thread.ckfp_state.fpr, in copy_ckfpr_to_user()
168 copy_ckfpr_from_user(struct task_struct *task, void __user *from) in copy_ckfpr_from_user() argument
170 return __copy_from_user(task->thread.ckfp_state.fpr, from, in copy_ckfpr_from_user()
175 #define unsafe_copy_fpr_to_user(to, task, label) do { if (0) goto label;} while (0) argument
177 #define unsafe_copy_fpr_from_user(task, from, label) do { if (0) goto label;} while (0) argument
180 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user() argument
186 copy_fpr_from_user(struct task_struct *task, void __user *from) in copy_fpr_from_user() argument