Lines Matching defs:blocksize
229 printk("device blocksize: %d\n", 1 << bd_inode->i_blkbits);
577 sector_t bblock, unsigned blocksize)
579 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize);
1448 unsigned long blocksize, unsigned long b_state)
1452 head = alloc_page_buffers(page, blocksize, 1);
1552 const unsigned blocksize = 1 << inode->i_blkbits;
1562 create_empty_buffers(page, blocksize,
1598 WARN_ON(bh->b_size != blocksize);
1759 unsigned blocksize, bbits;
1767 blocksize = 1 << inode->i_blkbits;
1769 create_empty_buffers(page, blocksize, 0);
1777 block_end = block_start + blocksize;
1788 WARN_ON(bh->b_size != blocksize);
1841 unsigned blocksize;
1844 blocksize = 1 << inode->i_blkbits;
1849 block_end = block_start + blocksize;
1993 unsigned block_start, block_end, blocksize;
2001 blocksize = 1 << inode->i_blkbits;
2004 if (from < blocksize && to > PAGE_CACHE_SIZE - blocksize)
2011 block_end = block_start + blocksize;
2040 unsigned int blocksize;
2045 blocksize = 1 << inode->i_blkbits;
2047 create_empty_buffers(page, blocksize, 0);
2051 lblock = (i_size_read(inode)+blocksize-1) >> inode->i_blkbits;
2065 WARN_ON(bh->b_size != blocksize);
2071 zero_user(page, i * blocksize, blocksize);
2156 unsigned blocksize = 1 << inode->i_blkbits;
2169 if (zerofrom & (blocksize-1)) {
2170 *bytes |= (blocksize-1);
2198 if (zerofrom & (blocksize-1)) {
2199 *bytes |= (blocksize-1);
2231 unsigned blocksize = 1 << inode->i_blkbits;
2240 if (pos+len > *bytes && zerofrom & (blocksize-1)) {
2241 *bytes |= (blocksize-1);
2361 const unsigned blocksize = 1 << blkbits;
2403 head = alloc_page_buffers(page, blocksize, 0);
2418 block_in_page++, block_start += blocksize, bh = bh->b_this_page) {
2421 block_end = block_start + blocksize;
2583 unsigned blocksize;
2591 blocksize = 1 << inode->i_blkbits;
2592 length = offset & (blocksize - 1);
2598 length = blocksize - length;
2614 pos = blocksize;
2617 pos += blocksize;
2620 map_bh.b_size = blocksize;
2661 unsigned blocksize;
2669 blocksize = 1 << inode->i_blkbits;
2670 length = offset & (blocksize - 1);
2676 length = blocksize - length;
2685 create_empty_buffers(page, blocksize, 0);
2689 pos = blocksize;
2693 pos += blocksize;
2698 WARN_ON(bh->b_size != blocksize);