'\" t .\" Title: drm_vma_offset_lookup_locked .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DRM_VMA_OFFSET_LOOKU" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" drm_vma_offset_lookup_locked \- Find node in offset space .SH "SYNOPSIS" .HP \w'struct\ drm_vma_offset_node\ *\ drm_vma_offset_lookup_locked('u .BI "struct drm_vma_offset_node * drm_vma_offset_lookup_locked(struct\ drm_vma_offset_manager\ *\ " "mgr" ", unsigned\ long\ " "start" ", unsigned\ long\ " "pages" ");" .SH "ARGUMENTS" .PP \fImgr\fR .RS 4 Manager object .RE .PP \fIstart\fR .RS 4 Start address for object (page\-based) .RE .PP \fIpages\fR .RS 4 Size of object (page\-based) .RE .SH "DESCRIPTION" .PP Same as \fBdrm_vma_offset_lookup\fR but requires the caller to lock offset lookup manually\&. See \fBdrm_vma_offset_lock_lookup\fR for an example\&. .SH "RETURNS" .PP Returns NULL if no suitable node can be found\&. Otherwise, the best match is returned\&. .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br