Searched refs:max_blocks (Results 1 – 10 of 10) sorted by relevance
/fs/ext4/ |
D | extents.c | 2382 unsigned int max_blocks) in ext4_ext_convert_to_initialized() argument 2436 if (!ex1 && allocated > max_blocks) in ext4_ext_convert_to_initialized() 2437 ex2->ee_len = cpu_to_le16(max_blocks); in ext4_ext_convert_to_initialized() 2439 if (allocated > max_blocks) { in ext4_ext_convert_to_initialized() 2512 ex3->ee_block = cpu_to_le32(iblock + max_blocks); in ext4_ext_convert_to_initialized() 2513 ext4_ext_store_pblock(ex3, newblock + max_blocks); in ext4_ext_convert_to_initialized() 2514 ex3->ee_len = cpu_to_le16(allocated - max_blocks); in ext4_ext_convert_to_initialized() 2559 allocated = max_blocks; in ext4_ext_convert_to_initialized() 2680 unsigned int max_blocks, struct buffer_head *bh_result, in ext4_ext_get_blocks() argument 2694 iblock, max_blocks, inode->i_ino); in ext4_ext_get_blocks() [all …]
|
D | inode.c | 1066 unsigned int max_blocks, struct buffer_head *bh, in ext4_get_blocks_wrap() argument 1079 retval = ext4_ext_get_blocks(handle, inode, block, max_blocks, in ext4_get_blocks_wrap() 1083 inode, block, max_blocks, bh, 0, 0); in ext4_get_blocks_wrap() 1122 retval = ext4_ext_get_blocks(handle, inode, block, max_blocks, in ext4_get_blocks_wrap() 1126 max_blocks, bh, create, extend_disksize); in ext4_get_blocks_wrap() 1162 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext4_get_block() local 1167 if (max_blocks > DIO_MAX_BLOCKS) in ext4_get_block() 1168 max_blocks = DIO_MAX_BLOCKS; in ext4_get_block() 1169 dio_credits = ext4_chunk_trans_blocks(inode, max_blocks); in ext4_get_block() 1179 max_blocks, bh_result, create, 0, 0); in ext4_get_block() [all …]
|
D | ext4.h | 1343 ext4_lblk_t iblock, unsigned int max_blocks, 1352 sector_t block, unsigned int max_blocks,
|
/fs/fat/ |
D | inode.c | 58 unsigned long *max_blocks, in __fat_get_block() argument 72 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block() 94 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block() 95 MSDOS_I(inode)->mmu_private += *max_blocks << sb->s_blocksize_bits; in __fat_get_block() 102 BUG_ON(*max_blocks != mapped_blocks); in __fat_get_block() 113 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in fat_get_block() local 116 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 119 bh_result->b_size = max_blocks << sb->s_blocksize_bits; in fat_get_block()
|
/fs/omfs/ |
D | file.c | 246 int max_blocks = bh_result->b_size >> inode->i_blkbits; in omfs_get_block() local 274 if (remain > max_blocks) in omfs_get_block() 275 remain = max_blocks; in omfs_get_block()
|
/fs/ |
D | block_dev.c | 143 unsigned long max_blocks = bh->b_size >> inode->i_blkbits; in blkdev_get_blocks() local 145 if ((iblock + max_blocks) > end_block) { in blkdev_get_blocks() 146 max_blocks = end_block - iblock; in blkdev_get_blocks() 147 if ((long)max_blocks <= 0) { in blkdev_get_blocks() 154 max_blocks = 0; in blkdev_get_blocks() 160 bh->b_size = max_blocks << inode->i_blkbits; in blkdev_get_blocks() 161 if (max_blocks) in blkdev_get_blocks()
|
/fs/ocfs2/ |
D | aops.c | 134 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block() local 160 if (max_blocks < count) in ocfs2_get_block() 161 count = max_blocks; in ocfs2_get_block() 556 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_direct_IO_get_blocks() local 567 if (create && (iblock + max_blocks) > inode_blocks) { in ocfs2_direct_IO_get_blocks() 617 if (max_blocks < contig_blocks) in ocfs2_direct_IO_get_blocks() 618 contig_blocks = max_blocks; in ocfs2_direct_IO_get_blocks()
|
/fs/hugetlbfs/ |
D | inode.c | 633 if (sbinfo->max_blocks >= 0) { in hugetlbfs_statfs() 634 buf->f_blocks = sbinfo->max_blocks; in hugetlbfs_statfs() 875 sbinfo->max_blocks = config.nr_blocks; in hugetlbfs_fill_super()
|
/fs/ext3/ |
D | inode.c | 960 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext3_get_block() local 963 if (max_blocks > DIO_MAX_BLOCKS) in ext3_get_block() 964 max_blocks = DIO_MAX_BLOCKS; in ext3_get_block() 975 max_blocks, bh_result, create, 0); in ext3_get_block()
|
/fs/ext2/ |
D | inode.c | 696 unsigned max_blocks = bh_result->b_size >> inode->i_blkbits; in ext2_get_block() local 697 int ret = ext2_get_blocks(inode, iblock, max_blocks, in ext2_get_block()
|