Home
last modified time | relevance | path

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

/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()
28 vcpu->arch.steal.last_steal = READ_ONCE(current->sched_info.run_delay); in kvm_update_stolen_time()
29 steal += vcpu->arch.steal.last_steal - last_steal; in kvm_update_stolen_time()
30 kvm_put_guest(kvm, base + offset, cpu_to_le64(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()
[all …]
/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()
/linux/arch/riscv/kvm/
H A Dvcpu_sbi_sta.c34 u64 steal; in kvm_riscv_vcpu_record_steal_time() local
57 offsetof(struct sbi_sta_struct, steal)); in kvm_riscv_vcpu_record_steal_time()
69 steal = le64_to_cpu(steal_le); in kvm_riscv_vcpu_record_steal_time()
71 steal += vcpu->arch.sta.last_steal - last_steal; in kvm_riscv_vcpu_record_steal_time()
72 WARN_ON(put_user(cpu_to_le64(steal), steal_ptr)); in kvm_riscv_vcpu_record_steal_time()
/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c3 * steal/stolen time test
53 WRITE_ONCE(guest_stolen_time[cpu], st->steal); in guest_code()
60 WRITE_ONCE(guest_stolen_time[cpu], st->steal); in guest_code()
84 ksft_print_msg(" steal: %lld\n", st->steal); in steal_time_dump()
248 u64 steal;
287 WRITE_ONCE(guest_stolen_time[cpu], st->steal); in guest_code()
294 WRITE_ONCE(guest_stolen_time[cpu], st->steal); in guest_code()
324 pr_info(" steal: %"PRIu64"\n", st->steal); in steal_time_dump()
249 u64 steal; global() member
377 __u64 steal; global() member
[all...]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_object.c540 int steal; in radeon_bo_get_surface_reg() local
553 steal = -1; in radeon_bo_get_surface_reg()
562 steal = i; in radeon_bo_get_surface_reg()
567 if (steal == -1) in radeon_bo_get_surface_reg()
570 reg = &rdev->surface_regs[steal]; in radeon_bo_get_surface_reg()
573 DRM_DEBUG("stealing surface reg %d from %p\n", steal, old_object); in radeon_bo_get_surface_reg()
576 i = steal; in radeon_bo_get_surface_reg()
/linux/tools/testing/selftests/bpf/libarena/selftests/
H A Dtest_parallel_spmc.bpf.c274 int spmc_singleval_tryconsume(u64 expected, bool steal) in spmc_singleval_tryconsume() argument
280 if (steal) in spmc_singleval_tryconsume()
290 ret = spmc_update_stats(val, !steal); in spmc_singleval_tryconsume()
/linux/arch/x86/include/uapi/asm/
H A Dkvm_para.h63 __u64 steal; member
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/linux/Documentation/translations/zh_TW/admin-guide/
H A Dcpu-load.rst18 avg-cpu: %user %nice %system %iowait %steal %idle
/linux/Documentation/admin-guide/
H A Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/linux/Documentation/virt/kvm/x86/
H A Dcpuid.rst58 KVM_FEATURE_STEAL_TIME 5 steal time can be enabled by
H A Dmsr.rst268 __u64 steal;
295 steal:
298 reported as steal time.
H A Dtimekeeping.rst496 steal cycles from the naturally on X86 systems when SMM mode is used by the
/linux/arch/riscv/include/asm/
H A Dsbi.h295 __le64 steal; member
/linux/fs/btrfs/
H A Dspace-info.c188 bool steal; member
1105 if (!ticket->steal) in steal_from_global_rsv()
1870 ticket.steal = can_steal(flush); in reserve_bytes()
/linux/kernel/sched/
H A Dcore.c817 s64 __maybe_unused steal = 0, irq_delta = 0; in update_rq_clock_task() local
850 steal = prev_steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
851 steal -= rq->prev_steal_time_rq; in update_rq_clock_task()
853 if (unlikely(steal > delta)) in update_rq_clock_task()
854 steal = delta; in update_rq_clock_task()
857 delta -= steal; in update_rq_clock_task()
864 if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) in update_rq_clock_task()
865 update_irq_load_avg(rq, irq_delta + steal); in update_rq_clock_task()
/linux/arch/loongarch/
H A DKconfig757 bool "Paravirtual steal time accounting"
760 Select this option to enable fine granularity task steal time
/linux/Documentation/arch/x86/
H A Dintel_txt.rst161 attempt to crash the system to gain control on reboot and steal
/linux/Documentation/target/
H A Dtcmu-design.rst192 command(a.k.a steal the original command's entry).
/linux/arch/riscv/
H A DKconfig1158 bool "Paravirtual steal time accounting"
1161 Select this option to enable fine granularity task steal time
/linux/arch/arm/
H A DKconfig1345 bool "Paravirtual steal time accounting"
1348 Select this option to enable fine granularity task steal time