| /linux/rust/proc-macro2/ |
| H A D | rcvec.rs | 48 pub(crate) fn get_mut(&mut self) -> Option<RcVecMut<T>> { in get_mut() method 49 let inner = Rc::get_mut(&mut self.inner)?; in get_mut() 57 let vec = if let Some(owned) = Rc::get_mut(&mut self.inner) { in make_owned()
|
| H A D | fallback.rs | 133 let mut current = match self.inner.get_mut() { in drop() 149 if let Some(inner) = group.stream.inner.get_mut() { in drop()
|
| /linux/rust/kernel/sync/ |
| H A D | set_once.rs | 117 if *self.init.get_mut() == 2 { in drop() 118 let value = self.value.get_mut(); in drop()
|
| H A D | atomic.rs | 252 /// let val_mut = atomic_val.get_mut(); 256 pub fn get_mut(&mut self) -> &mut T { 707 /// *atomic_flag.get_mut() = true; 711 pub fn get_mut(&mut self) -> &mut bool { 712 &mut self.0.get_mut().bool_field 238 pub fn get_mut(&mut self) -> &mut T { get_mut() method
|
| /linux/rust/pin-init/src/ |
| H A D | alloc.rs | 107 let Some(slot) = Arc::get_mut(&mut this) else { in try_pin_init() 125 let Some(slot) = Arc::get_mut(&mut this) else { in try_init()
|
| /linux/rust/kernel/sync/lock/ |
| H A D | global.rs | 181 pub fn get_mut(&mut self) -> &mut T { 182 self.value.get_mut() 177 pub fn get_mut(&mut self) -> &mut T { get_mut() method
|
| /linux/drivers/android/binder/range_alloc/ |
| H A D | tree.rs | 145 self.tree.get_mut(offset) in find_best_match() 310 let desc = self.tree.get_mut(&offset).ok_or(ENOENT)?; in reservation_commit() 329 let desc = self.tree.get_mut(&offset).ok_or_else(|| { in reserve_existing()
|
| /linux/rust/kernel/ |
| H A D | revocable.rs | 226 if *p.is_available.get_mut() {
|
| H A D | xarray.rs | 50 /// *guard.get_mut(0).unwrap() = 0xffff; 207 pub fn get_mut(&mut self, index: usize) -> Option<T::BorrowedMut<'_>> { 200 pub fn get_mut(&mut self, index: usize) -> Option<T::BorrowedMut<'_>> { get_mut() method
|
| H A D | cpufreq.rs | 1066 to_result(unsafe { bindings::cpufreq_register_driver(drv.get_mut()) })?; 1424 unsafe { bindings::cpufreq_unregister_driver(self.0.get_mut()) };
|
| H A D | uaccess.rs | 302 let Some(dst) = out.get_mut(offset..end) else { in read_slice_partial()
|
| H A D | rbtree.rs | 71 /// *tree.get_mut(&30).unwrap() = 3000; 434 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { 1365 pub fn get_mut(&mut self) -> &mut V { in get_mut() 1374 /// If you need multiple references to the `OccupiedEntry`, see [`self#get_mut`]. in into_mut() 431 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { get_mut() function 1362 pub fn get_mut(&mut self) -> &mut V { get_mut() method
|
| /linux/rust/kernel/list/ |
| H A D | arc.rs | 479 *self.project_inner().get_mut() = true; in new()
|
| /linux/rust/syn/ |
| H A D | punctuated.rs | 109 pub fn get_mut(&mut self, index: usize) -> Option<&mut T> { in get_mut() method 111 if let Some((value, _punct)) = self.inner.get_mut(index) { in get_mut()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 842 let parent_entry = match sg_state.sg_entries.get_mut(info.parent_sg_index) { in translate_object() 889 let parent_entry = match sg_state.sg_entries.get_mut(info.parent_sg_index) { in translate_object()
|
| /linux/rust/kernel/alloc/ |
| H A D | kvec.rs | 780 while let Some(to_check) = self.get_mut(next_to_check) { in shrink_to()
|
| /linux/rust/zerocopy/src/pointer/ |
| H A D | ptr.rs | 1248 /// This is like [`UnsafeCell::get_mut`], but for `Ptr`. in get_mut() 1250 /// [`UnsafeCell::get_mut`]: core::cell::UnsafeCell::get_mut in get_mut() 1253 pub fn get_mut(self) -> Ptr<'a, T, I> { in get_mut() 1217 pub fn get_mut(self) -> Ptr<'a, T, I> { get_mut() function
|
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 1128 match self.values.get_mut(self.writes) { 6262 match dst.get_mut(..src.len()) { 6362 let dst = if let Some(dst) = dst.get_mut(start..) { 6365 // get_mut() should never return None here. We return a `SizeError`
|