Searched refs:Refcount (Results 1 – 6 of 6) sorted by relevance
20 pub struct Refcount(Opaque<bindings::refcount_t>); struct22 impl Refcount { implementation111 unsafe impl Send for Refcount {} implementation114 unsafe impl Sync for Refcount {} implementation
24 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()
14 Refcount,200 refcount: Refcount,206 pub(crate) fn refcount(&self) -> &Refcount { in refcount() argument216 pub(crate) unsafe fn refcount_ptr(this: *mut Self) -> *mut Refcount { in refcount_ptr() argument
12 sync::{aref::ARef, Refcount},230 unsafe { RequestDataWrapper::refcount_ptr(pdu.as_ptr()).write(Refcount::new(0)) }; in init_request_callback()
32 pub use refcount::Refcount;
86 6. 检查该页的Refcount,如果还有引用,我们就退出。否则,我们知道我们是唯一引用这个页