Lines Matching refs:dma_bootstrap
144 drm_mga_dma_bootstrap_t __user *dma_bootstrap; in compat_mga_dma_bootstrap() local
151 dma_bootstrap = compat_alloc_user_space(sizeof(*dma_bootstrap)); in compat_mga_dma_bootstrap()
152 if (!access_ok(VERIFY_WRITE, dma_bootstrap, sizeof(*dma_bootstrap)) in compat_mga_dma_bootstrap()
154 &dma_bootstrap->texture_handle) in compat_mga_dma_bootstrap()
156 &dma_bootstrap->texture_size) in compat_mga_dma_bootstrap()
158 &dma_bootstrap->primary_size) in compat_mga_dma_bootstrap()
160 &dma_bootstrap->secondary_bin_count) in compat_mga_dma_bootstrap()
162 &dma_bootstrap->secondary_bin_size) in compat_mga_dma_bootstrap()
163 || __put_user(dma_bootstrap32.agp_mode, &dma_bootstrap->agp_mode) in compat_mga_dma_bootstrap()
164 || __put_user(dma_bootstrap32.agp_size, &dma_bootstrap->agp_size)) in compat_mga_dma_bootstrap()
168 (unsigned long)dma_bootstrap); in compat_mga_dma_bootstrap()
173 &dma_bootstrap->texture_handle) in compat_mga_dma_bootstrap()
175 &dma_bootstrap->texture_size) in compat_mga_dma_bootstrap()
177 &dma_bootstrap->primary_size) in compat_mga_dma_bootstrap()
179 &dma_bootstrap->secondary_bin_count) in compat_mga_dma_bootstrap()
181 &dma_bootstrap->secondary_bin_size) in compat_mga_dma_bootstrap()
182 || __get_user(dma_bootstrap32.agp_mode, &dma_bootstrap->agp_mode) in compat_mga_dma_bootstrap()
183 || __get_user(dma_bootstrap32.agp_size, &dma_bootstrap->agp_size)) in compat_mga_dma_bootstrap()