Lines Matching +full:ip +full:- +full:block
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2000-2001 Christoph Hellwig.
7 * Veritas filesystem driver - shared subroutines.
33 * vxfs_get_page - read a page into memory.
38 * vxfs_get_page reads the @n th page of @ip into the pagecache.
60 * vxfs_bread - read buffer for a give inode,block tuple
61 * @ip: inode
62 * @block: logical block
65 * The vxfs_bread function reads block no @block of
66 * @ip into the buffercache.
72 vxfs_bread(struct inode *ip, int block) in vxfs_bread() argument
77 pblock = vxfs_bmap1(ip, block); in vxfs_bread()
78 bp = sb_bread(ip->i_sb, pblock); in vxfs_bread()
84 * vxfs_getblk - locate buffer for given inode,block tuple
85 * @ip: inode
86 * @iblock: logical block
92 * block and device number to perform a lowlevel read/write on
96 * Zero on success, else a negativ error code (-EIO).
99 vxfs_getblk(struct inode *ip, sector_t iblock, in vxfs_getblk() argument
104 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
106 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
110 return -EIO; in vxfs_getblk()
114 * vxfs_read_folio - read one page synchronously into the pagecache
134 * vxfs_bmap - perform logical to physical block mapping
136 * @block: logical block (relative to @mapping).
139 * Vxfs_bmap find out the corresponding phsical block to the
140 * @mapping, @block pair.
143 * Physical block number on success, else Zero.
149 vxfs_bmap(struct address_space *mapping, sector_t block) in vxfs_bmap() argument
151 return generic_block_bmap(mapping, block, vxfs_getblk); in vxfs_bmap()