---
name: "drm_vma_offset_lookup_locked"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_vma_offset_lookup_locked"
---

# drm\_vma\_offset\_lookup\_locked(9)

Find node in offset space

## 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.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
