Home
last modified time | relevance | path

Searched refs:dangling (Results 1 – 10 of 10) sorted by relevance

/linux/Documentation/ABI/testing/
H A Dsysfs-platform-oxp23 is engaged, this LED is left dangling to its last state. This
/linux/rust/kernel/debugfs/
H A Dcallback_adapters.rs125 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 Dtypes.rs49 /// 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 DMakefile.warn57 KBUILD_CFLAGS += $(call cc-option, -Wno-dangling-pointer)
/linux/rust/zerocopy/src/util/
H A Dmod.rs443 let dangling = unsafe { mem::transmute::<usize, *mut u8>(align) }; in new_box() localVariable
456 unsafe { NonNull::new_unchecked(dangling) } in new_box()
H A Dmacro_util.rs141 $crate::util::macro_util::core_reexport::ptr::NonNull::<()>::dangling()
/linux/arch/arm/boot/dts/st/
H A Dste-hrefv60plus.dtsi368 /* Normally UART1 RXD, now dangling */
/linux/rust/kernel/alloc/
H A Dkvec.rs118 /// 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 Dlib.rs840 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 Dxillybus.rst54 building block, with electrical wires dangling on the sides for connection to