Home
last modified time | relevance | path

Searched refs:thread_mask (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/s390/include/asm/
Dtopology.h21 cpumask_t thread_mask; member
31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask)
/linux-6.6.21/tools/perf/
Dbuiltin-record.c96 struct thread_mask { struct
103 struct thread_mask *mask; argument
179 struct thread_mask *thread_masks;
2987 static int record__thread_mask_alloc(struct thread_mask *mask, int nr_bits) in record__thread_mask_alloc()
3006 static void record__thread_mask_free(struct thread_mask *mask) in record__thread_mask_free()
3649 struct thread_mask thread_mask, full_mask, *thread_masks; in record__init_thread_masks_spec() local
3669 ret = record__thread_mask_alloc(&thread_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
3676 ret = record__mmap_cpu_mask_init_spec(&thread_mask.maps, maps_spec[s]); in record__init_thread_masks_spec()
3681 ret = record__mmap_cpu_mask_init_spec(&thread_mask.affinity, affinity_spec[s]); in record__init_thread_masks_spec()
3688 if (!bitmap_and(thread_mask.maps.bits, thread_mask.maps.bits, in record__init_thread_masks_spec()
[all …]
/linux-6.6.21/arch/s390/kernel/
Dtopology.c259 cpu_thread_map(&topo->thread_mask, cpu); in update_cpu_masks()
280 smt_first = cpumask_first(&topo_sibling->thread_mask); in update_cpu_masks()
501 return &cpu_topology[cpu].thread_mask; in cpu_thread_mask()
/linux-6.6.21/kernel/irq/
Dhandle.c123 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread()
Dmanage.c1121 desc->threads_oneshot &= ~action->thread_mask; in irq_finalize_oneshot()
1508 unsigned long flags, thread_mask = 0; in __setup_irq() local
1661 thread_mask |= old->thread_mask; in __setup_irq()
1678 if (thread_mask == ~0UL) { in __setup_irq()
1702 new->thread_mask = 1UL << ffz(thread_mask); in __setup_irq()
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/
Defx.c1316 cpumask_var_t thread_mask; in ef4_wanted_parallelism() local
1323 if (unlikely(!zalloc_cpumask_var(&thread_mask, GFP_KERNEL))) { in ef4_wanted_parallelism()
1331 if (!cpumask_test_cpu(cpu, thread_mask)) { in ef4_wanted_parallelism()
1333 cpumask_or(thread_mask, thread_mask, in ef4_wanted_parallelism()
1338 free_cpumask_var(thread_mask); in ef4_wanted_parallelism()
/linux-6.6.21/include/linux/
Dinterrupt.h129 unsigned long thread_mask; member