Home
last modified time | relevance | path

Searched refs:req64 (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/
Ddrm_ioc32.c1035 struct drm_mode_fb_cmd2 __user *req64; in compat_drm_mode_addfb2() local
1042 req64 = compat_alloc_user_space(sizeof(*req64)); in compat_drm_mode_addfb2()
1044 if (!access_ok(VERIFY_WRITE, req64, sizeof(*req64)) in compat_drm_mode_addfb2()
1045 || __put_user(req32.width, &req64->width) in compat_drm_mode_addfb2()
1046 || __put_user(req32.height, &req64->height) in compat_drm_mode_addfb2()
1047 || __put_user(req32.pixel_format, &req64->pixel_format) in compat_drm_mode_addfb2()
1048 || __put_user(req32.flags, &req64->flags)) in compat_drm_mode_addfb2()
1052 if (__put_user(req32.handles[i], &req64->handles[i])) in compat_drm_mode_addfb2()
1054 if (__put_user(req32.pitches[i], &req64->pitches[i])) in compat_drm_mode_addfb2()
1056 if (__put_user(req32.offsets[i], &req64->offsets[i])) in compat_drm_mode_addfb2()
[all …]