Home
last modified time | relevance | path

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

/linux-4.19.296/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.h249 struct preempt_notifier preempt_notifier; member
/linux-4.19.296/virt/kvm/
Dkvm_main.c186 preempt_notifier_register(&vcpu->preempt_notifier); in vcpu_load()
196 preempt_notifier_unregister(&vcpu->preempt_notifier); in vcpu_put()
2751 preempt_notifier_init(&vcpu->preempt_notifier, &kvm_preempt_ops); in kvm_vm_ioctl_create_vcpu()
4241 struct kvm_vcpu *preempt_notifier_to_vcpu(struct preempt_notifier *pn) in preempt_notifier_to_vcpu()
4243 return container_of(pn, struct kvm_vcpu, preempt_notifier); in preempt_notifier_to_vcpu()
4246 static void kvm_sched_in(struct preempt_notifier *pn, int cpu) in kvm_sched_in()
4258 static void kvm_sched_out(struct preempt_notifier *pn, in kvm_sched_out()