Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dpreempt.h310 struct preempt_notifier;
327 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
328 void (*sched_out)(struct preempt_notifier *notifier,
339 struct preempt_notifier { struct
346 void preempt_notifier_register(struct preempt_notifier *notifier); argument
347 void preempt_notifier_unregister(struct preempt_notifier *notifier);
349 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h325 struct preempt_notifier preempt_notifier; member
/Linux-v6.6/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-v6.6/kernel/sched/
Dcore.c4909 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
4924 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
4932 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
4948 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()