Searched refs:cb (Results 1 – 6 of 6) sorted by relevance
/kernel/power/ |
D | energy_model.c | 107 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/ |
D | relay.c | 255 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()
|
D | task_work.c | 116 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()
|
D | cpu.c | 174 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/ |
D | ring_buffer.c | 1821 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/ |
D | lockdep.c | 6064 static void free_zapped_rcu(struct rcu_head *cb);
|