Searched refs:AsBytes (Results 1 – 3 of 3) sorted by relevance
| /rust/kernel/ |
| A D | transmute.rs | 50 pub unsafe trait AsBytes {} traits 55 $(unsafe impl$($($generics)*)? AsBytes for $t {})* 69 {<T: AsBytes>} [T], 70 {<T: AsBytes, const N: usize>} [T; N],
|
| A D | dma.rs | 12 transmute::{AsBytes, FromBytes}, 276 pub struct CoherentAllocation<T: AsBytes + FromBytes> { 284 impl<T: AsBytes + FromBytes> CoherentAllocation<T> { 533 pub unsafe fn field_write<F: AsBytes>(&self, field: *mut F, val: F) { in field_write() 549 impl<T: AsBytes + FromBytes> Drop for CoherentAllocation<T> { 569 unsafe impl<T: AsBytes + FromBytes + Send> Send for CoherentAllocation<T> {}
|
| A D | uaccess.rs | 13 transmute::{AsBytes, FromBytes}, 446 pub fn write<T: AsBytes>(&mut self, value: &T) -> Result { in write()
|
Completed in 6 milliseconds