Home
last modified time | relevance | path

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

/linux/include/linux/
A Dpreempt.h309 struct preempt_notifier;
326 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
327 void (*sched_out)(struct preempt_notifier *notifier,
338 struct preempt_notifier { struct
345 void preempt_notifier_register(struct preempt_notifier *notifier); argument
346 void preempt_notifier_unregister(struct preempt_notifier *notifier);
348 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
A Dkvm_host.h297 struct preempt_notifier preempt_notifier; member
/linux/virt/kvm/
A Dkvm_main.c202 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
212 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
434 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vcpu_init()
5363 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
5365 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
5368 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
5380 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/linux/kernel/sched/
A Dcore.c4538 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
4553 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
4561 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
4577 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()

Completed in 38 milliseconds