D | workqueue.rs | 141 … $crate::workqueue::Work::new($crate::optional_name!($($name)?), $crate::static_lock_class!()) 230 work: Work<ClosureWork<T>>, 351 pub struct Work<T: ?Sized, const ID: u64 = 0> { struct 360 unsafe impl<T: ?Sized, const ID: u64> Send for Work<T, ID> {} implementation 364 unsafe impl<T: ?Sized, const ID: u64> Sync for Work<T, ID> {} implementation 366 impl<T: ?Sized, const ID: u64> Work<T, ID> { implementation 456 unsafe fn raw_get_work(ptr: *mut Self) -> *mut Work<T, ID> { in raw_get_work() 458 unsafe { (ptr as *mut u8).add(Self::OFFSET) as *mut Work<T, ID> } in raw_get_work() 467 unsafe fn work_container_of(ptr: *mut Work<T, ID>) -> *mut Self in work_container_of() 508 … unsafe fn raw_get_work(ptr: *mut Self) -> *mut $crate::workqueue::Work<$work_type $(, $id)?> { [all …]
|