.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "RPC_FIND_PARENT" "9" "09 October 2005" "" ""
.SH NAME
rpc_find_parent \- find the parent of a child task.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct rpc_task * rpc_find_parent (struct rpc_task * \fIchild\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIchild\fB\fR
child task
.SH "DESCRIPTION"
.PP
Checks that the parent task is still sleeping on the
queue 'childq'. If so returns a pointer to the parent.
Upon failure returns NULL.
.PP
Caller must hold childq.lock