Lines Matching refs:blocksize
97 unsigned int blocksize = nilfs->ns_blocksize; in nilfs_compute_checksum() local
101 BUG_ON(offset >= blocksize); in nilfs_compute_checksum()
103 size = min_t(u64, check_bytes, blocksize - offset); in nilfs_compute_checksum()
110 bh = __bread(nilfs->ns_bdev, ++start, blocksize); in nilfs_compute_checksum()
114 size = min_t(u64, check_bytes, blocksize); in nilfs_compute_checksum()
500 unsigned int blocksize = nilfs->ns_blocksize; in nilfs_recover_dsync_blocks() local
514 err = block_write_begin(inode->i_mapping, pos, blocksize, in nilfs_recover_dsync_blocks()
519 if (pos + blocksize > isize) in nilfs_recover_dsync_blocks()
521 pos + blocksize); in nilfs_recover_dsync_blocks()
533 block_write_end(NULL, inode->i_mapping, pos, blocksize, in nilfs_recover_dsync_blocks()
534 blocksize, page, NULL); in nilfs_recover_dsync_blocks()