Searched refs:offset (Results 1 – 5 of 5) sorted by relevance
| /rust/kernel/ |
| D | page.rs | 175 pub unsafe fn read_raw(&self, dst: *mut u8, offset: usize, len: usize) -> Result { in read_raw() 176 self.with_pointer_into_page(offset, len, move |src| { in read_raw() 197 pub unsafe fn write_raw(&self, src: *const u8, offset: usize, len: usize) -> Result { in write_raw() 198 self.with_pointer_into_page(offset, len, move |dst| { in write_raw() 217 pub unsafe fn fill_zero_raw(&self, offset: usize, len: usize) -> Result { in fill_zero_raw() 218 self.with_pointer_into_page(offset, len, move |dst| { in fill_zero_raw() 243 offset: usize, in copy_from_user_slice_raw() 246 self.with_pointer_into_page(offset, len, move |dst| { in copy_from_user_slice_raw()
|
| D | lib.rs | 160 let offset: usize = ::core::mem::offset_of!($type, $($f)*); localVariable 161 ptr.sub(offset) as *const $type
|
| D | miscdevice.rs | 368 offset: loff_t, in llseek() 381 match T::llseek(device, file, offset, whence) { in llseek()
|
| /rust/kernel/list/ |
| D | impl_list_item_mod.rs | 151 let offset = <Self as $crate::list::HasListLinks<$num>>::OFFSET; localVariable 155 unsafe { (me as *const u8).sub(offset) as *const Self } 177 let offset = <Self as $crate::list::HasListLinks<$num>>::OFFSET; localVariable 181 unsafe { (me as *const u8).sub(offset) as *const Self }
|
| /rust/ |
| D | Makefile | 249 -fno-reorder-blocks -fno-allow-store-data-races -fasan-shadow-offset=% \
|