Searched refs:chunksize (Results 1 – 2 of 2) sorted by relevance
396 unsigned int chunksize) in o2ffg_update_histogram() argument400 index = __ilog2_u32(chunksize); in o2ffg_update_histogram()405 hist->fc_clusters[index] += chunksize; in o2ffg_update_histogram()409 unsigned int chunksize) in o2ffg_update_stats() argument411 if (chunksize > stats->ffs_max) in o2ffg_update_stats()412 stats->ffs_max = chunksize; in o2ffg_update_stats()414 if (chunksize < stats->ffs_min) in o2ffg_update_stats()415 stats->ffs_min = chunksize; in o2ffg_update_stats()417 stats->ffs_avg += chunksize; in o2ffg_update_stats()422 unsigned int chunksize) in ocfs2_info_update_ffg() argument[all …]
298 int i, chunksize; in hugetlbfs_read_actor() local306 chunksize = PAGE_SIZE; in hugetlbfs_read_actor()308 chunksize -= offset; in hugetlbfs_read_actor()309 if (chunksize > size) in hugetlbfs_read_actor()310 chunksize = size; in hugetlbfs_read_actor()311 n = copy_page_to_iter(&page[i], offset, chunksize, to); in hugetlbfs_read_actor()313 if (n != chunksize) in hugetlbfs_read_actor()316 size -= chunksize; in hugetlbfs_read_actor()