| /kernel/linux/linux-4.19/arch/alpha/lib/ |
| D | callback_srm.S | 19 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 …]
|
| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| D | callback_srm.S | 19 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 …]
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | ftrace-uses.rst | 26 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 …]
|
| /kernel/linux/linux-4.19/Documentation/trace/ |
| D | ftrace-uses.rst | 26 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 …]
|
| /kernel/linux/linux-4.19/block/ |
| D | blk-stat.h | 12 * 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 */ 74 * blk_stat_alloc_callback() - Allocate a block statistics callback. 75 * @timer_fn: Timer callback function. 76 * @bucket_fn: Bucket callback function. 80 * See &struct blk_stat_callback for details on the callback functions. 90 * blk_stat_add_callback() - Add a block statistics callback to be run on a 93 * @cb: The callback. [all …]
|
| /kernel/linux/linux-5.10/block/ |
| D | blk-stat.h | 12 * 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 */ 74 * blk_stat_alloc_callback() - Allocate a block statistics callback. 75 * @timer_fn: Timer callback function. 76 * @bucket_fn: Bucket callback function. 80 * See &struct blk_stat_callback for details on the callback functions. 90 * blk_stat_add_callback() - Add a block statistics callback to be run on a 93 * @cb: The callback. [all …]
|
| /kernel/linux/linux-4.19/drivers/hid/ |
| D | hid-sensor-hub.c | 37 * @dyn_callback_list: Holds callback function 38 * @dyn_callback_lock: spin lock to protect callback list 55 * struct hid_sensor_hub_callbacks_list - Stores callback list 58 * @usage_callback: Stores registered callback functions. 118 struct hid_sensor_hub_callbacks_list *callback; in sensor_hub_get_callback() local 123 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_get_callback() 124 if ((callback->usage_id == usage_id || in sensor_hub_get_callback() 125 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback() 127 callback->hsdev->start_collection_index) && in sensor_hub_get_callback() 129 callback->hsdev->end_collection_index)) { in sensor_hub_get_callback() [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-sensor-hub.c | 24 * @dyn_callback_list: Holds callback function 25 * @dyn_callback_lock: spin lock to protect callback list 42 * struct hid_sensor_hub_callbacks_list - Stores callback list 45 * @usage_callback: Stores registered callback functions. 105 struct hid_sensor_hub_callbacks_list *callback; in sensor_hub_get_callback() local 110 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_get_callback() 111 if ((callback->usage_id == usage_id || in sensor_hub_get_callback() 112 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback() 114 callback->hsdev->start_collection_index) && in sensor_hub_get_callback() 116 callback->hsdev->end_collection_index)) { in sensor_hub_get_callback() [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | cpuhotplug.h | 134 /* Must be the last timer callback */ 194 * @name: Name of the callback (will be used in debug output) 195 * @startup: startup callback function 196 * @teardown: teardown callback function 198 * Installs the callback functions and invokes the startup callback on 222 * @name: Name of the callback. 223 * @startup: startup callback function 224 * @teardown: teardown callback function 227 * during installation of this callback. NOP if SMP=n or HOTPLUG_CPU=n. 250 * @name: Name of the callback. [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | video_detect.c | 117 .callback = video_detect_force_vendor, 126 .callback = video_detect_force_vendor, 134 .callback = video_detect_force_vendor, 142 .callback = video_detect_force_vendor, 150 .callback = video_detect_force_vendor, 166 .callback = video_detect_force_video, 174 .callback = video_detect_force_video, 182 .callback = video_detect_force_video, 190 .callback = video_detect_force_video, 201 .callback = video_detect_force_video, [all …]
|
| /kernel/linux/linux-5.10/Documentation/livepatch/ |
| D | callbacks.rst | 6 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | cpuhotplug.h | 147 /* Must be the last timer callback */ 215 * @name: Name of the callback (will be used in debug output) 216 * @startup: startup callback function 217 * @teardown: teardown callback function 219 * Installs the callback functions and invokes the startup callback on 243 * @name: Name of the callback. 244 * @startup: startup callback function 245 * @teardown: teardown callback function 248 * during installation of this callback. NOP if SMP=n or HOTPLUG_CPU=n. 271 * @name: Name of the callback. [all …]
|
| /kernel/linux/linux-4.19/Documentation/networking/ |
| D | strparser.txt | 13 The strparser works in one of two modes: receive callback or general 16 In receive callback mode, the strparser is called from the data_ready 17 callback of a TCP socket. Messages are parsed and delivered as they are 29 functions, and a data_ready function for receive callback mode. The 43 callback mode; in general mode this is set to NULL. Callbacks 82 from a data_ready callback that is set on the socket. Note that 120 zero) and the parser is in receive callback mode, then it will set 128 The lock callback is called to lock the strp structure when 130 processing a timeout). In receive callback mode the default 132 mode the callback must be set appropriately. [all …]
|
| /kernel/linux/linux-4.19/drivers/dma/ |
| D | dmaengine.h | 91 dma_async_tx_callback callback; member 97 * dmaengine_desc_get_callback - get the passed in callback function 99 * @cb: temp struct to hold the callback info 109 cb->callback = tx->callback; in dmaengine_desc_get_callback() 115 * dmaengine_desc_callback_invoke - call the callback function in cb struct 116 * @cb: temp struct that is holding the callback info 119 * Call the callback function provided in the cb struct with the parameter 136 } else if (cb->callback) { in dmaengine_desc_callback_invoke() 137 cb->callback(cb->callback_param); in dmaengine_desc_callback_invoke() 142 * dmaengine_desc_get_callback_invoke - get the callback in tx descriptor and [all …]
|
| /kernel/linux/linux-4.19/Documentation/power/ |
| D | runtime_pm.txt | 62 callback, the PM core will invoke the corresponding driver callback stored in 65 The PM core always checks which callback to use in the order given above, so the 75 interrupts disabled. This implies that the callback routines in question must 80 The subsystem-level suspend callback, if present, is _entirely_ _responsible_ 82 include executing the device driver's own ->runtime_suspend() callback (from the 84 callback in a device driver as long as the subsystem-level suspend callback 87 * Once the subsystem-level suspend callback (or the driver suspend callback, 92 RAM until the appropriate resume callback is executed for it. The runtime 93 PM status of a device after successful execution of the suspend callback is 96 * If the suspend callback returns -EBUSY or -EAGAIN, the device's runtime PM [all …]
|
| /kernel/linux/linux-5.10/Documentation/power/ |
| D | runtime_pm.rst | 68 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 …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | strparser.rst | 17 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 …]
|
| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_bridge.h | 61 * This callback is invoked whenever our bridge is being attached to a 65 * The @attach callback is optional. 77 * This callback is invoked whenever our bridge is being detached from a 80 * The @detach callback is optional. 87 * This callback is used to check if a specific mode is valid in this 91 * produce all the values for the available modes then this callback 100 * The @mode_valid callback is optional. 122 * This callback is used to validate and adjust a mode. The parameter 126 * requires. It can be modified by this callback and does not need to 133 * The mode_fixup callback is optional. &drm_bridge_funcs.mode_fixup() [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | dmaengine.h | 99 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | asus-nb-wmi.c | 126 .callback = dmi_matched, 135 .callback = dmi_matched, 149 .callback = dmi_matched, 158 .callback = dmi_matched, 167 .callback = dmi_matched, 176 .callback = dmi_matched, 185 .callback = dmi_matched, 194 .callback = dmi_matched, 203 .callback = dmi_matched, 212 .callback = dmi_matched, [all …]
|
| /kernel/linux/linux-4.19/drivers/acpi/ |
| D | video_detect.c | 120 .callback = video_detect_force_vendor, 129 .callback = video_detect_force_vendor, 137 .callback = video_detect_force_vendor, 153 .callback = video_detect_force_video, 161 .callback = video_detect_force_video, 169 .callback = video_detect_force_video, 177 .callback = video_detect_force_video, 188 .callback = video_detect_force_video, 196 .callback = video_detect_force_video, 204 .callback = video_detect_force_video, [all …]
|
| /kernel/linux/linux-4.19/include/drm/ |
| D | drm_bridge.h | 42 * This callback is invoked whenever our bridge is being attached to a 45 * The attach callback is optional. 56 * This callback is invoked whenever our bridge is being detached from a 59 * The detach callback is optional. 66 * This callback is used to check if a specific mode is valid in this 70 * produce all the values for the available modes then this callback 100 * This callback is used to validate and adjust a mode. The parameter 104 * requires. It can be modified by this callback and does not need to 111 * The mode_fixup callback is optional. 138 * This callback should disable the bridge. It is called right before [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | reboot.c | 175 .callback = set_kbd_reboot, 183 .callback = set_efi_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, 233 .callback = set_pci_reboot, 243 .callback = set_pci_reboot, 253 .callback = set_bios_reboot, [all …]
|
| /kernel/linux/linux-4.19/drivers/base/power/ |
| D | generic_ops.c | 15 * pm_generic_runtime_suspend - Generic runtime suspend callback for subsystems. 34 * pm_generic_runtime_resume - Generic runtime resume callback for subsystems. 72 * pm_generic_suspend_noirq - Generic suspend_noirq callback for subsystems. 84 * pm_generic_suspend_late - Generic suspend_late callback for subsystems. 96 * pm_generic_suspend - Generic suspend callback for subsystems. 108 * pm_generic_freeze_noirq - Generic freeze_noirq callback for subsystems. 120 * pm_generic_freeze_late - Generic freeze_late callback for subsystems. 132 * pm_generic_freeze - Generic freeze callback for subsystems. 144 * pm_generic_poweroff_noirq - Generic poweroff_noirq callback for subsystems. 156 * pm_generic_poweroff_late - Generic poweroff_late callback for subsystems. [all …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | generic_ops.c | 13 * 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 …]
|