Home
last modified time | relevance | path

Searched refs:work_container_of (Results 1 – 1 of 1) sorted by relevance

/linux/rust/kernel/
H A Dworkqueue.rs564 /// The methods [`raw_get_work`] and [`work_container_of`] must return valid pointers and must be
566 /// - `work_container_of(raw_get_work(ptr)) == ptr` for any `ptr: *mut Self`.
567 /// - `raw_get_work(work_container_of(ptr)) == ptr` for any `ptr: *mut Work<T, ID>`.
571 /// [`work_container_of`]: HasWork::work_container_of
585 unsafe fn work_container_of(ptr: *mut Work<T, ID>) -> *mut Self; in work_container_of() method
625 unsafe fn work_container_of(
788 unsafe fn work_container_of(
831 let ptr = unsafe { T::work_container_of(ptr) }; in run()
894 let ptr = unsafe { T::work_container_of(pt in run()
[all...]