Searched refs:xbuf_size (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/r128/ |
D | r128_state.c | 975 int i, xbuf_size, ybuf_size, buffer_size, mask_size; in r128_cce_dispatch_write_pixels() local 983 xbuf_size = count * sizeof(*x); in r128_cce_dispatch_write_pixels() 985 x = memdup_user(depth->x, xbuf_size); in r128_cce_dispatch_write_pixels() 1111 int i, xbuf_size, ybuf_size; in r128_cce_dispatch_read_pixels() local 1122 xbuf_size = count * sizeof(*x); in r128_cce_dispatch_read_pixels() 1124 x = kmalloc(xbuf_size, GFP_KERNEL); in r128_cce_dispatch_read_pixels() 1132 if (copy_from_user(x, depth->x, xbuf_size)) { in r128_cce_dispatch_read_pixels()
|