Home
last modified time | relevance | path

Searched refs:get (Results 1 – 7 of 7) sorted by relevance

/rust/kernel/
Dtask.rs120 let ptr = unsafe { *ptr::addr_of!((*self.0.get()).group_leader) }; in group_leader()
132 unsafe { *ptr::addr_of!((*self.0.get()).pid) } in pid()
138 unsafe { bindings::signal_pending(self.0.get()) != 0 } in signal_pending()
146 unsafe { bindings::wake_up_process(self.0.get()) }; in wake_up()
154 unsafe { bindings::get_task_struct(self.0.get()) }; in inc_ref()
Dsync.rs35 self.0.get() in as_ptr()
Dtypes.rs251 pub fn get(&self) -> *mut T { in get() method
252 UnsafeCell::get(&self.value).cast::<T>() in get()
/rust/kernel/sync/
Dcondvar.rs110 unsafe { bindings::init_wait(wait.get()) }; in wait_internal()
114 bindings::prepare_to_wait_exclusive(self.wait_list.get(), wait.get(), wait_state as _) in wait_internal()
121 unsafe { bindings::finish_wait(self.wait_list.get(), wait.get()) }; in wait_internal()
151 self.wait_list.get(), in notify()
Dlock.rs121 let state = unsafe { B::lock(self.state.get()) }; in lock()
145 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in do_unlocked()
149 ScopeGuard::new(|| unsafe { B::relock(self.lock.state.get(), &mut self.state) }); in do_unlocked()
160 unsafe { &*self.lock.data.get() } in deref()
167 unsafe { &mut *self.lock.data.get() } in deref_mut()
174 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in drop()
Dlocked_by.rs101 owner: owner.data.get(), in new()
128 unsafe { &*self.data.get() } in access()
154 unsafe { &mut *self.data.get() } in access_mut()
Darc.rs282 unsafe { bindings::refcount_inc(self.ptr.as_ref().refcount.get()) }; in clone()
295 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in drop()