| /linux/tools/perf/pmu-events/arch/x86/amdzen6/ |
| H A D | pipeline.json | 4 …"BriefDescription": "Total dispatch slots (up to 8 instructions can be dispatched in each cycle).", 6 "ScaleUnit": "1slots" 10 …"BriefDescription": "Percentage of dispatch slots that remained unused because the frontend did no… 13 "ScaleUnit": "100%slots" 24 …"BriefDescription": "Percentage of dispatch slots that remained unused because of backend stalls.", 27 "ScaleUnit": "100%slots" 31 …"BriefDescription": "Percentage of dispatch slots that remained unused because the other thread wa… 34 "ScaleUnit": "100%slots" 38 "BriefDescription": "Percentage of dispatch slots used by ops that retired.", 41 "ScaleUnit": "100%slots" [all …]
|
| /linux/drivers/input/ |
| H A D | input-mt.c | 25 * input_mt_init_slots() - initialize MT input slots 27 * @num_slots: number of slots used by the device 37 * reinitialize with a different number of slots. 53 kzalloc_flex(*mt, slots, num_slots); in input_mt_init_slots() 92 /* Mark slots as 'inactive' */ in input_mt_init_slots() 94 input_mt_set_value(&mt->slots[i], ABS_MT_TRACKING_ID, -1); in input_mt_init_slots() 96 /* Mark slots as 'unused' */ in input_mt_init_slots() 105 * input_mt_destroy_slots() - frees the MT slots of the input device 106 * @dev: input device with allocated MT slots 109 * automatically free the MT slots when the device is destroyed. [all …]
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | evlist.c | 15 * perf stat -e "{instructions,topdown-retiring,slots}" -C0 sleep 1 in arch_evlist__cmp() 18 * 15,066,240 slots in arch_evlist__cmp() 22 * perf stat -e "instructions,topdown-retiring,slots" -C0 sleep 1 in arch_evlist__cmp() 26 * 17,108,370 slots in arch_evlist__cmp() 28 * c. slots event in a group but topdown metrics events outside the group in arch_evlist__cmp() 29 * perf stat -e "{instructions,slots},topdown-retiring" -C0 sleep 1 in arch_evlist__cmp() 32 * 20,323,878 slots in arch_evlist__cmp() 35 * d. slots event and topdown metrics events in two groups in arch_evlist__cmp() 36 * perf stat -e "{instructions,slots},{topdown-retiring}" -C0 sleep 1 in arch_evlist__cmp() 39 * 26,319,024 slots in arch_evlist__cmp() [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/ |
| H A D | sbsa.json | 3 "MetricExpr": "100 * (stall_slot_frontend / (#slots * cpu_cycles))", 4 …"BriefDescription": "This metric is the percentage of total slots that were stalled due to resourc… 8 "ScaleUnit": "1percent of slots" 11 … "MetricExpr": "100 * ((1 - op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles)))", 12 …"BriefDescription": "This metric is the percentage of total slots that executed operations and did… 16 "ScaleUnit": "1percent of slots" 19 "MetricExpr": "100 * ((op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles)))", 20 …"BriefDescription": "This metric is the percentage of total slots that retired operations, which i… 24 "ScaleUnit": "1percent of slots" 27 "MetricExpr": "100 * (stall_slot_backend / (#slots * cpu_cycles))", [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/ |
| H A D | metrics.json | 162 "MetricExpr": "1 - (OP_RETIRED / (CPU_CYCLES * #slots))", 232 "MetricExpr": "100 * ((OP_SPEC - OP_RETIRED) / (CPU_CYCLES * #slots))", 233 "BriefDescription": "Fraction of slots lost due to misspeculation", 236 "ScaleUnit": "1percent of slots" 240 "MetricExpr": "100 * (OP_RETIRED / (CPU_CYCLES * #slots))", 241 "BriefDescription": "Fraction of slots retiring, useful work", 244 "ScaleUnit": "1percent of slots" 249 …"BriefDescription": "Fraction of slots the CPU was stalled due to backend non-memory subsystem iss… 256 …"BriefDescription": "Fraction of slots the CPU was stalled due to backend memory subsystem issues … 263 "BriefDescription": "Fraction of slots lost due to branch misprediciton", [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/ |
| H A D | metrics.json | 162 "MetricExpr": "1 - (OP_RETIRED / (CPU_CYCLES * #slots))", 232 "MetricExpr": "100 * (OP_SPEC - OP_RETIRED) / (CPU_CYCLES * #slots)", 233 "BriefDescription": "Fraction of slots lost due to misspeculation", 236 "ScaleUnit": "1percent of slots" 240 "MetricExpr": "100 * OP_RETIRED / (CPU_CYCLES * #slots)", 241 "BriefDescription": "Fraction of slots retiring, useful work", 244 "ScaleUnit": "1percent of slots" 249 …"BriefDescription": "Fraction of slots the CPU was stalled due to backend non-memory subsystem iss… 256 …"BriefDescription": "Fraction of slots the CPU was stalled due to backend memory subsystem issues … 263 "BriefDescription": "Fraction of slots lost due to branch misprediciton", [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/ |
| H A D | pipeline.json | 21 "PublicDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy", 24 "BriefDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy" 27 …tion": "Duration for which all slots in the load-store issue queue are busy. This event counts the… 30 …tion": "Duration for which all slots in the load-store issue queue are busy. This event counts the… 33 …on": "Duration for which all slots in the data processing issue queue are busy. This event counts … 36 …on": "Duration for which all slots in the data processing issue queue are busy. This event counts … 39 …"PublicDescription": "Duration for which all slots in the data engine issue queue are busy. This e… 42 …"BriefDescription": "Duration for which all slots in the data engine issue queue are busy. This ev…
|
| /linux/sound/pci/ac97/ |
| H A D | ac97_pcm.c | 294 * slots 7+8 in snd_ac97_set_rate() 311 unsigned short slots = 0; in get_pslots() local 325 slots |= (1<<AC97_SLOT_PCM_LEFT)|(1<<AC97_SLOT_PCM_RIGHT); in get_pslots() 327 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots() 329 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots() 342 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots() 344 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots() 354 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots() 360 return slots; in get_pslots() 362 unsigned short slots; in get_pslots() local [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | memstress.c | 125 u64 vcpu_memory_bytes, int slots, in memstress_create_vm() argument 154 TEST_ASSERT(guest_num_pages % slots == 0, in memstress_create_vm() 155 "Guest memory cannot be evenly divided into %d slots.", in memstress_create_vm() 156 slots); in memstress_create_vm() 203 /* Add extra memory slots for testing */ in memstress_create_vm() 204 for (i = 0; i < slots; i++) { in memstress_create_vm() 205 u64 region_pages = guest_num_pages / slots; in memstress_create_vm() 318 static void toggle_dirty_logging(struct kvm_vm *vm, int slots, bool enable) in toggle_dirty_logging() argument 322 for (i = 0; i < slots; i++) { in toggle_dirty_logging() 330 void memstress_enable_dirty_logging(struct kvm_vm *vm, int slots) in memstress_enable_dirty_logging() argument [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/sierraforest/ |
| H A D | pipeline.json | 484 "BriefDescription": "Counts the number of issue slots in a UMWAIT or TPAUSE instruction where no uop issues due to the instruction putting the CPU into the C0.1 activity state.", 492 "BriefDescription": "Counts the number of issue slots not consumed due to a color request for an FCW or MXCSR control register when all 4 colors (copies) are already in use.", 500 "BriefDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires.", 504 "PublicDescription": "Counts the number of issue slots not consumed by the backend due to a micro-sequencer (MS) scoreboard, which stalls the front-end from issuing from the UROM until a specified older uop retires. The most commonly executed instruction with an MS scoreboard is PAUSE.", 509 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]", 513 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]", 517 "BriefDescription": "Counts the number of issue slots tha [all...] |
| /linux/tools/perf/pmu-events/arch/x86/grandridge/ |
| H A D | pipeline.json | 352 "BriefDescription": "Counts the number of issue slots in a UMWAIT or TPAUSE instruction where no uop issues due to the instruction putting the CPU into the C0.1 activity state.", 360 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]", 364 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]", 368 "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]", 372 "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocke [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | stat.sh | 114 # Topdown events must be grouped with the slots event first. Test that 117 if ! perf stat -e '{slots,topdown-retiring}' true > /dev/null 2>&1 133 do_topdown_group_test "{slots,topdown-retiring}" "events not supported" 134 do_topdown_group_test "{instructions,r400,r8000}" "raw format slots not reordered first" 141 do_topdown_group_test "$filler1,topdown-retiring,slots" \ 142 "slots not reordered first in no-group case" 143 do_topdown_group_test "slots,$filler1,topdown-retiring" \ 145 do_topdown_group_test "{$filler1,topdown-retiring,slots}" \ 146 "slots not reordered first in single group case" 147 do_topdown_group_test "{$filler1,slots},topdow [all...] |
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_priv_hash.c | 32 static int futex_hash_slots_set(unsigned int slots) in futex_hash_slots_set() argument 34 return prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS, slots, 0); in futex_hash_slots_set() 42 static void futex_hash_slots_set_verify(int slots) in futex_hash_slots_set_verify() argument 46 ret = futex_hash_slots_set(slots); in futex_hash_slots_set_verify() 48 ksft_test_result_fail("Failed to set slots to %d: %m\n", slots); in futex_hash_slots_set_verify() 52 if (ret != slots) { in futex_hash_slots_set_verify() 53 ksft_test_result_fail("Set %d slots but PR_FUTEX_HASH_GET_SLOTS returns: %d, %m\n", in futex_hash_slots_set_verify() 54 slots, ret); in futex_hash_slots_set_verify() 57 ksft_test_result_pass("SET and GET slots %d passed\n", slots); in futex_hash_slots_set_verify() 60 static void futex_hash_slots_set_must_fail(int slots) in futex_hash_slots_set_must_fail() argument [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen4/ |
| H A D | pipeline.json | 4 … "BriefDescription": "Total dispatch slots (upto 6 instructions can be dispatched in each cycle).", 9 …"BriefDescription": "Fraction of dispatch slots that remained unused because the frontend did not … 23 … "BriefDescription": "Fraction of dispatch slots that remained unused because of backend stalls.", 30 …"BriefDescription": "Fraction of dispatch slots that remained unused because the other thread was … 37 "BriefDescription": "Fraction of dispatch slots used by ops that retired.", 44 …"BriefDescription": "Fraction of dispatch slots that remained unused because of a latency bottlene… 51 …"BriefDescription": "Fraction of dispatch slots that remained unused because of a bandwidth bottle… 72 …"BriefDescription": "Fraction of dispatch slots that remained unused because of stalls due to the … 79 …"BriefDescription": "Fraction of dispatch slots that remained unused because of stalls not related… 86 "BriefDescription": "Fraction of dispatch slots used by fastpath ops that retired.", [all …]
|
| /linux/fs/btrfs/ |
| H A D | file-item.c | 182 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent() 223 if (path->slots[0] == 0) in btrfs_lookup_csum() 225 path->slots[0]--; in btrfs_lookup_csum() 226 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_lookup_csum() 232 csums_in_item = btrfs_item_size(leaf, path->slots[0]); in btrfs_lookup_csum() 242 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 296 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree() 298 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in search_csum_tree() 299 itemsize = btrfs_item_size(path->nodes[0], path->slots[0]); in search_csum_tree() 323 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[ in search_csum_tree() [all...] |
| /linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/ |
| H A D | pipeline.json | 15 "PublicDescription": "Duration for which all slots in the Load-Store Unit are busy", 18 "BriefDescription": "Duration for which all slots in the Load-Store Unit are busy" 21 "PublicDescription": "Duration for which all slots in the load-store issue queue are busy", 24 "BriefDescription": "Duration for which all slots in the load-store issue queue are busy" 27 … "PublicDescription": "Duration for which all slots in the data processing issue queue are busy", 30 … "BriefDescription": "Duration for which all slots in the data processing issue queue are busy" 33 "PublicDescription": "Duration for which all slots in the Data Engine issue queue are busy", 36 "BriefDescription": "Duration for which all slots in the Data Engine issue queue are busy"
|
| /linux/tools/lib/python/ |
| H A D | jobserver.py | 23 of slots available, using all of them to run a command which handle tasks in 25 slots left. It then increments the number by one, in order to allow a 46 Claim all slots from make using POSIX Jobserver. 50 - open(): reserves all slots; 51 - close(): method returns all used slots back to make; 52 - run(): executes a command setting PARALLELISM=<available slots jobs + 1>. 64 """Reserve all available slots to be claimed later on.""" 125 # slots as possible. 162 """Return all reserved slots to Jobserver.""" 167 # Return all the reserved slots [all...] |
| /linux/kernel/dma/ |
| H A D | swiotlb.c | 71 * @pad_slots: Number of preceding padding slots. Valid only in the first 125 * contiguous slots tracking: free slots are treated contiguous no matter 144 * swiotlb_adjust_nareas() - adjust the number of areas and slots 169 * @nslots: Total number of slots in the memory pool. 288 mem->slots[i].list = min(IO_TLB_SEGSIZE - io_tlb_offset(i), in swiotlb_init_io_tlb_pool() 290 mem->slots[i].orig_addr = INVALID_PHYS_ADDR; in swiotlb_init_io_tlb_pool() 291 mem->slots[i].alloc_size = 0; in swiotlb_init_io_tlb_pool() 292 mem->slots[i].pad_slots = 0; in swiotlb_init_io_tlb_pool() 397 alloc_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), nslabs)); in swiotlb_init_remap() 398 mem->slots = memblock_alloc(alloc_size, PAGE_SIZE); in swiotlb_init_remap() [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | test_sony.py | 150 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0 151 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50 152 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 100 159 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1 162 """Send 2 touches in the first 2 slots. 179 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0 180 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50 181 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 100 182 assert evdev.slots[1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1 195 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0 [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | interrupt.c | 258 int slots; in mei_cl_irq_disconnect_rsp() local 262 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect_rsp() 263 if (slots < 0) in mei_cl_irq_disconnect_rsp() 266 if ((u32)slots < msg_slots) in mei_cl_irq_disconnect_rsp() 290 int slots; in mei_cl_irq_read() local 297 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_read() 298 if (slots < 0) in mei_cl_irq_read() 301 if ((u32)slots < msg_slots) in mei_cl_irq_read() 354 * @slots: slots to read. 359 struct list_head *cmpl_list, s32 *slots) in mei_irq_read_handler() argument [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/alderlaken/ |
| H A D | adln-metrics.json | 74 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to… 82 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend … 89 …"PublicDescription": "Counts the total number of issue slots that were not consumed by the backend… 93 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend … 100 …slots that were not consumed by the backend because allocation is stalled due to a mispredicted ju… 104 …"BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due … 109 …"PublicDescription": "Counts the number of issue slots that were not delivered by the frontend due… 113 …"BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to… 122 …"BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due … 130 …"BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due … [all …]
|
| /linux/sound/soc/meson/ |
| H A D | axg-card.c | 21 unsigned int slots; member 67 be->slots, be->slot_width); in axg_card_tdm_dai_init() 70 "setting tdm link slots failed\n"); in axg_card_tdm_dai_init() 76 be->slots, be->slot_width); in axg_card_tdm_dai_init() 78 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_init() 94 be->slots, be->slot_width); in axg_card_tdm_dai_lb_init() 96 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_lb_init() 178 /* Disable playback is the interface has no tx slots */ in axg_card_parse_cpu_tdm_slots() 188 /* Disable capture is the interface has no rx slots */ in axg_card_parse_cpu_tdm_slots() 194 dev_err(card->dev, "tdm link has no cpu slots\n"); in axg_card_parse_cpu_tdm_slots() [all …]
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | randomalloc.c | 13 * Return the number of slots covered by this entry, i.e., the number of 84 /* count the suitable slots in each memory map entry */ in efi_random_alloc() 87 unsigned long slots; in efi_random_alloc() local 89 slots = get_entry_num_slots(md, size, ilog2(align), alloc_min, in efi_random_alloc() 91 MD_NUM_SLOTS(md) = slots; in efi_random_alloc() 92 total_slots += slots; in efi_random_alloc() 94 total_mirrored_slots += slots; in efi_random_alloc() 97 /* consider only mirrored slots for randomization if any exist */ in efi_random_alloc() 106 * it corresponds with exactly one of the suitable slots we recorded in efi_random_alloc() 110 * slots of each entry at each iteration, until we have found the entry in efi_random_alloc()
|
| /linux/drivers/pci/ |
| H A D | slot.c | 189 list_for_each_entry(slot, &dev->bus->slots, list) in pci_dev_assign_slot() 201 list_for_each_entry(slot, &parent->slots, list) in get_slot() 215 * @name: user visible string presented in /sys/bus/pci/slots/<name> 218 * PCI slots have first class attributes such as address, speed, width, 223 * Slots are uniquely identified by a @pci_bus, @slot_nr tuple. 226 * name to multiple slots. Workaround these broken platforms by renaming 227 * the slots on behalf of the caller. If firmware assigns name N to 228 * multiple slots: 235 * Placeholder slots: 243 * may be many slots with @slot_nr of -1. The other change in semantics is [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/elkhartlake/ |
| H A D | pipeline.json | 307 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend … 311 …slots that were not consumed by the backend because allocation is stalled due to a mispredicted ju… 316 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba… 324 …"BriefDescription": "Counts the total number of issue slots that were not consumed by the backend … 332 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba… 349 …"BriefDescription": "Counts the total number of issue slots every cycle that were not consumed by … 356 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba… 364 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba… 372 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba… 380 …"BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the ba… [all …]
|