drm_vma_offset_lookup_locked — Find node in offset space
| struct drm_vma_offset_node * drm_vma_offset_lookup_locked ( | struct drm_vma_offset_manager * mgr, | 
| unsigned long start, | |
| unsigned long pages ); | 
mgrManager object
startStart address for object (page-based)
pagesSize of object (page-based)
   Find a node given a start address and object size. This returns the _best_
   match for the given node. That is, start may point somewhere into a valid
   region and the given node will be returned, as long as the node spans the
   whole requested area (given the size in number of pages as pages).
   
   Note that before lookup the vma offset manager lookup lock must be acquired
   with drm_vma_offset_lock_lookup. See there for an example. This can then be
   used to implement weakly referenced lookups using kref_get_unless_zero.