| /kernel/linux/linux-6.6/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-6.6/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-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-6.6/drivers/acpi/ |
| D | video_detect.c | 150 .callback = video_detect_force_vendor, 158 .callback = video_detect_force_vendor, 166 .callback = video_detect_force_vendor, 174 .callback = video_detect_force_vendor, 183 .callback = video_detect_force_vendor, 191 .callback = video_detect_force_vendor, 199 .callback = video_detect_force_vendor, 208 .callback = video_detect_force_vendor, 216 .callback = video_detect_force_vendor, 225 .callback = video_detect_force_vendor, [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/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-6.6/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. 71 /* record time/size info in request but not add a callback */ 76 * blk_stat_alloc_callback() - Allocate a block statistics callback. 77 * @timer_fn: Timer callback function. 78 * @bucket_fn: Bucket callback function. 82 * See &struct blk_stat_callback for details on the callback functions. 92 * blk_stat_add_callback() - Add a block statistics callback to be run on a 95 * @cb: The callback. [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | cpuhotplug.h | 192 /* Must be the last timer callback */ 277 * callback 279 * @name: Name of the callback (will be used in debug output) 280 * @startup: startup callback function or NULL if not required 281 * @teardown: teardown callback function or NULL if not required 283 * Installs the callback functions and invokes the @startup callback on 296 * @startup callback from a cpus_read_lock() 299 * @name: Name of the callback (will be used in debug output) 300 * @startup: startup callback function or NULL if not required 301 * @teardown: teardown callback function or NULL if not required [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-6.6/drivers/hid/ |
| D | hid-sensor-hub.c | 23 * @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 …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | reboot.c | 166 .callback = set_kbd_reboot, 174 .callback = set_efi_reboot, 184 .callback = set_pci_reboot, 192 .callback = set_pci_reboot, 200 .callback = set_pci_reboot, 208 .callback = set_pci_reboot, 216 .callback = set_pci_reboot, 224 .callback = set_pci_reboot, 234 .callback = set_pci_reboot, 244 .callback = set_bios_reboot, [all …]
|
| /kernel/linux/linux-6.6/include/trace/events/ |
| D | ipi.h | 40 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 …]
|
| /kernel/linux/linux-6.6/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/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 | 148 /* Must be the last timer callback */ 218 * @name: Name of the callback (will be used in debug output) 219 * @startup: startup callback function 220 * @teardown: teardown callback function 222 * Installs the callback functions and invokes the startup callback on 246 * @name: Name of the callback. 247 * @startup: startup callback function 248 * @teardown: teardown callback function 251 * during installation of this callback. NOP if SMP=n or HOTPLUG_CPU=n. 274 * @name: Name of the callback. [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | user_ringbuf_fail.c | 40 /* 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 value")
|
| /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/arch/x86/kernel/ |
| D | reboot.c | 167 .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 …]
|
| /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-6.6/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/drivers/platform/x86/ |
| D | asus-nb-wmi.c | 140 .callback = dmi_matched, 149 .callback = dmi_matched, 163 .callback = dmi_matched, 172 .callback = dmi_matched, 181 .callback = dmi_matched, 190 .callback = dmi_matched, 199 .callback = dmi_matched, 208 .callback = dmi_matched, 217 .callback = dmi_matched, 226 .callback = dmi_matched, [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | asus-nb-wmi.c | 137 .callback = dmi_matched, 146 .callback = dmi_matched, 155 .callback = dmi_matched, 164 .callback = dmi_matched, 173 .callback = dmi_matched, 182 .callback = dmi_matched, 191 .callback = dmi_matched, 200 .callback = dmi_matched, 209 .callback = dmi_matched, 218 .callback = dmi_matched, [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-6.6/include/drm/ |
| D | drm_bridge.h | 62 * This callback is invoked whenever our bridge is being attached to a 66 * The @attach callback is optional. 78 * This callback is invoked whenever our bridge is being detached from a 81 * The @detach callback is optional. 88 * This callback is used to check if a specific mode is valid in this 92 * produce all the values for the available modes then this callback 101 * The @mode_valid callback is optional. 123 * This callback is used to validate and adjust a mode. The parameter 127 * requires. It can be modified by this callback and does not need to 134 * The mode_fixup callback is optional. &drm_bridge_funcs.mode_fixup() [all …]
|