Home
last modified time | relevance | path

Searched full:mutable (Results 1 – 25 of 49) sorted by relevance

12

/linux/Documentation/admin-guide/LSM/
H A DLoadPin.rst20 a mutable filesystem means pinning is mutable too, but having the
21 sysctl allows for easy testing on systems with a mutable filesystem.)
/linux/drivers/md/dm-vdo/indexer/
H A Ddelta-index.h23 * A delta_index can either be mutable or immutable depending on its expected use. The immutable
25 * mutable form of a delta index is used by the volume index, and also by the chapter index in an
26 * open chapter. Like the index as a whole, each mutable delta index is divided into a number of
104 /* True if this index is mutable */
105 bool mutable; member
H A Dchapter-index.h15 * A chapter index for an open chapter is a mutable structure that tracks all the records that have
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-firewire7 Read-only. Mutable during the node device's lifetime.
26 Read-only. Mutable during the node device's lifetime.
78 Read-only. Mutable during the node device's lifetime.
/linux/Documentation/virt/kvm/arm/
H A Dvcpu-features.rst32 registers are mutable until the VM has started, i.e. userspace has called
34 are mutable in the ID registers using the ``KVM_ARM_GET_REG_WRITABLE_MASKS``.
/linux/rust/kernel/sync/
H A Dlocked_by.rs138 // duration of 'a, so it's not possible to use `Self::access_mut` to obtain a mutable in access()
144 /// Returns a mutable reference to the protected data when the caller provides evidence (via a
145 /// mutable owner) that the owner is locked mutably.
150 /// Showing a mutable reference to the owner is sufficient because we know no other references
H A Daref.rs81 // mutable reference, for example, when the reference count reaches zero and `T` is dropped.
87 // `ARef<T>` on that thread, so the thread may ultimately access `T` using a mutable reference, for
H A Datomic.rs242 /// Returns a mutable reference to the underlying atomic `T`. in get_mut()
244 /// This is safe because the mutable reference of the atomic `T` guarantees exclusive access. in get_mut()
260 // SAFETY: The pointer is valid per the CAST comment above, and the mutable reference
696 /// Returns a mutable reference to the underlying flag as a [`bool`].
698 /// This is safe because the mutable reference of the atomic flag guarantees exclusive access.
/linux/rust/kernel/
H A Drbtree.rs215 /// Returns a mutable iterator over the tree nodes, sorted by key.
240 /// Returns a mutable iterator over the values of the nodes in the tree, sorted by key.
433 /// Returns a mutable reference to the value corresponding to the key. in get_mut()
564 /// A bidirectional mutable cursor over the tree nodes, sorted by key.
687 /// // Get a mutable reference to the current value.
892 // SAFETY: The [`CursorMut`] gives out immutable references to `K` and mutable references to `V`,
893 // so it has the same thread safety requirements as mutable references.
905 /// The current node, with a mutable value in current_mut()
909 // - We have an mutable reference by the function signature.
1019 // - By the function signature, we have a mutable referenc in peek_mut()
[all...]
H A Dlist.rs610 // have a mutable reference to the list. in remove()
644 // since we have a mutable reference to the list containing `item`. in remove_internal_inner()
821 // on the returned `ArcBorrow`, because removing it from the list would require mutable
1148 // on the returned `ArcBorrow`, because removing it from the list would require mutable
1150 // an immutable borrow on the `CursorPeek`, which in turn holds a mutable borrow on the
1151 // `Cursor`, which in turn holds a mutable borrow on the `List`, so any such mutable
1174 // annotated on the returned `&T`, because removing it from the list would require mutable in into_iter()
1176 // immutable borrow on the `CursorPeek`, which in turn holds a mutable borrow on the
1177 // `Cursor`, which in turn holds a mutable borro
[all...]
H A Dstr.rs229 /// Creates a mutable [`CStr`] from a `[u8]` without performing any
321 /// Converts a mutable C string to a mutable byte slice.
330 // safe since it comes from a mutable reference which is guaranteed to be valid for writes. in from_bytes_with_nul_unchecked_mut()
347 // since it comes from a mutable reference which is guaranteed to be valid for writes.
689 /// A mutable reference to a byte buffer where a string can be written into. in new()
H A Dxarray.rs206 /// Provides a mutable reference to the element at the given index.
278 // SAFETY: `XArray<T>` has no shared mutable state so it is `Send` iff `T` is `Send`.
H A Dmodule_param.rs140 /// Get a mutable pointer to `self`.
H A Dcpufreq.rs133 /// Creates a mutable reference to an existing `struct cpufreq_policy_data` pointer.
242 /// Returns the raw mutable pointer to the C `struct cpufreq_frequency_table`.
433 /// Creates a mutable reference to an existing `struct cpufreq_policy` pointer.
448 /// Returns a raw mutable pointer to the C `struct cpufreq_policy`.
1039 // the C `struct cpufreq_driver`, which requires a mutable reference. in new()
H A Dtypes.rs199 /// In the example below, we need a mutable object (the vector) to be accessible within the log
285 /// * No uniqueness for mutable references: it is fine to have multiple `&mut Opaque<T>` point to
H A Dbitmap.rs68 // which upholds the exclusivity requirement for a mutable reference. in from_raw_mut()
80 /// Returns a mutable raw pointer to the backing [`Bitmap`].
/linux/arch/x86/realmode/rm/
H A Dheader.S4 * readonly; for mutable data instead add pointers into the .data
/linux/drivers/md/
H A Ddm-bio-record.h15 * There are lots of mutable fields in the bio struct that get
/linux/rust/kernel/ptr/
H A Dprojection.rs255 /// If a mutable pointer is needed, the macro input can be prefixed with the `mut` keyword, i.e.
311 /// For mutable pointers, put `mut` as the first token in macro invocation.
361 // We currently always project using mutable pointer, as it is not decided whether `&raw
/linux/rust/kernel/debugfs/
H A Dtraits.rs221 /// Same as [`BinaryReader::read_from_slice`], but takes a mutable reference.
282 /// See also [`BinaryReaderMut`] for the mutable version. in read_from_slice()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mksstat.h94 /* mutable */ mksstat_kern_stats_t old_top;
/linux/tools/testing/selftests/kvm/arm64/
H A Dset_id_regs.c42 bool mutable; member
58 .mutable = MUT, \
662 if (bits->mutable) { in reset_mutable_bits()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-selection.rst51 mutable and it is always equal to the bounds rectangle. Finally, the
/linux/drivers/dpll/zl3073x/
H A Dref.c178 * write if the mutable configuration is unchanged, and otherwise writes
/linux/rust/kernel/drm/gem/
H A Dshmem.rs154 // to have exclusive access - thus making this safe to hold a mutable reference to. in dev()

12