---
name: "drm_vma_node_is_allowed"
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_is_allowed"
---

# drm\_vma\_node\_is\_allowed(9)

Check whether an open-file is granted access

## NAME

drm\_vma\_node\_is\_allowed - Check whether an open-file is granted access

## SYNOPSIS

**bool drm\_vma\_node\_is\_allowed(struct drm\_vma\_offset\_node \*** *node***, struct file \*** *filp***);**

## ARGUMENTS

*node*

Node to check

*filp*

Open-file to check for

## DESCRIPTION

Search the list in *node* whether *filp* is currently on the list of allowed open-files (see **drm\_vma\_node\_allow**).

This is locked against concurrent access internally.

## RETURNS

true iff *filp* is on the list

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