Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dpreempt.h287 struct preempt_notifier;
304 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
305 void (*sched_out)(struct preempt_notifier *notifier,
316 struct preempt_notifier { struct
323 void preempt_notifier_register(struct preempt_notifier *notifier); argument
324 void preempt_notifier_unregister(struct preempt_notifier *notifier);
326 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h298 struct preempt_notifier preempt_notifier; member
/Linux-v5.15/virt/kvm/
Dkvm_main.c200 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
210 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
426 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vcpu_init()
5415 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
5417 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
5420 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
5432 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/Linux-v5.15/kernel/sched/
Dcore.c4500 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
4515 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
4523 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
4539 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()