.\" 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 "LOAD_ATTRIBUTE_LIST" "" "06 October 2005" "" "" .SH NAME load_attribute_list \- load an attribute list into memory .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int load_attribute_list (ntfs_volume * \fIvol\fB, run_list * \fIrun_list\fB, u8 * \fIal_start\fB, const s64 \fIsize\fB, const s64 \fIinitialized_size\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvol\fB\fR ntfs volume from which to read .TP \fB\fIrun_list\fB\fR run list of the attribute list .TP \fB\fIal_start\fB\fR destination buffer .TP \fB\fIsize\fB\fR size of the destination buffer in bytes .TP \fB\fIinitialized_size\fB\fR initialized size of the attribute list .SH "DESCRIPTION" .PP Walk the run list \fIrun_list\fR and load all clusters from it copying them into the linear buffer \fIal\fR\&. The maximum number of bytes copied to \fIal\fR is \fIsize\fR bytes. Note, \fIsize\fR does not need to be a multiple of the cluster size. If \fIinitialized_size\fR is less than \fIsize\fR, the region in \fIal\fR between \fIinitialized_size\fR and \fIsize\fR will be zeroed and not read from disk. .PP Return 0 on success or -errno on error.