/linux-master/scripts/mod/ |
H A D | modpost.h | 187 void get_src_version(const char *modname, char sum[], unsigned sumlen);
|
/linux-master/drivers/acpi/ |
H A D | tables.c | 376 u8 sum = 0; local 380 sum = (u8) (sum + *(buffer++)); 381 return sum;
|
/linux-master/fs/romfs/ |
H A D | super.c | 446 __u32 sum; local 448 sum = 0; 451 sum += be32_to_cpu(*ptr++); 454 return sum;
|
/linux-master/net/core/ |
H A D | datagram.c | 750 __wsum sum; local 763 sum = csum_shift(csstate->csum, csstate->off); 765 bytes = iterate_and_advance2(i, bytes, (void *)addr, &sum, 768 csstate->csum = csum_shift(sum, csstate->off);
|
/linux-master/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 67 static void ddr_cnt_addition(struct dmc_counter *sum, argument 75 sum->all_cnt = add1->all_cnt + add2->all_cnt; 76 sum->all_req = add1->all_req + add2->all_req; 81 sum->channel_cnt[i] = cnt1 + cnt2; 375 "sum: %llu %llu %llu, %llu, %llu, %llu\n",
|
/linux-master/fs/btrfs/ |
H A D | ordered-data.h | 180 struct btrfs_ordered_sum *sum);
|
/linux-master/arch/x86/pci/ |
H A D | irq.c | 78 u8 sum; local 87 sum = 0; 89 sum += addr[i]; 90 if (!sum) { 132 u8 sum; local 159 sum = 0; 161 sum += addr[i]; 162 rt->checksum = -sum;
|
/linux-master/lib/ |
H A D | bch.c | 608 * let u = sum(li.a^i) i=0..m-1; then compute r = sum(li.xi): 609 * r^2+r = sum(li.(xi^2+xi)) = sum(li.(a^i+Tr(a^i).a^k)) = 610 * u + sum(li.Tr(a^i).a^k) = u+a^k.Tr(sum(li.a^i)) = u+a^k.Tr(u) 1026 uint32_t sum; local 1047 for (i = 0, sum = 0; i < (int)ecc_words; i++) { 1049 sum |= bch->ecc_buf[i]; 1051 if (!sum) 1152 unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M]; local [all...] |
H A D | checksum_kunit.c | 451 #define full_csum(buff, len, sum) csum_fold(csum_partial(buff, len, sum)) 485 __wsum sum; local 497 sum = to_wsum(random_init_sum); 498 result = full_csum(&tmp_buf[align], len, sum); 511 __wsum sum; local 520 * All carries from input and initial sum. 522 sum = to_wsum(0xffffffff); 523 result = full_csum(&tmp_buf[align], len, sum); 530 sum 551 __wsum sum; local [all...] |
/linux-master/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-recheck.sh | 102 if test -f "$rd/kcsan.sum" 111 elif test -s "$rd/kcsan.sum" 113 echo KCSAN summary in $rd/kcsan.sum
|
/linux-master/block/ |
H A D | bfq-cgroup.c | 1168 struct blkg_rwstat_sample sum; local 1170 blkg_rwstat_recursive_sum(pd_to_blkg(pd), &blkcg_policy_bfq, off, &sum); local 1171 return __blkg_prfill_rwstat(sf, pd, &sum); 1196 u64 sum = 0; local 1208 sum += bfq_stat_read(stat) + atomic64_read(&stat->aux_cnt); 1212 return __blkg_prfill_u64(sf, pd, sum); 1227 u64 sum = blkg_rwstat_total(&bfqg->stats.bytes); local 1229 return __blkg_prfill_u64(sf, pd, sum >> 9);
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | custom_multipath_hash.sh | 267 local sum=$((d_rp11 + d_rp12)) 269 local pct=$(echo "$diff / $sum * 100" | bc -l)
|
/linux-master/arch/powerpc/crypto/ |
H A D | aes-gcm-p10.S | 256 # sum hash and reduction with H Poly 278 # sum hash and reduction with H Poly 313 # sum hash and reduction with H Poly 337 # sum hash and reduction with H Poly 362 # sum hash and reduction with H Poly 386 # sum hash and reduction with H Poly
|
/linux-master/tools/perf/scripts/python/ |
H A D | task-analyzer.py | 224 return sum(sorted(numbers)[index - 1 : index + 1]) / 2 228 return sum(numbers) / len(numbers) 330 fmt = " {{:^{}}}".format(sum(db["task_info"].values())) 332 sum(db["runtime_info"].values()) - 2 * decimal_precision 338 sum(db["inter_times"].values()) - 4 * decimal_precision 426 # The size of the decimal after sum,mean and median varies, thus we cut 429 time_sum = round(sum(runtimes), 3)
|
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 177 __wsum sum = 0; local 200 sum = csum_add(sum, csum_unfold((__force __sum16)pa)); 205 sum = csum_add(sum, csum_unfold((__force __sum16)*w++)); 209 return csum_fold(sum);
|
/linux-master/fs/f2fs/ |
H A D | recovery.c | 500 struct f2fs_summary sum; local 518 sum = curseg->sum_blk->entries[blkoff]; 527 sum = sum_node->entries[blkoff]; 531 nid = le32_to_cpu(sum.nid); 532 ofs_in_node = le16_to_cpu(sum.ofs_in_node); 581 le16_to_cpu(sum.ofs_in_node);
|
/linux-master/kernel/irq/ |
H A D | irqdesc.c | 960 * Returns the sum of interrupt counts on @cpu since boot for 973 unsigned int sum = 0; local 982 sum += data_race(per_cpu(desc->kstat_irqs->cnt, cpu)); 983 return sum; 1024 * Returns the sum of interrupt counts on all cpus since boot for @irq. 1032 unsigned int sum; local 1035 sum = kstat_irqs(irq); 1037 return sum;
|
/linux-master/include/trace/events/ |
H A D | rxrpc.h | 1560 __field_struct(struct rxrpc_ack_summary, sum) 1570 memcpy(&__entry->sum, summary, sizeof(__entry->sum)); 1576 __print_symbolic(__entry->sum.ack_reason, rxrpc_ack_names), 1578 __print_symbolic(__entry->sum.mode, rxrpc_congest_modes), 1579 __entry->sum.cwnd, 1580 __entry->sum.ssthresh, 1581 __entry->sum.nr_acks, __entry->sum.nr_retained_nacks, 1582 __entry->sum [all...] |
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 1084 uint64_t sum = 0; local 1087 sum += *temp_buffer++; 1088 while (sum >> 32) 1089 sum = (sum & 0xFFFFFFFF) + (sum >> 32); 1090 return ~sum;
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 746 uint32_t sum = 0; local 752 sum += *buff++; 754 while (sum >> 16) 755 sum = (sum & 0xFFFF) + (sum >> 16); 758 if (~sum) {
|
/linux-master/kernel/time/ |
H A D | posix-cpu-timers.c | 255 struct task_cputime *sum) 257 __update_gt_cputime(&cputime_atomic->utime, sum->utime); 258 __update_gt_cputime(&cputime_atomic->stime, sum->stime); 259 __update_gt_cputime(&cputime_atomic->sum_exec_runtime, sum->sum_exec_runtime); 304 struct task_cputime sum; local 311 thread_group_cputime(tsk, &sum); 312 update_gt_cputime(&cputimer->cputime_atomic, &sum); 254 update_gt_cputime(struct task_cputime_atomic *cputime_atomic, struct task_cputime *sum) argument
|
/linux-master/sound/pci/ctxfi/ |
H A D | ctatc.c | 597 err = sum_mgr->get_sum(sum_mgr, &sum_dsc, (struct sum **)&apcm->mono); 649 struct sum *mono; 1437 (struct sum **)&atc->pcm[i]); 1491 struct sum *sum; local 1537 sum = atc->pcm[j]; 1538 mixer->set_input_left(mixer, i, &sum->rsc); 1539 sum = atc->pcm[j+1]; 1540 mixer->set_input_right(mixer, i, &sum->rsc);
|
/linux-master/drivers/input/touchscreen/ |
H A D | ili210x.c | 137 s16 sum = 0; local 151 sum = (sum + data[i]) & 0xff; 153 if ((-sum & 0xff) != data[ILI211X_DATA_SIZE - 1]) { 156 sum, data[ILI211X_DATA_SIZE - 1]);
|
/linux-master/kernel/trace/ |
H A D | tracing_map.c | 30 * tracing_map_update_sum - Add a value to a tracing_map_elt's sum field 32 * @i: The index of the given sum associated with the tracing_map_elt 33 * @n: The value to add to the sum 35 * Add n to sum i associated with the specified tracing_map_elt 41 atomic64_add(n, &elt->fields[i].sum); 45 * tracing_map_read_sum - Return the value of a tracing_map_elt's sum field 47 * @i: The index of the given sum associated with the tracing_map_elt 49 * Retrieve the value of the sum i associated with the specified 54 * Return: The sum associated with field i for elt. 58 return (u64)atomic64_read(&elt->fields[i].sum); [all...] |
/linux-master/drivers/md/bcache/ |
H A D | sysfs.c | 1059 uint64_t sum = 0; local 1098 sum += INITIAL_PRIO - cached[i]; 1101 sum = div64_u64(sum, n); 1120 meta * 100 / (size_t) ca->sb.nbuckets, sum,
|