Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dpreempt.h150 struct preempt_notifier;
167 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
168 void (*sched_out)(struct preempt_notifier *notifier,
179 struct preempt_notifier { struct
184 void preempt_notifier_register(struct preempt_notifier *notifier); argument
185 void preempt_notifier_unregister(struct preempt_notifier *notifier);
187 static inline void preempt_notifier_init(struct preempt_notifier *notifier, in preempt_notifier_init()
Dkvm_host.h219 struct preempt_notifier preempt_notifier; member
/linux-4.1.27/virt/kvm/
Dkvm_main.c132 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
142 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
2030 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vm_ioctl_create_vcpu()
3268 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
3270 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
3273 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
3285 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()
/linux-4.1.27/kernel/sched/
Dcore.c2112 void preempt_notifier_register(struct preempt_notifier *notifier) in preempt_notifier_register()
2124 void preempt_notifier_unregister(struct preempt_notifier *notifier) in preempt_notifier_unregister()
2132 struct preempt_notifier *notifier; in fire_sched_in_preempt_notifiers()
2142 struct preempt_notifier *notifier; in fire_sched_out_preempt_notifiers()