Home
last modified time | relevance | path

Searched full:callback (Results 1 – 25 of 2607) sorted by relevance

12345678910>>...105

/linux/arch/alpha/lib/
H A Dcallback_srm.S19 ldq $0,hwrpb # gp is set up by CALLBACK macro.
29 extwl $25,0,$16 # SRM callback function code
59 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro
65 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro
78 CALLBACK(puts, CCB_PUTS, 4)
79 CALLBACK(open, CCB_OPEN, 3)
80 CALLBACK(close, CCB_CLOSE, 2)
81 CALLBACK(read, CCB_READ, 5)
82 CALLBACK(open_console, CCB_OPEN_CONSOLE, 1)
83 CALLBACK(close_console, CCB_CLOSE_CONSOLE, 1)
[all …]
/linux/drivers/acpi/
H A Dvideo_detect.c152 .callback = video_detect_force_vendor,
160 .callback = video_detect_force_vendor,
168 .callback = video_detect_force_vendor,
176 .callback = video_detect_force_vendor,
185 .callback = video_detect_force_vendor,
193 .callback = video_detect_force_vendor,
201 .callback = video_detect_force_vendor,
210 .callback = video_detect_force_vendor,
218 .callback = video_detect_force_vendor,
227 .callback = video_detect_force_vendor,
[all …]
/linux/block/
H A Dblk-stat.h12 * struct blk_stat_callback - Block statistics callback.
26 * @timer: Timer for the next callback invocation.
53 * @fn: Callback function.
70 /* record time/size info in request but not add a callback */
75 * blk_stat_alloc_callback() - Allocate a block statistics callback.
76 * @timer_fn: Timer callback function.
77 * @bucket_fn: Bucket callback function.
81 * See &struct blk_stat_callback for details on the callback functions.
91 * blk_stat_add_callback() - Add a block statistics callback to be run on a
94 * @cb: The callback.
[all …]
/linux/include/linux/
H A Dcpuhotplug.h180 /* Must be the last timer callback */
262 * callback
264 * @name: Name of the callback (will be used in debug output)
265 * @startup: startup callback function or NULL if not required
266 * @teardown: teardown callback function or NULL if not required
268 * Installs the callback functions and invokes the @startup callback on
281 * @startup callback from a cpus_read_lock()
284 * @name: Name of the callback (will be used in debug output)
285 * @startup: startup callback function or NULL if not required
286 * @teardown: teardown callback function or NULL if not required
[all …]
H A Dtracefs.h27 * eventfs_callback - A callback function to create dynamic files in eventfs
37 * array is used to find a callback() with the matching name that is being
38 * referenced (for lookups, the entire array is iterated and each callback
41 * The callback will be called with @name for the name of the file to create.
42 * The callback can return less than 1 to indicate that no file should be
51 * to eventfs_create_dir() or eventfs_create_events_dir(), but the callback
58 * NB. This callback is called while holding internal locks of the eventfs
59 * system. The callback must not call any code that might also call into
70 * @callback: The callback to get the fops of the file when it is created
72 * See evenfs_callback() typedef for how to set up @callback.
[all …]
H A Drio.h109 * @add_entry: Callback for switch-specific route add function
110 * @get_entry: Callback for switch-specific route get function
111 * @clr_table: Callback for switch-specific clear route table function
112 * @set_domain: Callback for switch-specific domain setting function
113 * @get_domain: Callback for switch-specific domain get function
114 * @em_init: Callback for switch-specific error management init function
115 * @em_handle: Callback for switch-specific error management handler function
168 * @pwcback: port-write callback function for this device
217 * @mcback: Message event callback
228 * @dinb: Doorbell event callback
[all …]
/linux/drivers/md/dm-vdo/
H A Dcompletion.h15 * vdo_run_completion() - Run a completion's callback or error handler on the current thread.
17 * Context: This function must be called from the correct callback thread.
26 completion->callback(completion); in vdo_run_completion()
94 vdo_action_fn callback, in vdo_set_completion_callback() argument
97 completion->callback = callback; in vdo_set_completion_callback()
102 * vdo_launch_completion_callback() - Set the callback for a completion and launch it immediately.
105 vdo_action_fn callback, in vdo_launch_completion_callback() argument
108 vdo_set_completion_callback(completion, callback, callback_thread_id); in vdo_launch_completion_callback()
115 * Resets the completion, and then sets its callback, error handler, callback thread, and parent.
118 vdo_action_fn callback, in vdo_prepare_completion() argument
[all …]
H A Dwait-queue.c75 * @callback: The function to call to notify each waiter, or NULL to invoke the callback field
77 * @context: The context to pass to the callback function.
79 * Notifies all the entries waiting in a waitq to continue execution by invoking a callback
84 vdo_waiter_callback_fn callback, void *context) in vdo_waitq_notify_all_waiters() argument
88 * loop if entries are returned to the waitq by the callback function. in vdo_waitq_notify_all_waiters()
95 /* Drain the copied waitq, invoking the callback on every entry. */ in vdo_waitq_notify_all_waiters()
97 vdo_waitq_notify_next_waiter(&waiters, callback, context); in vdo_waitq_notify_all_waiters()
183 * @callback: The function to call to notify the waiter, or NULL to invoke the callback field
185 * @context: The context to pass to the callback function.
187 * Notifies the next entry waiting in a waitq to continue execution by invoking a callback function
[all …]
/linux/sound/soc/intel/boards/
H A Dsof_sdw.c61 .callback = sof_sdw_quirk_cb,
69 .callback = sof_sdw_quirk_cb,
78 .callback = sof_sdw_quirk_cb,
86 .callback = sof_sdw_quirk_cb,
94 .callback = sof_sdw_quirk_cb,
103 .callback = sof_sdw_quirk_cb,
112 .callback = sof_sdw_quirk_cb,
124 .callback = sof_sdw_quirk_cb,
134 .callback = sof_sdw_quirk_cb,
144 .callback = sof_sdw_quirk_cb,
[all …]
/linux/Documentation/livepatch/
H A Dcallbacks.rst6 to execute callback functions when a kernel object is (un)patched. They
34 2. Callback types
48 active), used to clean up post-patch callback
54 used to cleanup pre-patch callback resources
59 Each callback is optional, omitting one does not preclude specifying any
63 callback will only be executed if its corresponding patch callback was
68 A callback is only executed if its host klp_object is loaded. For
75 The pre-patch callback, if specified, is expected to return a status
79 callback is provided, the transition is assumed to be safe.) If a
80 pre-patch callback returns failure, the kernel's module loader will:
[all …]
/linux/include/trace/events/
H A Dipi.h12 TP_PROTO(const unsigned int cpu, unsigned long callsite, void *callback),
14 TP_ARGS(cpu, callsite, callback),
19 __field(void *, callback)
25 __entry->callback = callback;
28 TP_printk("cpu=%u callsite=%pS callback=%pS",
29 __entry->cpu, __entry->callsite, __entry->callback)
34 TP_PROTO(const struct cpumask *cpumask, unsigned long callsite, void *callback),
36 TP_ARGS(cpumask, callsite, callback),
41 __field(void *, callback)
47 __entry->callback = callback;
[all …]
/linux/drivers/platform/x86/
H A Dasus-nb-wmi.c167 .callback = dmi_matched,
176 .callback = dmi_matched,
185 .callback = dmi_matched,
194 .callback = dmi_matched,
203 .callback = dmi_matched,
212 .callback = dmi_matched,
221 .callback = dmi_matched,
230 .callback = dmi_matched,
239 .callback = dmi_matched,
248 .callback = dmi_matched,
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Duser_ringbuf_fail.c40 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
63 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
83 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
103 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
125 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
145 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
165 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
183 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
187 __failure __msg("At callback return the register R0 has ")
/linux/Documentation/networking/
H A Dstrparser.rst17 The strparser works in one of two modes: receive callback or general
20 In receive callback mode, the strparser is called from the data_ready
21 callback of a TCP socket. Messages are parsed and delivered as they are
33 functions, and a data_ready function for receive callback mode. The
49 callback mode; in general mode this is set to NULL. Callbacks
100 from a data_ready callback that is set on the socket. Note that
144 zero) and the parser is in receive callback mode, then it will set
154 The lock callback is called to lock the strp structure when
156 processing a timeout). In receive callback mode the default
158 mode the callback must be set appropriately.
[all …]
/linux/Documentation/power/
H A Druntime_pm.rst68 callback, the PM core will invoke the corresponding driver callback stored in
71 The PM core always checks which callback to use in the order given above, so the
81 interrupts disabled. This implies that the callback routines in question must
86 The subsystem-level suspend callback, if present, is _entirely_ _responsible_
88 include executing the device driver's own ->runtime_suspend() callback (from the
90 callback in a device driver as long as the subsystem-level suspend callback
93 * Once the subsystem-level suspend callback (or the driver suspend callback,
98 RAM until the appropriate resume callback is executed for it. The runtime
99 PM status of a device after successful execution of the suspend callback is
102 * If the suspend callback returns -EBUSY or -EAGAIN, the device's runtime PM
[all …]
/linux/drivers/dma/
H A Ddmaengine.h99 dma_async_tx_callback callback; member
105 * dmaengine_desc_get_callback - get the passed in callback function
107 * @cb: temp struct to hold the callback info
117 cb->callback = tx->callback; in dmaengine_desc_get_callback()
123 * dmaengine_desc_callback_invoke - call the callback function in cb struct
124 * @cb: temp struct that is holding the callback info
127 * Call the callback function provided in the cb struct with the parameter
144 } else if (cb->callback) { in dmaengine_desc_callback_invoke()
145 cb->callback(cb->callback_param); in dmaengine_desc_callback_invoke()
150 * dmaengine_desc_get_callback_invoke - get the callback in tx descriptor and
[all …]
/linux/drivers/char/
H A Dnwbutton.c36 static struct button_callback button_callback_list[32]; /* The callback list */
41 * This function is called by other drivers to register a callback function
43 * The callback list is a static array of 32 entries (I somehow doubt many
57 int button_add_callback (void (*callback) (void), int count) in button_add_callback()
63 if (!callback) { in button_add_callback()
67 for (; (button_callback_list [lp].callback); lp++); in button_add_callback()
68 button_callback_list [lp].callback = callback; in button_add_callback()
74 * This function is called by other drivers to deregister a callback function.
75 * If you attempt to unregister a callback which does not exist, it will fail
80 * at the same time, because another driver could have unregistered a callback
[all …]
/linux/include/media/
H A Ddvb_frontend.h152 * enum dvbfe_search - search callback possible return status
186 * @release: callback function called when frontend is detached.
188 * @init: callback function used to initialize the tuner device.
189 * @sleep: callback function used to put the tuner to sleep.
190 * @suspend: callback function used to inform that the Kernel will
192 * @resume: callback function used to inform that the Kernel is
194 * @set_params: callback function used to inform the tuner to tune
202 * @set_analog_params: callback function used to tune into an analog TV
205 * @set_config: callback function used to send some tuner-specific
217 * @calc_regs: callback function used to pass register data settings
[all …]
/linux/include/xen/interface/
H A Dcallback.h3 * callback.h
18 * @cmd == CALLBACKOP_??? (callback operation).
22 /* x86: Callback for event delivery. */
25 /* x86: Failsafe callback when guest state cannot be restored by Xen. */
33 * feature is enabled. Do not use this callback type in new code.
37 /* x86: Callback for NMI delivery. */
57 * Disable event deliver during callback? This flag is ignored for event and
64 * Register a callback.
74 * Unregister a callback.
77 * you attempt to unregister such a callback.
/linux/Documentation/sound/designs/
H A Dseq-oss.rst36 the patch loading is realized by callback to the synth driver.
205 callbacks. The following callback functions must be defined:
217 Each callback function takes the argument type ``snd_seq_oss_arg_t`` as the
238 filled by the synth driver at open callback. The ``addr`` contains
241 in close callback by itself.
250 Open Callback
254 using OSS sequencer. This must not be NULL. Typically, the open callback
269 Ioctl Callback
272 The ``ioctl`` callback is called when the sequencer receives device-specific
273 ioctls. The following two ioctls should be processed by this callback:
[all …]
/linux/arch/x86/pci/
H A Dcommon.c96 .callback = can_skip_ioresource_align,
104 .callback = can_skip_ioresource_align,
112 .callback = can_skip_ioresource_align,
241 .callback = assign_all_busses,
250 .callback = set_bf_sort,
258 .callback = set_bf_sort,
266 .callback = set_bf_sort,
274 .callback = set_bf_sort,
282 .callback = set_bf_sort,
290 .callback = find_sort_method,
[all …]
/linux/drivers/base/power/
H A Dmain.c293 * If the device is resumed asynchronously and the parent's callback in dpm_wait_for_superior()
316 * If the parent's callback has deleted the device, attempting to resume in dpm_wait_for_superior()
704 * device_resume_noirq - Execute a "noirq resume" callback for given device.
714 pm_callback_t callback = NULL; in device_resume_noirq() local
728 * phase before invoking the noirq suspend callback for the in device_resume_noirq()
745 * If the driver callback is skipped below or by the middle layer in device_resume_noirq()
746 * callback and device_resume_early() also skips the driver callback for in device_resume_noirq()
761 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq()
764 callback = pm_noirq_op(dev->type->pm, state); in device_resume_noirq()
767 callback = pm_noirq_op(dev->class->pm, state); in device_resume_noirq()
[all …]
/linux/drivers/media/tuners/
H A Dtua9001.c35 if (fe->callback) { in tua9001_init()
36 ret = fe->callback(client->adapter, in tua9001_init()
62 if (fe->callback) { in tua9001_sleep()
63 ret = fe->callback(client->adapter, in tua9001_sleep()
118 if (fe->callback) { in tua9001_set_params()
119 ret = fe->callback(client->adapter, in tua9001_set_params()
132 if (fe->callback) { in tua9001_set_params()
133 ret = fe->callback(client->adapter, in tua9001_set_params()
195 if (fe->callback) { in tua9001_probe()
196 ret = fe->callback(client->adapter, in tua9001_probe()
[all …]
/linux/include/linux/mfd/
H A Ddln2.h13 * dln2_event_cb_t - event callback function signature
15 * @pdev - the sub-device that registered this callback
20 * The callback function is called in interrupt context and the data payload is
29 * dl2n_register_event_cb - register a callback function for an event
31 * @pdev - the sub-device that registers the callback
32 * @event - the event for which to register a callback
33 * @event_cb - the callback function
41 * dln2_unregister_event_cb - unregister the callback function for an event
43 * @pdev - the sub-device that registered the callback
44 * @event - the event for which to register a callback
/linux/fs/nfs/
H A Dcallback.c3 * linux/fs/nfs/callback.c
7 * NFSv4 callback handling
26 #include "callback.h"
53 dprintk("NFS: Callback listener port = %u (af %u, net %x)\n", in nfs4_callback_up_net()
61 dprintk("NFS: Callback listener port = %u (af %u, net %x)\n", in nfs4_callback_up_net()
72 * This is the NFSv4 callback kernel thread.
138 dprintk("NFS: destroy per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_down_net()
151 dprintk("NFS: create per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_up_net()
155 printk(KERN_WARNING "NFS: bind callback service failed\n"); in nfs_callback_up_net()
168 printk(KERN_ERR "NFS: callback service start failed\n"); in nfs_callback_up_net()
[all …]

12345678910>>...105