Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/
Ddrm_ioc32.c1038 struct drm_mode_fb_cmd2 __user *req64; in compat_drm_mode_addfb2() local
1045 req64 = compat_alloc_user_space(sizeof(*req64)); in compat_drm_mode_addfb2()
1047 if (!access_ok(VERIFY_WRITE, req64, sizeof(*req64)) in compat_drm_mode_addfb2()
1048 || __put_user(req32.width, &req64->width) in compat_drm_mode_addfb2()
1049 || __put_user(req32.height, &req64->height) in compat_drm_mode_addfb2()
1050 || __put_user(req32.pixel_format, &req64->pixel_format) in compat_drm_mode_addfb2()
1051 || __put_user(req32.flags, &req64->flags)) in compat_drm_mode_addfb2()
1055 if (__put_user(req32.handles[i], &req64->handles[i])) in compat_drm_mode_addfb2()
1057 if (__put_user(req32.pitches[i], &req64->pitches[i])) in compat_drm_mode_addfb2()
1059 if (__put_user(req32.offsets[i], &req64->offsets[i])) in compat_drm_mode_addfb2()
[all …]