Lines Matching refs:blocksize
79 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()
190 buf += blocksize - skipfirst; in ext4fs_read_file()