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

/linux-master/include/linux/
H A Dpreempt.h321 struct preempt_notifier;
326 * notifier: struct preempt_notifier for the task being scheduled
329 * notifier: struct preempt_notifier for the task being preempted
338 void (*sched_in)(struct preempt_notifier *notifier, int cpu);
339 void (*sched_out)(struct preempt_notifier *notifier,
344 * preempt_notifier - key for installing preemption notifiers
350 struct preempt_notifier { struct
357 void preempt_notifier_register(struct preempt_notifier *notifier);
358 void preempt_notifier_unregister(struct preempt_notifier *notifier);
360 static inline void preempt_notifier_init(struct preempt_notifier *notifie
[all...]
H A Dkvm_host.h330 struct preempt_notifier preempt_notifier; member in struct:kvm_vcpu
/linux-master/virt/kvm/
H A Dkvm_main.c213 preempt_notifier_register(&vcpu->preempt_notifier);
223 preempt_notifier_unregister(&vcpu->preempt_notifier);
498 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops);
6316 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn)
6318 return container_of(pn, struct kvm_vcpu, preempt_notifier);
6321 static void kvm_sched_in(struct preempt_notifier *pn, int cpu)
6333 static void kvm_sched_out(struct preempt_notifier *pn,
/linux-master/kernel/sched/
H A Dcore.c4938 void preempt_notifier_register(struct preempt_notifier *notifier)
4941 WARN(1, "registering preempt_notifier while notifiers disabled\n");
4953 void preempt_notifier_unregister(struct preempt_notifier *notifier)
4961 struct preempt_notifier *notifier;
4977 struct preempt_notifier *notifier;

Completed in 240 milliseconds