Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dpreempt.h280 struct preempt_notifier;
297 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
298 void (*sched_out)(struct preempt_notifier *notifier,
309 struct preempt_notifier { struct
316 void preempt_notifier_register(struct preempt_notifier *notifier); argument
317 void preempt_notifier_unregister(struct preempt_notifier *notifier);
319 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h221 struct preempt_notifier preempt_notifier; member
/Linux-v4.19/virt/kvm/
Dkvm_main.c163 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
173 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
2482 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vm_ioctl_create_vcpu()
3961 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
3963 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
3966 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
3978 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/Linux-v4.19/kernel/sched/
Dcore.c2455 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
2470 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
2478 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
2494 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()