Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 7 of 7) sorted by relevance

/kernel/power/
Ddisk.c56 void hibernation_set_ops(struct platform_hibernation_ops *ops) in hibernation_set_ops() argument
58 if (ops && !(ops->begin && ops->end && ops->pre_snapshot in hibernation_set_ops()
59 && ops->prepare && ops->finish && ops->enter && ops->pre_restore in hibernation_set_ops()
60 && ops->restore_cleanup)) { in hibernation_set_ops()
65 hibernation_ops = ops; in hibernation_set_ops()
66 if (ops) in hibernation_set_ops()
Dmain.c201 void suspend_set_ops(struct platform_suspend_ops *ops) in suspend_set_ops() argument
204 suspend_ops = ops; in suspend_set_ops()
685 if (!candidate->ops->set_alarm) in has_wakealarm()
/kernel/trace/
Dftrace.c135 static int __register_ftrace_function(struct ftrace_ops *ops) in __register_ftrace_function() argument
140 ops->next = ftrace_list; in __register_ftrace_function()
148 ftrace_list = ops; in __register_ftrace_function()
153 if (ops->next == &ftrace_list_end) in __register_ftrace_function()
154 func = ops->func; in __register_ftrace_function()
180 static int __unregister_ftrace_function(struct ftrace_ops *ops) in __unregister_ftrace_function() argument
192 if (ftrace_list == ops && ops->next == &ftrace_list_end) { in __unregister_ftrace_function()
199 if (*p == ops) in __unregister_ftrace_function()
202 if (*p != ops) { in __unregister_ftrace_function()
1894 int register_ftrace_function(struct ftrace_ops *ops) in register_ftrace_function() argument
[all …]
/kernel/
Dlockdep_proc.c96 seq_printf(m, " OPS:%8ld", class->ops); in l_show()
Dlockdep.c561 printk(" ops: %lu", class->ops); in print_lock_class_header()
2558 debug_atomic_inc((atomic_t *)&class->ops); in __lock_acquire()
Drelay.c1241 .ops = &relay_pipe_buf_ops, in subbuf_splice_actor()
Dsched.c2521 notifier->ops->sched_in(notifier, raw_smp_processor_id()); in fire_sched_in_preempt_notifiers()
2532 notifier->ops->sched_out(notifier, next); in fire_sched_out_preempt_notifiers()