Lines Matching refs:mmap_arg
1448 struct drm_i915_gem_mmap mmap_arg; in drm_intel_gem_bo_map() local
1453 memclear(mmap_arg); in drm_intel_gem_bo_map()
1454 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map()
1455 mmap_arg.size = bo->size; in drm_intel_gem_bo_map()
1458 &mmap_arg); in drm_intel_gem_bo_map()
1469 VG(VALGRIND_MALLOCLIKE_BLOCK(mmap_arg.addr_ptr, mmap_arg.size, 0, 1)); in drm_intel_gem_bo_map()
1470 bo_gem->mem_virtual = (void *)(uintptr_t) mmap_arg.addr_ptr; in drm_intel_gem_bo_map()
1517 struct drm_i915_gem_mmap_gtt mmap_arg; in map_gtt() local
1522 memclear(mmap_arg); in map_gtt()
1523 mmap_arg.handle = bo_gem->gem_handle; in map_gtt()
1528 &mmap_arg); in map_gtt()
1543 mmap_arg.offset); in map_gtt()
3470 struct drm_i915_gem_mmap_gtt mmap_arg; in drm_intel_gem_bo_map__gtt() local
3479 memclear(mmap_arg); in drm_intel_gem_bo_map__gtt()
3480 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map__gtt()
3486 &mmap_arg) == 0) { in drm_intel_gem_bo_map__gtt()
3490 mmap_arg.offset); in drm_intel_gem_bo_map__gtt()
3520 struct drm_i915_gem_mmap mmap_arg; in drm_intel_gem_bo_map__cpu() local
3528 memclear(mmap_arg); in drm_intel_gem_bo_map__cpu()
3529 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map__cpu()
3530 mmap_arg.size = bo->size; in drm_intel_gem_bo_map__cpu()
3533 &mmap_arg)) { in drm_intel_gem_bo_map__cpu()
3540 VG(VALGRIND_MALLOCLIKE_BLOCK(mmap_arg.addr_ptr, mmap_arg.size, 0, 1)); in drm_intel_gem_bo_map__cpu()
3541 bo_gem->mem_virtual = (void *)(uintptr_t) mmap_arg.addr_ptr; in drm_intel_gem_bo_map__cpu()
3562 struct drm_i915_gem_mmap mmap_arg; in drm_intel_gem_bo_map__wc() local
3570 memclear(mmap_arg); in drm_intel_gem_bo_map__wc()
3571 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map__wc()
3572 mmap_arg.size = bo->size; in drm_intel_gem_bo_map__wc()
3573 mmap_arg.flags = I915_MMAP_WC; in drm_intel_gem_bo_map__wc()
3576 &mmap_arg)) { in drm_intel_gem_bo_map__wc()
3583 VG(VALGRIND_MALLOCLIKE_BLOCK(mmap_arg.addr_ptr, mmap_arg.size, 0, 1)); in drm_intel_gem_bo_map__wc()
3584 bo_gem->wc_virtual = (void *)(uintptr_t) mmap_arg.addr_ptr; in drm_intel_gem_bo_map__wc()