'\" t .\" Title: ipc_obtain_object .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Kernel IPC facilities .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "IPC_OBTAIN_OBJECT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Kernel IPC facilities" .\" ----------------------------------------------------------------- .\" * 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" ipc_obtain_object \- .SH "SYNOPSIS" .HP \w'struct\ kern_ipc_perm\ *\ ipc_obtain_object('u .BI "struct kern_ipc_perm * ipc_obtain_object(struct\ ipc_ids\ *\ " "ids" ", int\ " "id" ");" .SH "ARGUMENTS" .PP \fIids\fR .RS 4 ipc identifier set .RE .PP \fIid\fR .RS 4 ipc id to look for .RE .SH "DESCRIPTION" .PP Look for an id in the ipc ids idr and return associated ipc object\&. .PP Call inside the RCU critical section\&. The ipc object is *not* locked on exit\&. .SH "COPYRIGHT" .br