/linux-master/net/core/ |
H A D | sysctl_net_core.c | 55 struct cpumask *mask) 82 static struct cpumask *rps_default_mask_cow_alloc(struct net *net) 84 struct cpumask *rps_default_mask; 106 struct cpumask *rps_default_mask = rps_default_mask_cow_alloc(net);
|
/linux-master/arch/arm/kernel/ |
H A D | topology.c | 17 #include <linux/cpumask.h>
|
/linux-master/arch/arm64/kernel/ |
H A D | smp.c | 779 static void smp_cross_call(const struct cpumask *target, unsigned int ipinr); 799 void arch_send_call_function_ipi_mask(const struct cpumask *mask) 961 static void smp_cross_call(const struct cpumask *target, unsigned int ipinr) 1068 void tick_broadcast(const struct cpumask *mask)
|
/linux-master/include/linux/ |
H A D | energy_model.h | 4 #include <linux/cpumask.h> 220 * i.e. if the EM is a CPU type and has cpumask allocated. It is called from
|
H A D | vdpa.h | 425 const struct cpumask *cpu_mask); 426 const struct cpumask *(*get_vq_affinity)(struct vdpa_device *vdev,
|
/linux-master/drivers/clocksource/ |
H A D | timer-tegra.c | 14 #include <linux/cpumask.h> 317 cpu_to->clkevt.cpumask = cpumask_of(cpu);
|
H A D | hyperv_timer.c | 15 #include <linux/cpumask.h> 139 ce->cpumask = cpumask_of(cpu);
|
/linux-master/kernel/trace/ |
H A D | trace_events_filter.c | 81 struct cpumask *mask; 653 do_filter_cpumask(int op, const struct cpumask *mask, const struct cpumask *cmp) 669 do_filter_scalar_cpumask(int op, unsigned int cpu, const struct cpumask *mask) 672 * Per the weight-of-one cpumask optimisations, the mask passed in this 688 do_filter_cpumask_scalar(int op, const struct cpumask *mask, unsigned int cpu) 961 /* Filter predicate for current CPU vs user-provided cpumask */ 969 /* Filter predicate for cpumask field vs user-provided cpumask */ 974 const struct cpumask *mas [all...] |
/linux-master/arch/mips/cavium-octeon/ |
H A D | smp.c | 110 static inline void octeon_send_ipi_mask(const struct cpumask *mask, 484 static void octeon_78xx_send_ipi_mask(const struct cpumask *mask,
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | internal.h | 72 cpumask_any_housekeeping(const struct cpumask *mask, int exclude_cpu) 267 struct cpumask cpu_mask;
|
/linux-master/arch/x86/kernel/cpu/sgx/ |
H A D | encl.c | 923 * Return: cpumask of CPUs that might be accessing @encl 927 cpumask_t *cpumask = &encl->cpumask; local 931 cpumask_clear(cpumask); 939 cpumask_or(cpumask, cpumask, mm_cpumask(encl_mm->mm)); 946 return cpumask;
|
/linux-master/tools/perf/ |
H A D | builtin-ftrace.c | 279 char *cpumask; local 288 cpumask = malloc(mask_size); 289 if (cpumask == NULL) { 294 cpu_map__snprint_mask(cpumap, cpumask, mask_size); 296 ret = write_tracing_file("tracing_cpumask", cpumask); 298 free(cpumask); 489 pr_err("failed to set tracing cpumask\n");
|
/linux-master/drivers/perf/ |
H A D | arm_dsu_pmu.c | 18 #include <linux/cpumask.h> 160 const cpumask_t *cpumask; local 164 cpumask = &dsu_pmu->active_cpu; 167 cpumask = &dsu_pmu->associated_cpus; 172 return cpumap_print_to_pagebuf(true, buf, cpumask); 217 DSU_CPUMASK_ATTR(cpumask, DSU_ACTIVE_CPU_MASK),
|
/linux-master/arch/powerpc/sysdev/xive/ |
H A D | common.c | 548 static int xive_find_target_in_mask(const struct cpumask *mask, 595 const struct cpumask *affinity) 718 const struct cpumask *cpumask, 729 if (cpumask_any_and(cpumask, cpu_online_mask) >= nr_cpu_ids) 738 cpumask_test_cpu(xd->target, cpumask)) 742 target = xive_pick_irq_target(d, cpumask); 717 xive_irq_set_affinity(struct irq_data *d, const struct cpumask *cpumask, bool force) argument
|
/linux-master/kernel/rcu/ |
H A D | tree_nocb.h | 1414 const struct cpumask *cpumask = NULL; local 1419 cpumask = tick_nohz_full_mask; 1423 !rcu_state.nocb_is_setup && !cpumask) 1424 cpumask = cpu_possible_mask; 1426 if (cpumask) { 1434 cpumask_or(rcu_nocb_mask, rcu_nocb_mask, cpumask);
|
/linux-master/drivers/pci/ |
H A D | pci-sysfs.c | 101 const struct cpumask *mask; 134 const struct cpumask *cpumask = cpumask_of_pcibus(to_pci_bus(dev)); local 136 return cpumap_print_to_pagebuf(false, buf, cpumask); 143 const struct cpumask *cpumask = cpumask_of_pcibus(to_pci_bus(dev)); local 145 return cpumap_print_to_pagebuf(true, buf, cpumask);
|
/linux-master/drivers/cpufreq/ |
H A D | acpi-cpufreq.c | 312 static u32 drv_read(struct acpi_cpufreq_data *data, const struct cpumask *mask) 335 const struct cpumask *mask, u32 val) 353 static u32 get_cur_val(const struct cpumask *mask, struct acpi_cpufreq_data *data) 400 const struct cpumask *mask, unsigned int freq) 420 const struct cpumask *mask;
|
/linux-master/arch/powerpc/kernel/ |
H A D | cacheinfo.c | 13 #include <linux/cpumask.h> 119 struct cpumask shared_cpu_map; /* online CPUs using this cache */ 685 const struct cpumask *mask;
|
/linux-master/kernel/ |
H A D | taskstats.c | 14 #include <linux/cpumask.h> 27 * Maximum length of a cpumask that can be specified in 295 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) 354 static int parse(struct nlattr *na, struct cpumask *mask)
|
/linux-master/drivers/virtio/ |
H A D | virtio_pci_common.c | 434 int vp_set_vq_affinity(struct virtqueue *vq, const struct cpumask *cpu_mask) 439 struct cpumask *mask; 458 const struct cpumask *vp_get_vq_affinity(struct virtio_device *vdev, int index)
|
/linux-master/drivers/irqchip/ |
H A D | irq-armada-370-xp.c | 220 const struct cpumask *mask, bool force) 366 const struct cpumask *mask) 467 const struct cpumask *mask_val, bool force)
|
H A D | irq-sifive-plic.c | 67 struct cpumask lmask; 113 static inline void plic_irq_toggle(const struct cpumask *mask, 164 const struct cpumask *mask_val, bool force)
|
/linux-master/arch/powerpc/perf/ |
H A D | imc-pmu.c | 100 /* Get the cpumask printed to a buffer "buf" */ 123 static DEVICE_ATTR(cpumask, S_IRUGO, imc_pmu_cpumask_get_attr, NULL); 360 const struct cpumask *l_cpumask; 392 * If this(target) is the last cpu in the cpumask for this chip, 399 * Update the cpumask with the target cpu and 423 const struct cpumask *l_cpumask; 424 static struct cpumask tmp_mask; 427 /* Get the cpumask of this node */ 649 const struct cpumask *l_cpumask; 650 static struct cpumask tmp_mas [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | sys_dp264.c | 151 dp264_set_affinity(struct irq_data *d, const struct cpumask *affinity, 163 clipper_set_affinity(struct irq_data *d, const struct cpumask *affinity,
|
/linux-master/arch/x86/events/amd/ |
H A D | iommu.c | 15 #include <linux/cpumask.h> 130 * sysfs cpumask attributes 140 static DEVICE_ATTR(cpumask, S_IRUGO, _iommu_cpumask_show, NULL); 484 /* Init cpumask attributes to only core 0 */
|