Lines Matching +full:foo +full:- +full:queue

1 // SPDX-License-Identifier: GPL-2.0
43 /// fn init() -> Result<Self> {
59 /// - `type`: type which implements the [`Module`] trait (required).
60 /// - `name`: byte array of the name of the kernel module (required).
61 /// - `author`: byte array of the author of the kernel module.
62 /// - `description`: byte array of the description of the kernel module.
63 /// - `license`: byte array of the license of the kernel module (required).
64 /// - `alias`: byte array of alias name of the kernel module.
66 pub fn module(ts: TokenStream) -> TokenStream { in module()
74 /// default implementation for all non-required methods (and the default
93 /// fn foo(&self) -> Result<()> {
97 /// fn bar(&self) -> Result<()> {
102 /// struct Foo;
106 /// impl Operations for Foo {
107 /// fn foo(&self) -> Result<()> {
113 /// assert_eq!(<Foo as Operations>::HAS_FOO, true);
114 /// assert_eq!(<Foo as Operations>::HAS_BAR, false);
117 pub fn vtable(attr: TokenStream, ts: TokenStream) -> TokenStream { in vtable()
160 pub fn concat_idents(ts: TokenStream) -> TokenStream { in concat_idents()
167 /// [pin-project-lite](https://crates.io/crates/pin-project-lite).
171 /// This macro enables the use of the [`pin_init!`] macro. When pin-initializing a `struct`,
184 /// queue: Mutex<Vec<Command>>,
193 /// queue: Mutex<Vec<Command>>,
209 pub fn pin_data(inner: TokenStream, item: TokenStream) -> TokenStream { in pin_data()
223 /// queue: Mutex<Vec<Command>>,
236 pub fn pinned_drop(args: TokenStream, input: TokenStream) -> TokenStream { in pinned_drop()
301 /// $(pub(crate) const fn [<$newname:lower:span>]() -> u32 { [<$prefix $newname:span>] …
330 pub fn paste(input: TokenStream) -> TokenStream { in paste()
351 pub fn derive_zeroable(input: TokenStream) -> TokenStream { in derive_zeroable()