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> { implementation
455 unsafe fn raw_get_work(ptr: *mut Self) -> *mut Work<T, ID> { in raw_get_work()
457 unsafe { (ptr as *mut u8).add(Self::OFFSET) as *mut Work<T, ID> } in raw_get_work()
466 unsafe fn work_container_of(ptr: *mut Work<T, ID>) -> *mut Self in work_container_of()
507 … unsafe fn raw_get_work(ptr: *mut Self) -> *mut $crate::workqueue::Work<$work_type $(, $id)?> {
538 let ptr = ptr as *mut Work<T, ID>; in run()
572 let work_ptr = unsafe { Work::raw_get(work_ptr) }; in __enqueue()
591 let ptr = ptr as *mut Work<T, ID>; in run()
623 let work_ptr = unsafe { Work::raw_get(work_ptr) }; in __enqueue()