Home
last modified time | relevance | path

Searched refs:blocksize (Results 1 – 6 of 6) sorted by relevance

/fs/ext4/
A Dext4fs.c79 int blocksize = (1 << (log2_fs_blocksize + log2blksz)); in ext4fs_read_file() local
97 if (blocksize <= 0 || len <= 0) { in ext4fs_read_file()
102 blockcnt = lldiv(((len + pos) + blocksize - 1), blocksize); in ext4fs_read_file()
104 for (i = lldiv(pos, blocksize); i < blockcnt; i++) { in ext4fs_read_file()
107 int blockoff = pos - (blocksize * i); in ext4fs_read_file()
108 int blockend = blocksize; in ext4fs_read_file()
123 blockend = (len + pos) - (blocksize * i); in ext4fs_read_file()
127 blockend = blocksize; in ext4fs_read_file()
131 if (i == lldiv(pos, blocksize)) { in ext4fs_read_file()
184 n = blocksize - skipfirst; in ext4fs_read_file()
[all …]
A Dext4_common.c315 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_set_block_bmap() local
317 i = i - (index * blocksize); in ext4fs_set_block_bmap()
318 if (blocksize != 1024) { in ext4fs_set_block_bmap()
351 int blocksize = EXT2_BLOCK_SIZE(ext4fs_root); in ext4fs_reset_block_bmap() local
353 i = i - (index * blocksize); in ext4fs_reset_block_bmap()
354 if (blocksize != 1024) { in ext4fs_reset_block_bmap()
/fs/btrfs/
A Dextent-io.c565 u64 bytenr, u32 blocksize) in __alloc_extent_buffer() argument
572 eb->data = malloc_cache_aligned(blocksize); in __alloc_extent_buffer()
579 eb->len = blocksize; in __alloc_extent_buffer()
583 eb->cache_node.size = blocksize; in __alloc_extent_buffer()
585 memset_extent_buffer(eb, 0, 0, blocksize); in __alloc_extent_buffer()
642 u64 bytenr, u32 blocksize) in find_extent_buffer() argument
649 cache->size == blocksize) { in find_extent_buffer()
671 u64 bytenr, u32 blocksize) in alloc_extent_buffer() argument
679 cache->size == blocksize) { in alloc_extent_buffer()
698 tree->cache_size += blocksize; in alloc_extent_buffer()
[all …]
A Dextent-io.h130 u64 bytenr, u32 blocksize);
134 u64 bytenr, u32 blocksize);
137 u64 bytenr, u32 blocksize);
A Ddisk-io.h23 u64 bytenr, u32 blocksize);
A Ddisk-io.c356 u64 bytenr, u32 blocksize) in btrfs_find_tree_block() argument
359 bytenr, blocksize); in btrfs_find_tree_block()

Completed in 722 milliseconds