Home
last modified time | relevance | path

Searched refs:reservation (Results 1 – 25 of 47) 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 ke
[all...]
/linux/Documentation/mm/
H A Dhugetlbfs_reserv.rst65 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
[all...]
H A Dtranshuge.rst27 - it doesn't require memory reservation and in turn it uses hugepages
28 whenever possible (the only possible reservation here is kernelcore=
/linux/drivers/xen/
H A Dmem-reservation.c4 * Xen memory reservation utilities.
16 #include <xen/mem-reservation.h>
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()
[all...]
H A DMakefile4 obj-y += mem-reservation.o
/linux/fs/xfs/
H A Dxfs_zone_space_resv.c24 * Per-task space reservation.
43 * For XC_FREE_RTAVAILABLE only the smaller reservation required for GC and
73 struct xfs_zone_reservation *reservation; in xfs_zoned_resv_wake_all() local
76 list_for_each_entry(reservation, &zi->zi_reclaim_reservations, entry) in xfs_zoned_resv_wake_all()
77 wake_up_process(reservation->task); in xfs_zoned_resv_wake_all()
87 struct xfs_zone_reservation *reservation; in xfs_zoned_add_available() local
97 list_for_each_entry(reservation, &zi->zi_reclaim_reservations, entry) { in xfs_zoned_add_available()
98 if (reservation->count_fsb > count_fsb) in xfs_zoned_add_available()
100 wake_up_process(reservation->task); in xfs_zoned_add_available()
101 count_fsb -= reservation in xfs_zoned_add_available()
125 struct xfs_zone_reservation reservation = { xfs_zoned_reserve_available() local
[all...]
/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 i
[all...]
/linux/Documentation/admin-guide/cgroup-v1/
H A Dhugetlb.rst27 hugetlb.<hugepagesize>.rsvd.failcnt # show the number of allocation failure due to HugeTLB reservation limit
95 group and enforces the controller limit at reservation time and at the fault of
96 HugeTLB memory for which no reservation exists. Since reservation limits are
97 enforced at reservation time (on mmap or shget), reservation limits never causes
99 MAP_NORESERVE allocations, the reservation limit behaves the same as the fault
104 reservation limits are enforced at reservation time (on mmap or shget), and
116 For shared HugeTLB memory, both HugeTLB reservation an
[all...]
/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
/linux/Documentation/filesystems/xfs/
H A Dxfs-delayed-logging-design.rst58 reservation they take. These are known as "one shot" and "permanent"
63 The type and size of reservation must be matched to the modification taking
70 tp = xfs_trans_alloc(<reservation>)
78 resources joined to it are released, along with the remaining unused reservation
84 tp = xfs_trans_alloc(<reservation>)
160 A transaction reservation provides a guarantee that there is physical log space
162 modifications to objects and items. As such, the reservation needs to be large
177 This "worst case" calculation provides us with the static "unit reservation"
183 For one-shot transactions, a single unit space reservation is all that is
185 also have a "log count" that affects the size of the reservation tha
[all...]
/linux/fs/bcachefs/
H A Dio_misc.c56 * Get a disk reservation before (in the nocow case) calling in bch2_extent_fallocate()
66 struct bkey_i_reservation *reservation; in bch2_extent_fallocate() local
68 bch2_bkey_buf_realloc(&new, c, sizeof(*reservation) / sizeof(u64)); in bch2_extent_fallocate()
69 reservation = bkey_reservation_init(new.k); in bch2_extent_fallocate()
70 reservation->k.p = iter->pos; in bch2_extent_fallocate()
71 bch2_key_resize(&reservation->k, sectors); in bch2_extent_fallocate()
72 reservation->v.nr_replicas = opts.data_replicas; in bch2_extent_fallocate()
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh133 echo Waiting for hugetlb memory reservation to reach size $size.
307 expect_equal "0" "$final_reservation" "final reservation is not zero"
388 "hugetlbt_cgroup_test1 final reservation is not zero"
396 "hugetlb_cgroup_test2 final reservation is not zero"
429 echo Memory charged to reservation=$reserved_difference
441 "Reserved memory not charged to reservation usage."
444 "Reserved memory not charged to reservation usage."
458 echo Memory charged to reservation=$reserved_difference
464 "Reserved memory not charged to reservation usage."
473 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/drivers/gpu/drm/omapdrm/
H A DTODO13 . This can be handled by the dma-buf fence/reservation stuff when it
/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()
520 * For the initial domain we use the maximum reservation as in xen_get_max_pages()
523 * For guest domains the current maximum reservation reflects in xen_get_max_pages()
/linux/drivers/nvdimm/
H A DKconfig113 reservation of persistent memory rather than limited /
114 precious DRAM. However, that reservation needs to persist for
/linux/Documentation/mm/damon/
H A Dmaintainer-profile.rst96 reservation is needed.
103 Schedules and available reservation time slots are available at the Google `doc
/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/dax/
H A DKconfig42 driver to override the reservation and add them to kernel
/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.
/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));
1031 /// A memory reservation for a red-black tree node.
1058 /// Initialises a node reservation.
1108 /// It then becomes a reservation that can be re-initialised into a different node (i.e., with
1187 pub fn insert(self, value: V, reservation: RBTreeNodeReservation<K, V>) -> &'a mut V { in insert()
1188 self.raw.insert(reservation.into_node(self.key, value)) in insert()
/linux/Documentation/arch/powerpc/
H A Dfirmware-assisted-dump.rst14 - Fadump uses the same firmware interfaces and memory reservation model
169 Contiguous Memory Allocator (CMA) for memory reservation if CMA is
170 configured for kernel. With CMA reservation this memory will be
/linux/Documentation/admin-guide/kdump/
H A Dkdump.rst316 Reserve additional crash kernel memory from CMA. This reservation is
323 A standard crashkernel reservation, as described above, is still needed
330 This reservation method is intended for systems that can't afford to
331 sacrifice enough memory for standard crashkernel reservation and where
/linux/Documentation/admin-guide/mm/
H A Dkho.rst52 an early memory reservation, the new kernel will have that memory at the

12