Lines Matching refs:block

21  *                block boundaries (which is not actually allowed)
67 static int udf_get_block_wb(struct inode *inode, sector_t block,
313 static sector_t udf_bmap(struct address_space *mapping, sector_t block)
319 return generic_block_bmap(mapping, block, udf_get_block);
336 * Expand file stored in ICB to a normal one-block-file
448 static int __udf_get_block(struct inode *inode, sector_t block,
453 .lblk = block,
468 int udf_get_block(struct inode *inode, sector_t block,
481 return __udf_get_block(inode, block, bh_result, flags);
490 static int udf_get_block_wb(struct inode *inode, sector_t block,
493 return __udf_get_block(inode, block, bh_result, 0);
516 /* Round the last extent up to a multiple of block size */
610 /* Extend the final block of the file to final_block_len bytes */
619 * Extent already large enough? It may be already rounded up to block
686 * inside a block)?
689 /* Extending file within the last file block */
723 prev_epos.block = iinfo->i_location;
728 /* find the extent which contains the block we are looking for.
745 prev_epos.block = cur_epos.block;
746 cur_epos.block = next_epos.block;
777 /* if the extent is allocated and recorded, return the block
847 /* if the current block is located in an extent,
861 * block in the extent corresponding to the requested block */
864 else { /* otherwise, allocate a new block */
882 /* if the extent the requsted block is located in contains multiple
884 * to requested block, requested block, and blocks after requested
885 * block */
1206 struct buffer_head *udf_bread(struct inode *inode, udf_pblk_t block,
1211 .lblk = block,
1340 udf_debug("block=%u, partition=%u out of range\n",
1928 unsigned long block = udf_get_lb_pblock(sb, ino, 0);
1929 struct inode *inode = iget_locked(sb, block);
1954 int udf_setup_indirect_aext(struct inode *inode, udf_pblk_t block,
1971 neloc.logicalBlockNum = block;
1972 neloc.partitionReferenceNum = epos->block.partitionReferenceNum;
1986 cpu_to_le32(epos->block.logicalBlockNum);
1993 udf_new_tag(bh->b_data, TAG_IDENT_AED, ver, 1, block,
1996 nepos.block = neloc;
2014 udf_write_aext(inode, epos, &nepos.block,
2017 __udf_add_aext(inode, epos, &nepos.block,
2099 epos->block.partitionReferenceNum,
2100 epos->block.logicalBlockNum, &err);
2178 udf_pblk_t block;
2187 epos->block = *eloc;
2190 block = udf_get_lb_pblock(inode->i_sb, &epos->block, 0);
2191 epos->bh = sb_bread(inode->i_sb, block);
2193 udf_debug("reading block %u failed!\n", block);
2307 oepos.block = epos.block;
2318 udf_free_blocks(inode->i_sb, inode, &epos.block, 0, 1);
2361 int8_t inode_bmap(struct inode *inode, sector_t block,
2366 loff_t lbcount = 0, bcount = (loff_t) block << blocksize_bits;
2373 pos->block = iinfo->i_location;