Searched refs:callbacks (Results 1 - 200 of 833) sorted by relevance

12345

/linux-4.1.27/drivers/isdn/pcbit/
H A DMakefile9 pcbit-y := module.o edss1.o drv.o layer2.o capi.o callbacks.o
/linux-4.1.27/arch/sh/include/asm/
H A Dstacktrace.h10 /* Generic stack tracer with callbacks */
/linux-4.1.27/arch/c6x/kernel/
H A Ddevicetree.c2 * Architecture specific OF callbacks.
/linux-4.1.27/net/lapb/
H A Dlapb_iface.c145 const struct lapb_register_struct *callbacks) lapb_register()
164 lapb->callbacks = callbacks; lapb_register()
383 if (lapb->callbacks->connect_confirmation) lapb_connect_confirmation()
384 lapb->callbacks->connect_confirmation(lapb->dev, reason); lapb_connect_confirmation()
389 if (lapb->callbacks->connect_indication) lapb_connect_indication()
390 lapb->callbacks->connect_indication(lapb->dev, reason); lapb_connect_indication()
395 if (lapb->callbacks->disconnect_confirmation) lapb_disconnect_confirmation()
396 lapb->callbacks->disconnect_confirmation(lapb->dev, reason); lapb_disconnect_confirmation()
401 if (lapb->callbacks->disconnect_indication) lapb_disconnect_indication()
402 lapb->callbacks->disconnect_indication(lapb->dev, reason); lapb_disconnect_indication()
407 if (lapb->callbacks->data_indication) lapb_data_indication()
408 return lapb->callbacks->data_indication(lapb->dev, skb); lapb_data_indication()
418 if (lapb->callbacks->data_transmit) { lapb_data_transmit()
419 lapb->callbacks->data_transmit(lapb->dev, skb); lapb_data_transmit()
144 lapb_register(struct net_device *dev, const struct lapb_register_struct *callbacks) lapb_register() argument
/linux-4.1.27/fs/dlm/
H A Dast.c103 log_error(ls, "no callbacks %x %llu flags %x mode %d sb %d %x", dlm_add_lkb_callback()
126 /* oldest undelivered cb is callbacks[0] */ dlm_rem_lkb_callback()
219 struct dlm_callback callbacks[DLM_CALLBACKS_SIZE]; dlm_callback_work() local
222 memset(&callbacks, 0, sizeof(callbacks)); dlm_callback_work()
233 rv = dlm_rem_lkb_callback(ls, lkb, &callbacks[i], &resid); dlm_callback_work()
251 if (!callbacks[i].seq) dlm_callback_work()
253 if (callbacks[i].flags & DLM_CB_SKIP) { dlm_callback_work()
255 } else if (callbacks[i].flags & DLM_CB_BAST) { dlm_callback_work()
256 bastfn(lkb->lkb_astparam, callbacks[i].mode); dlm_callback_work()
257 } else if (callbacks[i].flags & DLM_CB_CAST) { dlm_callback_work()
258 lkb->lkb_lksb->sb_status = callbacks[i].sb_status; dlm_callback_work()
259 lkb->lkb_lksb->sb_flags = callbacks[i].sb_flags; dlm_callback_work()
/linux-4.1.27/kernel/trace/
H A Dtrace_stat.h8 * an iterator with stat_start/stat_next and a stat_show callbacks.
9 * The others callbacks are optional.
/linux-4.1.27/lib/
H A Dratelimit.c21 * This enforces a rate limit: not more than @rs->burst callbacks
25 * 0 means callbacks will be suppressed.
50 printk(KERN_WARNING "%s: %d callbacks suppressed\n", ___ratelimit()
/linux-4.1.27/sound/drivers/opl3/
H A Dopl3_seq.c175 struct snd_seq_port_callback callbacks; snd_opl3_synth_create_port() local
186 memset(&callbacks, 0, sizeof(callbacks)); snd_opl3_synth_create_port()
187 callbacks.owner = THIS_MODULE; snd_opl3_synth_create_port()
188 callbacks.use = snd_opl3_synth_use; snd_opl3_synth_create_port()
189 callbacks.unuse = snd_opl3_synth_unuse; snd_opl3_synth_create_port()
190 callbacks.event_input = snd_opl3_synth_event_input; snd_opl3_synth_create_port()
191 callbacks.private_free = snd_opl3_synth_free_port; snd_opl3_synth_create_port()
192 callbacks.private_data = opl3; snd_opl3_synth_create_port()
198 opl3->chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks, snd_opl3_synth_create_port()
H A Dopl3_oss.c78 struct snd_seq_port_callback callbacks; snd_opl3_oss_create_port() local
89 memset(&callbacks, 0, sizeof(callbacks)); snd_opl3_oss_create_port()
90 callbacks.owner = THIS_MODULE; snd_opl3_oss_create_port()
91 callbacks.event_input = snd_opl3_oss_event_input; snd_opl3_oss_create_port()
92 callbacks.private_free = snd_opl3_oss_free_port; snd_opl3_oss_create_port()
93 callbacks.private_data = opl3; snd_opl3_oss_create_port()
99 opl3->oss_chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks, snd_opl3_oss_create_port()
/linux-4.1.27/fs/afs/
H A Dcallback.c195 struct afs_callback callbacks[]) afs_break_callbacks()
202 for (; count > 0; callbacks++, count--) { afs_break_callbacks()
204 callbacks->fid.vid, afs_break_callbacks()
205 callbacks->fid.vnode, afs_break_callbacks()
206 callbacks->fid.unique, afs_break_callbacks()
207 callbacks->version, afs_break_callbacks()
208 callbacks->expiry, afs_break_callbacks()
209 callbacks->type afs_break_callbacks()
211 afs_break_one_callback(server, &callbacks->fid); afs_break_callbacks()
239 /* defer the breaking of callbacks to try and collect as many as afs_do_give_up_callback()
332 * dispatch a deferred give up callbacks operation
343 * had callbacks entirely, and the server will call us later to break afs_dispatch_give_up_callbacks()
359 * update a bunch of callbacks
194 afs_break_callbacks(struct afs_server *server, size_t count, struct afs_callback callbacks[]) afs_break_callbacks() argument
H A Dcmservice.c133 /* Break the callbacks here so that we do it after the final ACK is afs_cm_destructor()
158 * with FSFetchStatus requests on the vnodes with broken callbacks lest SRXAFSCB_CallBack()
160 * callbacks because it hadn't received completion of the CBCallBack op SRXAFSCB_CallBack()
/linux-4.1.27/drivers/base/
H A Dsyscore.c44 * syscore_suspend - Execute all the registered system core suspend callbacks.
89 * syscore_resume - Execute all the registered system core resume callbacks.
115 * syscore_shutdown - Execute all the registered system core shutdown callbacks.
/linux-4.1.27/drivers/media/tuners/
H A Dfc0011.h16 /** enum fc0011_fe_callback_commands - Frontend callbacks
H A Dfc001x-common.h31 * enum fc001x_fe_callback_commands - Frontend callbacks
H A Dtda827x.h33 /* saa7134 - provided callbacks */
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_irq.c21 * For IRQ based systems these callbacks can be used
H A Dhvc_tile.c79 * IRQ based callbacks.
/linux-4.1.27/include/linux/mtd/
H A Dplat-ram.h29 /* control callbacks */
/linux-4.1.27/include/linux/platform_data/
H A Dspi-ep93xx.h18 * struct ep93xx_spi_chip_ops - operation callbacks for SPI slave device
/linux-4.1.27/arch/powerpc/kernel/
H A Dmsi.c19 pr_debug("msi: Platform doesn't provide MSI callbacks.\n"); arch_setup_msi_irqs()
H A Ddma-iommu.c4 * Provide default implementations of the DMA mapping callbacks for
/linux-4.1.27/net/ipv6/
H A Dip6_offload.c110 if (likely(ops && ops->callbacks.gso_segment)) { ipv6_gso_segment()
112 segs = ops->callbacks.gso_segment(skb, features); ipv6_gso_segment()
197 if (!ops || !ops->callbacks.gro_receive) { ipv6_gro_receive()
205 if (!ops || !ops->callbacks.gro_receive) ipv6_gro_receive()
250 pp = ops->callbacks.gro_receive(head, skb); ipv6_gro_receive()
272 if (WARN_ON(!ops || !ops->callbacks.gro_complete)) ipv6_gro_complete()
275 err = ops->callbacks.gro_complete(skb, nhoff); ipv6_gro_complete()
285 .callbacks = {
293 .callbacks = {
H A Dtcpv6_offload.c68 .callbacks = {
H A Dudp_offload.c174 .callbacks = {
/linux-4.1.27/include/linux/irqchip/
H A Dmetag-ext.h22 * callbacks.
/linux-4.1.27/arch/metag/include/asm/
H A Dclock.h17 * struct meta_clock_desc - Meta Core clock callbacks.
38 * Set up the default clock, ensuring all callbacks are valid - only accessible
/linux-4.1.27/arch/arm/mach-ux500/
H A Dpm_domains.c25 * callbacks, to be able to enable PM domain gating/ungating. pd_power_off()
37 * callbacks, to be able to enable PM domain gating/ungating. pd_power_on()
H A Dpm.c193 /* Set up ux500 suspend callbacks. */ ux500_pm_init()
/linux-4.1.27/net/rds/
H A Dtcp_connect.c104 * once we call connect() we can start getting callbacks and they rds_tcp_conn_connect()
126 * Before killing the tcp socket this needs to serialize with callbacks. The
130 * TCP calls the callbacks with the sock lock so we hold it while we reset the
131 * callbacks to those set by TCP. Our callbacks won't execute again once we
H A Dtcp.c97 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc); rds_tcp_restore_callbacks()
125 rdsdebug("setting sock %p callbacks to tc %p\n", sock, tc); rds_tcp_set_callbacks()
H A Dthreads.c65 * through RDS_IN_XMIT, and with connection management callbacks
68 * For receive callbacks, we rely on the underlying transport
/linux-4.1.27/include/linux/
H A Dmsi.h131 * struct msi_domain_ops - MSI interrupt domain callbacks
141 * @get_hwirq, @msi_init and @msi_free are callbacks used by
145 * are callbacks used by msi_irq_domain_alloc_irqs() and related
196 * Init non implemented ops callbacks with default MSI domain
197 * callbacks.
201 * Init non implemented chip callbacks with default MSI chip
202 * callbacks.
H A Dpowercap.h36 * struct powercap_control_type_ops - Define control type callbacks
49 * This structure defines control type callbacks to be implemented by client
88 * struct powercap_zone_ops - Define power zone callbacks
105 * This structure defines zone callbacks to be implemented by client drivers.
106 * Client drives can define both energy and power related callbacks. But at
108 * should handle mutual exclusion, if required in callbacks.
168 * struct powercap_zone_constraint_ops - Define constraint callbacks
179 * This structure is used to define the constraint callbacks for the client
180 * drivers. The following callbacks are mandatory and can't be NULL:
186 * Client drivers should handle mutual exclusion, if required in callbacks.
204 * @ops: Pointer to the constraint callbacks.
297 * a pointer to a structure representing zone callbacks.
H A Delf.h45 /* Optional callbacks to write extra ELF notes. */
H A Dpm.h67 * struct dev_pm_ops - device PM callbacks
76 * The externally visible transitions are handled with the help of callbacks
77 * included in this structure in such a way that two levels of callbacks are
78 * involved. First, the PM core executes callbacks provided by PM domains,
79 * device types, classes and bus types. They are the subsystem-level callbacks
80 * supposed to execute callbacks provided by device drivers, although they may
81 * choose not to do that. If the driver callbacks are executed, they have to
82 * collaborate with the subsystem-level callbacks to achieve the goals
95 * followed by one of the suspend callbacks: @suspend(), @freeze(), or
107 * starting to invoke suspend callbacks for any of them, so generally
118 * all kinds of resume transitions, following one of the resume callbacks:
125 * the appropriate resume callbacks for all devices. If the corresponding
128 * executing any suspend and resume callbacks for it), @complete() will be
134 * callbacks have been executed for it.
228 * signal system wakeup by any of these callbacks.
243 * All of the above callbacks, except for @complete(), return error codes.
255 * It is allowed to unregister devices while the above callbacks are being
262 * of the above callbacks in the system suspend process.
264 * There also are callbacks related to runtime power management of devices.
265 * Again, these callbacks are executed by the PM core only for subsystems
267 * callbacks are supposed to invoke the driver callbacks. Moreover, the exact
268 * actions to be performed by a device driver's callbacks generally depend on
291 * role of the above callbacks in device runtime power management.
355 * Use this if you want to use the same suspend and resume callbacks for suspend
366 * NOTE: In general, system suspend callbacks, .suspend() and .resume(), should
367 * be different from the corresponding runtime PM callbacks, .runtime_suspend(),
603 * Power domains provide callbacks that are executed during system suspend,
605 * subsystem-level and driver-level callbacks.
622 * suspend framework, based on the ->suspend() and ->resume() callbacks common
H A Dhid-sensor-hub.h130 * sensor_hub_register_callback() - Register client callbacks
135 * Used to register callbacks by client processing drivers. Sensor
136 * hub core driver will call these callbacks to offload processing
144 * sensor_hub_remove_callback() - Remove client callbacks
149 * callbacks, so that it will stop data and event notifications.
H A Dvirtio_config.h34 * Device must not be reset from its vq/config callbacks, or in
40 * callbacks: array of callbacks, for each virtqueue
72 vq_callback_t *callbacks[],
156 vq_callback_t *callbacks[] = { c }; virtio_find_single_vq() local
159 int err = vdev->config->find_vqs(vdev, 1, &vq, callbacks, names); virtio_find_single_vq()
H A Dste_modem_shm.h19 * This structure contains callbacks for actions triggered by the modem.
H A Ddlm.h63 * direct bast/cast callbacks.
71 * ops: callbacks that indicate lockspace recovery points so the
76 * ops_arg: arg for ops callbacks.
78 * ops_result: tells caller if the ops callbacks (if provided) will
H A Dlapb.h48 const struct lapb_register_struct *callbacks);
H A Dvfio.h22 * struct vfio_device_ops - VFIO bus driver device callbacks
57 * struct vfio_iommu_driver_ops - VFIO IOMMU driver callbacks
H A Dconcap.h32 struct concap_device_ops *dops; /* callbacks provided by device */
33 struct concap_proto_ops *pops; /* callbacks provided by us */
H A Dkgdb.h2 * This provides the callbacks and functions that KGDB needs to share between
110 * specific callbacks.
118 * specific callbacks, for dynamic registration and unregistration.
217 * architecture specific callbacks. This is an optional function for
H A Dnotifier.h20 * Atomic notifier chains: Chain callbacks run in interrupt/atomic
22 * Blocking notifier chains: Chain callbacks run in process context.
24 * Raw notifier chains: There are no restrictions on callbacks,
H A Dvringh.h65 * callbacks: array of driver callbacks, for each host vring
74 struct vringh *vrhs[], vrh_callback_t *callbacks[]);
H A Drfkill.h152 * callbacks.
175 * callbacks.
205 * callbacks.
H A Dsrcu.h52 /* callbacks just queued */
54 /* callbacks try to do the first check_zero */
56 /* callbacks done with the first check_zero and the flip */
H A Ddevfreq.h108 * Note that the callbacks are called with devfreq->lock locked by devfreq.
147 * functions except for the context of callbacks defined in struct
191 /* Supposed to be called by PM callbacks */
H A Drcutiny.h57 rcu_barrier_sched(); /* Only one CPU, so only one list of callbacks! */ rcu_barrier()
H A Dirqflags.h5 * provide callbacks for transitions between ON and OFF states.
H A Dposix-clock.h114 * structure, obtaining a reference to it during callbacks using
H A Drbtree.h22 This will avoid us to use callbacks and to drop drammatically performances.
H A Dserial_8250.h121 /* 8250 specific callbacks */
H A Dsuspend.h123 * before device drivers' late suspend callbacks are executed. It returns
131 * device drivers' late suspend callbacks have been executed. It returns
144 * resume callbacks are executed.
151 * callbacks.
H A Dmemory.h66 unsigned int pages_found; /* # pages owned found by callbacks */
/linux-4.1.27/include/xen/interface/
H A Dcallback.h4 * Register guest OS callbacks with Xen.
75 * NMI callbacks: event delivery is unconditionally disabled.
93 * Not all callbacks can be unregistered. -EINVAL will be returned if
/linux-4.1.27/include/trace/events/
H A Drcu.h46 * "AccReadyCB": CPU acclerates new callbacks to RCU_NEXT_READY_TAIL.
47 * "AccWaitCB": CPU accelerates new callbacks to RCU_WAIT_TAIL.
86 * Tracepoint for future grace-period events, including those for no-callbacks
389 * to drain all RCU callbacks from this CPU, and the other is to have
392 * period in order to process the remainder of its callbacks.
396 * "No callbacks": Nothing to do, no callbacks on this CPU.
399 * "Dyntick with callbacks": Entering dyntick-idle despite callbacks.
400 * "Dyntick with lazy callbacks": Entering dyntick-idle w/lazy callbacks.
401 * "More callbacks": Still more callbacks, try again to clear them out.
402 * "Callbacks drained": All callbacks processed, off to dyntick idle!
403 * "Timer": Timer fired to cause CPU to continue processing callbacks.
428 * number of lazy callbacks queued, and the fourth element is the
429 * total number of callbacks queued.
464 * the fourth argument is the number of lazy callbacks queued, and the
465 * fifth argument is the total number of callbacks queued.
498 * the second is the number of lazy callbacks queued, the third is
499 * the total number of callbacks queued, and the fourth argument is
584 * Tracepoint for exiting rcu_do_batch after RCU callbacks have been
586 * the second argument is number of callbacks actually invoked,
587 * the third argument (cb) is whether or not any of the callbacks that
669 * "OnlineQ": _rcu_barrier() found online CPU with callbacks.
670 * "OnlineNQ": _rcu_barrier() found online CPU, no callbacks.
676 * is the count of remaining callbacks, and "done" is the piggybacking count.
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dwil_platform.h23 * struct wil_platform_ops - wil platform module callbacks
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmediabay.h30 * media bay callbacks while initializing the interface
H A Dpmac_low_i2c.h81 * callbacks
/linux-4.1.27/arch/arc/plat-arcfpga/
H A Dplatform.c17 * Machine description is simply a set of platform/board specific callbacks
H A Dsmp.c24 * Platform specific callbacks expected by arch SMP code
/linux-4.1.27/arch/metag/kernel/
H A Dclock.c98 * Ensures all callbacks are valid.
102 /* copy callbacks */ setup_meta_clocks()
/linux-4.1.27/net/mpls/
H A Dmpls_gso.c65 .callbacks = {
72 .callbacks = {
/linux-4.1.27/mm/
H A Dpagewalk.c182 * define their ->pte_hole() callbacks, so let's delegate them to handle walk_page_test()
210 * walk_page_range - walk page table with caller specific callbacks
216 * callbacks, the associated entries/pages are just ignored.
217 * The return values of these callbacks are commonly defined like below:
231 * which are useful for the access from callbacks. If you want to pass some
232 * caller-specific data to callbacks, @walk->private should be helpful.
H A Dpage_ext.c28 * To help these things to work well, there are two callbacks for clients. One
37 * extra memory through the need callback. If one of the need callbacks
40 * none of need callbacks return true, memory isn't needed at all in this boot
/linux-4.1.27/kernel/rcu/
H A Dtree_plugin.h49 static cpumask_var_t rcu_nocb_mask; /* CPUs to have callbacks offloaded. */
793 * rcu_barrier - Wait until all in-flight call_rcu() callbacks complete.
796 * to complete. For example, if there are no RCU callbacks queued anywhere
898 * Because preemptible RCU does not exist, it never has any callbacks
1128 * Wake up the per-CPU kthread to invoke RCU callbacks.
1145 * Is the current CPU running the RCU-callbacks kthread?
1225 * Per-CPU kernel thread that invokes RCU callbacks. This replaces the
1395 * Don't bother keeping a running count of the number of RCU callbacks
1413 * to sleep in dyntick-idle mode with RCU callbacks pending. This
1421 * callbacks pending. Setting this too high can OOM your system.
1438 * Try to advance callbacks for all flavors of RCU on the current CPU, but
1440 * if there are any callbacks ready for immediate invocation, return true.
1462 * callbacks not yet ready to invoke. for_each_rcu_flavor()
1476 * Allow the CPU to enter dyntick-idle mode unless it has callbacks ready
1477 * to invoke. If the CPU has callbacks, try to advance them. Tell the
1479 * callbacks.
1491 /* If no callbacks, RCU doesn't need the CPU. */ rcu_needs_cpu()
1497 /* Attempt to advance callbacks. */ rcu_needs_cpu()
1520 * arrived at a CPU that previously had only lazy callbacks. The third
1522 * any recently arrived callbacks.
1547 /* If this is a no-CBs CPU, no callbacks, just return. */ rcu_prepare_for_idle()
1553 * callbacks, invoke RCU core for the side-effect of recalculating rcu_prepare_for_idle()
1566 * callbacks on this CPU. rcu_prepare_for_idle()
1587 * Clean up for exit from idle. Attempt to advance callbacks based on
1589 * callbacks are now ready to invoke, initiate invocation.
1602 * Keep a running count of the number of non-lazy callbacks posted
1605 * posts a callback, even if an equal number of callbacks are invoked.
1606 * Of course, callbacks should only be posted from within a trace event
1615 * Data for flushing lazy RCU callbacks at OOM time.
1632 * least one lazy callback. This will unnecessarily post callbacks
1653 * This will wake up CPUs that have only lazy callbacks, in turn
1663 /* Wait for callbacks from earlier instance to complete. */ rcu_oom_notify()
1821 * kthread created that pulls the callbacks from the corresponding CPU,
1822 * waits for a grace period to elapse, and invokes the callbacks.
1834 * an energy-efficiency measure because CPUs with no RCU callbacks
1923 * Check count of all no-CBs callbacks awaiting invocation. rcu_nocb_cpu_needs_barrier()
1926 * callbacks would be posted. In the worst case, the first rcu_nocb_cpu_needs_barrier()
2003 /* ... or if many callbacks queued. */ __call_rcu_nocb_enqueue()
2060 * Adopt orphaned callbacks on a no-CBs CPU, or return 0 if this is
2132 * Leaders come here to wait for additional callbacks to show up.
2133 * This function does not return until callbacks appear.
2144 /* Wait for callbacks to appear. */ nocb_leader_wait()
2166 /* Move callbacks to wait-for-GP list, which is empty. */ nocb_leader_wait()
2173 * If there were no callbacks, sleep a bit, rescan after a nocb_leader_wait()
2200 * We set it now, but recheck for new callbacks while nocb_leader_wait()
2213 /* Append callbacks to follower's "done" list. */ nocb_leader_wait()
2232 * Followers come here to wait for additional callbacks to show up.
2233 * This function does not return until callbacks appear.
2264 * callbacks queued by the corresponding no-CBs CPU, however, there is
2276 /* Each pass through this loop invokes one batch of callbacks */ rcu_nocb_kthread()
2278 /* Wait for callbacks. */ rcu_nocb_kthread()
2284 /* Pull the ready-to-invoke callbacks onto local list. */ rcu_nocb_kthread()
2369 pr_info("\tOffload RCU callbacks from CPU 0\n"); rcu_init_nohz()
2373 pr_info("\tOffload RCU callbacks from all CPUs\n"); rcu_init_nohz()
2386 pr_info("\tOffload RCU callbacks from CPUs: %*pbl.\n", rcu_init_nohz()
2389 pr_info("\tPoll for callbacks from no-CBs CPUs.\n"); rcu_init_nohz()
2524 /* Prevent __call_rcu() from enqueuing callbacks on no-CBs CPUs */ init_nocb_callback_list()
2530 /* If there are early-boot callbacks, move them to nocb lists. */ init_nocb_callback_list()
H A Dtree.c147 * currently delay invocation of any RCU callbacks until after this point.
149 * It might later prove better for people registering RCU callbacks during
150 * early boot to take responsibility for these callbacks, but one step at
332 static long blimit = 10; /* Maximum callbacks per rcu_do_batch. */
517 * Does the CPU have callbacks ready to be invoked?
565 return 1; /* Yes, this CPU has newly registered callbacks. */ cpu_needs_another_gp()
1356 * no-callbacks CPUs.
1379 * next subsequent grace period. This is used to tag callbacks so that
1380 * a CPU can invoke callbacks in a timely fashion even if that CPU has
1381 * been dyntick-idle for an extended period with callbacks under the
1420 * callbacks. The required future grace periods are recorded in each
1436 * Pick up grace-period number for new callbacks. If this rcu_start_future_gp()
1479 * earlier. Adjust callbacks as needed. Note that even no-CBs rcu_start_future_gp()
1518 * rcu_nocb_gp_cleanup() in order to wake up any no-callbacks kthreads
1552 * If there is room, assign a ->completed number to any callbacks on
1554 * callbacks that were previously assigned a ->completed number that has
1555 * since proven to be too conservative, which can happen if callbacks get
1570 /* If the CPU has no callbacks, nothing to do. */ rcu_accelerate_cbs()
1575 * Starting from the sublist containing the callbacks most rcu_accelerate_cbs()
1580 * the ->completed number for newly arrived callbacks (last test). rcu_accelerate_cbs()
1583 * same ->completed number as the newly arrived callbacks, which rcu_accelerate_cbs()
1584 * means that the callbacks in any of these later sublist can be rcu_accelerate_cbs()
1595 * If there are no sublist for unassigned callbacks, leave. rcu_accelerate_cbs()
1597 * index into the sublist where all the remaining callbacks should rcu_accelerate_cbs()
1604 * Assign all subsequent callbacks' ->completed number to the next rcu_accelerate_cbs()
1624 * Move any callbacks whose grace period has completed to the
1626 * assign ->completed numbers to any callbacks in the RCU_NEXT_TAIL
1638 /* If the CPU has no callbacks, nothing to do. */ rcu_advance_cbs()
1643 * Find all callbacks whose ->completed numbers indicate that they rcu_advance_cbs()
1655 /* Copy down callbacks to fill in empty sublists. */ rcu_advance_cbs()
1663 /* Classify any remaining callbacks. */ rcu_advance_cbs()
1682 /* No grace period end, so just accelerate recent callbacks. */ __note_gp_changes()
1687 /* Advance callbacks. */ __note_gp_changes()
1926 * grace period to process their callbacks. This also avoids rcu_gp_cleanup()
2103 * callbacks. Note that rcu_start_gp_advanced() cannot do this because it
2118 * callbacks we have up to this point will be satisfied by the rcu_start_gp()
2119 * next grace period. Also, advancing the callbacks reduces the rcu_start_gp()
2121 * resulting in pointless grace periods. So, advance callbacks rcu_start_gp()
2292 * callbacks can be processed during the next GP. rcu_report_qs_rdp()
2340 * Send the specified CPU's RCU callbacks to the orphanage. The
2348 /* No-CBs CPUs do not have orphanable callbacks. */ rcu_send_cbs_to_orphanage()
2353 * Orphan the callbacks. First adjust the counts. This is safe rcu_send_cbs_to_orphanage()
2366 * Next, move those callbacks still needing a grace period to rcu_send_cbs_to_orphanage()
2368 * Some of the callbacks might have gone partway through a grace rcu_send_cbs_to_orphanage()
2381 * Then move the ready-to-invoke callbacks to the orphanage, rcu_send_cbs_to_orphanage()
2392 * disallow further callbacks on this CPU. rcu_send_cbs_to_orphanage()
2399 * Adopt the RCU callbacks from the specified rcu_state structure's
2426 /* First adopt the ready-to-invoke callbacks. */ rcu_adopt_orphan_cbs()
2437 /* And then adopt the callbacks that still need a grace period. */ rcu_adopt_orphan_cbs()
2525 * including orphaning the outgoing CPU's RCU callbacks, and also
2538 /* Orphan the dead CPU's callbacks, and adopt them if appropriate. */ rcu_cleanup_dead_cpu()
2570 * Invoke any RCU callbacks that have made it to the end of their grace
2580 /* If no callbacks are ready, just return. */ rcu_do_batch()
2590 * Extract the list of ready callbacks, disabling to prevent rcu_do_batch()
2606 /* Invoke callbacks. */ rcu_do_batch()
2627 /* Update count, and requeue any remaining callbacks. */ rcu_do_batch()
2656 /* Re-invoke RCU core processing if there are callbacks remaining. */ rcu_do_batch()
2852 /* If there are callbacks ready, invoke them. */ __rcu_process_callbacks()
2919 * Force the grace period if too many callbacks or too long waiting. __call_rcu_core()
3056 * callbacks in the list of pending callbacks. Until then, this
3440 /* Does this CPU have callbacks ready to invoke? */ __rcu_pending()
3493 * non-NULL, store an indication of whether all callbacks are lazy.
3494 * (If there are no callbacks, all of them are deemed to be lazy.)
3561 * RCU callbacks of the specified type to complete.
3621 * to ensure that no offline CPU has callbacks queued. _rcu_barrier()
3628 * Force each CPU with callbacks to register a new callback. _rcu_barrier()
3630 * corresponding CPU's preceding callbacks have been invoked. _rcu_barrier()
3673 /* Wait for all rcu_barrier_callback() callbacks to be invoked. */
3681 * rcu_barrier_bh - Wait until all in-flight call_rcu_bh() callbacks complete.
3690 * rcu_barrier_sched - Wait for in-flight call_rcu_sched() callbacks.
3746 * that this CPU cannot possibly have any RCU callbacks in flight yet.
3763 init_callback_list(rdp); /* Re-enable callbacks on this CPU. */ rcu_init_percpu_data()
H A Dtiny.c161 * Invoke the RCU callbacks on the specified rcu_ctrlkblk structure
171 /* Move the ready-to-invoke callbacks to a local list. */ __rcu_process_callbacks()
174 /* No callbacks ready, so just leave. */ __rcu_process_callbacks()
187 /* Invoke the callbacks on the local list. */ __rcu_process_callbacks()
H A Dsrcu.c87 * Move all callbacks from the rcu_batch structure specified by "from" to
516 * srcu_barrier - Wait until all in-flight call_srcu() callbacks complete.
517 * @sp: srcu_struct on which to wait for in-flight callbacks.
542 * Move any new SRCU callbacks to the first stage of the SRCU grace
555 * Core SRCU state machine. Advance callbacks from ->batch_check0 to
572 return; /* no callbacks need to be advanced */ srcu_advance_batches()
578 * The callbacks in ->batch_check1 have already done with their srcu_advance_batches()
582 * invocation, leaving the callbacks stranded on ->batch_check1.) srcu_advance_batches()
588 return; /* no callbacks need to be advanced */ srcu_advance_batches()
592 * The callbacks in ->batch_check0 just finished their srcu_advance_batches()
607 * The callbacks in ->batch_check1 have now waited for all srcu_advance_batches()
615 * Invoke a limited number of SRCU callbacks that have passed through
636 * more SRCU callbacks queued, otherwise put SRCU into not-running state.
H A Dupdate.c452 /* Global list of callbacks and associated lock. */
535 * rcu_barrier_tasks - Wait for in-flight call_rcu_tasks() callbacks.
538 * obligated to, for example, if there are no pending callbacks.
578 /* RCU-tasks kthread that detects grace periods and invokes callbacks. */ rcu_tasks_kthread()
593 * newly arrived callbacks, and, if there are some, waits for rcu_tasks_kthread()
594 * one RCU-tasks grace period and then invokes the callbacks. rcu_tasks_kthread()
599 /* Pick up any new callbacks. */ rcu_tasks_kthread()
634 * There were callbacks, so we need to wait for an rcu_tasks_kthread()
711 /* Invoke the callbacks. */
H A Drcutorture.c64 "# callbacks per burst in flood");
76 "# of callbacks/kthreads for barrier testing");
198 static atomic_t barrier_cbs_count; /* Barrier callbacks registered. */
200 static atomic_t barrier_cbs_invoked; /* Barrier callbacks invoked. */
320 * Update all callbacks in the pipe. Suitable for synchronous grace-period
345 /* Test is ending, just drop callbacks on the floor. */ rcu_torture_cb()
660 * CPU for moderate bursts, repeatedly registering RCU callbacks and
1402 /* kthread function to register callbacks used to test RCU barriers. */ rcu_torture_barrier_cbs()
1591 /* Wait for all RCU callbacks to fire. */ rcu_torture_cleanup()
1618 * first of the pair of duplicate callbacks is queued, rcu_torture_err_cb()
1643 /* Try to queue the rh2 pair of callbacks for the same grace period. */ rcu_test_debug_objects()
H A Dtree.h304 long qlen_lazy; /* # of lazy queued callbacks */
305 long qlen; /* # of queued callbacks, incl lazy */
338 /* 6) _rcu_barrier() and OOM callbacks. */
449 struct rcu_head *orphan_nxtlist; /* Orphaned callbacks that */
452 struct rcu_head *orphan_donelist; /* Orphaned callbacks that */
455 long qlen_lazy; /* Number of lazy callbacks. */
456 long qlen; /* Total number of callbacks. */
H A Dtiny_plugin.h32 struct rcu_head *rcucblist; /* List of pending callbacks (CBs). */
/linux-4.1.27/net/ipv4/
H A Dudp_offload.c161 if (!ops || !ops->callbacks.gso_segment) skb_udp_tunnel_segment()
163 gso_inner_segment = ops->callbacks.gso_segment; skb_udp_tunnel_segment()
315 uo_priv->offload->callbacks.gro_receive) udp_gro_receive()
342 pp = uo_priv->offload->callbacks.gro_receive(head, skb, udp_gro_receive()
393 uo_priv->offload->callbacks.gro_complete) udp_gro_complete()
399 err = uo_priv->offload->callbacks.gro_complete(skb, udp_gro_complete()
432 .callbacks = {
H A Dfou.c188 if (!ops || !ops->callbacks.gro_receive) fou_gro_receive()
191 pp = ops->callbacks.gro_receive(head, skb); fou_gro_receive()
212 if (WARN_ON(!ops || !ops->callbacks.gro_complete)) fou_gro_complete()
215 err = ops->callbacks.gro_complete(skb, nhoff); fou_gro_complete()
355 if (WARN_ON(!ops || !ops->callbacks.gro_receive)) gue_gro_receive()
358 pp = ops->callbacks.gro_receive(head, skb); gue_gro_receive()
386 if (WARN_ON(!ops || !ops->callbacks.gro_complete)) gue_gro_complete()
389 err = ops->callbacks.gro_complete(skb, nhoff + guehlen); gue_gro_complete()
432 fou->udp_offloads.callbacks.gro_receive = fou_gro_receive; fou_encap_init()
433 fou->udp_offloads.callbacks.gro_complete = fou_gro_complete; fou_encap_init()
443 fou->udp_offloads.callbacks.gro_receive = gue_gro_receive; gue_encap_init()
444 fou->udp_offloads.callbacks.gro_complete = gue_gro_complete; gue_encap_init()
H A Dgeneve.c206 pp = ptype->callbacks.gro_receive(head, skb); geneve_gro_receive()
234 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); geneve_gro_complete()
358 gs->udp_offloads.callbacks.gro_receive = geneve_gro_receive; geneve_socket_create()
359 gs->udp_offloads.callbacks.gro_complete = geneve_gro_complete; geneve_socket_create()
H A Dgre_offload.c217 pp = ptype->callbacks.gro_receive(head, skb); gre_gro_receive()
248 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); gre_gro_complete()
258 .callbacks = {
/linux-4.1.27/drivers/iio/light/
H A Dhid-sensor-als.c37 struct hid_sensor_hub_callbacks callbacks; member in struct:als_state
325 als_state->callbacks.send_event = als_proc_event; hid_als_probe()
326 als_state->callbacks.capture_sample = als_capture_sample; hid_als_probe()
327 als_state->callbacks.pdev = pdev; hid_als_probe()
329 &als_state->callbacks); hid_als_probe()
H A Dhid-sensor-prox.c36 struct hid_sensor_hub_callbacks callbacks; member in struct:prox_state
314 prox_state->callbacks.send_event = prox_proc_event; hid_prox_probe()
315 prox_state->callbacks.capture_sample = prox_capture_sample; hid_prox_probe()
316 prox_state->callbacks.pdev = pdev; hid_prox_probe()
318 &prox_state->callbacks); hid_prox_probe()
/linux-4.1.27/drivers/iio/orientation/
H A Dhid-sensor-rotation.c30 struct hid_sensor_hub_callbacks callbacks; member in struct:dev_rot_state
287 rot_state->callbacks.send_event = dev_rot_proc_event; hid_dev_rot_probe()
288 rot_state->callbacks.capture_sample = dev_rot_capture_sample; hid_dev_rot_probe()
289 rot_state->callbacks.pdev = pdev; hid_dev_rot_probe()
292 &rot_state->callbacks); hid_dev_rot_probe()
H A Dhid-sensor-incl-3d.c42 struct hid_sensor_hub_callbacks callbacks; member in struct:incl_3d_state
380 incl_state->callbacks.send_event = incl_3d_proc_event; hid_incl_3d_probe()
381 incl_state->callbacks.capture_sample = incl_3d_capture_sample; hid_incl_3d_probe()
382 incl_state->callbacks.pdev = pdev; hid_incl_3d_probe()
385 &incl_state->callbacks); hid_incl_3d_probe()
/linux-4.1.27/drivers/iio/pressure/
H A Dhid-sensor-press.c36 struct hid_sensor_hub_callbacks callbacks; member in struct:press_state
324 press_state->callbacks.send_event = press_proc_event; hid_press_probe()
325 press_state->callbacks.capture_sample = press_capture_sample; hid_press_probe()
326 press_state->callbacks.pdev = pdev; hid_press_probe()
328 &press_state->callbacks); hid_press_probe()
/linux-4.1.27/drivers/rtc/
H A Drtc-hid-sensor-time.c37 struct hid_sensor_hub_callbacks callbacks; member in struct:hid_time_state
268 time_state->callbacks.send_event = hid_time_proc_event; hid_time_probe()
269 time_state->callbacks.capture_sample = hid_time_capture_sample; hid_time_probe()
270 time_state->callbacks.pdev = pdev; hid_time_probe()
272 &time_state->callbacks); hid_time_probe()
/linux-4.1.27/arch/x86/xen/
H A Dmulticalls.c49 } callbacks[MC_BATCH]; member in struct:mc_buffer
121 struct callback *cb = &b->callbacks[i]; xen_mc_flush()
205 cb = &b->callbacks[b->cbidx++]; xen_mc_callback()
H A Dxen-asm_64.S105 * Xen handles syscall callbacks much like ordinary exceptions, which
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-spi.h155 * Get current SPI4 initialization callbacks
157 * @callbacks: Pointer to the callbacks structure.to fill
161 extern void cvmx_spi_get_callbacks(cvmx_spi_callbacks_t *callbacks);
164 * Set new SPI4 initialization callbacks
166 * @new_callbacks: Pointer to an updated callbacks structure.
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmac80211_if.h77 atomic_t callbacks; /* # outstanding callback functions */ member in struct:brcms_info
90 /* misc callbacks */
H A Dmac80211_if.c315 /* wait for all pending callbacks to complete */ brcms_free()
316 while (atomic_read(&wl->callbacks) > 0) brcms_free()
1122 atomic_set(&wl->callbacks, 0); brcms_attach()
1410 uint callbacks, ret_val = 0; brcms_down() local
1414 callbacks = atomic_read(&wl->callbacks) - ret_val; brcms_down()
1416 /* wait for down callbacks to complete */ brcms_down()
1422 SPINWAIT((atomic_read(&wl->callbacks) > callbacks), 100 * 1000); brcms_down()
1439 atomic_inc(&t->wl->callbacks); _brcms_timer()
1450 atomic_dec(&t->wl->callbacks); _brcms_timer()
1507 atomic_inc(&t->wl->callbacks); brcms_add_timer()
1525 atomic_dec(&t->wl->callbacks); brcms_del_timer()
/linux-4.1.27/drivers/base/power/
H A Dcommon.c97 * management callbacks.
123 * management callbacks.
H A Dmain.c537 * dpm_resume_noirq - Execute "noirq resume" callbacks for all devices.
662 * dpm_resume_early - Execute "early resume" callbacks for all devices.
714 * dpm_resume_start - Execute "noirq" and "early" device callbacks.
725 * device_resume - Execute "resume" callbacks for given device.
831 * dpm_resume - Execute "resume" callbacks for non-sysdev devices.
937 * Execute the ->complete() callbacks for all devices whose PM status is not
968 * dpm_resume_end - Execute "resume" callbacks and complete system transition.
971 * Execute "resume" callbacks for all devices and complete the PM transition of
1094 * dpm_suspend_noirq - Execute "noirq suspend" callbacks for all devices.
1240 * dpm_suspend_late - Execute "late suspend" callbacks for all devices.
1292 * dpm_suspend_end - Execute "late" and "noirq" device suspend callbacks.
1338 * device_suspend - Execute "suspend" callbacks for given device.
1491 * dpm_suspend - Execute "suspend" callbacks for all non-sysdev devices.
1665 * callbacks for them.
/linux-4.1.27/drivers/virtio/
H A Dvirtio_pci_common.c298 vq_callback_t *callbacks[], vp_try_to_find_vqs()
321 if (callbacks[i]) vp_try_to_find_vqs()
339 } else if (!callbacks[i] || !vp_dev->msix_enabled) vp_try_to_find_vqs()
345 vqs[i] = vp_setup_vq(vdev, i, callbacks[i], names[i], msix_vec); vp_try_to_find_vqs()
378 vq_callback_t *callbacks[], vp_find_vqs()
384 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, true, true); vp_find_vqs()
388 err = vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, vp_find_vqs()
393 return vp_try_to_find_vqs(vdev, nvqs, vqs, callbacks, names, vp_find_vqs()
296 vp_try_to_find_vqs(struct virtio_device *vdev, unsigned nvqs, struct virtqueue *vqs[], vq_callback_t *callbacks[], const char *names[], bool use_msix, bool per_vq_vectors) vp_try_to_find_vqs() argument
376 vp_find_vqs(struct virtio_device *vdev, unsigned nvqs, struct virtqueue *vqs[], vq_callback_t *callbacks[], const char *names[]) vp_find_vqs() argument
H A Dvirtio_ring.c95 /* Tokens for callbacks. */
528 * virtqueue_disable_cb - disable callbacks
545 * virtqueue_enable_cb_prepare - restart callbacks after disable_cb
548 * This re-enables callbacks; it returns current queue state
551 * more work, and enabling callbacks.
594 * virtqueue_enable_cb - restart callbacks after disable_cb.
597 * This re-enables callbacks; it returns "false" if there are pending
599 * checking for more work, and enabling callbacks.
612 * virtqueue_enable_cb_delayed - restart callbacks after disable_cb.
615 * This re-enables callbacks but hints to the other side to delay
619 * and enabling callbacks.
H A Dvirtio_pci_common.h139 vq_callback_t *callbacks[],
/linux-4.1.27/include/linux/mfd/
H A Dcore.h61 * Disable runtime PM callbacks for this subdevice - see
75 * happens automatically, with the cell's enable/disable callbacks
/linux-4.1.27/drivers/scsi/
H A Discsi_tcp.h42 /* old values for socket callbacks */
H A Dvirtio_scsi.c893 vq_callback_t **callbacks; virtscsi_init() local
899 callbacks = kmalloc(num_vqs * sizeof(vq_callback_t *), GFP_KERNEL); virtscsi_init()
902 if (!callbacks || !vqs || !names) { virtscsi_init()
907 callbacks[0] = virtscsi_ctrl_done; virtscsi_init()
908 callbacks[1] = virtscsi_event_done; virtscsi_init()
912 callbacks[i] = virtscsi_req_done; virtscsi_init()
917 err = vdev->config->find_vqs(vdev, num_vqs, vqs, callbacks, names); virtscsi_init()
936 kfree(callbacks); virtscsi_init()
/linux-4.1.27/drivers/char/
H A Dnwbutton.c36 static int callback_count; /* The number of callbacks registered */
49 * Because callbacks can be unregistered at random the list can become
127 * any matching registered function callbacks, initiate reboot, etc.).
181 * callbacks functions the kernel should call when a user mode process
/linux-4.1.27/drivers/vfio/platform/
H A Dvfio_platform_private.h66 /* callbacks to discover device resources */
/linux-4.1.27/arch/arm/include/asm/
H A DbL_switcher.h33 * the switcher will not be enabled or disabled during callbacks.
/linux-4.1.27/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c42 struct hid_sensor_hub_callbacks callbacks; member in struct:accel_3d_state
364 accel_state->callbacks.send_event = accel_3d_proc_event; hid_accel_3d_probe()
365 accel_state->callbacks.capture_sample = accel_3d_capture_sample; hid_accel_3d_probe()
366 accel_state->callbacks.pdev = pdev; hid_accel_3d_probe()
368 &accel_state->callbacks); hid_accel_3d_probe()
/linux-4.1.27/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c42 struct hid_sensor_hub_callbacks callbacks; member in struct:gyro_3d_state
361 gyro_state->callbacks.send_event = gyro_3d_proc_event; hid_gyro_3d_probe()
362 gyro_state->callbacks.capture_sample = gyro_3d_capture_sample; hid_gyro_3d_probe()
363 gyro_state->callbacks.pdev = pdev; hid_gyro_3d_probe()
365 &gyro_state->callbacks); hid_gyro_3d_probe()
/linux-4.1.27/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c46 struct hid_sensor_hub_callbacks callbacks; member in struct:magn_3d_state
477 magn_state->callbacks.send_event = magn_3d_proc_event; hid_magn_3d_probe()
478 magn_state->callbacks.capture_sample = magn_3d_capture_sample; hid_magn_3d_probe()
479 magn_state->callbacks.pdev = pdev; hid_magn_3d_probe()
481 &magn_state->callbacks); hid_magn_3d_probe()
/linux-4.1.27/kernel/
H A Dsmp.c69 * The IPIs for the smp-call-function callbacks queued by other hotplug_cfd()
72 * before the IPIs were sent. So flush out any pending callbacks hotplug_cfd()
188 * generic_smp_call_function_single_interrupt - Execute SMP IPI callbacks
199 * flush_smp_call_function_queue - Flush pending smp-call-function callbacks
201 * @warn_cpu_offline: If set to 'true', warn if callbacks were queued on an
204 * Flush any pending smp-call-function callbacks queued on this CPU. This is
206 * to ensure that all pending IPI callbacks are run before it goes completely
209 * Loop through the call_single_queue and run all the queued callbacks.
225 /* There shouldn't be any pending callbacks on an offline CPU. */ flush_smp_call_function_queue()
H A Dirq_work.c4 * Provides a framework for enqueueing and running callbacks from hardirq
H A Duser.c85 * softirq callbacks, and they can unconditionally enable interrupts, and
/linux-4.1.27/drivers/dma-buf/
H A Dfence.c58 * Signal completion for software callbacks on a fence, this will unblock
59 * fence_wait() calls and run all the callbacks added with
84 * still run through all callbacks fence_signal_locked()
101 * Signal completion for software callbacks on a fence, this will unblock
102 * fence_wait() calls and run all the callbacks added with
227 * by the caller is required. Any number of callbacks can be registered
/linux-4.1.27/drivers/iommu/
H A Dio-pgtable.h16 * struct iommu_gather_ops - IOMMU callbacks for TLB and page table management.
43 * @tlb: TLB management callbacks for this set of tables.
/linux-4.1.27/drivers/md/
H A Ddm-snap-persistent.c160 struct commit_callback *callbacks; member in struct:pstore
603 vfree(ps->callbacks); persistent_dtr()
628 ps->callbacks = dm_vcalloc(ps->exceptions_per_area, persistent_read_metadata()
629 sizeof(*ps->callbacks)); persistent_read_metadata()
630 if (!ps->callbacks) persistent_read_metadata()
719 cb = ps->callbacks + ps->callback_count++; persistent_commit_exception()
754 cb = ps->callbacks + i; persistent_commit_exception()
870 ps->callbacks = NULL; persistent_ctr()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dlprocfs_counters.c121 * Sometimes we use RCU callbacks to free memory which calls lprocfs_counter_sub()
122 * lprocfs_counter_sub(), and RCU callbacks may execute in lprocfs_counter_sub()
/linux-4.1.27/arch/mips/cavium-octeon/executive/
H A Dcvmx-spi.c57 /* Default callbacks, can be overridden
70 * Get current SPI4 initialization callbacks
72 * @callbacks: Pointer to the callbacks structure.to fill
76 void cvmx_spi_get_callbacks(cvmx_spi_callbacks_t *callbacks) cvmx_spi_get_callbacks() argument
78 memcpy(callbacks, &cvmx_spi_callbacks, sizeof(cvmx_spi_callbacks)); cvmx_spi_get_callbacks()
82 * Set new SPI4 initialization callbacks
84 * @new_callbacks: Pointer to an updated callbacks structure.
/linux-4.1.27/tools/perf/util/
H A Dunwind-libdw.c145 static const Dwfl_Thread_Callbacks callbacks = { variable
197 if (!dwfl_attach_state(ui.dwfl, EM_NONE, thread->tid, &callbacks, &ui)) unwind__get_entries()
H A Dkvm-stat.h132 * arch specific callbacks and data structures
H A Ddwarf-aux.h68 /* Return values for die_find_child() callbacks */
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dtxrx.h72 /* WSM callbacks */
H A Dsta.h52 /* WSM callbacks */
/linux-4.1.27/drivers/cpufreq/
H A Dhighbank-cpufreq.c8 * This driver provides the clk notifier callbacks that are used when
/linux-4.1.27/arch/x86/include/asm/
H A Dstacktrace.h37 /* Generic stack tracer with callbacks */
H A Dmicrocode.h41 * the callbacks below run on a target cpu when they
H A Dirq_vectors.h117 /* Vector on which hypervisor callbacks will be delivered */
/linux-4.1.27/drivers/usb/gadget/function/
H A Du_serial.h49 /* notification callbacks */
/linux-4.1.27/include/sound/
H A Dseq_oss.h48 * synthesizer operation callbacks
H A Dcompress_driver.h40 * @ops: pointer to DSP callbacks
68 * @ops: pointer to DSP callbacks
139 * @ops: pointer to DSP callbacks
H A Drawmidi.h160 /* callbacks */
/linux-4.1.27/include/linux/netfilter/
H A Dnfnetlink.h27 __u8 cb_count; /* number of callbacks */
/linux-4.1.27/include/video/
H A Dauo_k190xfb.h53 /* individual controller callbacks */
/linux-4.1.27/arch/metag/include/asm/mach/
H A Darch.h25 * @clocks: Clock callbacks.
/linux-4.1.27/arch/arc/include/asm/
H A Dmach_desc.h15 * struct machine_desc - Board specific callbacks, called from ARC common code
H A Dsmp.h45 * struct plat_smp_ops - SMP callbacks provided by platform to ARC SMP
/linux-4.1.27/net/irda/irnet/
H A Dirnet_ppp.h97 /* Filesystem callbacks (to call us) */
/linux-4.1.27/net/vmw_vsock/
H A Dvmci_transport_notify.h46 /* Socket notification callbacks. */
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dhif.h84 struct ath10k_hif_cb *callbacks);
167 struct ath10k_hif_cb *callbacks) ath10k_hif_set_callbacks()
169 ar->hif.ops->set_callbacks(ar, callbacks); ath10k_hif_set_callbacks()
166 ath10k_hif_set_callbacks(struct ath10k *ar, struct ath10k_hif_cb *callbacks) ath10k_hif_set_callbacks() argument
/linux-4.1.27/drivers/ntb/
H A Dntb_hw.h167 * ntb_max_cbs() - return the max callbacks
170 * Given the ntb pointer, return the maximum number of callbacks
172 * RETURNS: the maximum number of callbacks
/linux-4.1.27/drivers/acpi/acpica/
H A Dacdispat.h103 * dsexec - Parser/Interpreter interface, method execution callbacks
147 /* dsload - pass 1 namespace load callbacks */
155 /* dsload - pass 2 namespace load callbacks */
H A Ddswload.c3 * Module Name: dswload - Dispatcher first pass namespace load callbacks
68 * DESCRIPTION: Init walk state callbacks
78 /* Parse only - caller will setup callbacks */ acpi_ds_init_callbacks()
/linux-4.1.27/drivers/misc/mei/
H A Damthif.c425 * @cmpl_list: completed callbacks list
496 * mei_clear_list - removes all callbacks associated with file
501 * @mei_cb_list: callbacks list
534 * mei_clear_lists - removes all callbacks associated with file
548 /* remove callbacks associated with a file */ mei_clear_lists()
H A Dpci-txe.c163 * Use domain runtime pm callbacks instead. mei_txe_probe()
402 /* stop using pm callbacks if any */ mei_txe_unset_pm_domain()
/linux-4.1.27/drivers/block/
H A Dvirtio_blk.c384 vq_callback_t **callbacks; init_vq() local
406 callbacks = kmalloc(sizeof(*callbacks) * num_vqs, GFP_KERNEL); init_vq()
407 if (!callbacks) init_vq()
415 callbacks[i] = virtblk_done; init_vq()
421 err = vdev->config->find_vqs(vdev, num_vqs, vqs, callbacks, names); init_vq()
434 kfree(callbacks); init_vq()
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-alsa.c246 * - One of the ALSA capture callbacks.
509 * - One of the ALSA capture callbacks.
603 * - One of the ALSA capture callbacks.
676 * - One of the ALSA capture callbacks.
760 * - One of the ALSA capture callbacks.
787 * - One of the ALSA capture callbacks.
808 * - One of the ALSA capture callbacks.
885 * ALSA capture callbacks definition
904 * the callbacks
1080 * the callbacks
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Drs.h407 * iwl_rate_control_register - Register the rate control algorithm callbacks
411 * iwl_rate_control_register in order to register the rate control callbacks
419 * iwl_rate_control_unregister - Unregister the rate control callbacks
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Drs.h360 * iwl_rate_control_register - Register the rate control algorithm callbacks
364 * iwl_rate_control_register in order to register the rate control callbacks
372 * iwl_rate_control_unregister - Unregister the rate control callbacks
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_frontbuffer.c38 * frontbuffer changes (e.g. PSR, FBC, DRRS) should directly put their callbacks
44 * stop caching and when to restart caching. This is done by placing callbacks
48 * and flush on its own) which can be achieved with placing callbacks into the
H A Dintel_opregion.c815 * We also use GBDA to ask for _requested_ SBCB callbacks. The driver swsci_setup()
840 DRM_DEBUG_DRIVER("SWSCI BIOS requested (%08x) SBCB callbacks that are not supported (%08x)\n", req, tmp); swsci_setup()
841 /* XXX: for now, trust the requested callbacks */ swsci_setup()
848 DRM_DEBUG_DRIVER("SWSCI GBDA callbacks %08x, SBCB callbacks %08x\n", swsci_setup()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrutlbpurge.c4 * MMUOPS callbacks + TLB flushing
6 * This file handles emu notifier callbacks from the core kernel. The callbacks
135 * provide the callbacks for TLB invalidation. The GMS contains:
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sunxi.c133 /* of_data specifying hardware features and callbacks.
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dchip.h63 * struct brcmf_buscore_ops - buscore specific callbacks.
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dpower.h64 * GFX-Runtime PM callbacks
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dnv04.c33 * VM map/unmap callbacks
H A Dnv41.c35 * VM map/unmap callbacks
/linux-4.1.27/fs/xfs/
H A Dkmem.h38 * We use a special process flag to avoid recursive callbacks into
/linux-4.1.27/include/net/
H A Dmac802154.h127 /* struct ieee802154_ops - callbacks from mac802154 to the driver
129 * This structure contains various callbacks that the driver may
148 * This will be deprecated soon. We don't accept synced xmit callbacks
260 * @ops: callbacks for this device
H A Ddcbnl.h43 * Ops struct for the netlink callbacks. Used by DCB-enabled drivers through
H A Dlapb.h98 const struct lapb_register_struct *callbacks; member in struct:lapb_cb
H A Dprotocol.h72 struct offload_callbacks callbacks; member in struct:net_offload
/linux-4.1.27/include/media/
H A Dmedia-devnode.h78 /* callbacks */
H A Dv4l2-dev.h132 /* callbacks */
135 /* ioctl callbacks */
/linux-4.1.27/include/uapi/linux/
H A Dvirtio_config.h53 /* Do we get callbacks when the ring is completely used, even if we've
H A Duinput.h98 * and erase_effect callbacks in input_dev must be implemented.
100 * these callbacks are invoked. The userspace code then uses
/linux-4.1.27/arch/s390/include/asm/
H A Dperf_event.h37 /* Perf callbacks */
/linux-4.1.27/sound/core/
H A Dvmaster.c183 * ctl callbacks for slaves
269 /* override callbacks */ _snd_ctl_add_slave()
284 * ctl callbacks for master controls
414 /* override some callbacks */ snd_ctl_make_virtual_master()
/linux-4.1.27/drivers/media/mmc/siano/
H A Dsmssdio.c90 /* Siano core callbacks */
125 /* SDIO callbacks */
/linux-4.1.27/fs/ocfs2/cluster/
H A Dtcp_internal.h140 /* rx and connect work are generated from socket callbacks. sc
141 * shutdown removes the callbacks and then flushes the work queue */
/linux-4.1.27/drivers/pnp/
H A Ddriver.c242 /* Suspend callbacks */
245 /* Hibernate callbacks */
/linux-4.1.27/arch/arm64/kernel/
H A Dkgdb.c297 * specific callbacks.
315 * specific callbacks, for dynamic registration and unregistration.
/linux-4.1.27/arch/hexagon/kernel/
H A Dkgdb.c242 * specific callbacks.
253 * specific callbacks, for dynamic registration and unregistration.
/linux-4.1.27/arch/arm/kernel/
H A Dkgdb.c222 * specific callbacks.
241 * specific callbacks, for dynamic registration and unregistration.
H A Dcpuidle.c45 * @index: an integer used as an identifier for the low level PM callbacks
/linux-4.1.27/net/phonet/
H A Dpep-gprs.c73 * Socket callbacks
169 * Network device callbacks
/linux-4.1.27/include/drm/
H A Ddrm_encoder_slave.h81 * @slave_funcs: Slave encoder callbacks.
85 * A &drm_encoder_slave has two sets of callbacks, @slave_funcs and the
H A Ddrm_fb_helper.h76 * struct drm_fb_helper_funcs - driver callbacks for the fbdev emulation library
86 * Driver callbacks used by the fbdev emulation helper library.
/linux-4.1.27/drivers/hid/
H A Dhid-sensor-custom.c47 struct hid_sensor_hub_callbacks callbacks; member in struct:hid_sensor_custom
772 sensor_inst->callbacks.capture_sample = hid_sensor_capture_sample; hid_sensor_custom_probe()
773 sensor_inst->callbacks.send_event = hid_sensor_send_event; hid_sensor_custom_probe()
774 sensor_inst->callbacks.pdev = pdev; hid_sensor_custom_probe()
780 &sensor_inst->callbacks); hid_sensor_custom_probe()
/linux-4.1.27/drivers/thunderbolt/
H A Dnhi.c159 * their callbacks are invoked.
162 * frame to the ring buffer and invoke the callbacks for the completed frames.
215 mutex_unlock(&ring->lock); /* allow callbacks to schedule new work */ ring_work()
352 * All enqueued frames will be canceled and their callbacks will be executed
382 * schedule ring->work to invoke callbacks on all remaining frames. ring_stop()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Daf9015.c626 /* override demod callbacks for resource locking */ af9015_af9013_set_frontend()
642 /* override demod callbacks for resource locking */ af9015_af9013_read_status()
659 /* override demod callbacks for resource locking */ af9015_af9013_init()
675 /* override demod callbacks for resource locking */ af9015_af9013_sleep()
691 /* override tuner callbacks for resource locking */ af9015_tuner_init()
707 /* override tuner callbacks for resource locking */ af9015_tuner_sleep()
850 * Override demodulator callbacks and use mutex for limit access to af9015_af9013_frontend_attach()
/linux-4.1.27/drivers/gpio/
H A Dgpio-tz1090.c55 * and the callbacks for the gpio_chip can access the private data with the
185 /* GPIO chip callbacks */
267 /* Get TZ1090 GPIO chip from irq data provided to generic IRQ callbacks */ irqd_to_gpio_bank()
/linux-4.1.27/fs/ext4/
H A Dext4_jbd2.h144 * structs. If you are using callbacks you must allocate one of these
149 /* list information for other callbacks attached to the same handle */
177 * There is no guaranteed calling order of multiple registered callbacks on
/linux-4.1.27/net/ethernet/
H A Deth.c437 pp = ptype->callbacks.gro_receive(head, skb); eth_gro_receive()
461 err = ptype->callbacks.gro_complete(skb, nhoff + eth_gro_complete()
471 .callbacks = {
/linux-4.1.27/drivers/mtd/nand/
H A Dcmx270_nand.c185 /* insert callbacks */ cmx270_init()
/linux-4.1.27/drivers/net/wan/
H A Dhdlc_x25.c29 /* These functions are callbacks called by LAPB layer */
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-dma-contig.c87 /* callbacks for all buffers */
139 /* callbacks for MMAP buffers */
429 /* callbacks for USERPTR buffers */
729 /* callbacks for DMABUF buffers */
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_intr.c246 * to handle callbacks.
270 * to handle callbacks.
331 dev_err(&pdev->dev, "Error setting up callbacks\n"); mic_setup_msi()
370 dev_err(&pdev->dev, "Error setting up callbacks\n"); mic_setup_intx()
H A Dmic_intr.h72 * @cb_ida: callback ID allocator to track the callbacks registered.
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dinterval_tree.h93 * - callbacks for interval_iterate and interval_iterate_reverse: Every
/linux-4.1.27/arch/x86/kernel/
H A Ddevicetree.c2 * Architecture specific OF callbacks.
/linux-4.1.27/arch/x86/platform/efi/
H A Dearly_printk.c24 * earlier than initcall callbacks. Thus adding this early initcall function
/linux-4.1.27/block/
H A Dblk-iopoll.c142 * Disable io polling and wait for any pending callbacks to have completed.
/linux-4.1.27/drivers/bus/
H A Dmips_cdmm.c130 * All the CDMM driver callbacks need to be executed on the appropriate CPU from
131 * workqueues. For the standard driver callbacks we need a work function
546 * All the CDMM driver callbacks need to be executed on the appropriate CPU from
547 * workqueues. For the CPU callbacks, they need to be called for all devices on
/linux-4.1.27/drivers/char/hw_random/
H A Dvirtio-rng.c46 /* We can get spurious callbacks, e.g. shared IRQs + virtio_pci. */ random_recv_done()
/linux-4.1.27/arch/microblaze/kernel/
H A Ddma.c5 * Provide default implementations of the DMA mapping callbacks for
/linux-4.1.27/arch/mips/include/asm/fw/cfe/
H A Dcfe_api.h21 * This file contains declarations for doing callbacks to
/linux-4.1.27/drivers/usb/serial/
H A Dbus.c104 * Note that no further runtime PM callbacks will be made if usb_serial_device_remove()
/linux-4.1.27/drivers/vme/
H A Dvme_bridge.h117 /* Interrupt callbacks */
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop-common.h95 /* bus specific callbacks */
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dudbg_adb.c166 /* Capture existing callbacks */ udbg_adb_init()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmpic_pasemi_msi.c161 pr_debug("pasemi_msi: Registering PA Semi MPIC MSI callbacks\n"); mpic_pasemi_msi_init()
H A Dmpic_u3msi.c192 pr_debug("u3msi: Registering MPIC U3 MSI callbacks.\n"); mpic_u3msi_init()
/linux-4.1.27/net/batman-adv/
H A Dhash.h109 * @data: data passed to the aforementioned callbacks as argument
/linux-4.1.27/net/mac802154/
H A Dieee802154_i.h138 /* MIB callbacks */
/linux-4.1.27/sound/ppc/
H A Dpmac.h157 /* lowlevel callbacks */
/linux-4.1.27/include/drm/ttm/
H A Dttm_memory.h57 * to a linked list to be able to handle multiple callbacks when needed.
/linux-4.1.27/include/linux/iio/adc/
H A Dad_sigma_delta.h33 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options

Completed in 4143 milliseconds

12345