Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 6 of 6) sorted by relevance

/kernel/power/
Denergy_model.c107 int nr_states, struct em_data_callback *cb, in em_create_perf_table() argument
126 ret = cb->active_power(dev, &power, &freq); in em_create_perf_table()
163 ret = cb->get_cost(dev, table[i].frequency, &cost); in em_create_perf_table()
196 struct em_data_callback *cb, cpumask_t *cpus, in em_create_pd() argument
223 ret = em_create_perf_table(dev, pd, nr_states, cb, flags); in em_create_pd()
338 struct em_data_callback *cb, cpumask_t *cpus, in em_dev_register_perf_domain() argument
345 if (!dev || !nr_states || !cb) in em_dev_register_perf_domain()
391 else if (cb->get_cost) in em_dev_register_perf_domain()
394 ret = em_create_pd(dev, nr_states, cb, cpus, flags); in em_dev_register_perf_domain()
/kernel/
Drelay.c255 if (!buf->chan->cb->subbuf_start) in relay_subbuf_start()
258 return buf->chan->cb->subbuf_start(buf, subbuf, in relay_subbuf_start()
360 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file()
395 dentry = chan->cb->create_buf_file(NULL, NULL, in relay_open_buf()
429 buf->chan->cb->remove_buf_file(buf->dentry); in relay_close_buf()
478 const struct rchan_callbacks *cb, in relay_open() argument
489 if (!cb || !cb->create_buf_file || !cb->remove_buf_file) in relay_open()
512 chan->cb = cb; in relay_open()
Dtask_work.c116 static bool task_work_func_match(struct callback_head *cb, void *data) in task_work_func_match() argument
118 return cb->func == data; in task_work_func_match()
Dcpu.c174 int (*cb)(unsigned int cpu); in cpuhp_invoke_callback() local
189 cb = bringup ? step->startup.single : step->teardown.single; in cpuhp_invoke_callback()
191 trace_cpuhp_enter(cpu, st->target, state, cb); in cpuhp_invoke_callback()
192 ret = cb(cpu); in cpuhp_invoke_callback()
/kernel/trace/
Dring_buffer.c1821 struct ring_buffer_ext_cb *cb) in ring_buffer_alloc_ext() argument
1825 if (!cb || !cb->update_footers || !cb->swap_reader) in ring_buffer_alloc_ext()
1834 buffer->ext_cb = cb; in ring_buffer_alloc_ext()
/kernel/locking/
Dlockdep.c6064 static void free_zapped_rcu(struct rcu_head *cb);