| /linux/tools/testing/selftests/ublk/ |
| H A D | test_generic_16.sh | 8 _prep_test "null" "stop --safe command" 16 # Test 1: stop --safe on idle device should succeed 20 # Device is idle (no openers), stop --safe should succeed 21 if ! ${UBLK_PROG} stop -n "${dev_id}" --safe; then 22 echo "stop --safe on idle device failed unexpectedly!" 30 # Test 2: stop --safe on device with active opener should fail 41 # Device has active opener, stop --safe should fail with -EBUSY 42 if ${UBLK_PROG} stop -n "${dev_id}" --safe 2>/dev/null; then 43 echo "stop --safe on busy device succeeded unexpectedly!"
|
| /linux/arch/nios2/include/asm/ |
| H A D | asm-macros.h | 36 * It is safe to use the same register for reg1 & reg2. 55 * It is safe to use the same register for reg1 & reg2. 75 * It is safe to use the same register for reg1 & reg2. 94 * It is safe to use the same register for reg1 & reg2. 106 * It is safe to use the same register for reg1 & reg2. 118 * It is NOT safe to use the same register for reg1 & reg2. 139 * It is NOT safe to use the same register for reg1 & reg2. 160 * It is NOT safe to use the same register for reg1 & reg2. 182 * It is NOT safe to use the same register for reg1 & reg2. 195 * It is NOT safe to use the same register for reg1 & reg2. [all …]
|
| /linux/Documentation/i2c/ |
| H A D | dma-considerations.rst | 11 Therefore, it is *not* mandatory that the buffer of an I2C message is DMA safe. 13 rarely used. However, it is recommended to use a DMA-safe buffer if your 19 safe buffers always, because USB requires it. 24 For clients, if you use a DMA safe buffer in i2c_msg, set the I2C_M_DMA_SAFE 33 SMBus transactions via I2C, the buffers for block transfers are DMA safe. Users 34 of i2c_master_send() and i2c_master_recv() functions can now use DMA safe 36 know their buffers are DMA safe. Users of i2c_transfer() must set the 42 Bus master drivers wishing to implement safe DMA can use helper functions from 43 the I2C core. One gives you a DMA-safe buffer for a given i2c_msg as long as a
|
| /linux/drivers/android/binder/ |
| H A D | trace.rs | 42 // SAFETY: Always safe to call. in trace_ioctl() 48 // SAFETY: Always safe to call. in trace_ioctl_done() 53 // SAFETY: Always safe to call. in trace_read_done() 58 // SAFETY: Always safe to call. in trace_write_done() 64 // SAFETY: Always safe to call. in trace_wait_for_work() 87 // SAFETY: This function is always safe to call. in trace_transaction_fd_send() 92 // SAFETY: This function is always safe to call. in trace_transaction_fd_recv() 98 // SAFETY: This function is always safe to call. in trace_command() 103 // SAFETY: This function is always safe to call. in trace_return()
|
| /linux/Documentation/devicetree/bindings/power/supply/ |
| H A D | qcom,pm8916-lbc.yaml | 63 qcom,fast-charge-safe-voltage: 68 Maximum safe battery voltage in uV; May be pre-set by bootloader, 71 qcom,fast-charge-safe-current: 76 Maximum safe battery charge current in uA; May be pre-set by 86 - qcom,fast-charge-safe-voltage 87 - qcom,fast-charge-safe-current 125 qcom,fast-charge-safe-current = <900000>; 126 qcom,fast-charge-safe-voltage = <4300000>;
|
| /linux/rust/kernel/io/ |
| H A D | resource.rs | 42 // SAFETY: Safe as per the invariant of `Region`. in deref() 60 // SAFETY: Safe as per the invariant of `Region`. in drop() 65 // SAFETY: `Region` only holds a pointer to a C `struct resource`, which is safe to be used from 70 // safe to be used from any thread. 109 // - Safe as per the invariant of `Resource`. in request_region() 111 // safe as we own it and it will not be dropped until the `Region` is in request_region() 132 // SAFETY: Safe as per the invariants of `Resource`. in size() 139 // SAFETY: Safe as per the invariants of `Resource`. in start() 147 // SAFETY: Safe as per the invariants of `Resource`. in name() 164 // SAFETY: Safe as per the invariants of `Resource`. in flags() [all …]
|
| /linux/arch/um/drivers/ |
| H A D | Kconfig | 38 It is safe to say 'Y' here. 48 It is safe to say 'Y' here. 57 It is safe to say 'Y' here. 65 It is safe to say 'Y' here. 86 It is safe to leave this unchanged. 96 It is safe to leave this unchanged, although you may wish to change 108 It is safe to leave this unchanged, although you may wish to change 120 It is safe to say 'Y' here.
|
| /linux/drivers/parport/ |
| H A D | Kconfig | 32 and it is safe to compile all the corresponding drivers into the 85 is safe to say N. 101 called parport_ip32. If in doubt, saying N is the safe plan. 110 called parport_amiga. If in doubt, saying N is the safe plan. 119 parport_mfc3. If in doubt, saying N is the safe plan. 128 called parport_atari. If in doubt, saying N is the safe plan. 151 appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
|
| /linux/Documentation/trace/rv/ |
| H A D | monitor_rtapp.rst | 57 changed). No other method is safe for real-time. For example, threads 66 variables as safe for real-time. As an alternative, the librtpi library 71 real-time-safe. Namely, one of: 82 - Time-critical work waits for something which is not safe for real-time (e.g. 89 sleep in a way that is not safe for real-time. It is debatable whether that is a 125 wakeup is safe for real-time. 131 real-time-safe because preemption is disabled for the duration.
|
| /linux/include/linux/ |
| H A D | percpu-refcount.h | 24 * it's safe to drop the initial ref. 35 * and it's then safe to drop the initial ref with percpu_ref_put(). 196 * This function is safe to call as long as @ref is between init and exit. 218 * This function is safe to call as long as @ref is between init and exit. 233 * This function is safe to call as long as @ref is between init and exit. 262 * This function is safe to call as long as @ref is between init and exit. 273 * This function is safe to call as long as @ref is between init and exit. 304 * This function is safe to call as long as @ref is between init and exit. 324 * This function is safe to call as long as @ref is between init and exit. 347 * This function is safe to call as long as @ref is between init and exit. [all …]
|
| /linux/drivers/of/ |
| H A D | Kconfig | 43 If unsure, say N here. This option is not safe to enable. 52 If unsure, say N here, but this option is safe to enable. 62 If unsure, say N here, but this option is safe to enable. 81 # Hardly any platforms need this. It is safe to select, but only do so if you 124 If unsure, say N here, but this option is safe to enable.
|
| /linux/drivers/usb/serial/ |
| H A D | safe_serial.c | 3 * Safe Encapsulated USB Serial Driver 75 static bool safe = true; variable 79 #define DRIVER_DESC "USB Safe Encapsulated Serial" 85 module_param(safe, bool, 0); 86 MODULE_PARM_DESC(safe, "Turn Safe Encapsulation On/Off"); 196 if (!safe) in safe_process_read_urb() 232 trailer_len = safe ? 2 : 0; in safe_prepare_write_buffer() 236 if (!safe) in safe_prepare_write_buffer() 286 * trailer in safe mode, but assume anything smaller than eight bytes in safe_startup()
|
| /linux/rust/kernel/ |
| H A D | usb.rs | 56 // SAFETY: It's safe to set the fields of `struct usb_driver` on initialization. in register() 89 // does not add additional invariants, so it's safe to transmute. in probe_callback() 133 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_id() 146 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_ver() 158 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_info() 170 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_interface_info() 183 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_interface_class() 196 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_interface_protocol() 209 // SAFETY: It is safe to use all zeroes for the other fields of `usb_device_id`. in from_device_interface_number() 230 // SAFETY: It is safe t in from_device_and_interface_info() [all...] |
| H A D | task.rs | 101 // runs. It is safe for that to happen on any thread, so it is ok for this type to be `Send`. 162 // SAFETY: Getting the current pointer is always safe. in current_raw() 169 /// [`current`] macro because it is safe. 216 // SAFETY: It's always safe to call `task_uid` on a valid task. in uid() 223 // SAFETY: It's always safe to call `task_euid` on a valid task. in euid() 230 // SAFETY: It's always safe to call `signal_pending` on a valid task. in signal_pending() 259 // thus pass a null pointer. The underlying C function is safe to be used with NULL in tgid_nr_ns() 267 // SAFETY: It's always safe to call `wake_up_process` on a valid task, even if the task in wake_up() 291 // This is safe even if `kthread_use_mm()`/`kthread_unuse_mm()` are used. There are two in mm() 312 // SAFETY: It is safe to call `task_active_pid_ns` without RCU protection when calling it in active_pid_ns() [all …]
|
| H A D | regulator.rs | 254 // SAFETY: Safe as per the type invariants of `Regulator`. in set_voltage() 266 // SAFETY: Safe as per the type invariants of `Regulator`. in get_voltage() 274 // SAFETY: It is safe to call `regulator_get()`, on a device pointer in get_internal() 287 // SAFETY: Safe as per the type invariants of `Regulator`. in enable_internal() 292 // SAFETY: Safe as per the type invariants of `Regulator`. in disable_internal() 354 // SAFETY: Safe as per the type invariants of `Regulator`. in is_enabled() 363 // reference on the enabled refcount, so it is safe to relinquish it in drop() 368 // so it is safe to relinquish it now. in drop() 373 // SAFETY: It is safe to send a `Regulator<T>` across threads. In particular, a 377 // SAFETY: It is safe to send a &Regulator<T> across threads because the C side
|
| /linux/rust/kernel/drm/gem/ |
| H A D | shmem.rs | 72 // SAFETY: All GEM objects are thread-safe. 75 // SAFETY: All GEM objects are thread-safe. 94 #[allow(unused_unsafe, reason = "Safe since Rust 1.82.0")] 138 // safe to modify this field. in new() 143 // to have exclusive access - thus making this safe to hold a mutable reference to. in new() 164 // - We're in free_callback - so this function is safe to call. in free_callback() 198 // - Our immutable reference is proof that this is safe to dereference. in as_raw()
|
| /linux/Documentation/scsi/ |
| H A D | dc395x.rst | 10 be safe to use. Testing with hard disks has not been done to any 28 safe 31 If safe is set to 1 then the adapter will use conservative 32 ("safe") default settings. This sets: 99 dc395x. (eg "dc395x.safe=1")
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| H A D | nvidia,tegra124-sor.yaml | 119 - description: safe reference clock for the SOR clock 131 - const: safe 141 - description: safe reference clock for the SOR clock 152 - const: safe 182 clock-names = "sor", "out", "parent", "dp", "safe";
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_top.h | 46 * struct dpu_danger_safe_status: danger and safe status signals 113 * @status: Pointer to danger safe status 127 * @get_safe_status: get safe status 129 * @status: Pointer to danger safe status
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | indirect-target-selection.rst | 63 added ITS-safe thunks. These safe thunks consists of indirect branch in the 65 a retpoline site is evaluated to be ITS-safe, it is replaced with an inline 70 From a dynamically allocated pool of safe-thunks, each vulnerable site is 90 safe thunks. Unless user requested the RSB-stuffing mitigation. 158 relocated to safe thunks.
|
| /linux/rust/kernel/sync/ |
| H A D | barrier.rs | 28 // SAFETY: `smp_mb()` is safe to call. in smp_mb() 42 // SAFETY: `smp_wmb()` is safe to call. in smp_wmb() 56 // SAFETY: `smp_rmb()` is safe to call. in smp_rmb()
|
| /linux/security/apparmor/include/ |
| H A D | cred.h | 76 * of the label so it is safe to call when inside of locks. 88 * This fn will not update the tasks cred, so it is safe inside of locks 126 * safe to call inside locks 197 * safe to call inside locks 214 * Not safe to call inside locks
|
| /linux/drivers/mfd/ |
| H A D | da9052-i2c.c | 22 /* I2C safe register check */ 52 * This fix is to follow any read or write with a dummy read to a safe 64 /* A dummy read to a safe register address. */ in da9052_i2c_fix() 74 * to a safe place is not required. in da9052_i2c_fix()
|
| /linux/Documentation/devicetree/bindings/dma/ |
| H A D | ti-dma-crossbar.txt | 16 - ti,dma-safe-map: Safe routing value for unused request lines 52 ti,dma-safe-map = <0>;
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | gm20b.c | 137 /* safe frequency we can use at minimum voltage */ 486 * Compute PLL parameters that are always safe for the current voltage 495 /* remove a safe margin of 10% */ in gm20b_dvfs_calc_safe_pll() 585 * frequency to be safe at DVFS coeff = 0. in gm20b_clk_prog() 588 * - safe frequency target matches the lowest - old - frequency in gm20b_clk_prog() 594 * - safe frequency target matches the lowest - new - frequency in gm20b_clk_prog() 598 * Interim step can be skipped if old frequency is below safe minimum, in gm20b_clk_prog() 599 * i.e., it is low enough to be safe at any voltage in operating range in gm20b_clk_prog() 607 /* voltage will raise: safe frequency is current one */ in gm20b_clk_prog() 610 /* voltage will drop: safe frequency is new one */ in gm20b_clk_prog() [all …]
|