Home
last modified time | relevance | path

Searched refs:cpumask (Results 1 – 18 of 18) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/genapic/
A Ddelivery.c38 unsigned int cpu_mask_to_apicid_flat(const cpumask_t *cpumask) in cpu_mask_to_apicid_flat() argument
40 return cpumask_bits(cpumask)[0]&0xFF; in cpu_mask_to_apicid_flat()
66 unsigned int cpu_mask_to_apicid_phys(const cpumask_t *cpumask) in cpu_mask_to_apicid_phys() argument
69 return cpu_physical_id(cpumask_any(cpumask)); in cpu_mask_to_apicid_phys()
A Dx2apic.c80 static unsigned int cpu_mask_to_apicid_x2apic_cluster(const cpumask_t *cpumask) in cpu_mask_to_apicid_x2apic_cluster() argument
82 unsigned int cpu = cpumask_any(cpumask); in cpu_mask_to_apicid_x2apic_cluster()
87 if ( cpumask_test_cpu(cpu, cpumask) ) in cpu_mask_to_apicid_x2apic_cluster()
98 static void send_IPI_mask_x2apic_phys(const cpumask_t *cpumask, int vector) in send_IPI_mask_x2apic_phys() argument
118 for_each_cpu ( cpu, cpumask ) in send_IPI_mask_x2apic_phys()
131 static void send_IPI_mask_x2apic_cluster(const cpumask_t *cpumask, int vector) in send_IPI_mask_x2apic_cluster() argument
144 for ( cpumask_and(ipimask, cpumask, ipimask); !cpumask_empty(ipimask); in send_IPI_mask_x2apic_cluster()
/xen-4.10.0-shim-comet/xen/common/
A Drcupdate.c55 cpumask_t cpumask; /* CPUs that need to switch in order ... */ member
195 cpumask_t cpumask; in force_quiescent_state() local
203 cpumask_andnot(&cpumask, &rcp->cpumask, cpumask_of(rdp->cpu)); in force_quiescent_state()
204 cpumask_raise_softirq(&cpumask, SCHEDULE_SOFTIRQ); in force_quiescent_state()
308 cpumask_andnot(&rcp->cpumask, &cpu_online_map, &rcp->idle_cpumask); in rcu_start_batch()
319 cpumask_clear_cpu(cpu, &rcp->cpumask); in cpu_quiet()
320 if (cpumask_empty(&rcp->cpumask)) { in cpu_quiet()
510 if ( !cpumask_empty(&rcu_ctrlblk.cpumask) ) in rcu_idle_timer_handler()
A Ddomctl.c100 const cpumask_t *cpumask) in cpumask_to_xenctl_bitmap() argument
102 return bitmap_to_xenctl_bitmap(xenctl_cpumap, cpumask_bits(cpumask), in cpumask_to_xenctl_bitmap()
106 int xenctl_bitmap_to_cpumask(cpumask_var_t *cpumask, in xenctl_bitmap_to_cpumask() argument
111 if ( alloc_cpumask_var(cpumask) ) { in xenctl_bitmap_to_cpumask()
112 err = xenctl_bitmap_to_bitmap(cpumask_bits(*cpumask), xenctl_cpumap, in xenctl_bitmap_to_cpumask()
116 free_cpumask_var(*cpumask); in xenctl_bitmap_to_cpumask()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dgenapic.h38 unsigned int (*cpu_mask_to_apicid)(const cpumask_t *cpumask);
59 unsigned int cpu_mask_to_apicid_flat(const cpumask_t *cpumask);
75 unsigned int cpu_mask_to_apicid_phys(const cpumask_t *cpumask);
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dhpet.c36 cpumask_var_t cpumask; member
188 for_each_cpu(cpu, ch->cpumask) in handle_hpet_broadcast()
192 if ( !cpumask_test_cpu(cpu, ch->cpumask) ) in handle_hpet_broadcast()
415 if ( !zalloc_cpumask_var(&ch->cpumask) ) in hpet_fsb_cap_lookup()
520 else if ( cpumask_empty(ch->cpumask) ) in hpet_detach_channel()
528 ch->cpu = cpumask_first(ch->cpumask); in hpet_detach_channel()
577 if ( !hpet_events || !zalloc_cpumask_var(&hpet_events->cpumask) ) in hpet_broadcast_init()
714 cpumask_set_cpu(cpu, ch->cpumask); in hpet_broadcast_enter()
743 cpumask_clear_cpu(cpu, ch->cpumask); in hpet_broadcast_exit()
A Dsmp.c126 void send_IPI_mask_flat(const cpumask_t *cpumask, int vector) in send_IPI_mask_flat() argument
128 unsigned long mask = cpumask_bits(cpumask)[0]; in send_IPI_mask_flat()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dgic-v2.c158 static unsigned int gicv2_cpu_mask(const cpumask_t *cpumask) in gicv2_cpu_mask() argument
164 cpumask_and(&possible_mask, cpumask, &cpu_possible_map); in gicv2_cpu_mask()
286 uint32_t cpumask; in gicv2_dist_init() local
291 cpumask = readl_gicd(GICD_ITARGETSR) & 0xff; in gicv2_dist_init()
292 cpumask |= cpumask << 8; in gicv2_dist_init()
293 cpumask |= cpumask << 16; in gicv2_dist_init()
312 writel_gicd(cpumask, GICD_ITARGETSR + (i / 4) * 4); in gicv2_dist_init()
A Dgic-v3.c302 static unsigned int gicv3_get_cpu_from_mask(const cpumask_t *cpumask) in gicv3_get_cpu_from_mask() argument
307 cpumask_and(&possible_mask, cpumask, &cpu_possible_map); in gicv3_get_cpu_from_mask()
867 static u16 gicv3_compute_target_list(int *base_cpu, const struct cpumask *mask, in gicv3_compute_target_list()
902 static void gicv3_send_sgi_list(enum gic_sgi sgi, const cpumask_t *cpumask) in gicv3_send_sgi_list() argument
907 for_each_cpu(cpu, cpumask) in gicv3_send_sgi_list()
914 tlist = gicv3_compute_target_list(&cpu, cpumask, cluster_id); in gicv3_send_sgi_list()
933 const cpumask_t *cpumask) in gicv3_send_sgi() argument
947 gicv3_send_sgi_list(sgi, cpumask); in gicv3_send_sgi()
A Dgic.c323 void send_SGI_mask(const cpumask_t *cpumask, enum gic_sgi sgi) in send_SGI_mask() argument
328 gic_hw_ops->send_SGI(sgi, SGI_TARGET_LIST, cpumask); in send_SGI_mask()
A Ddomain_build.c500 unsigned int cpumask, unsigned int level) in set_interrupt_ppi() argument
509 dt_set_cell(&cells, 1, (cpumask << 8) | level); in set_interrupt_ppi()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dcpumask.h82 typedef struct cpumask{ DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; struct
132 #define cpumask_test_cpu(cpu, cpumask) \ argument
133 test_bit(cpumask_check(cpu), (cpumask)->bits)
/xen-4.10.0-shim-comet/tools/xentrace/
A Danalyze.h30 typedef struct cpumask{ DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; struct
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dgic.h282 extern void send_SGI_mask(const cpumask_t *cpumask, enum gic_sgi sgi);
/xen-4.10.0-shim-comet/tools/tests/vhpet/
A Demul.h38 typedef struct cpumask struct
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_arm.c193 unsigned int cpumask, unsigned int level) in set_interrupt() argument
206 set_cell(&cells, 1, (cpumask << 8) | level); in set_interrupt()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/
A Diommu.c2073 const cpumask_t *cpumask = &cpu_online_map; in adjust_irq_affinity() local
2076 cpumask_intersects(&node_to_cpumask(node), cpumask) ) in adjust_irq_affinity()
2077 cpumask = &node_to_cpumask(node); in adjust_irq_affinity()
2078 dma_msi_set_affinity(irq_to_desc(drhd->iommu->msi.irq), cpumask); in adjust_irq_affinity()
/xen-4.10.0-shim-comet/
A D.rootkeys1183 425ae516maKAsHBJVSzs19cdRgt3Nw xen/arch/ia64/patch/linux-2.6.11/cpumask.h
1592 427fa2d1bQCWgEQqTTh5MjG4MPEH9g xen/include/xen/cpumask.h

Completed in 43 milliseconds