Name

drm_vma_offset_lookup_locked — Find node in offset space

Synopsis

struct drm_vma_offset_node * drm_vma_offset_lookup_locked (struct drm_vma_offset_manager * mgr,
 unsigned long start,
 unsigned long pages);
 

Arguments

mgr

Manager object

start

Start address for object (page-based)

pages

Size of object (page-based)

Description

Same as drm_vma_offset_lookup but requires the caller to lock offset lookup manually. See drm_vma_offset_lock_lookup for an example.

RETURNS

Returns NULL if no suitable node can be found. Otherwise, the best match is returned.