Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 6 of 6) sorted by relevance

/block/partitions/
Damiga.c22 u32 sum = 0; in checksum_block() local
25 sum += be32_to_cpu(*m++); in checksum_block()
26 return sum; in checksum_block()
Dacorn.c330 unsigned long sum; in valid_ics_sector() local
333 for (i = 0, sum = 0x50617274; i < 508; i++) in valid_ics_sector()
334 sum += data[i]; in valid_ics_sector()
336 sum -= le32_to_cpu(*(__le32 *)(&data[508])); in valid_ics_sector()
338 return sum == 0; in valid_ics_sector()
/block/
Dbfq-cgroup.c1081 u64 sum = 0; in bfqg_prfill_stat_recursive() local
1093 sum += bfq_stat_read(stat) + atomic64_read(&stat->aux_cnt); in bfqg_prfill_stat_recursive()
1097 return __blkg_prfill_u64(sf, pd, sum); in bfqg_prfill_stat_recursive()
1103 struct blkg_rwstat_sample sum; in bfqg_prfill_rwstat_recursive() local
1105 blkg_rwstat_recursive_sum(pd_to_blkg(pd), &blkcg_policy_bfq, off, &sum); in bfqg_prfill_rwstat_recursive()
1106 return __blkg_prfill_rwstat(sf, pd, &sum); in bfqg_prfill_rwstat_recursive()
1128 u64 sum = blkg_rwstat_total(&pd->blkg->stat_bytes); in bfqg_prfill_sectors() local
1130 return __blkg_prfill_u64(sf, pd, sum >> 9); in bfqg_prfill_sectors()
Dblk-iolatency.c203 struct latency_stat *sum, in latency_stat_sum() argument
207 sum->ps.total += stat->ps.total; in latency_stat_sum()
208 sum->ps.missed += stat->ps.missed; in latency_stat_sum()
210 blk_rq_stat_sum(&sum->rqs, &stat->rqs); in latency_stat_sum()
Dsed-opal.c291 const struct d0_single_user_mode *sum = data; in check_sum() local
292 u32 nlo = be32_to_cpu(sum->num_locking_objects); in check_sum()
1434 if (session->sum) in start_auth_opal_session()
1437 else if (session->who != OPAL_ADMIN1 && !session->sum) in start_auth_opal_session()
1679 if (usr->sum) in set_new_pw()
1883 if (opal_act->sum) { in activate_lsp()
2201 if (lk_unlk->session.sum) { in opal_add_user_to_lr()
2263 if (lk_unlk->session.sum) in __opal_lock_unlock()
2430 suspend->unlk.session.sum); in opal_unlock_from_suspend()
Dblk-cgroup.c716 int off, struct blkg_rwstat_sample *sum) in blkg_rwstat_recursive_sum() argument
737 sum->cnt[i] = blkg_rwstat_read_counter(rwstat, i); in blkg_rwstat_recursive_sum()