Searched refs:chunksize (Results 1 – 2 of 2) sorted by relevance
438 unsigned int chunksize) in o2ffg_update_histogram() argument442 index = __ilog2_u32(chunksize); in o2ffg_update_histogram()447 hist->fc_clusters[index] += chunksize; in o2ffg_update_histogram()451 unsigned int chunksize) in o2ffg_update_stats() argument453 if (chunksize > stats->ffs_max) in o2ffg_update_stats()454 stats->ffs_max = chunksize; in o2ffg_update_stats()456 if (chunksize < stats->ffs_min) in o2ffg_update_stats()457 stats->ffs_min = chunksize; in o2ffg_update_stats()459 stats->ffs_avg += chunksize; in o2ffg_update_stats()464 unsigned int chunksize) in ocfs2_info_update_ffg() argument[all …]
219 int i, chunksize; in hugetlbfs_read_actor() local229 chunksize = PAGE_CACHE_SIZE; in hugetlbfs_read_actor()231 chunksize -= offset; in hugetlbfs_read_actor()232 if (chunksize > size) in hugetlbfs_read_actor()233 chunksize = size; in hugetlbfs_read_actor()235 left = __copy_to_user(buf, kaddr + offset, chunksize); in hugetlbfs_read_actor()238 copied += (chunksize - left); in hugetlbfs_read_actor()242 size -= chunksize; in hugetlbfs_read_actor()243 buf += chunksize; in hugetlbfs_read_actor()244 copied += chunksize; in hugetlbfs_read_actor()