Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/media/pci/ivtv/
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()
Divtv-queue.h62 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal,
/Linux-v5.4/kernel/sched/
Dcputime.c238 u64 steal; in steal_account_process_time() local
240 steal = paravirt_steal_clock(smp_processor_id()); in steal_account_process_time()
241 steal -= this_rq()->prev_steal_time; in steal_account_process_time()
242 steal = min(steal, maxtime); in steal_account_process_time()
243 account_steal_time(steal); in steal_account_process_time()
244 this_rq()->prev_steal_time += steal; in steal_account_process_time()
246 return steal; in steal_account_process_time()
477 u64 cputime, steal; in account_process_tick() local
489 steal = steal_account_process_time(ULONG_MAX); in account_process_tick()
491 if (steal >= cputime) in account_process_tick()
[all …]
Dcore.c151 s64 __maybe_unused steal = 0, irq_delta = 0; in update_rq_clock_task() local
179 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
180 steal -= rq->prev_steal_time_rq; in update_rq_clock_task()
182 if (unlikely(steal > delta)) in update_rq_clock_task()
183 steal = delta; in update_rq_clock_task()
185 rq->prev_steal_time_rq += steal; in update_rq_clock_task()
186 delta -= steal; in update_rq_clock_task()
193 if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) in update_rq_clock_task()
194 update_irq_load_avg(rq, irq_delta + steal); in update_rq_clock_task()
/Linux-v5.4/fs/proc/
Dstat.c110 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
118 irq = softirq = steal = 0; in show_stat()
132 steal += kcs->cpustat[CPUTIME_STEAL]; in show_stat()
154 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
170 steal = kcs->cpustat[CPUTIME_STEAL]; in show_stat()
181 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
/Linux-v5.4/arch/s390/kernel/
Dvtime.c210 u64 steal, avg_steal; in vtime_flush() local
215 steal = S390_lowcore.steal_timer; in vtime_flush()
217 if ((s64) steal > 0) { in vtime_flush()
219 account_steal_time(steal); in vtime_flush()
220 avg_steal += steal; in vtime_flush()
/Linux-v5.4/include/linux/
Dpipe_fs_i.h99 int (*steal)(struct pipe_inode_info *, struct pipe_buffer *); member
153 return buf->ops->steal(pipe, buf); in pipe_buf_steal()
/Linux-v5.4/kernel/bpf/
Dbpf_lru_list.c437 int steal, first_steal; in bpf_common_lru_pop_free() local
468 steal = first_steal; in bpf_common_lru_pop_free()
470 steal_loc_l = per_cpu_ptr(clru->local_list, steal); in bpf_common_lru_pop_free()
480 steal = get_next_cpu(steal); in bpf_common_lru_pop_free()
481 } while (!node && steal != first_steal); in bpf_common_lru_pop_free()
483 loc_l->next_steal = steal; in bpf_common_lru_pop_free()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_object.c610 int steal; in radeon_bo_get_surface_reg() local
624 steal = -1; in radeon_bo_get_surface_reg()
633 steal = i; in radeon_bo_get_surface_reg()
638 if (steal == -1) in radeon_bo_get_surface_reg()
641 reg = &rdev->surface_regs[steal]; in radeon_bo_get_surface_reg()
644 DRM_DEBUG("stealing surface reg %d from %p\n", steal, old_object); in radeon_bo_get_surface_reg()
647 i = steal; in radeon_bo_get_surface_reg()
/Linux-v5.4/arch/x86/kernel/
Dkvm.c381 u64 steal; in kvm_steal_clock() local
389 steal = src->steal; in kvm_steal_clock()
393 return steal; in kvm_steal_clock()
/Linux-v5.4/arch/x86/include/uapi/asm/
Dkvm_para.h55 __u64 steal; member
/Linux-v5.4/Documentation/virt/kvm/
Dcpuid.rst58 KVM_FEATURE_STEAL_TIME 5 steal time can be enabled by
Dmsr.txt210 __u64 steal;
235 steal: the amount of time in which this vCPU did not run, in
237 reported as steal time.
/Linux-v5.4/Documentation/admin-guide/
Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle
/Linux-v5.4/fs/
Dpipe.c233 .steal = anon_pipe_buf_steal,
240 .steal = anon_pipe_buf_steal,
247 .steal = anon_pipe_buf_steal,
Dsplice.c144 .steal = page_cache_pipe_buf_steal,
161 .steal = user_page_pipe_buf_steal,
330 .steal = generic_pipe_buf_steal,
344 .steal = generic_pipe_buf_nosteal,
/Linux-v5.4/lib/raid6/
Daltivec.uc21 * you can just "steal" the vec unit with enable_kernel_altivec() (but
/Linux-v5.4/net/smc/
Dsmc_rx.c141 .steal = smc_rx_pipe_buf_nosteal,
/Linux-v5.4/arch/x86/kvm/
Dx86.c2587 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)))) in record_steal_time()
2595 vcpu->arch.st.steal.preempted & KVM_VCPU_FLUSH_TLB); in record_steal_time()
2596 if (xchg(&vcpu->arch.st.steal.preempted, 0) & KVM_VCPU_FLUSH_TLB) in record_steal_time()
2599 if (vcpu->arch.st.steal.version & 1) in record_steal_time()
2600 vcpu->arch.st.steal.version += 1; /* first time write, random junk */ in record_steal_time()
2602 vcpu->arch.st.steal.version += 1; in record_steal_time()
2605 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)); in record_steal_time()
2609 vcpu->arch.st.steal.steal += current->sched_info.run_delay - in record_steal_time()
2614 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)); in record_steal_time()
2618 vcpu->arch.st.steal.version += 1; in record_steal_time()
[all …]
/Linux-v5.4/Documentation/x86/
Dintel_txt.rst161 attempt to crash the system to gain control on reboot and steal
/Linux-v5.4/kernel/
Drelay.c1182 .steal = generic_pipe_buf_steal,
/Linux-v5.4/Documentation/target/
Dtcmu-design.rst192 command(a.k.a steal the original command's entry).
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h673 struct kvm_steal_time steal; member
/Linux-v5.4/Documentation/vm/
Dfrontswap.rst155 Dickins has observed that frontswap could probably steal one of
/Linux-v5.4/Documentation/filesystems/
Dmount_api.txt434 of param->{string,blob,name,file}. Note that the function may steal and

12