'\" t .\" Title: drm_vma_node_start .\" 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_NODE_START" "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_node_start \- Return start address for page\-based addressing .SH "SYNOPSIS" .HP \w'unsigned\ long\ drm_vma_node_start('u .BI "unsigned long drm_vma_node_start(struct\ drm_vma_offset_node\ *\ " "node" ");" .SH "ARGUMENTS" .PP \fInode\fR .RS 4 Node to inspect .RE .SH "DESCRIPTION" .PP Return the start address of the given node\&. This can be used as offset into the linear VM space that is provided by the VMA offset manager\&. Note that this can only be used for page\-based addressing\&. If you need a proper offset for user\-space mappings, you must apply \(lq<< PAGE_SHIFT\(rq or use the \fBdrm_vma_node_offset_addr\fR helper instead\&. .SH "RETURNS" .PP Start address of \fInode\fR for page\-based addressing\&. 0 if the node does not have an offset allocated\&. .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