Lines Matching +full:ip +full:- +full:block
2 * Copyright (c) 2000-2001 Christoph Hellwig.
31 * Veritas filesystem driver - shared subroutines.
57 * vxfs_get_page - read a page into memory.
58 * @ip: inode to read from
62 * vxfs_get_page reads the @n th page of @ip into the pagecache.
86 return ERR_PTR(-EIO); in vxfs_get_page()
90 * vxfs_bread - read buffer for a give inode,block tuple
91 * @ip: inode
92 * @block: logical block
95 * The vxfs_bread function reads block no @block of
96 * @ip into the buffercache.
102 vxfs_bread(struct inode *ip, int block) in vxfs_bread() argument
107 pblock = vxfs_bmap1(ip, block); in vxfs_bread()
108 bp = sb_bread(ip->i_sb, pblock); in vxfs_bread()
114 * vxfs_get_block - locate buffer for given inode,block tuple
115 * @ip: inode
116 * @iblock: logical block
122 * block and device number to perform a lowlevel read/write on
126 * Zero on success, else a negativ error code (-EIO).
129 vxfs_getblk(struct inode *ip, sector_t iblock, in vxfs_getblk() argument
134 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
140 return -EIO; in vxfs_getblk()
144 * vxfs_readpage - read one page synchronously into the pagecache
165 * vxfs_bmap - perform logical to physical block mapping
167 * @block: logical block (relative to @mapping).
170 * Vxfs_bmap find out the corresponding phsical block to the
171 * @mapping, @block pair.
174 * Physical block number on success, else Zero.
180 vxfs_bmap(struct address_space *mapping, sector_t block) in vxfs_bmap() argument
182 return generic_block_bmap(mapping, block, vxfs_getblk); in vxfs_bmap()