Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dpreempt.h321 struct preempt_notifier;
338 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
339 void (*sched_out)(struct preempt_notifier *notifier,
350 struct preempt_notifier { struct
357 void preempt_notifier_register(struct preempt_notifier *notifier); argument
358 void preempt_notifier_unregister(struct preempt_notifier *notifier);
360 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h325 struct preempt_notifier preempt_notifier; member
/linux-6.6.21/virt/kvm/
Dkvm_main.c215 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
225 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
500 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vcpu_init()
5949 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
5951 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
5954 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
5966 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/linux-6.6.21/kernel/sched/
Dcore.c4913 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
4928 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
4936 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
4952 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()