---
name: "drm_vma_node_size"
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_size"
---

# drm\_vma\_node\_size(9)

Return size (page-based)

## NAME

drm\_vma\_node\_size - Return size (page-based)

## SYNOPSIS

**unsigned long drm\_vma\_node\_size(struct drm\_vma\_offset\_node \*** *node***);**

## ARGUMENTS

*node*

Node to inspect

## DESCRIPTION

Return the size as number of pages for the given node. This is the same size that was passed to **drm\_vma\_offset\_add**. If no offset is allocated for the node, this is 0.

## RETURNS

Size of *node* as number of pages. 0 if the node does not have an offset 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
