Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dseq_file.rs11 pub struct SeqFile { struct
16 impl SeqFile { implementation
17 /// Creates a new [`SeqFile`] from a raw pointer.
24 pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile { in from_raw() argument
26 // a data race by using the `&SeqFile` since this is the only thread accessing the seq_file. in from_raw()
28 // CAST: The layout of `struct seq_file` and `SeqFile` is compatible. in from_raw()
46 /// Write to a [`SeqFile`] with the ordinary Rust formatting syntax.
/linux/drivers/android/binder/
H A Drust_binder_main.rs21 seq_file::SeqFile,
163 fn debug_print(&self, m: &SeqFile, prefix: &str, transaction_prefix: &str) -> Result<()>; in debug_print() argument
269 fn debug_print(&self, m: &SeqFile, prefix: &str, _tprefix: &str) -> Result<()> { in debug_print() argument
483 let m = unsafe { SeqFile::from_raw(ptr) }; in rust_binder_stats_show()
499 let m = unsafe { SeqFile::from_raw(ptr) }; in rust_binder_state_show()
517 let m = unsafe { SeqFile::from_raw(ptr) }; in rust_binder_proc_show()
533 let m = unsafe { SeqFile::from_raw(ptr) }; in rust_binder_transactions_show()
540 fn rust_binder_transactions_show_impl(m: &SeqFile) -> Result<()> { in rust_binder_transactions_show_impl()
553 fn rust_binder_stats_show_impl(m: &SeqFile) -> Result<()> { in rust_binder_stats_show_impl()
567 fn rust_binder_state_show_impl(m: &SeqFile) -> Result<()> { in rust_binder_state_show_impl()
[all …]
H A Dtransaction.rs7 seq_file::SeqFile,
187 pub(crate) fn debug_print_inner(&self, m: &SeqFile, prefix: &str) { in debug_print_inner() argument
482 fn debug_print(&self, m: &SeqFile, _prefix: &str, tprefix: &str) -> Result<()> { in debug_print() argument
H A Dfreeze.rs10 seq_file::SeqFile,
150 fn debug_print(&self, m: &SeqFile, prefix: &str, _tprefix: &str) -> Result<()> { in debug_print() argument
H A Dthread.rs16 seq_file::SeqFile,
465 pub(crate) fn debug_print(self: &Arc<Self>, m: &SeqFile, print_all: bool) -> Result<()> { in debug_print() argument
1646 fn debug_print(&self, m: &SeqFile, prefix: &str, _tprefix: &str) -> Result<()> { in debug_print() argument
H A Dprocess.rs27 seq_file::SeqFile,
533 pub(crate) fn debug_print_stats(&self, m: &SeqFile, ctx: &Context) -> Result<()> { in debug_print_stats() argument
581 pub(crate) fn debug_print(&self, m: &SeqFile, ctx: &Context, print_all: bool) -> Result<()> { in debug_print() argument
/linux/drivers/android/binder/range_alloc/
H A Darray.rs8 seq_file::SeqFile,
64 pub(crate) fn debug_print(&self, m: &SeqFile) -> Result<()> { in debug_print()
H A Dmod.rs5 use kernel::{page::PAGE_SIZE, prelude::*, seq_file::SeqFile, task::Pid};
144 pub(crate) fn debug_print(&self, m: &SeqFile) -> Result<()> { in debug_print()
H A Dtree.rs9 seq_file::SeqFile,
114 pub(crate) fn debug_print(&self, m: &SeqFile) -> Result<()> { in debug_print()
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs16 seq_file::SeqFile,
121 let seq_file = unsafe { SeqFile::from_raw(seq) };