'\" t .\" Title: kobject_get_path .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "KOBJECT_GET_PATH" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Driver Basics" .\" ----------------------------------------------------------------- .\" * 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" kobject_get_path \- generate and return the path associated with a given kobj and kset pair\&. .SH "SYNOPSIS" .HP \w'char\ *\ kobject_get_path('u .BI "char * kobject_get_path(struct\ kobject\ *\ " "kobj" ", gfp_t\ " "gfp_mask" ");" .SH "ARGUMENTS" .PP \fIkobj\fR .RS 4 kobject in question, with which to build the path .RE .PP \fIgfp_mask\fR .RS 4 the allocation type used to allocate the path .RE .SH "DESCRIPTION" .PP The result must be freed by the caller with \fBkfree\fR\&. .SH "COPYRIGHT" .br