Lines Matching defs:P
22 //! - An owned table ([`SGTable<Owned<P>>`]), created from a Rust memory buffer (e.g., [`VVec`]).
317 pub struct Owned<P> {
323 _pages: P,
326 // SAFETY: `Owned` can be sent to any task if `P` can be send to any task.
327 unsafe impl<P: Send> Send for Owned<P> {}
329 // SAFETY: `Owned` has no interior mutability and can be accessed concurrently if `P` can be
331 unsafe impl<P: Sync> Sync for Owned<P> {}
333 impl<P> Owned<P>
335 for<'a> P: page::AsPageIter<Iter<'a> = VmallocPageIter<'a>> + 'static,
339 mut pages: P,
386 impl<P> SGTable<Owned<P>>
388 for<'a> P: page::AsPageIter<Iter<'a> = VmallocPageIter<'a>> + 'static,
392 /// This constructor creates a new [`SGTable<Owned>`] that takes ownership of `P`.
394 /// pages of `P`, and maps the table for DMA with the specified [`Device`] and
434 pages: P,
444 impl<P> Deref for SGTable<Owned<P>> {
461 impl<P> Sealed for super::Owned<P> {}