'\" t .\" Title: reservation_object_reserve_shared .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "RESERVATION_OBJECT_R" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * 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" reservation_object_reserve_shared \- Reserve space to add a shared fence to a reservation_object\&. .SH "SYNOPSIS" .HP \w'int\ reservation_object_reserve_shared('u .BI "int reservation_object_reserve_shared(struct\ reservation_object\ *\ " "obj" ");" .SH "ARGUMENTS" .PP \fIobj\fR .RS 4 reservation object .RE .SH "DESCRIPTION" .PP Should be called before \fBreservation_object_add_shared_fence\fR\&. Must be called with obj\->lock held\&. .PP RETURNS Zero for success, or \-errno .SH "COPYRIGHT" .br