Searched refs:madv (Results 1 – 6 of 6) sorted by relevance
288 drm_intel_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_bo_madvise() argument291 return bo->bufmgr->bo_madvise(bo, madv); in drm_intel_bo_madvise()
255 int (*bo_madvise) (drm_intel_bo *bo, int madv);
613 struct drm_i915_gem_madvise madv; in drm_intel_gem_bo_madvise_internal() local615 VG_CLEAR(madv); in drm_intel_gem_bo_madvise_internal()616 madv.handle = bo_gem->gem_handle; in drm_intel_gem_bo_madvise_internal()617 madv.madv = state; in drm_intel_gem_bo_madvise_internal()618 madv.retained = 1; in drm_intel_gem_bo_madvise_internal()619 drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in drm_intel_gem_bo_madvise_internal()621 return madv.retained; in drm_intel_gem_bo_madvise_internal()625 drm_intel_gem_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_gem_bo_madvise() argument630 madv); in drm_intel_gem_bo_madvise()
162 int drm_intel_bo_madvise(drm_intel_bo *bo, int madv);
911 __u32 madv; member