Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ioctl.c154 size_t pair_offset = offsetof(struct svga_3d_compat_cap, pairs); in vmw_fill_compat_cap() local
157 if (size < pair_offset) in vmw_fill_compat_cap()
160 max_size = (size - pair_offset) / sizeof(SVGA3dCapPair); in vmw_fill_compat_cap()
166 (pair_offset + max_size * sizeof(SVGA3dCapPair)) / sizeof(u32); in vmw_fill_compat_cap()