Lines Matching refs:ureg
2230 static long user_reg_get(struct user_reg __user *ureg, struct user_reg *kreg) in user_reg_get() argument
2235 ret = get_user(size, &ureg->size); in user_reg_get()
2246 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_reg_get()
2293 struct user_reg __user *ureg = (struct user_reg __user *)uarg; in user_events_ioctl_reg() local
2301 ret = user_reg_get(ureg, ®); in user_events_ioctl_reg()
2361 put_user((u32)ret, &ureg->write_index); in user_events_ioctl_reg()
2391 static long user_unreg_get(struct user_unreg __user *ureg, in user_unreg_get() argument
2397 ret = get_user(size, &ureg->size); in user_unreg_get()
2408 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_unreg_get()
2453 struct user_unreg __user *ureg = (struct user_unreg __user *)uarg; in user_events_ioctl_unreg() local
2460 ret = user_unreg_get(ureg, ®); in user_events_ioctl_unreg()