Searched refs:madv (Results 1 – 9 of 9) sorted by relevance
299 drm_intel_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_bo_madvise() argument302 return bo->bufmgr->bo_madvise(bo, madv); in drm_intel_bo_madvise()
276 int (*bo_madvise) (drm_intel_bo *bo, int madv);
677 struct drm_i915_gem_madvise madv; in drm_intel_gem_bo_madvise_internal() local679 memclear(madv); in drm_intel_gem_bo_madvise_internal()680 madv.handle = bo_gem->gem_handle; in drm_intel_gem_bo_madvise_internal()681 madv.madv = state; in drm_intel_gem_bo_madvise_internal()682 madv.retained = 1; in drm_intel_gem_bo_madvise_internal()683 drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_MADVISE, &madv); in drm_intel_gem_bo_madvise_internal()685 return madv.retained; in drm_intel_gem_bo_madvise_internal()689 drm_intel_gem_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_gem_bo_madvise() argument694 madv); in drm_intel_gem_bo_madvise()
166 int drm_intel_bo_madvise(drm_intel_bo *bo, int madv);
957 __u32 madv; member
963 __u32 madv; member
10980 2madv
10768 2madv
10872 2madv