Searched refs:VFIO_CDX_OFFSET_SHIFT (Results 1 – 2 of 2) sorted by relevance
9 #define VFIO_CDX_OFFSET_SHIFT 40 macro13 return ((u64)(index) << VFIO_CDX_OFFSET_SHIFT); in vfio_cdx_index_to_offset()
127 ((1U << (VFIO_CDX_OFFSET_SHIFT - PAGE_SHIFT)) - 1); in vfio_cdx_mmap_mmio()148 index = vma->vm_pgoff >> (VFIO_CDX_OFFSET_SHIFT - PAGE_SHIFT); in vfio_cdx_mmap()