Home
last modified time | relevance | path

Searched full:reservation (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/linux/Documentation/mm/
H A Dhugetlbfs_reserv.rst2 Hugetlbfs Reservation
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
80 Reservation Map Location (Private or Shared)
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 …]
/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/fs/ext2/
H A Dballoc.c184 * The reservation window structure operations
189 * We use a red-black tree to represent per-filesystem reservation
195 * __rsv_window_dump() -- Dump the filesystem block allocation reservation map
196 * @root: root of per-filesystem reservation rb tree
198 * @fn: function which wishes to dump the reservation map
200 * If verbose is turned on, it will print the whole block reservation
217 printk("Block Allocation Reservation Windows Map (%s):\n", fn); in __rsv_window_dump()
221 printk("reservation window 0x%p " in __rsv_window_dump()
225 printk("Bad reservation %p (start >= end)\n", in __rsv_window_dump()
230 printk("Bad reservation %p (prev->end >= start)\n", in __rsv_window_dump()
[all …]
/linux/drivers/target/
H A Dtarget_core_pr.c6 * legacy SPC-2 reservations with compatible reservation handling (CRH=1)
135 * status, but no reservation shall be established and the in target_check_scsi2_reservation_conflict()
136 * persistent reservation shall not be changed, if the command in target_check_scsi2_reservation_conflict()
140 * status, but the persistent reservation shall not be released, in target_check_scsi2_reservation_conflict()
143 * a) An I_T nexus that is a persistent reservation holder; or in target_check_scsi2_reservation_conflict()
145 * all registrants type persistent reservation is present. in target_check_scsi2_reservation_conflict()
173 * with a RESERVATION CONFLICT status. in target_check_scsi2_reservation_conflict()
228 pr_debug("SCSI-2 Released reservation for %s LUN: %llu ->" in target_scsi2_reservation_release()
272 pr_err("SCSI-2 RESERVATION CONFLICT for %s fabric\n", in target_scsi2_reservation_reserve()
309 * the active PR reservation holder when a reservation is present.
[all …]
/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()
/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/dma-buf/
H A Ddma-resv.c45 * DOC: Reservation Object Overview
47 * The reservation object provides a mechanism to manage a container of
48 * dma_fence object associated with a resource. A reservation object
135 * dma_resv_init - initialize a reservation object
136 * @obj: the reservation object
147 * dma_resv_fini - destroys a reservation object
148 * @obj: the reservation object
169 * @obj: reservation object
269 /* Test fence slot reservation */ in dma_resv_reset_max_fences()
278 * @obj: the reservation object
[all …]
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh103 echo writing reservation limit: "$reservation_limit"
316 expect_equal "0" "$final_reservation" "final reservation is not zero"
387 "$(cat $cgroup1_reservation_usage)" "Reservation usage changed."
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 usag
[all...]
/linux/tools/perf/pmu-events/arch/x86/skylake/
H A Dpipeline.json345 …"BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was no…
349 …nts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) wa…
354 …"BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was …
358 …s cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) wa…
363 …"BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was …
367 …"PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS…
372 …"BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was …
376 …"PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS…
389 …"BriefDescription": "Cycles where no uops were executed, the Reservation Station was not empty, th…
393 …n": "Counts cycles during which no uops were executed on all ports and Reservation Station (RS) wa…
[all …]
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/
H A Dpipeline.json355 …"BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was no…
359 …nts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) wa…
364 …"BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was …
368 …s cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) wa…
373 …"BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was …
377 …"PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS…
382 …"BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was …
386 …"PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS…
399 …"BriefDescription": "Cycles where no uops were executed, the Reservation Station was not empty, th…
403 …n": "Counts cycles during which no uops were executed on all ports and Reservation Station (RS) wa…
[all …]
/linux/tools/perf/pmu-events/arch/x86/skylakex/
H A Dpipeline.json355 …"BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was no…
359 …nts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) wa…
364 …"BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was …
368 …s cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) wa…
373 …"BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was …
377 …"PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS…
382 …"BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was …
386 …"PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS…
399 …"BriefDescription": "Cycles where no uops were executed, the Reservation Station was not empty, th…
403 …n": "Counts cycles during which no uops were executed on all ports and Reservation Station (RS) wa…
[all …]
/linux/tools/perf/pmu-events/arch/x86/tigerlake/
H A Dpipeline.json305 …"BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was no…
309 …nts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) wa…
314 …"BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was …
318 …s cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) wa…
323 …"BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was …
327 …"PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS…
332 …"BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was …
336 …"PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS…
365 …"PublicDescription": "Number of cycles total of 0 uops executed on all ports, Reservation Station …
589 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
[all …]
/linux/fs/xfs/scrub/
H A Dnewbt.h17 /* Auto-freeing this reservation if we don't commit. */
23 /* Length of the reservation. */
26 /* How much of this reservation has been used. */
56 /* per-ag reservation type */
H A Dnewbt.c33 * overrunning a tr_itruncate reservation. The newbt code should reserve
136 * If the metadata file has a space reservation, the caller must adjust that
137 * reservation when committing the new ondisk btree.
226 * Add an extent to the new btree reservation pool. Callers are required to
227 * reap this reservation manually if the repair is cancelled. @pag must be a
433 * space reservation, let the existing EFI free the entire in xrep_newbt_free_extent()
444 * the written blocks from the reservation, and possibly log a new EFI in xrep_newbt_free_extent()
445 * to free any unused reservation space. in xrep_newbt_free_extent()
578 * Peel off a block from the start of the reservation. We allocate in xrep_newbt_claim_block()
587 /* If we used all the blocks in this reservation, move it to the end. */ in xrep_newbt_claim_block()
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_ringbuf.c14 __description("ringbuf: invalid reservation offset 1")
29 /* check whether the reservation was successful */\ in ringbuf_invalid_reservation_offset_1()
54 __description("ringbuf: invalid reservation offset 2")
69 /* check whether the reservation was successful */\ in ringbuf_invalid_reservation_offset_2()
108 /* check whether the reservation was successful */\ in passing_rb_mem_to_helpers()
/linux/tools/perf/pmu-events/arch/x86/rocketlake/
H A Dpipeline.json305 "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
309 "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
314 "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
318 "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
323 "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
327 "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
332 "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
336 "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
580 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
584 "PublicDescription": "Counts cycles during which the reservation statio
[all...]
/linux/tools/perf/pmu-events/arch/x86/icelake/
H A Dpipeline.json305 "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
309 "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
314 "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
318 "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
323 "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
327 "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
332 "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
336 "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
580 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
584 "PublicDescription": "Counts cycles during which the reservation statio
[all...]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Dpipeline.json305 …"BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was no…
309 …nts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) wa…
314 …"BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was …
318 …s cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) wa…
323 …"BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was …
327 …"PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS…
332 …"BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was …
336 …"PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS…
569 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
573 …"PublicDescription": "Counts cycles during which the reservation station (RS) is empty for this lo…
[all …]
/linux/tools/perf/pmu-events/arch/x86/broadwell/
H A Dpipeline.json798 "PublicDescription": "This event counts stall cycles caused by absence of eligible entries in the reservation station (RS). This may result from RS overflow, or from RS deallocation because of the RS array Write Port allocation scheme (each RS entry has two write ports instead of four. As a result, empty entries could not be used, although RS is not really full). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
821 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
825 "PublicDescription": "This event counts cycles during which the reservation station (RS) is empty for the thread. Note: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.",
830 "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
845 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
854 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
863 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
872 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
881 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
890 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Statio
[all...]
/linux/tools/perf/pmu-events/arch/x86/broadwellde/
H A Dpipeline.json798 "PublicDescription": "This event counts stall cycles caused by absence of eligible entries in the reservation station (RS). This may result from RS overflow, or from RS deallocation because of the RS array Write Port allocation scheme (each RS entry has two write ports instead of four. As a result, empty entries could not be used, although RS is not really full). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
821 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
825 "PublicDescription": "This event counts cycles during which the reservation station (RS) is empty for the thread. Note: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.",
830 "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
845 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
854 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
863 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
872 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
881 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
890 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Statio
[all...]
/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Dpipeline.json798 "PublicDescription": "This event counts stall cycles caused by absence of eligible entries in the reservation station (RS). This may result from RS overflow, or from RS deallocation because of the RS array Write Port allocation scheme (each RS entry has two write ports instead of four. As a result, empty entries could not be used, although RS is not really full). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
821 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
825 "PublicDescription": "This event counts cycles during which the reservation station (RS) is empty for the thread. Note: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.",
830 "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
845 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
854 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
863 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
872 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
881 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
890 "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Statio
[all...]
/linux/arch/x86/kernel/cpu/
H A Dperfctr-watchdog.c5 * This file also handles reservation of performance counters for coordination
38 * different subsystems this reservation system just tries to coordinate
44 /* converts an msr to an appropriate reservation bit */
75 * converts an msr to an appropriate reservation bit
/linux/fs/btrfs/
H A Dqgroup.h173 * Qgroup reservation types:
190 * And after join_transaction() part (or all) of such reservation should
203 * Each type should have different reservation behavior.
207 * TODO: Add new type for reservation which can survive transaction commit.
208 * Current metadata reservation behavior is not suitable for such case.
238 * reservation tracking
420 /* Free per-transaction meta reservation for error handling */
428 /* Pre-allocated meta reservation can be freed at need */
/linux/fs/gfs2/
H A Drgrp.c195 * rs_cmp - multi-block reservation range compare
196 * @start: start of the new reservation
197 * @len: number of blocks in the new reservation
198 * @rs: existing reservation to compare against
200 * returns: 1 if the block range is beyond the reach of the reservation
201 * -1 if the block range is before the start of the reservation
202 * 0 if the block range overlaps with the reservation
632 * __rs_deltree - remove a multi-block reservation from the rgd tree
633 * @rs: The reservation to remove
663 * gfs2_rs_deltree - remove a multi-block reservation from the rgd tree
[all …]
/linux/mm/
H A Dhugetlb.c500 * whole contiguous reservation region. But this area might be in record_hugetlb_cgroup_uncharge_info()
792 * reservation map for the range [f, t). This number is greater or equal to
1050 * bits of the reservation map pointer, which are always clear due to
1067 * The private mapping reservation is represented in a subtly different
1070 * pages which have ever had a reservation assigned which this persists even
1074 * reservation ie. where pages have been instantiated.
1257 * Reset and decrement one ref on hugepage private reservation.
1261 * reservation.
1266 * Clear the old hugetlb private page reservation. in clear_vma_resv_huge_pages()
1273 * want to return the reservation to the pool at unmap of vma because in clear_vma_resv_huge_pages()
[all …]

12345678910>>...15