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