Home
last modified time | relevance | path

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

12345678910>>...130

/linux-6.12.1/arch/alpha/lib/
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-6.12.1/Documentation/trace/
Dftrace-uses.rst26 The ability to add a callback to almost any function within the
27 kernel comes with risks. A callback can be called from any context
30 This requires extra care to what can be done inside a callback. A callback
40 To register a function callback, a ftrace_ops is required. This structure
41 is used to tell ftrace what function should be called as the callback
42 as well as what protections the callback will perform and not require
70 The registered callback will start being called some time after the
73 of services. The callback itself will have to handle any synchronization if it
76 The unregister_ftrace_function() will guarantee that the callback is
82 The callback function
[all …]
/linux-6.12.1/drivers/acpi/
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-6.12.1/drivers/md/dm-vdo/
Ddata-vio.h383 vdo_action_fn callback) in set_data_vio_hash_zone_callback() argument
385 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_hash_zone_callback()
390 * launch_data_vio_hash_zone_callback() - Set a callback as a hash zone operation and invoke it
394 vdo_action_fn callback) in launch_data_vio_hash_zone_callback() argument
396 set_data_vio_hash_zone_callback(data_vio, callback); in launch_data_vio_hash_zone_callback()
411 vdo_action_fn callback) in set_data_vio_logical_callback() argument
413 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_logical_callback()
418 * launch_data_vio_logical_callback() - Set a callback as a logical block operation and invoke it
422 vdo_action_fn callback) in launch_data_vio_logical_callback() argument
424 set_data_vio_logical_callback(data_vio, callback); in launch_data_vio_logical_callback()
[all …]
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 …]
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-6.12.1/block/
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-6.12.1/include/linux/
Dcpuhotplug.h181 /* 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 …]
Dcounter.h44 * @action_read: Synapse action mode read callback. The read value of the
47 * @device_u8_read: Device u8 component read callback. The read value of the
50 * @count_u8_read: Count u8 component read callback. The read value of the
53 * @signal_u8_read: Signal u8 component read callback. The read value of the
56 * @device_u32_read: Device u32 component read callback. The read value of
59 * @count_u32_read: Count u32 component read callback. The read value of the
62 * @signal_u32_read: Signal u32 component read callback. The read value of
65 * @device_u64_read: Device u64 component read callback. The read value of
68 * @count_u64_read: Count u64 component read callback. The read value of the
71 * @signal_u64_read: Signal u64 component read callback. The read value of
[all …]
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 …]
/linux-6.12.1/drivers/hid/
Dhid-sensor-hub.c23 * @dyn_callback_list: Holds callback function
24 * @dyn_callback_lock: spin lock to protect callback list
40 * struct hid_sensor_hub_callbacks_list - Stores callback list
44 * @usage_callback: Stores registered callback functions.
104 struct hid_sensor_hub_callbacks_list *callback; in sensor_hub_get_callback() local
109 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_get_callback()
110 if ((callback->usage_id == usage_id || in sensor_hub_get_callback()
111 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback()
113 callback->hsdev->start_collection_index) && in sensor_hub_get_callback()
115 callback->hsdev->end_collection_index)) { in sensor_hub_get_callback()
[all …]
/linux-6.12.1/arch/x86/kernel/
Dreboot.c167 .callback = set_kbd_reboot,
175 .callback = set_efi_reboot,
185 .callback = set_pci_reboot,
193 .callback = set_pci_reboot,
201 .callback = set_pci_reboot,
209 .callback = set_pci_reboot,
217 .callback = set_pci_reboot,
225 .callback = set_pci_reboot,
235 .callback = set_pci_reboot,
245 .callback = set_bios_reboot,
[all …]
/linux-6.12.1/include/trace/events/
Dipi.h40 TP_PROTO(const unsigned int cpu, unsigned long callsite, void *callback),
42 TP_ARGS(cpu, callsite, callback),
47 __field(void *, callback)
53 __entry->callback = callback;
56 TP_printk("cpu=%u callsite=%pS callback=%pS",
57 __entry->cpu, __entry->callsite, __entry->callback)
62 TP_PROTO(const struct cpumask *cpumask, unsigned long callsite, void *callback),
64 TP_ARGS(cpumask, callsite, callback),
69 __field(void *, callback)
75 __entry->callback = callback;
[all …]
/linux-6.12.1/Documentation/livepatch/
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-6.12.1/tools/testing/selftests/bpf/progs/
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-6.12.1/include/drm/
Ddrm_bridge.h64 * This callback is invoked whenever our bridge is being attached to a
68 * The @attach callback is optional.
80 * This callback is invoked whenever our bridge is being detached from a
83 * The @detach callback is optional.
90 * This callback is used to check if a specific mode is valid in this
94 * produce all the values for the available modes then this callback
103 * The @mode_valid callback is optional.
125 * This callback is used to validate and adjust a mode. The parameter
129 * requires. It can be modified by this callback and does not need to
136 * The mode_fixup callback is optional. &drm_bridge_funcs.mode_fixup()
[all …]
Ddrm_modeset_helper_vtables.h70 * Callback to control power levels on the CRTC. If the mode passed in
75 * This callback is also used to disable a CRTC by calling it with
78 * This callback is used by the legacy CRTC helpers. Atomic helpers
88 * This callback should prepare the CRTC for a subsequent modeset, which
93 * This callback is used by the legacy CRTC helpers. Atomic helpers
103 * This callback should commit the new mode on the CRTC after a modeset,
108 * This callback is used by the legacy CRTC helpers. Atomic helpers
118 * This callback is used to check if a specific mode is valid in this
122 * produce all the values for the available modes then this callback
152 * This callback is used to validate a mode. The parameter mode is the
[all …]
/linux-6.12.1/Documentation/networking/
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-6.12.1/drivers/platform/x86/
Dasus-nb-wmi.c161 .callback = dmi_matched,
170 .callback = dmi_matched,
179 .callback = dmi_matched,
188 .callback = dmi_matched,
197 .callback = dmi_matched,
206 .callback = dmi_matched,
215 .callback = dmi_matched,
224 .callback = dmi_matched,
233 .callback = dmi_matched,
242 .callback = dmi_matched,
[all …]
/linux-6.12.1/Documentation/power/
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-6.12.1/drivers/dma/
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-6.12.1/sound/soc/intel/boards/
Dsof_sdw.c56 .callback = sof_sdw_quirk_cb,
64 .callback = sof_sdw_quirk_cb,
73 .callback = sof_sdw_quirk_cb,
81 .callback = sof_sdw_quirk_cb,
89 .callback = sof_sdw_quirk_cb,
98 .callback = sof_sdw_quirk_cb,
107 .callback = sof_sdw_quirk_cb,
119 .callback = sof_sdw_quirk_cb,
129 .callback = sof_sdw_quirk_cb,
139 .callback = sof_sdw_quirk_cb,
[all …]
/linux-6.12.1/drivers/base/power/
Dgeneric_ops.c13 * pm_generic_runtime_suspend - Generic runtime suspend callback for subsystems.
32 * pm_generic_runtime_resume - Generic runtime resume callback for subsystems.
70 * pm_generic_suspend_noirq - Generic suspend_noirq callback for subsystems.
82 * pm_generic_suspend_late - Generic suspend_late callback for subsystems.
94 * pm_generic_suspend - Generic suspend callback for subsystems.
106 * pm_generic_freeze_noirq - Generic freeze_noirq callback for subsystems.
118 * pm_generic_freeze_late - Generic freeze_late callback for subsystems.
130 * pm_generic_freeze - Generic freeze callback for subsystems.
142 * pm_generic_poweroff_noirq - Generic poweroff_noirq callback for subsystems.
154 * pm_generic_poweroff_late - Generic poweroff_late callback for subsystems.
[all …]
/linux-6.12.1/drivers/char/
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-6.12.1/include/media/
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 …]

12345678910>>...130