'\" t .\" Title: bmap .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BMAP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The Linux VFS" .\" ----------------------------------------------------------------- .\" * 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" bmap \- find a block number in a file .SH "SYNOPSIS" .HP \w'sector_t\ bmap('u .BI "sector_t bmap(struct\ inode\ *\ " "inode" ", sector_t\ " "block" ");" .SH "ARGUMENTS" .PP \fIinode\fR .RS 4 inode of file .RE .PP \fIblock\fR .RS 4 block to find .RE .SH "DESCRIPTION" .PP Returns the block number on the device holding the inode that is the disk block number for the block of the file requested\&. That is, asked for block 4 of inode 1 the function will return the disk block relative to the disk start that holds that block of the file\&. .SH "COPYRIGHT" .br