Home
last modified time | relevance | path

Searched refs:sz2 (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-ps-service-time.c218 size_t sz1, sz2, st1, st2; in st_compare_load() local
221 sz2 = atomic_read(&pi2->in_flight_size); in st_compare_load()
227 return sz1 - sz2; in st_compare_load()
233 if (sz1 == sz2 || in st_compare_load()
255 sz2 += incoming; in st_compare_load()
257 sz2 >= ST_MAX_INFLIGHT_SIZE)) { in st_compare_load()
264 sz2 >>= ST_MAX_RELATIVE_THROUGHPUT_SHIFT; in st_compare_load()
267 st2 = sz2 * pi1->relative_throughput; in st_compare_load()
/linux-6.1.9/tools/perf/
Dbuiltin-inject.c322 size_t sz2 = event->header.size - sample->aux_sample.size - sz1; in perf_inject__cut_auxtrace_sample() local
325 if (sz1 > event->header.size || sz2 > event->header.size || in perf_inject__cut_auxtrace_sample()
326 sz1 + sz2 > event->header.size || in perf_inject__cut_auxtrace_sample()
331 memcpy((void *)ev + sz1, (void *)event + event->header.size - sz2, sz2); in perf_inject__cut_auxtrace_sample()
332 ev->header.size = sz1 + sz2; in perf_inject__cut_auxtrace_sample()