Home
last modified time | relevance | path

Searched full:slots (Results 1 – 25 of 1107) sorted by relevance

12345678910>>...45

/linux/tools/perf/pmu-events/arch/arm64/
H A Dsbsa.json3 "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/ampereonex/
H A Dmetrics.json162 "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 issues",
256 "BriefDescription": "Fraction of slots the CPU was stalled due to backend memory subsystem issues (cache/tlb miss)",
263 "BriefDescription": "Fraction of slots los
[all...]
/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereone/
H A Dmetrics.json162 "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 Dpipeline.json21 "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/drivers/misc/mei/
H A Ddma-ring.c125 * @offset: offset in slots.
126 * @n: number of slots to copy.
147 * @offset: offset in slots.
148 * @n: number of slots to copy.
175 u32 rd_idx, rem, slots; in mei_dma_ring_read() local
187 slots = mei_data2slots(len); in mei_dma_ring_read()
193 if (rd_idx + slots > dbuf_depth) { in mei_dma_ring_read()
195 rem = slots - (dbuf_depth - rd_idx); in mei_dma_ring_read()
198 rem = slots; in mei_dma_ring_read()
203 WRITE_ONCE(ctrl->dbuf_rd_idx, ctrl->dbuf_rd_idx + slots); in mei_dma_ring_read()
[all …]
H A Dinterrupt.c259 int slots; in mei_cl_irq_disconnect_rsp() local
263 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect_rsp()
264 if (slots < 0) in mei_cl_irq_disconnect_rsp()
267 if ((u32)slots < msg_slots) in mei_cl_irq_disconnect_rsp()
291 int slots; in mei_cl_irq_read() local
298 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_read()
299 if (slots < 0) in mei_cl_irq_read()
302 if ((u32)slots < msg_slots) in mei_cl_irq_read()
356 * @slots: slots to read.
361 struct list_head *cmpl_list, s32 *slots) in mei_irq_read_handler() argument
[all …]
/linux/sound/pci/ac97/
H A Dac97_pcm.c295 * slots 7+8 in snd_ac97_set_rate()
312 unsigned short slots = 0; in get_pslots() local
326 slots |= (1<<AC97_SLOT_PCM_LEFT)|(1<<AC97_SLOT_PCM_RIGHT); in get_pslots()
328 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots()
330 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots()
343 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots()
345 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots()
355 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots()
361 return slots; in get_pslots()
363 unsigned short slots; in get_pslots() local
[all …]
/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c125 uint64_t 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()
207 /* Add extra memory slots for testing */ in memstress_create_vm()
208 for (i = 0; i < slots; i++) { in memstress_create_vm()
209 uint64_t region_pages = guest_num_pages / slots; in memstress_create_vm()
322 static void toggle_dirty_logging(struct kvm_vm *vm, int slots, bool enable) in toggle_dirty_logging() argument
326 for (i = 0; i < slots; i++) { in toggle_dirty_logging()
334 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/amdzen4/
H A Dpipeline.json4 … "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/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/
H A Dpipeline.json15 "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/testing/selftests/futex/functional/
H A Dfutex_priv_hash.c34 static int futex_hash_slots_set(unsigned int slots, int flags) in futex_hash_slots_set() argument
36 return prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS, slots, flags); in futex_hash_slots_set()
49 static void futex_hash_slots_set_verify(int slots) in futex_hash_slots_set_verify() argument
53 ret = futex_hash_slots_set(slots, 0); in futex_hash_slots_set_verify()
55 ksft_test_result_fail("Failed to set slots to %d: %m\n", slots); in futex_hash_slots_set_verify()
59 if (ret != slots) { in futex_hash_slots_set_verify()
60 ksft_test_result_fail("Set %d slots but PR_FUTEX_HASH_GET_SLOTS returns: %d, %m\n", in futex_hash_slots_set_verify()
61 slots, ret); in futex_hash_slots_set_verify()
64 ksft_test_result_pass("SET and GET slots %d passed\n", slots); in futex_hash_slots_set_verify()
67 static void futex_hash_slots_set_must_fail(int slots, int flags) in futex_hash_slots_set_must_fail() argument
[all …]
/linux/kernel/dma/
H A Dswiotlb.c72 * @pad_slots: Number of preceding padding slots. Valid only in the first
126 * contiguous slots tracking: free slots are treated contiguous no matter
145 * swiotlb_adjust_nareas() - adjust the number of areas and slots
170 * @nslots: Total number of slots in the memory pool.
289 mem->slots[i].list = min(IO_TLB_SEGSIZE - io_tlb_offset(i), in swiotlb_init_io_tlb_pool()
291 mem->slots[i].orig_addr = INVALID_PHYS_ADDR; in swiotlb_init_io_tlb_pool()
292 mem->slots[i].alloc_size = 0; in swiotlb_init_io_tlb_pool()
293 mem->slots[i].pad_slots = 0; in swiotlb_init_io_tlb_pool()
398 alloc_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), nslabs)); in swiotlb_init_remap()
399 mem->slots = memblock_alloc(alloc_size, PAGE_SIZE); in swiotlb_init_remap()
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_sony.py149 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
150 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50
151 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 100
158 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
161 """Send 2 touches in the first 2 slots.
178 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
179 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50
180 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 100
181 assert evdev.slots[1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
194 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
[all …]
/linux/sound/soc/meson/
H A Daxg-card.c21 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 Drandomalloc.c13 * 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/arch/arm64/kernel/
H A Dhw_breakpoint.c179 * @slots: pointer to array of slots
180 * @max_slots: max number of slots
189 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
197 slot = &slots[i]; in hw_breakpoint_slot_setup()
227 struct perf_event **slots; in hw_breakpoint_control() local
237 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control()
244 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control()
249 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
585 struct perf_event **slots; in toggle_bp_registers() local
589 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers()
[all …]
/linux/lib/
H A Dassoc_array.c52 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_subtree_iterate()
81 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_subtree_iterate()
209 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_walk()
324 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_find()
382 struct assoc_array_ptr *ptr = node->slots[slot]; in assoc_array_destroy_subtree()
462 edit->leaf_p = &new_n0->slots[0]; in assoc_array_insert_in_empty_tree()
505 ptr = node->slots[i]; in assoc_array_insert_into_terminal_node()
514 edit->leaf_p = &node->slots[i]; in assoc_array_insert_into_terminal_node()
515 edit->dead_leaf = node->slots[i]; in assoc_array_insert_into_terminal_node()
526 edit->leaf_p = &node->slots[free_slot]; in assoc_array_insert_into_terminal_node()
[all …]
/linux/tools/testing/selftests/kvm/include/
H A Dmemstress.h59 uint64_t vcpu_memory_bytes, int slots,
74 void memstress_enable_dirty_logging(struct kvm_vm *vm, int slots);
75 void memstress_disable_dirty_logging(struct kvm_vm *vm, int slots);
76 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots);
78 int slots, uint64_t pages_per_slot);
79 unsigned long **memstress_alloc_bitmaps(int slots, uint64_t pages_per_slot);
80 void memstress_free_bitmaps(unsigned long *bitmaps[], int slots);
/linux/tools/perf/Documentation/
H A Dtopdown.txt38 On Ice Lake, there is a new fixed counter 3: SLOTS, which reports
39 "pipeline SLOTS" (cycles multiplied by core issue width) and a
40 metric register that reports slots ratios for the different bottleneck
52 The application opens a group with fixed counter 3 (SLOTS) and any
76 /* Open slots counter file descriptor for current task. */
77 struct perf_event_attr slots = {
84 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0);
95 * Set slots event as the leader of the group.
118 to read slots and the topdown metrics at different points of the program:
147 _rdpmc calls should not be mixed with reading the metrics and slots counters
[all …]
/linux/fs/btrfs/
H A Dctree.c165 p->slots[i] = 0; in btrfs_release_path()
733 * Use unsigned types for the low and high slots, so that we get a more in btrfs_bin_search()
861 int orig_slot = path->slots[level]; in balance_level()
875 pslot = path->slots[level + 1]; in balance_level()
1087 path->slots[level + 1] -= 1; in balance_level()
1088 path->slots[level] = orig_slot; in balance_level()
1095 path->slots[level] = orig_slot; in balance_level()
1100 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level()
1131 int orig_slot = path->slots[level]; in push_nodes_for_insert()
1141 pslot = path->slots[level + 1]; in push_nodes_for_insert()
[all …]
H A Draid-stripe-tree.c37 slot = path->slots[0]; in btrfs_partially_delete_raid_extent()
108 if (path->slots[0] == btrfs_header_nritems(path->nodes[0])) in btrfs_delete_raid_extent()
109 path->slots[0]--; in btrfs_delete_raid_extent()
112 slot = path->slots[0]; in btrfs_delete_raid_extent()
138 path->slots[0]--; in btrfs_delete_raid_extent()
142 slot = path->slots[0]; in btrfs_delete_raid_extent()
186 item_size = btrfs_item_size(leaf, path->slots[0]); in btrfs_delete_raid_extent()
187 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_delete_raid_extent()
200 path->slots[0]--; in btrfs_delete_raid_extent()
201 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_delete_raid_extent()
[all …]
H A Dfree-space-tree.c88 info = btrfs_item_ptr(leaf, path->slots[0], in add_new_free_space_info()
124 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info()
148 if (p->slots[0] == 0) { in btrfs_search_prev_slot()
152 p->slots[0]--; in btrfs_search_prev_slot()
246 path->slots[0]++; in convert_free_space_to_bitmaps()
247 while (path->slots[0] > 0) { in convert_free_space_to_bitmaps()
248 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_bitmaps()
270 path->slots[0]--; in convert_free_space_to_bitmaps()
276 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_bitmaps()
330 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
[all …]
/linux/net/sched/
H A Dsch_sfq.c85 * Small indexes [0 ... SFQ_MAX_FLOWS - 1] are 'pointers' to slots[] array
110 unsigned int divisor; /* number of slots in hash table */
119 sfq_index *ht; /* Hash table ('divisor' slots) */
120 struct sfq_slot *slots; /* Flows table ('maxflows' entries) */ member
127 /* Linked lists of slots, indexed by depth
146 return &q->slots[val].dep; in sfq_dep_head()
199 struct sfq_slot *slot = &q->slots[x]; in sfq_link()
214 n = q->slots[x].dep.next; \
215 p = q->slots[x].dep.prev; \
228 d = q->slots[x].qlen--; in sfq_dec()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dlitex,liteeth.yaml41 litex,rx-slots:
42 description: Number of slots in the receive buffer
47 litex,tx-slots:
48 description: Number of slots in the transmit buffer
82 litex,rx-slots = <2>;
83 litex,tx-slots = <2>;
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/
H A Dstall.json4 …y fetch memory latency or branch prediction flow stalls. All the frontend slots were empty during …
8 …e fullness, or other internal pipeline resource fullness. All the backend slots were empty during …
16 …"PublicDescription": "Counts slots per cycle in which no operations are sent from the rename unit …
20 …"PublicDescription": "Counts slots per cycle in which no operations are sent to the rename unit fr…
24 …"PublicDescription": "Counts slots per cycle in which no operations are sent to the rename unit fr…

12345678910>>...45