Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dpreempt.h277 struct preempt_notifier;
294 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
295 void (*sched_out)(struct preempt_notifier *notifier,
306 struct preempt_notifier { struct
313 void preempt_notifier_register(struct preempt_notifier *notifier); argument
314 void preempt_notifier_unregister(struct preempt_notifier *notifier);
316 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h266 struct preempt_notifier preempt_notifier; member
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c213 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
223 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
425 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vcpu_init()
4825 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
4827 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
4830 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
4842 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c3588 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
3603 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
3611 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
3627 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()