Lines Matching full:task
33 struct task_struct *task);
35 struct task_struct *task);
36 extern unsigned long copy_vsx_from_user(struct task_struct *task,
38 extern unsigned long copy_ckvsx_from_user(struct task_struct *task,
40 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task);
41 unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task);
42 unsigned long copy_fpr_from_user(struct task_struct *task, void __user *from);
43 unsigned long copy_ckfpr_from_user(struct task_struct *task, void __user *from);
45 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument
46 struct task_struct *__t = task; \
55 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument
56 struct task_struct *__t = task; \
65 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument
66 struct task_struct *__t = task; \
75 #define unsafe_copy_vsx_from_user(task, from, label) do { \ argument
76 struct task_struct *__t = task; \
86 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \ argument
87 struct task_struct *__t = task; \
96 #define unsafe_copy_ckvsx_to_user(to, task, label) do { \ argument
97 struct task_struct *__t = task; \
106 #define unsafe_copy_ckfpr_from_user(task, from, label) do { \ argument
107 struct task_struct *__t = task; \
116 #define unsafe_copy_ckvsx_from_user(task, from, label) do { \ argument
117 struct task_struct *__t = task; \
128 #define unsafe_copy_fpr_to_user(to, task, label) \ argument
129 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \
132 #define unsafe_copy_fpr_from_user(task, from, label) \ argument
133 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \
137 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user() argument
139 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
144 copy_fpr_from_user(struct task_struct *task, void __user *from) in copy_fpr_from_user() argument
146 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
151 #define unsafe_copy_ckfpr_to_user(to, task, label) \ argument
152 unsafe_copy_to_user(to, (task)->thread.ckfp_state.fpr, \
155 inline unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task) in copy_ckfpr_to_user() argument
157 return __copy_to_user(to, task->thread.ckfp_state.fpr, in copy_ckfpr_to_user()
162 copy_ckfpr_from_user(struct task_struct *task, void __user *from) in copy_ckfpr_from_user() argument
164 return __copy_from_user(task->thread.ckfp_state.fpr, from, in copy_ckfpr_from_user()
169 #define unsafe_copy_fpr_to_user(to, task, label) do { if (0) goto label;} while (0) argument
171 #define unsafe_copy_fpr_from_user(task, from, label) do { if (0) goto label;} while (0) argument
174 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user() argument
180 copy_fpr_from_user(struct task_struct *task, void __user *from) in copy_fpr_from_user() argument