1BMAP(9) The Linux VFS BMAP(9)
2
3
4
6 bmap - find a block number in a file
7
9 sector_t bmap(struct inode * inode, sector_t block);
10
12 inode
13 inode of file
14
15 block
16 block to find
17
19 Returns the block number on the device holding the inode that is the
20 disk block number for the block of the file requested. That is, asked
21 for block 4 of inode 1 the function will return the disk block relative
22 to the disk start that holds that block of the file.
23
25Kernel Hackers Manual 2.6. June 2019 BMAP(9)