Lines Matching defs:delayed_work
312 // requirement to apply to the entire `delayed_work`.
324 container_of!(work_ptr, bindings::delayed_work, work),
421 /// provided pointer must point at the `work` field of a valid `delayed_work`, and the guarantees
423 /// `delayed_work` struct.
640 /// Wraps the kernel's C `struct delayed_work`.
642 /// This is a helper type used to associate a `delayed_work` with the [`WorkItem`] that uses it.
649 dwork: Opaque<bindings::delayed_work>,
675 dwork <- Opaque::ffi_init(|slot: *mut bindings::delayed_work| {
689 // the timer is embedded in a `struct delayed_work`, and only ever scheduled via
705 /// Get a pointer to the inner `delayed_work`.
714 let dw: *mut bindings::delayed_work =
728 /// field of a `delayed_work` with the same access rules as the `work_struct`.
790 let delayed_work = unsafe {
791 $crate::container_of!(ptr, $crate::bindings::delayed_work, work)
794 let delayed_work: *mut $crate::workqueue::DelayedWork<$work_type $(, $id)?> =
795 delayed_work.cast();
799 unsafe { $crate::container_of!(delayed_work, Self, $field) }
868 // `HasWork` provides a `work_struct` that is the `work` field of a `delayed_work`, and the rest of
869 // the `delayed_work` has the same access rules as its `work` field.
928 // `HasWork` provides a `work_struct` that is the `work` field of a `delayed_work`, and the rest of
929 // the `delayed_work` has the same access rules as its `work` field.