• Home
  • Raw
  • Download

Lines Matching refs:block_buf

31 			     char *block_buf, int bmap_flags,
37 blk_t ind, char *block_buf, in block_ind_bmap() argument
50 retval = io_channel_read_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
59 ((blk_t *) block_buf)[nr] = b; in block_ind_bmap()
60 return io_channel_write_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
63 b = ((blk_t *) block_buf)[nr]; in block_ind_bmap()
70 b = nr ? ext2fs_le32_to_cpu(((blk_t *)block_buf)[nr - 1]) : ind; in block_ind_bmap()
72 block_buf + fs->blocksize, &b); in block_ind_bmap()
77 ((blk_t *) block_buf)[nr] = ext2fs_swab32(b); in block_ind_bmap()
79 ((blk_t *) block_buf)[nr] = b; in block_ind_bmap()
82 retval = io_channel_write_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
94 blk_t dind, char *block_buf, in block_dind_bmap() argument
104 retval = block_ind_bmap(fs, flags & ~BMAP_SET, dind, block_buf, in block_dind_bmap()
108 retval = block_ind_bmap(fs, flags, b, block_buf, blocks_alloc, in block_dind_bmap()
114 blk_t tind, char *block_buf, in block_tind_bmap() argument
124 retval = block_dind_bmap(fs, flags & ~BMAP_SET, tind, block_buf, in block_tind_bmap()
128 retval = block_ind_bmap(fs, flags, b, block_buf, blocks_alloc, in block_tind_bmap()
136 char *block_buf, int bmap_flags, blk64_t block,
206 char *block_buf, int bmap_flags, blk64_t block, in extent_bmap() argument
248 retval = extent_bmap(fs, ino, inode, handle, block_buf, in extent_bmap()
256 retval = ext2fs_alloc_block3(fs, blk64, block_buf, &blk64, in extent_bmap()
303 char *block_buf, int bmap_flags, blk64_t block, in ext2fs_bmap2() argument
346 if (!block_buf) { in ext2fs_bmap2()
350 block_buf = buf; in ext2fs_bmap2()
357 retval = extent_bmap(fs, ino, inode, handle, block_buf, in ext2fs_bmap2()
377 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
403 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
411 retval = block_ind_bmap(fs, bmap_flags, b, block_buf, in ext2fs_bmap2()
431 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
439 retval = block_dind_bmap(fs, bmap_flags, b, block_buf, in ext2fs_bmap2()
458 retval = ext2fs_alloc_block3(fs, b64, block_buf, &b64, in ext2fs_bmap2()
466 retval = block_tind_bmap(fs, bmap_flags, b, block_buf, in ext2fs_bmap2()
485 char *block_buf, int bmap_flags, blk_t block, in ext2fs_bmap() argument
491 ret = ext2fs_bmap2(fs, ino, inode, block_buf, bmap_flags, block, in ext2fs_bmap()