Searched refs:sz2 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-ps-service-time.c | 218 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()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_device_path.c | 289 unsigned sz2 = efi_dp_size(dp2); in efi_dp_append() local 290 void *p = dp_alloc(sz1 + sz2 + sizeof(END)); in efi_dp_append() 295 memcpy(p + sz1, dp2, sz2 + sizeof(END)); in efi_dp_append()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-inject.c | 322 size_t sz2 = event->header.size - sample->aux_sample.size - sz1; in perf_inject__cut_auxtrace_sample() local 331 if (sz1 > event->header.size || sz2 > event->header.size || in perf_inject__cut_auxtrace_sample() 332 sz1 + sz2 > event->header.size || in perf_inject__cut_auxtrace_sample() 337 memcpy((void *)ev + sz1, (void *)event + event->header.size - sz2, sz2); in perf_inject__cut_auxtrace_sample() 338 ev->header.size = sz1 + sz2; in perf_inject__cut_auxtrace_sample()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | xen.c | 757 size_t sz, sz1, sz2; in kvm_xen_vcpu_set_attr() local 792 sz2 = sz - sz1; in kvm_xen_vcpu_set_attr() 795 data->u.gpa + sz1, sz2); in kvm_xen_vcpu_set_attr()
|