Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/include/asm/
Dtopology.h21 cpumask_t thread_mask; member
31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask)
/linux-6.1.9/tools/perf/
Dbuiltin-record.c97 struct thread_mask { struct
104 struct thread_mask *mask; argument
179 struct thread_mask *thread_masks;
2991 static int record__thread_mask_alloc(struct thread_mask *mask, int nr_bits) in record__thread_mask_alloc()
3010 static void record__thread_mask_free(struct thread_mask *mask) in record__thread_mask_free()
3650 struct thread_mask thread_mask, full_mask, *thread_masks; in record__init_thread_masks_spec() local
3670 ret = record__thread_mask_alloc(&thread_mask, cpu__max_cpu().cpu); in record__init_thread_masks_spec()
3677 ret = record__mmap_cpu_mask_init_spec(&thread_mask.maps, maps_spec[s]); in record__init_thread_masks_spec()
3682 ret = record__mmap_cpu_mask_init_spec(&thread_mask.affinity, affinity_spec[s]); in record__init_thread_masks_spec()
3689 if (!bitmap_and(thread_mask.maps.bits, thread_mask.maps.bits, in record__init_thread_masks_spec()
[all …]
/linux-6.1.9/arch/s390/kernel/
Dtopology.c257 cpu_thread_map(&topo->thread_mask, cpu); in update_cpu_masks()
278 smt_first = cpumask_first(&topo_sibling->thread_mask); in update_cpu_masks()
499 return &cpu_topology[cpu].thread_mask; in cpu_thread_mask()
/linux-6.1.9/kernel/irq/
Dhandle.c123 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread()
Dmanage.c1113 desc->threads_oneshot &= ~action->thread_mask; in irq_finalize_oneshot()
1500 unsigned long flags, thread_mask = 0; in __setup_irq() local
1653 thread_mask |= old->thread_mask; in __setup_irq()
1670 if (thread_mask == ~0UL) { in __setup_irq()
1694 new->thread_mask = 1UL << ffz(thread_mask); in __setup_irq()
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
Defx.c1317 cpumask_var_t thread_mask; in ef4_wanted_parallelism() local
1324 if (unlikely(!zalloc_cpumask_var(&thread_mask, GFP_KERNEL))) { in ef4_wanted_parallelism()
1332 if (!cpumask_test_cpu(cpu, thread_mask)) { in ef4_wanted_parallelism()
1334 cpumask_or(thread_mask, thread_mask, in ef4_wanted_parallelism()
1339 free_cpumask_var(thread_mask); in ef4_wanted_parallelism()
/linux-6.1.9/include/linux/
Dinterrupt.h129 unsigned long thread_mask; member