Home
last modified time | relevance | path

Searched refs:Refcount (Results 1 – 6 of 6) sorted by relevance

/linux/rust/kernel/sync/
H A Drefcount.rs20 pub struct Refcount(Opaque<bindings::refcount_t>); struct
22 impl Refcount { implementation
111 unsafe impl Send for Refcount {} implementation
114 unsafe impl Sync for Refcount {} implementation
H A Darc.rs24 sync::Refcount,
148 refcount: Refcount,
160 let refcount_layout = Layout::new::<Refcount>(); in container_of()
223 refcount: Refcount::new(1), in new()
748 refcount: Refcount::new(1), in new_uninit()
/linux/rust/kernel/block/mq/
H A Drequest.rs14 Refcount,
200 refcount: Refcount,
206 pub(crate) fn refcount(&self) -> &Refcount { in refcount() argument
216 pub(crate) unsafe fn refcount_ptr(this: *mut Self) -> *mut Refcount { in refcount_ptr() argument
H A Doperations.rs12 sync::{aref::ARef, Refcount},
230 unsafe { RequestDataWrapper::refcount_ptr(pdu.as_ptr()).write(Refcount::new(0)) }; in init_request_callback()
/linux/rust/kernel/
H A Dsync.rs32 pub use refcount::Refcount;
/linux/Documentation/translations/zh_CN/mm/
H A Dpage_migration.rst86 6. 检查该页的Refcount,如果还有引用,我们就退出。否则,我们知道我们是唯一引用这个页