| /linux/Documentation/block/ |
| H A D | pr.rst | 26 Only the initiator that owns the reservation can write to the 30 Only the initiator that owns the reservation can access the 44 All initiators with a registered key are considered reservation 46 Please reference the SPC spec on the meaning of a reservation 51 All initiators with a registered key are considered reservation 53 Please reference the SPC spec on the meaning of a reservation 63 This ioctl command registers a new reservation if the new_key argument 64 is non-null. If no existing reservation exists old_key must be zero, 65 if an existing reservation should be replaced old_key must contain 66 the old reservation key. [all …]
|
| /linux/Documentation/mm/ |
| H A D | hugetlbfs_reserv.rst | 65 These are stored in the bottom bits of the reservation map pointer. 76 reservation must be restored when the huge page is freed. More 86 semantics of the reservation map is significantly different for the two types 89 - For private mappings, the reservation map hangs off the VMA structure. 92 - For shared mappings, the reservation map hangs off the inode. Specifically, 95 contains a reservation map. As a result, the reservation map is allocated 122 in which reservations are represented in the reservation map. 124 - For shared mappings, an entry in the reservation map indicates a reservation 126 consumed, the reservation map is not modified. 127 - For private mappings, the lack of an entry in the reservation map indicates [all …]
|
| /linux/drivers/xen/ |
| H A D | mem-reservation.c | 88 struct xen_memory_reservation reservation = { in xenmem_reservation_increase() local 95 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase() 96 reservation.nr_extents = count; in xenmem_reservation_increase() 97 return HYPERVISOR_memory_op(XENMEM_populate_physmap, &reservation); in xenmem_reservation_increase() 104 struct xen_memory_reservation reservation = { in xenmem_reservation_decrease() local 111 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease() 112 reservation.nr_extents = count; in xenmem_reservation_decrease() 113 return HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); in xenmem_reservation_decrease()
|
| H A D | Makefile | 4 obj-y += mem-reservation.o
|
| /linux/Documentation/arch/arm64/ |
| H A D | kdump.rst | 2 crashkernel memory reservation on arm64 21 large chunk of memomy can be found. The low memory reservation needs to 61 the reservation in high memory succeeds, a default size reservation in 79 attempted from the high memory region. If the reservation succeeds, the 80 low memory reservation will be done subsequently. 82 If reservation from the high memory failed, the kernel falls back to 84 If it succeeds, no further reservation for low memory is needed. 89 reservation will be done automatically. 92 reservation is omitted intentionally.
|
| /linux/drivers/android/binder/range_alloc/ |
| H A D | tree.rs | 228 let (reservation, free_node_res) = desc.try_change_state(|state| match state { in reservation_abort() 229 Some((DescriptorState::Reserved(reservation), free_node_res)) => { in reservation_abort() 230 (None, Ok((reservation, free_node_res))) in reservation_abort() 250 let free_oneway_space_add = if reservation.is_oneway { size } else { 0 }; in reservation_abort() 313 Some((DescriptorState::Reserved(reservation), free_node_res)) => ( in reservation_commit() 315 DescriptorState::Allocated(reservation.allocate(data.take())), in reservation_commit() 339 let (reservation, data) = allocation.deallocate(); in reserve_existing() 340 let debug_id = reservation.debug_id; in reserve_existing() 342 Some((DescriptorState::Reserved(reservation), free_node_res)), in reserve_existing()
|
| H A D | mod.rs | 30 DescriptorState::Allocated(inner) => inner.reservation.pid, in pid() 37 DescriptorState::Allocated(inner) => inner.reservation.is_oneway, in is_oneway() 53 reservation: self, in allocate() 59 reservation: Reservation, field 65 (self.reservation, self.data) in deallocate() 69 self.reservation.debug_id in debug_id()
|
| H A D | array.rs | 232 let DescriptorState::Reserved(reservation) = &range.state else { in reservation_commit() 236 range.state = DescriptorState::Allocated(reservation.clone().allocate(data.take())); in reservation_commit() 253 let debug_id = allocation.reservation.debug_id; in reserve_existing() 254 range.state = DescriptorState::Reserved(allocation.reservation.clone()); in reserve_existing() 264 allocation.reservation.debug_id, in take_for_each()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-xfs | 24 represents the total log reservation of all currently 34 represents the total log reservation of all currently
|
| H A D | sysfs-kernel-kexec-kdump | 37 reservation by writing a smaller value, and the reclaimed
|
| /linux/tools/testing/selftests/mm/ |
| H A D | charge_reserved_hugetlb.sh | 103 echo writing reservation limit: "$reservation_limit" 316 expect_equal "0" "$final_reservation" "final reservation is not zero" 397 "hugetlbt_cgroup_test1 final reservation is not zero" 405 "hugetlb_cgroup_test2 final reservation is not zero" 438 echo Memory charged to reservation=$reserved_difference 450 "Reserved memory not charged to reservation usage." 453 "Reserved memory not charged to reservation usage." 467 echo Memory charged to reservation=$reserved_difference 473 "Reserved memory not charged to reservation usage." 482 echo Test more than reservation cas [all...] |
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-devices-system-xen_memory | 47 memory reservation to. 62 reservation.
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | microwatt.dts | 119 reservation-granule-size = <64>; 149 reservation-granule-size = <64>;
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | TODO | 13 . This can be handled by the dma-buf fence/reservation stuff when it
|
| /linux/Documentation/locking/ |
| H A D | ww-mutex-design.rst | 29 to be locked, the caller would be assigned a unique reservation id/ticket, 31 associated with a execbuf, the one with the lowest reservation ticket (i.e. 32 the oldest task) wins, and the one with the higher reservation id (i.e. the 36 In the RDBMS literature, a reservation ticket is associated with a transaction. 64 trying to acquire locks doesn't grab a new reservation id, but keeps the one it
|
| /linux/drivers/nvdimm/ |
| H A D | Kconfig | 132 reservation of persistent memory rather than limited / 133 precious DRAM. However, that reservation needs to persist for
|
| /linux/Documentation/ABI/obsolete/ |
| H A D | sysfs-kernel-kexec-kdump | 47 reservation by writing a smaller value, and the reclaimed
|
| /linux/Documentation/bpf/ |
| H A D | ringbuf.rst | 76 - if there is no more space left in ring buffer, reservation fails, no 153 reservation, in NMI context, ``bpf_ringbuf_reserve()`` might fail to get 154 a lock, in which case reservation will fail even if ring buffer is not full.
|
| H A D | map_hash.rst | 243 avoid exhaustion, by limiting aggregate reservation by all CPUs to half the map
|
| /linux/drivers/dax/ |
| H A D | Kconfig | 42 driver to override the reservation and add them to kernel
|
| /linux/rust/kernel/ |
| H A D | rbtree.rs | 148 /// // Create a preallocated reservation that we can re-use later. 149 /// let reservation = RBTreeNodeReservation::new(flags::GFP_KERNEL)?; 153 /// tree.insert(reservation.into_node(15, 150)); 1184 /// A memory reservation for a red-black tree node. 1211 /// Initialises a node reservation. in into_node() 1261 /// It then becomes a reservation that can be re-initialised into a different node (i.e., with 1340 pub fn insert(self, value: V, reservation: RBTreeNodeReservation<K, V>) -> &'a mut V { 1341 self.raw.insert(reservation.into_node(self.key, value))
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | kho.rst | 52 an early memory reservation, the new kernel will have that memory at the
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | design.rst | 192 ``->iomap_end`` function must delete the reservation. 220 If a write fails and the mapping is a space reservation, the 221 reservation must be deleted.
|
| /linux/Documentation/gpu/ |
| H A D | drm-vm-bind-locking.rst | 48 * ``dma_resv``: A struct dma_resv (a.k.a reservation object) that is used 242 can't share their reservation object with a single gpu_vm. Instead 243 they need to have a reservation object of their own. The external 247 the gpu_vm's reservation object is locked, it is safe to traverse the
|
| /linux/Documentation/target/ |
| H A D | tcm_mod_builder.rst | 24 SPC-3 persistent reservation are automatically generated in $TCM_NEW_MOD/$TCM_NEW_MOD_fabric.c
|