Lines Matching refs:Work
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> {} argument
364 unsafe impl<T: ?Sized, const ID: u64> Sync for Work<T, ID> {} implementation
366 impl<T: ?Sized, const ID: u64> Work<T, ID> { impl
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)?> {
530 let ptr = ptr as *mut Work<T, ID>; in run()
557 let work_ptr = unsafe { Work::raw_get(work_ptr) }; in __enqueue()
575 let ptr = ptr as *mut Work<T, ID>; in run()
606 let work_ptr = unsafe { Work::raw_get(work_ptr) }; in __enqueue()