Searched refs:alloc_blocks (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/fs/xfs/ |
D | xfs_iomap.c | 409 xfs_fsblock_t alloc_blocks) in xfs_quota_need_throttle() argument 421 if (dq->q_res_bcount + alloc_blocks < dq->q_prealloc_lo_wmark) in xfs_quota_need_throttle() 479 xfs_fsblock_t alloc_blocks = 0; in xfs_iomap_prealloc_size() local 485 alloc_blocks = xfs_iomap_eof_prealloc_initial_size(mp, ip, offset, in xfs_iomap_prealloc_size() 487 if (!alloc_blocks) in xfs_iomap_prealloc_size() 489 qblocks = alloc_blocks; in xfs_iomap_prealloc_size() 498 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(MAXEXTLEN), in xfs_iomap_prealloc_size() 499 alloc_blocks); in xfs_iomap_prealloc_size() 518 if (xfs_quota_need_throttle(ip, XFS_DQ_USER, alloc_blocks)) in xfs_iomap_prealloc_size() 521 if (xfs_quota_need_throttle(ip, XFS_DQ_GROUP, alloc_blocks)) in xfs_iomap_prealloc_size() [all …]
|
/linux-4.4.14/fs/hfs/ |
D | extent.c | 346 if (ablock >= HFS_I(inode)->alloc_blocks) { in hfs_get_block() 392 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) in hfs_extend_file() 395 res = hfs_ext_read_extent(inode, HFS_I(inode)->alloc_blocks); in hfs_extend_file() 409 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) { in hfs_extend_file() 419 HFS_I(inode)->alloc_blocks, in hfs_extend_file() 430 HFS_I(inode)->alloc_blocks - in hfs_extend_file() 443 HFS_I(inode)->alloc_blocks += len; in hfs_extend_file() 463 HFS_I(inode)->cached_start = HFS_I(inode)->alloc_blocks; in hfs_extend_file() 501 alloc_cnt = HFS_I(inode)->alloc_blocks; in hfs_file_truncate() 539 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
|
D | btree.c | 49 if (HFS_I(tree->inode)->alloc_blocks > in hfs_btree_open() 242 (loff_t)HFS_I(inode)->alloc_blocks * in hfs_bmap_alloc()
|
D | inode.c | 222 HFS_I(inode)->alloc_blocks = 0; in hfs_new_inode() 279 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork() 411 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
|
D | hfs_fs.h | 76 u16 alloc_blocks, clump_blocks; member
|
/linux-4.4.14/fs/hfsplus/ |
D | extents.c | 237 if (ablock >= hip->alloc_blocks) { in hfsplus_get_block() 446 if (hip->alloc_blocks == hip->first_blocks) in hfsplus_file_extend() 449 res = hfsplus_ext_read_extent(inode, hip->alloc_blocks); in hfsplus_file_extend() 473 if (hip->alloc_blocks <= hip->first_blocks) { in hfsplus_file_extend() 483 hip->alloc_blocks, in hfsplus_file_extend() 494 hip->alloc_blocks - hip->cached_start, in hfsplus_file_extend() 505 hip->alloc_blocks += len; in hfsplus_file_extend() 524 hip->cached_start = hip->alloc_blocks; in hfsplus_file_extend() 567 alloc_cnt = hip->alloc_blocks; in hfsplus_file_truncate() 603 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
|
D | inode.c | 385 hip->alloc_blocks = 0; in hfsplus_new_inode() 455 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork() 475 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
|
D | btree.c | 365 (loff_t)hip->alloc_blocks << in hfs_bmap_alloc() 368 hip->alloc_blocks << HFSPLUS_SB(tree->sb)->fs_shift; in hfs_bmap_alloc()
|
D | xattr.c | 198 while (hip->alloc_blocks < hip->clump_blocks) { in hfsplus_create_attributes_file() 205 (loff_t)hip->alloc_blocks << sbi->alloc_blksz_shift; in hfsplus_create_attributes_file() 206 hip->fs_blocks = hip->alloc_blocks << sbi->fs_shift; in hfsplus_create_attributes_file()
|
D | hfsplus_fs.h | 216 u32 alloc_blocks; member
|
/linux-4.4.14/drivers/usb/storage/ |
D | sddr09.c | 1206 int numblocks, alloc_len, alloc_blocks; in sddr09_read_map() local 1224 alloc_blocks = min(numblocks, SDDR09_READ_MAP_BUFSZ >> CONTROL_SHIFT); in sddr09_read_map() 1225 alloc_len = (alloc_blocks << CONTROL_SHIFT); in sddr09_read_map() 1263 min(alloc_blocks, numblocks - i), in sddr09_read_map()
|