| /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/drivers/target/ |
| H A D | target_core_pr.c | 6 * legacy SPC-2 reservations with compatible reservation handling (CRH=1) 136 * status, but no reservation shall be established and the in target_check_scsi2_reservation_conflict() 137 * persistent reservation shall not be changed, if the command in target_check_scsi2_reservation_conflict() 141 * status, but the persistent reservation shall not be released, in target_check_scsi2_reservation_conflict() 144 * a) An I_T nexus that is a persistent reservation holder; or in target_check_scsi2_reservation_conflict() 146 * all registrants type persistent reservation is present. in target_check_scsi2_reservation_conflict() 174 * with a RESERVATION CONFLICT status. in target_check_scsi2_reservation_conflict() 229 pr_debug("SCSI-2 Released reservation for %s LUN: %llu ->" in target_scsi2_reservation_release() 273 pr_err("SCSI-2 RESERVATION CONFLICT for %s fabric\n", in target_scsi2_reservation_reserve() 310 * the active PR reservation holder when a reservation is present. [all …]
|
| /linux/drivers/xen/ |
| H A D | mem-reservation.c | 4 * 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 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/fs/xfs/ |
| H A D | xfs_zone_space_resv.c | 25 * Per-task space reservation. 44 * For XC_FREE_RTAVAILABLE only the smaller reservation required for GC and 72 struct xfs_zone_reservation *reservation; in xfs_zoned_resv_wake_all() local 75 list_for_each_entry(reservation, &zi->zi_reclaim_reservations, entry) in xfs_zoned_resv_wake_all() 76 wake_up_process(reservation->task); in xfs_zoned_resv_wake_all() 86 struct xfs_zone_reservation *reservation; in xfs_zoned_add_available() local 96 list_for_each_entry(reservation, &zi->zi_reclaim_reservations, entry) { in xfs_zoned_add_available() 97 if (reservation->count_fsb > count_fsb) in xfs_zoned_add_available() 99 wake_up_process(reservation->task); in xfs_zoned_add_available() 100 count_fsb -= reservation->count_fsb; in xfs_zoned_add_available() [all …]
|
| H A D | xfs_reflink.c | 60 * mappings are a reservation against the free space in the filesystem; 81 * write paths are similar. The first two steps (creating the reservation 494 /* Allocate the entire reservation as unwritten blocks. */ in xfs_reflink_fill_cow_hole() 574 * Replace delalloc reservation with an unwritten extent. in xfs_reflink_fill_delalloc() 634 * CoW fork has a delalloc reservation. Replace it with a real extent. in xfs_reflink_allocate_cow() 713 /* Remove the quota reservation */ in xfs_reflink_cancel_cow_blocks() 821 * every remap operation and we'd like to keep the block reservation 897 * If the extent we're remapping is a delalloc reservation, in xfs_reflink_end_cow_extent_locked() 899 * incore state. Dropping the delalloc reservation takes care in xfs_reflink_end_cow_extent_locked() 900 * of the quota reservation for us. in xfs_reflink_end_cow_extent_locked() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_metafile.c | 94 * the remaining reservation for the particular metadata file + the in xfs_metafile_resv_can_cover() 102 * There aren't enough blocks left in the inode's reservation, but it in xfs_metafile_resv_can_cover() 110 * Is the metafile reservation critically low on blocks? For now we'll define 132 /* Allocate a block from the metadata file's reservation. */ 147 * Allocate the blocks from the metadata inode's block reservation in xfs_metafile_resv_alloc_space() 163 * Any allocation in excess of the reservation requires in-core and in xfs_metafile_resv_alloc_space() 167 * block reservation. Overruns are only expected for rmap btrees. in xfs_metafile_resv_alloc_space() 189 /* Free a block to the metadata file's reservation. */ 210 * Add the freed blocks back into the inode's delalloc reservation in xfs_metafile_resv_free_space() 245 /* Release unused metafile space reservation. */ [all …]
|
| /linux/drivers/android/binder/range_alloc/ |
| H A D | mod.rs | 14 Reserved(Reservation), 20 DescriptorState::Reserved(Reservation { in new() 30 DescriptorState::Allocated(inner) => inner.reservation.pid, in pid() 37 DescriptorState::Allocated(inner) => inner.reservation.is_oneway, in is_oneway() 43 struct Reservation { struct 49 impl Reservation { argument 53 reservation: self, in allocate() 59 reservation: Reservation, field 64 fn deallocate(self) -> (Reservation, Option<T>) { in deallocate() argument 65 (self.reservation, self.data) in deallocate() [all …]
|
| 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()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | charge_reserved_hugetlb.sh | 118 echo writing reservation limit: "$reservation_limit" 333 expect_equal "0" "$final_reservation" "final reservation is not zero" 408 "$(cat $cgroup1_reservation_usage)" "Reservation usage changed." 418 "hugetlbt_cgroup_test1 final reservation is not zero" 426 "hugetlb_cgroup_test2 final reservation is not zero" 459 echo Memory charged to reservation=$reserved_difference 471 "Reserved memory not charged to reservation usage." 474 "Reserved memory not charged to reservation usage." 488 echo Memory charged to reservation=$reserved_difference 494 "Reserved memory not charged to reservation usag [all...] |
| /linux/tools/perf/pmu-events/arch/x86/skylake/ |
| H A D | pipeline.json | 345 …"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 D | pipeline.json | 355 …"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 D | pipeline.json | 355 …"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/fs/xfs/scrub/ |
| H A D | newbt.h | 17 /* 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 D | newbt.c | 33 * overrunning a tr_itruncate reservation. The newbt code should reserve 135 * If the metadata file has a space reservation, the caller must adjust that 136 * 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 D | verifier_ringbuf.c | 14 __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/tigerlake/ |
| H A D | pipeline.json | 305 …"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/tools/perf/pmu-events/arch/x86/rocketlake/ |
| H A D | pipeline.json | 305 "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 D | pipeline.json | 305 "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 D | pipeline.json | 305 …"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 D | pipeline.json | 798 "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 D | pipeline.json | 798 "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 D | pipeline.json | 798 "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 D | perfctr-watchdog.c | 5 * 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/drivers/nvme/host/ |
| H A D | constants.c | 18 [nvme_cmd_resv_register] = "Reservation Register", 19 [nvme_cmd_resv_report] = "Reservation Report", 20 [nvme_cmd_resv_acquire] = "Reservation Acquire", 21 [nvme_cmd_resv_release] = "Reservation Release", 106 [NVME_SC_RESERVATION_CONFLICT] = "Reservation Conflict",
|