Home
last modified time | relevance | path

Searched refs:alloc_blocks (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/fs/xfs/
Dxfs_iomap.c334 xfs_fsblock_t alloc_blocks = 0; in xfs_iomap_prealloc_size() local
345 alloc_blocks = XFS_B_TO_FSB(mp, ip->i_size) + 1; in xfs_iomap_prealloc_size()
346 alloc_blocks = XFS_FILEOFF_MIN(MAXEXTLEN, in xfs_iomap_prealloc_size()
347 rounddown_pow_of_two(alloc_blocks)); in xfs_iomap_prealloc_size()
363 alloc_blocks >>= shift; in xfs_iomap_prealloc_size()
366 if (alloc_blocks < mp->m_writeio_blocks) in xfs_iomap_prealloc_size()
367 alloc_blocks = mp->m_writeio_blocks; in xfs_iomap_prealloc_size()
369 return alloc_blocks; in xfs_iomap_prealloc_size()
412 xfs_fsblock_t alloc_blocks = xfs_iomap_prealloc_size(mp, ip); in xfs_iomap_write_delay() local
416 last_fsb = ioalign + alloc_blocks; in xfs_iomap_write_delay()
/linux-2.6.39/fs/hfs/
Dextent.c333 if (ablock >= HFS_I(inode)->alloc_blocks) { in hfs_get_block()
379 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) in hfs_extend_file()
382 res = hfs_ext_read_extent(inode, HFS_I(inode)->alloc_blocks); in hfs_extend_file()
396 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) { in hfs_extend_file()
406 HFS_I(inode)->alloc_blocks, in hfs_extend_file()
417 HFS_I(inode)->alloc_blocks - in hfs_extend_file()
430 HFS_I(inode)->alloc_blocks += len; in hfs_extend_file()
448 HFS_I(inode)->cached_start = HFS_I(inode)->alloc_blocks; in hfs_extend_file()
486 alloc_cnt = HFS_I(inode)->alloc_blocks; in hfs_file_truncate()
519 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
Dinode.c213 HFS_I(inode)->alloc_blocks = 0; in hfs_new_inode()
270 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
402 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
Dhfs_fs.h59 u16 alloc_blocks, clump_blocks; member
Dbtree.c232 (loff_t)HFS_I(inode)->alloc_blocks * in hfs_bmap_alloc()
/linux-2.6.39/fs/hfsplus/
Dextents.c222 if (ablock >= hip->alloc_blocks) { in hfsplus_get_block()
411 if (hip->alloc_blocks == hip->first_blocks) in hfsplus_file_extend()
414 res = hfsplus_ext_read_extent(inode, hip->alloc_blocks); in hfsplus_file_extend()
432 if (hip->alloc_blocks <= hip->first_blocks) { in hfsplus_file_extend()
442 hip->alloc_blocks, in hfsplus_file_extend()
453 hip->alloc_blocks - hip->cached_start, in hfsplus_file_extend()
465 hip->alloc_blocks += len; in hfsplus_file_extend()
479 hip->cached_start = hip->alloc_blocks; in hfsplus_file_extend()
521 alloc_cnt = hip->alloc_blocks; in hfsplus_file_truncate()
554 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
Dbtree.c245 (loff_t)hip->alloc_blocks << in hfs_bmap_alloc()
248 hip->alloc_blocks << HFSPLUS_SB(tree->sb)->fs_shift; in hfs_bmap_alloc()
Dinode.c393 hip->alloc_blocks = 0; in hfsplus_new_inode()
463 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork()
483 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
Dhfsplus_fs.h178 u32 alloc_blocks; member
/linux-2.6.39/drivers/usb/storage/
Dsddr09.c1213 int numblocks, alloc_len, alloc_blocks; in sddr09_read_map() local
1231 alloc_blocks = min(numblocks, SDDR09_READ_MAP_BUFSZ >> CONTROL_SHIFT); in sddr09_read_map()
1232 alloc_len = (alloc_blocks << CONTROL_SHIFT); in sddr09_read_map()
1270 min(alloc_blocks, numblocks - i), in sddr09_read_map()