---
name: "drm_vma_node_verify_access"
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_verify_access"
---

# drm\_vma\_node\_verify\_access(9)

Access verification helper for TTM

## NAME

drm\_vma\_node\_verify\_access - Access verification helper for TTM

## SYNOPSIS

**int drm\_vma\_node\_verify\_access(struct drm\_vma\_offset\_node \*** *node***, struct file \*** *filp***);**

## ARGUMENTS

*node*

Offset node

*filp*

Open-file

## DESCRIPTION

This checks whether *filp* is granted access to *node*. It is the same as **drm\_vma\_node\_is\_allowed** but suitable as drop-in helper for TTM **verify\_access** callbacks.

## RETURNS

0 if access is granted, -EACCES otherwise.

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