Home
last modified time | relevance | path

Searched refs:preempt_notifier (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dpreempt.h347 struct preempt_notifier;
365 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
366 void (*sched_out)(struct preempt_notifier *notifier,
377 struct preempt_notifier { struct
384 void preempt_notifier_register(struct preempt_notifier *notifier); argument
385 void preempt_notifier_unregister(struct preempt_notifier *notifier);
387 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
/linux/virt/kvm/
H A Dkvm_main.c170 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
180 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
459 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vcpu_init()
6390 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in kvm_sched_out()
6392 return container_of(pn, struct kvm_vcpu, preempt_notifier); in kvm_sched_out()
6395 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_out()
6408 static void kvm_sched_out(struct preempt_notifier *pn,
/linux/kernel/sched/
H A Dcore.c5014 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
5029 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
5037 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
5053 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()