| /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/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/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()
|
| H A D | array.rs | 231 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/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 */
|
| /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/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/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/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",
|
| /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
|
| /linux/fs/ext2/ |
| H A D | ioctl.c | 90 if (test_opt(inode->i_sb, RESERVATION) in ext2_ioctl() 99 if (!test_opt(inode->i_sb, RESERVATION) ||!S_ISREG(inode->i_mode)) in ext2_ioctl() 116 * need to allocate reservation structure for this inode in ext2_ioctl()
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | pipeline.json | 379 …"BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was no… 383 …nts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) wa… 388 …"BriefDescription": "Cycles total of 2 or 3 uops are executed on all ports and Reservation Station… 396 …"BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was … 400 …s cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) wa… 405 …"BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was … 409 …"PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS… 414 …"BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was … 418 …"PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS… 446 …"PublicDescription": "Number of cycles total of 0 uops executed on all ports, Reservation Station … [all …]
|