Lines Matching refs:put_user
108 if (put_user(type, &f->fb_type) || in sbusfb_ioctl_helper()
109 put_user(info->var.yres, &f->fb_height) || in sbusfb_ioctl_helper()
110 put_user(info->var.xres, &f->fb_width) || in sbusfb_ioctl_helper()
111 put_user(fb_depth, &f->fb_depth) || in sbusfb_ioctl_helper()
112 put_user(0, &f->fb_cmsize) || in sbusfb_ioctl_helper()
113 put_user(fb_size, &f->fb_cmsize)) in sbusfb_ioctl_helper()
181 if (put_user(red, &ured[i]) || in sbusfb_ioctl_helper()
182 put_user(green, &ugreen[i]) || in sbusfb_ioctl_helper()
183 put_user(blue, &ublue[i])) in sbusfb_ioctl_helper()
204 ret |= put_user(compat_ptr(addr), &p->red); in fbiogetputcmap()
206 ret |= put_user(compat_ptr(addr), &p->green); in fbiogetputcmap()
208 ret |= put_user(compat_ptr(addr), &p->blue); in fbiogetputcmap()
229 ret |= put_user(compat_ptr(addr), &p->cmap.red); in fbiogscursor()
231 ret |= put_user(compat_ptr(addr), &p->cmap.green); in fbiogscursor()
233 ret |= put_user(compat_ptr(addr), &p->cmap.blue); in fbiogscursor()
235 ret |= put_user(compat_ptr(addr), &p->mask); in fbiogscursor()
237 ret |= put_user(compat_ptr(addr), &p->image); in fbiogscursor()