Lines Matching full:blocksize
56 int blocksize = (1 << (log2_fs_blocksize + log2blksz)); in ext4fs_read_file() local
66 if (blocksize <= 0) in ext4fs_read_file()
73 blockcnt = lldiv(((len + pos) + blocksize - 1), blocksize); in ext4fs_read_file()
75 for (i = lldiv(pos, blocksize); i < blockcnt; i++) { in ext4fs_read_file()
77 int blockoff = pos - (blocksize * i); in ext4fs_read_file()
78 int blockend = blocksize; in ext4fs_read_file()
88 blockend = (len + pos) - (blocksize * i); in ext4fs_read_file()
90 /* The last portion is exactly blocksize. */ in ext4fs_read_file()
92 blockend = blocksize; in ext4fs_read_file()
96 if (i == lldiv(pos, blocksize)) { in ext4fs_read_file()
144 n = blocksize - skipfirst; in ext4fs_read_file()
149 buf += blocksize - skipfirst; in ext4fs_read_file()