Lines Matching defs:task

36 				      struct task_struct *task);
38 struct task_struct *task);
39 extern unsigned long copy_vsx_from_user(struct task_struct *task,
41 extern unsigned long copy_ckvsx_from_user(struct task_struct *task,
43 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task);
44 unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task);
45 unsigned long copy_fpr_from_user(struct task_struct *task, void __user *from);
46 unsigned long copy_ckfpr_from_user(struct task_struct *task, void __user *from);
48 #define unsafe_copy_fpr_to_user(to, task, label) do { \
49 struct task_struct *__t = task; \
58 #define unsafe_copy_vsx_to_user(to, task, label) do { \
59 struct task_struct *__t = task; \
68 #define unsafe_copy_fpr_from_user(task, from, label) do { \
69 struct task_struct *__t = task; \
78 #define unsafe_copy_vsx_from_user(task, from, label) do { \
79 struct task_struct *__t = task; \
89 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \
90 struct task_struct *__t = task; \
99 #define unsafe_copy_ckvsx_to_user(to, task, label) do { \
100 struct task_struct *__t = task; \
109 #define unsafe_copy_ckfpr_from_user(task, from, label) do { \
110 struct task_struct *__t = task; \
119 #define unsafe_copy_ckvsx_from_user(task, from, label) do { \
120 struct task_struct *__t = task; \
131 #define unsafe_copy_fpr_to_user(to, task, label) \
132 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \
135 #define unsafe_copy_fpr_from_user(task, from, label) \
136 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \
140 copy_fpr_to_user(void __user *to, struct task_struct *task)
142 return __copy_to_user(to, task->thread.fp_state.fpr,
147 copy_fpr_from_user(struct task_struct *task, void __user *from)
149 return __copy_from_user(task->thread.fp_state.fpr, from,
154 #define unsafe_copy_ckfpr_to_user(to, task, label) \
155 unsafe_copy_to_user(to, (task)->thread.ckfp_state.fpr, \
158 inline unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task)
160 return __copy_to_user(to, task->thread.ckfp_state.fpr,
165 copy_ckfpr_from_user(struct task_struct *task, void __user *from)
167 return __copy_from_user(task->thread.ckfp_state.fpr, from,
172 #define unsafe_copy_fpr_to_user(to, task, label) do { if (0) goto label;} while (0)
174 #define unsafe_copy_fpr_from_user(task, from, label) do { if (0) goto label;} while (0)
177 copy_fpr_to_user(void __user *to, struct task_struct *task)
183 copy_fpr_from_user(struct task_struct *task, void __user *from)