Searched refs:get (Results 1 – 7 of 7) sorted by relevance
120 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()
35 self.0.get() in as_ptr()
251 pub fn get(&self) -> *mut T { in get() method252 UnsafeCell::get(&self.value).cast::<T>() in get()
110 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()
121 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()
101 owner: owner.data.get(), in new()128 unsafe { &*self.data.get() } in access()154 unsafe { &mut *self.data.get() } in access_mut()
282 unsafe { bindings::refcount_inc(self.ptr.as_ref().refcount.get()) }; in clone()295 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in drop()