---
name: "drm_vma_node_offset_addr"
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_node_offset_addr"
---

# drm\_vma\_node\_offset\_addr(9)

Return sanitized offset for user-space mmaps

## NAME

drm\_vma\_node\_offset\_addr - Return sanitized offset for user-space mmaps

## SYNOPSIS

**\_\_u64 drm\_vma\_node\_offset\_addr(struct drm\_vma\_offset\_node \*** *node***);**

## ARGUMENTS

*node*

Linked offset node

## DESCRIPTION

Same as **drm\_vma\_node\_start** but returns the address as a valid offset that can be used for user-space mappings during **mmap**. This must not be called on unlinked nodes.

## RETURNS

Offset of *node* for byte-based addressing. 0 if the node does not have an object allocated.

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