Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-queue.c122 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, in ivtv_queue_move() argument
138 bytes_steal = (from_free && steal) ? steal->length : 0; in ivtv_queue_move()
144 while (steal && bytes_available < needed_bytes) { in ivtv_queue_move()
145 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
153 list_move_tail(steal->list.prev, &from->list); in ivtv_queue_move()
155 steal->buffers--; in ivtv_queue_move()
156 steal->length -= s->buf_size; in ivtv_queue_move()
157 steal->bytesused -= buf->bytesused - buf->readpos; in ivtv_queue_move()
162 if (list_empty(&steal->list)) in ivtv_queue_move()
164 buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
Divtv-queue.h74 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal,
/Linux-v4.19/kernel/sched/
Dcputime.c237 u64 steal; in steal_account_process_time() local
239 steal = paravirt_steal_clock(smp_processor_id()); in steal_account_process_time()
240 steal -= this_rq()->prev_steal_time; in steal_account_process_time()
241 steal = min(steal, maxtime); in steal_account_process_time()
242 account_steal_time(steal); in steal_account_process_time()
243 this_rq()->prev_steal_time += steal; in steal_account_process_time()
245 return steal; in steal_account_process_time()
476 u64 cputime, steal; in account_process_tick() local
488 steal = steal_account_process_time(ULONG_MAX); in account_process_tick()
490 if (steal >= cputime) in account_process_tick()
[all …]
Dcore.c139 s64 steal = 0, irq_delta = 0; in update_rq_clock_task() local
167 steal = paravirt_steal_clock(cpu_of(rq)); in update_rq_clock_task()
168 steal -= rq->prev_steal_time_rq; in update_rq_clock_task()
170 if (unlikely(steal > delta)) in update_rq_clock_task()
171 steal = delta; in update_rq_clock_task()
173 rq->prev_steal_time_rq += steal; in update_rq_clock_task()
174 delta -= steal; in update_rq_clock_task()
181 if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) in update_rq_clock_task()
182 update_irq_load_avg(rq, irq_delta + steal); in update_rq_clock_task()
/Linux-v4.19/fs/proc/
Dstat.c85 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
93 irq = softirq = steal = 0; in show_stat()
105 steal += kcpustat_cpu(i).cpustat[CPUTIME_STEAL]; in show_stat()
127 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
141 steal = kcpustat_cpu(i).cpustat[CPUTIME_STEAL]; in show_stat()
152 seq_put_decimal_ull(p, " ", nsec_to_clock_t(steal)); in show_stat()
/Linux-v4.19/include/linux/
Dpipe_fs_i.h106 int (*steal)(struct pipe_inode_info *, struct pipe_buffer *); member
158 return buf->ops->steal(pipe, buf); in pipe_buf_steal()
/Linux-v4.19/kernel/bpf/
Dbpf_lru_list.c440 int steal, first_steal; in bpf_common_lru_pop_free() local
471 steal = first_steal; in bpf_common_lru_pop_free()
473 steal_loc_l = per_cpu_ptr(clru->local_list, steal); in bpf_common_lru_pop_free()
483 steal = get_next_cpu(steal); in bpf_common_lru_pop_free()
484 } while (!node && steal != first_steal); in bpf_common_lru_pop_free()
486 loc_l->next_steal = steal; in bpf_common_lru_pop_free()
/Linux-v4.19/arch/s390/kernel/
Dvtime.c127 u64 timer, clock, user, guest, system, hardirq, softirq, steal; in do_account_vtime() local
185 steal = S390_lowcore.steal_timer; in do_account_vtime()
186 if ((s64) steal > 0) { in do_account_vtime()
188 account_steal_time(cputime_to_nsecs(steal)); in do_account_vtime()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_object.c607 int steal; in radeon_bo_get_surface_reg() local
621 steal = -1; in radeon_bo_get_surface_reg()
630 steal = i; in radeon_bo_get_surface_reg()
635 if (steal == -1) in radeon_bo_get_surface_reg()
638 reg = &rdev->surface_regs[steal]; in radeon_bo_get_surface_reg()
641 DRM_DEBUG("stealing surface reg %d from %p\n", steal, old_object); in radeon_bo_get_surface_reg()
644 i = steal; in radeon_bo_get_surface_reg()
/Linux-v4.19/arch/x86/kernel/
Dkvm.c397 u64 steal; in kvm_steal_clock() local
405 steal = src->steal; in kvm_steal_clock()
409 return steal; in kvm_steal_clock()
/Linux-v4.19/arch/x86/include/uapi/asm/
Dkvm_para.h52 __u64 steal; member
/Linux-v4.19/Documentation/virtual/kvm/
Dcpuid.txt46 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-v4.19/Documentation/
Dcpu-load.txt12 avg-cpu: %user %nice %system %iowait %steal %idle
Dintel_txt.txt161 attempt to crash the system to gain control on reboot and steal
/Linux-v4.19/lib/raid6/
Daltivec.uc21 * you can just "steal" the vec unit with enable_kernel_altivec() (but
/Linux-v4.19/fs/
Dsplice.c144 .steal = page_cache_pipe_buf_steal,
162 .steal = user_page_pipe_buf_steal,
332 .steal = generic_pipe_buf_steal,
347 .steal = generic_pipe_buf_nosteal,
Dpipe.c233 .steal = anon_pipe_buf_steal,
241 .steal = anon_pipe_buf_steal,
/Linux-v4.19/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt3 here is to steal the initrd file used on your Linux laptop, Ubuntu in
/Linux-v4.19/net/smc/
Dsmc_rx.c142 .steal = smc_rx_pipe_buf_nosteal,
/Linux-v4.19/arch/x86/kvm/
Dx86.c2298 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)))) in record_steal_time()
2305 if (xchg(&vcpu->arch.st.steal.preempted, 0) & KVM_VCPU_FLUSH_TLB) in record_steal_time()
2308 if (vcpu->arch.st.steal.version & 1) in record_steal_time()
2309 vcpu->arch.st.steal.version += 1; /* first time write, random junk */ in record_steal_time()
2311 vcpu->arch.st.steal.version += 1; in record_steal_time()
2314 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)); in record_steal_time()
2318 vcpu->arch.st.steal.steal += current->sched_info.run_delay - in record_steal_time()
2323 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)); in record_steal_time()
2327 vcpu->arch.st.steal.version += 1; in record_steal_time()
2330 &vcpu->arch.st.steal, sizeof(struct kvm_steal_time)); in record_steal_time()
[all …]
/Linux-v4.19/kernel/
Drelay.c1181 .steal = generic_pipe_buf_steal,
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h623 struct kvm_steal_time steal; member
/Linux-v4.19/Documentation/target/
Dtcmu-design.txt172 command(a.k.a steal the original command's entry).
/Linux-v4.19/Documentation/vm/
Dfrontswap.rst155 Dickins has observed that frontswap could probably steal one of

12