Lines Matching refs:__user
96 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats()
116 static int change_diag(struct atm_dev *dev,void __user *arg,int set) in change_diag()
120 if (get_user(todo,(int __user *)arg)) return -EFAULT; in change_diag()
129 return put_user(todo,(int __user *)arg) ? -EFAULT : 0; in change_diag()
136 static int get_diag(struct atm_dev *dev,void __user *arg) in get_diag()
149 return put_user(set,(int __user *)arg) ? -EFAULT : 0; in get_diag()
225 static int get_framing(struct atm_dev *dev, void __user *arg) in get_framing()
237 return put_user(framing, (int __user *) arg) ? -EFAULT : 0; in get_framing()
240 static int set_framing(struct atm_dev *dev, void __user *arg) in set_framing()
244 if (get_user(mode, (int __user *) arg)) in set_framing()
256 static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in suni_ioctl()
281 return put_user(PRIV(dev)->loop_mode,(int __user *)arg) ? in suni_ioctl()
285 (int __user *) arg) ? -EFAULT : 0; in suni_ioctl()