.\" 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 "__D_FIND_ALIAS" "9" "09 October 2005" "" "" .SH NAME __d_find_alias \- grab a hashed alias of inode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct dentry * __d_find_alias (struct inode * \fIinode\fB, int \fIwant_discon\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR inode in question .TP \fB\fIwant_discon\fB\fR flag, used by d_splice_alias, to request that only a DISCONNECTED alias be returned. .SH "DESCRIPTION" .PP If inode has a hashed alias, or is a directory and has any alias, acquire the reference to alias and return it. Otherwise return NULL. Notice that if inode is a directory there can be only one alias and it can be unhashed only if it has no children, or if it is the root of a filesystem. .PP If the inode has a DCACHE_DISCONNECTED alias, then prefer any other hashed alias over that one unless \fIwant_discon\fR is set, in which case only return a DCACHE_DISCONNECTED alias.