---
name: "drm_vma_offset_manager_init"
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_manager_init"
---

# drm\_vma\_offset\_manager\_init(9)

Initialize new offset-manager

## NAME

drm\_vma\_offset\_manager\_init - Initialize new offset-manager

## SYNOPSIS

**void drm\_vma\_offset\_manager\_init(struct drm\_vma\_offset\_manager \*** *mgr***, unsigned long** *page\_offset***, unsigned long** *size***);**

## ARGUMENTS

*mgr*

Manager object

*page\_offset*

Offset of available memory area (page-based)

*size*

Size of available address space range (page-based)

## DESCRIPTION

Initialize a new offset-manager. The offset and area size available for the manager are given as *page\_offset* and *size*. Both are interpreted as page-numbers, not bytes.

Adding/removing nodes from the manager is locked internally and protected against concurrent access. However, node allocation and destruction is left for the caller. While calling into the vma-manager, a given node must always be guaranteed to be referenced.

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