Searched refs:dangling (Results 1 – 10 of 10) sorted by relevance
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-platform-oxp | 23 is engaged, this LED is left dangling to its last state. This
|
| /linux/rust/kernel/debugfs/ |
| H A D | callback_adapters.rs | 125 let zst_dangle: core::ptr::NonNull<F> = core::ptr::NonNull::dangling(); 126 // SAFETY: While the pointer is dangling, it is a dangling pointer to a ZST, based on the
|
| /linux/rust/kernel/ |
| H A D | types.rs | 49 /// there are no other guarantees for this pointer. For example, it might be invalid, dangling 146 core::ptr::NonNull::dangling().as_ptr()
|
| /linux/scripts/ |
| H A D | Makefile.warn | 57 KBUILD_CFLAGS += $(call cc-option, -Wno-dangling-pointer)
|
| /linux/rust/zerocopy/src/util/ |
| H A D | mod.rs | 443 let dangling = unsafe { mem::transmute::<usize, *mut u8>(align) }; in new_box() localVariable 456 unsafe { NonNull::new_unchecked(dangling) } in new_box()
|
| H A D | macro_util.rs | 141 $crate::util::macro_util::core_reexport::ptr::NonNull::<()>::dangling()
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | ste-hrefv60plus.dtsi | 368 /* Normally UART1 RXD, now dangling */
|
| /linux/rust/kernel/alloc/ |
| H A D | kvec.rs | 118 /// zero-sized types, is a dangling, well aligned pointer. 278 /// dangling raw pointer. 284 /// Returns a raw pointer to the vector's backing buffer, or, if `T` is a ZST, a dangling raw 313 // - `ptr` is a properly aligned dangling pointer for type `T`, in spare_capacity_mut() 318 ptr: NonNull::dangling(), 563 /// - `ptr` must be a dangling, well aligned pointer. in from_raw_parts() 574 /// It is also valid to create an empty `Vec` passing a dangling pointer for `ptr` and zero for 588 // SAFETY: By the safety requirements, `ptr` is either dangling or pointing to a valid 842 self.ptr = NonNull::dangling(); in shrink_to()
|
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 840 Self::raw_from_ptr_len(NonNull::dangling(), meta) in raw_dangling() 3642 return Ok(unsafe { Box::from_raw(NonNull::dangling().as_ptr()) }); in new_box_zeroed()
|
| /linux/Documentation/driver-api/ |
| H A D | xillybus.rst | 54 building block, with electrical wires dangling on the sides for connection to
|