Home
last modified time | relevance | path

Searched refs:steal (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/arch/arm64/kvm/
H A Dpvtime.c16 u64 base = vcpu->arch.steal.base; in kvm_update_stolen_time()
17 u64 last_steal = vcpu->arch.steal.last_steal; in kvm_update_stolen_time()
19 u64 steal = 0; in kvm_update_stolen_time() local
26 if (!kvm_get_guest(kvm, base + offset, steal)) { in kvm_update_stolen_time()
27 steal = le64_to_cpu(steal); in kvm_update_stolen_time()
29 steal += vcpu->arch.steal.last_steal - last_steal; in kvm_update_stolen_time()
43 if (vcpu->arch.steal.base != INVALID_GPA) in kvm_hypercall_pv_features()
55 u64 base = vcpu->arch.steal.base; in kvm_init_stolen_time()
92 if (vcpu->arch.steal.base != INVALID_GPA) in kvm_arm_pvtime_set_attr()
102 vcpu->arch.steal.base = ipa; in kvm_arm_pvtime_set_attr()
[all …]
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-queue.c110 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, in ivtv_queue_move() argument
126 bytes_steal = (from_free && steal) ? steal->length : 0; in ivtv_queue_move()
132 while (steal && bytes_available < needed_bytes) { in ivtv_queue_move()
133 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
141 list_move_tail(steal->list.prev, &from->list); in ivtv_queue_move()
143 steal->buffers--; in ivtv_queue_move()
144 steal->length -= s->buf_size; in ivtv_queue_move()
145 steal->bytesused -= buf->bytesused - buf->readpos; in ivtv_queue_move()
150 if (list_empty(&steal->list)) in ivtv_queue_move()
152 buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
H A Divtv-queue.h63 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal,
/openbmc/linux/kernel/sched/
H A Dcputime.c257 u64 steal; in steal_account_process_time() local
260 steal -= this_rq()->prev_steal_time; in steal_account_process_time()
261 steal = min(steal, maxtime); in steal_account_process_time()
262 account_steal_time(steal); in steal_account_process_time()
265 return steal; in steal_account_process_time()
489 u64 cputime, steal; in account_process_tick() local
502 if (steal >= cputime) in account_process_tick()
505 cputime -= steal; in account_process_tick()
521 u64 cputime, steal; in account_idle_ticks() local
531 if (steal >= cputime) in account_idle_ticks()
[all …]
/openbmc/linux/fs/proc/
H A Dstat.c85 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
93 irq = softirq = steal = 0; in show_stat()
112 steal += cpustat[CPUTIME_STEAL]; in show_stat()
134 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
153 steal = cpustat[CPUTIME_STEAL]; in show_stat()
164 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dvmware.c220 struct vmware_steal_time *steal = &per_cpu(vmw_steal_time, cpu); in vmware_steal_clock() local
224 clock = READ_ONCE(steal->clock); in vmware_steal_clock()
229 initial_high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
232 low = READ_ONCE(steal->clock_low); in vmware_steal_clock()
235 high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
/openbmc/linux/arch/s390/kernel/
H A Dvtime.c207 u64 steal, avg_steal; in vtime_flush() local
212 steal = S390_lowcore.steal_timer; in vtime_flush()
214 if ((s64) steal > 0) { in vtime_flush()
216 account_steal_time(cputime_to_nsecs(steal)); in vtime_flush()
217 avg_steal += steal; in vtime_flush()
/openbmc/linux/kernel/bpf/
H A Dbpf_lru_list.c442 int steal, first_steal; in bpf_common_lru_pop_free() local
473 steal = first_steal; in bpf_common_lru_pop_free()
475 steal_loc_l = per_cpu_ptr(clru->local_list, steal); in bpf_common_lru_pop_free()
485 steal = get_next_cpu(steal); in bpf_common_lru_pop_free()
486 } while (!node && steal != first_steal); in bpf_common_lru_pop_free()
488 loc_l->next_steal = steal; in bpf_common_lru_pop_free()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_object.c547 int steal; in radeon_bo_get_surface_reg() local
560 steal = -1; in radeon_bo_get_surface_reg()
569 steal = i; in radeon_bo_get_surface_reg()
574 if (steal == -1) in radeon_bo_get_surface_reg()
577 reg = &rdev->surface_regs[steal]; in radeon_bo_get_surface_reg()
580 DRM_DEBUG("stealing surface reg %d from %p\n", steal, old_object); in radeon_bo_get_surface_reg()
583 i = steal; in radeon_bo_get_surface_reg()
/openbmc/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c49 WRITE_ONCE(guest_stolen_time[cpu], st->steal); in guest_code()
56 WRITE_ONCE(guest_stolen_time[cpu], st->steal); in guest_code()
87 pr_info(" steal: %lld\n", st->steal); in steal_time_dump()
/openbmc/qemu/docs/system/i386/
H A Dkvm-pv.rst20 - ``kvm-steal-time``
49 ``kvm-steal-time``
/openbmc/qemu/include/standard-headers/asm-x86/
H A Dkvm_para.h63 uint64_t steal; member
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dkvm_para.h63 __u64 steal; member
/openbmc/linux/arch/x86/kernel/
H A Dkvm.c405 u64 steal; in kvm_steal_clock() local
413 steal = src->steal; in kvm_steal_clock()
417 return steal; in kvm_steal_clock()
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/openbmc/linux/Documentation/translations/zh_TW/admin-guide/
H A Dcpu-load.rst18 avg-cpu: %user %nice %system %iowait %steal %idle
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nmon/nmon/
H A D0001-Fix-a-lot-of-Werror-format-security-errors-with-mvpr.patch37 if (p->cpu_total.steal != q->cpu_total.steal) {
/openbmc/linux/fs/btrfs/
H A Dspace-info.h163 bool steal; member
/openbmc/qemu/util/
H A Dqtree.c105 gboolean steal);
727 gboolean steal) in q_tree_remove_internal() argument
905 if (!steal) { in q_tree_remove_internal()
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_host.h590 } steal; member
1033 vcpu_arch->steal.base = INVALID_GPA; in kvm_arm_pvtime_vcpu_init()
1038 return (vcpu_arch->steal.base != INVALID_GPA); in kvm_arm_is_pvtime_enabled()
/openbmc/linux/Documentation/admin-guide/
H A Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/openbmc/linux/lib/raid6/
H A Daltivec.uc21 * you can just "steal" the vec unit with enable_kernel_altivec() (but
/openbmc/linux/Documentation/virt/kvm/x86/
H A Dcpuid.rst58 KVM_FEATURE_STEAL_TIME 5 steal time can be enabled by
H A Dmsr.rst269 __u64 steal;
296 steal:
299 reported as steal time.
/openbmc/qemu/docs/system/arm/
H A Dcpu-features.rst197 ``kvm-steal-time``
198 Since v5.2, kvm-steal-time is enabled by default when KVM is
201 When kvm-steal-time is enabled a 64-bit guest can account for time

12