Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dpreempt.h253 struct preempt_notifier;
270 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
271 void (*sched_out)(struct preempt_notifier *notifier,
282 struct preempt_notifier { struct
289 void preempt_notifier_register(struct preempt_notifier *notifier); argument
290 void preempt_notifier_unregister(struct preempt_notifier *notifier);
292 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h228 struct preempt_notifier preempt_notifier; member
/linux-4.4.14/virt/kvm/
Dkvm_main.c140 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
150 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
2273 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vm_ioctl_create_vcpu()
3501 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
3503 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
3506 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
3518 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/linux-4.4.14/kernel/sched/
Dcore.c2428 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
2443 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
2451 struct preempt_notifier *notifier; in __fire_sched_in_preempt_notifiers()
2467 struct preempt_notifier *notifier; in __fire_sched_out_preempt_notifiers()