Searched refs:sum (Results 1 – 4 of 4) sorted by relevance
/block/partitions/ |
D | amiga.c | 21 u32 sum = 0; in checksum_block() local 24 sum += be32_to_cpu(*m++); in checksum_block() 25 return sum; in checksum_block()
|
D | acorn.c | 335 unsigned long sum; in valid_ics_sector() local 338 for (i = 0, sum = 0x50617274; i < 508; i++) in valid_ics_sector() 339 sum += data[i]; in valid_ics_sector() 341 sum -= le32_to_cpu(*(__le32 *)(&data[508])); in valid_ics_sector() 343 return sum == 0; in valid_ics_sector()
|
/block/ |
D | blk-cgroup.c | 704 u64 sum = 0; in blkg_stat_recursive_sum() local 720 sum += blkg_stat_read(stat) + atomic64_read(&stat->aux_cnt); in blkg_stat_recursive_sum() 724 return sum; in blkg_stat_recursive_sum() 746 struct blkg_rwstat sum = { }; in blkg_rwstat_recursive_sum() local 766 &sum.aux_cnt[i]); in blkg_rwstat_recursive_sum() 770 return sum; in blkg_rwstat_recursive_sum()
|
D | cfq-iosched.c | 1895 u64 sum = blkg_stat_recursive_sum(pd_to_blkg(pd), in cfqg_prfill_stat_recursive() local 1897 return __blkg_prfill_u64(sf, pd, sum); in cfqg_prfill_stat_recursive() 1903 struct blkg_rwstat sum = blkg_rwstat_recursive_sum(pd_to_blkg(pd), in cfqg_prfill_rwstat_recursive() local 1905 return __blkg_prfill_rwstat(sf, pd, &sum); in cfqg_prfill_rwstat_recursive() 1927 u64 sum = blkg_rwstat_total(&pd->blkg->stat_bytes); in cfqg_prfill_sectors() local 1929 return __blkg_prfill_u64(sf, pd, sum >> 9); in cfqg_prfill_sectors() 1944 u64 sum = atomic64_read(&tmp.aux_cnt[BLKG_RWSTAT_READ]) + in cfqg_prfill_sectors_recursive() local 1947 return __blkg_prfill_u64(sf, pd, sum >> 9); in cfqg_prfill_sectors_recursive()
|