Searched refs:FormatAdapter (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/kernel/debugfs/ |
| H A D | callback_adapters.rs | 64 pub(crate) struct FormatAdapter<D, F> { struct 69 impl<D, F> Deref for FormatAdapter<D, F> { argument 76 impl<D, F> Writer for FormatAdapter<D, F> implementation 88 unsafe impl<D, F> Adapter for FormatAdapter<D, F> { implementation
|
| /linux/rust/kernel/ |
| H A D | debugfs.rs | 27 use callback_adapters::{FormatAdapter, NoWriter, WritableAdapter}; 218 let file_ops = <FormatAdapter<T, F>>::FILE_OPS.adapt(); in read_callback_file() 273 <WritableAdapter<FormatAdapter<T, F>, W> as file_ops::ReadWriteFile<_>>::FILE_OPS in read_write_callback_file() 563 let vtable = <FormatAdapter<T, F> as ReadFile<_>>::FILE_OPS.adapt(); in read_callback_file() 621 let vtable = <WritableAdapter<FormatAdapter<T, F>, W> as ReadWriteFile<_>>::FILE_OPS in read_write_callback_file()
|