Home
last modified time | relevance | path

Searched refs:reservation (Results 1 – 25 of 34) sorted by relevance

12

/linux/Documentation/block/
H A Dpr.rst26 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/drivers/xen/
H A Dmem-reservation.c88 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 DMakefile4 obj-y += mem-reservation.o
H A DKconfig172 driver in that proper memory reservation is made by
/linux/Documentation/arch/arm64/
H A Dkdump.rst2 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 Dtree.rs228 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 Dmod.rs30 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 Darray.rs231 let DescriptorState::Reserved(reservation) = &range.state else { in reservation_commit()
235 range.state = DescriptorState::Allocated(reservation.clone().allocate(data.take())); in reservation_commit()
252 let debug_id = allocation.reservation.debug_id; in reserve_existing()
253 range.state = DescriptorState::Reserved(allocation.reservation.clone()); in reserve_existing()
263 allocation.reservation.debug_id, in take_for_each()
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-xfs24 represents the total log reservation of all currently
34 represents the total log reservation of all currently
H A Dsysfs-kernel-kexec-kdump37 reservation by writing a smaller value, and the reclaimed
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh108 echo writing reservation limit: "$reservation_limit"
321 expect_equal "0" "$final_reservation" "final reservation is not zero"
402 "hugetlbt_cgroup_test1 final reservation is not zero"
410 "hugetlb_cgroup_test2 final reservation is not zero"
443 echo Memory charged to reservation=$reserved_difference
455 "Reserved memory not charged to reservation usage."
458 "Reserved memory not charged to reservation usage."
472 echo Memory charged to reservation=$reserved_difference
478 "Reserved memory not charged to reservation usage."
487 echo Test more than reservation cas
[all...]
/linux/Documentation/ABI/stable/
H A Dsysfs-devices-system-xen_memory47 memory reservation to.
62 reservation.
/linux/arch/powerpc/boot/dts/
H A Dmicrowatt.dts119 reservation-granule-size = <64>;
149 reservation-granule-size = <64>;
/linux/arch/x86/xen/
H A Dsetup.c198 struct xen_memory_reservation reservation = { in xen_free_mfn() local
204 set_xen_guest_handle(reservation.extent_start, &mfn); in xen_free_mfn()
205 reservation.nr_extents = 1; in xen_free_mfn()
207 return HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); in xen_free_mfn()
/linux/drivers/gpu/drm/omapdrm/
H A DTODO13 . This can be handled by the dma-buf fence/reservation stuff when it
/linux/Documentation/locking/
H A Dww-mutex-design.rst29 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 DKconfig132 reservation of persistent memory rather than limited /
133 precious DRAM. However, that reservation needs to persist for
/linux/Documentation/ABI/obsolete/
H A Dsysfs-kernel-kexec-kdump47 reservation by writing a smaller value, and the reclaimed
/linux/Documentation/bpf/
H A Dringbuf.rst76 - 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 Dmap_hash.rst243 avoid exhaustion, by limiting aggregate reservation by all CPUs to half the map
/linux/rust/kernel/
H A Drbtree.rs148 /// // 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/filesystems/iomap/
H A Ddesign.rst192 ``->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 Ddrm-vm-bind-locking.rst48 * ``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 Dtcm_mod_builder.rst24 SPC-3 persistent reservation are automatically generated in $TCM_NEW_MOD/$TCM_NEW_MOD_fabric.c
/linux/drivers/android/binder/
H A Dprocess.rs700 let reservation = RBTreeNodeReservation::new(GFP_KERNEL)?; in get_current_thread() localVariable
706 entry.insert(ta.clone(), reservation); in get_current_thread()

12