Home
last modified time | relevance | path

Searched refs:cpu2 (Results 1 – 53 of 53) sorted by relevance

/linux-4.4.14/kernel/locking/
Dlglock.c63 void lg_double_lock(struct lglock *lg, int cpu1, int cpu2) in lg_double_lock() argument
65 BUG_ON(cpu1 == cpu2); in lg_double_lock()
68 if (cpu2 < cpu1) in lg_double_lock()
69 swap(cpu1, cpu2); in lg_double_lock()
74 arch_spin_lock(per_cpu_ptr(lg->lock, cpu2)); in lg_double_lock()
77 void lg_double_unlock(struct lglock *lg, int cpu1, int cpu2) in lg_double_unlock() argument
81 arch_spin_unlock(per_cpu_ptr(lg->lock, cpu2)); in lg_double_unlock()
/linux-4.4.14/kernel/
Dstop_machine.c220 int cpu2, struct cpu_stop_work *work2) in cpu_stop_queue_two_works() argument
223 struct cpu_stopper *stopper2 = per_cpu_ptr(&cpu_stopper, cpu2); in cpu_stop_queue_two_works()
226 lg_double_lock(&stop_cpus_lock, cpu1, cpu2); in cpu_stop_queue_two_works()
240 lg_double_unlock(&stop_cpus_lock, cpu1, cpu2); in cpu_stop_queue_two_works()
255 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
278 if (cpu1 > cpu2) in stop_two_cpus()
279 swap(cpu1, cpu2); in stop_two_cpus()
280 if (cpu_stop_queue_two_works(cpu1, &work1, cpu2, &work2)) { in stop_two_cpus()
/linux-4.4.14/include/linux/
Dlglock.h61 void lg_double_lock(struct lglock *lg, int cpu1, int cpu2);
62 void lg_double_unlock(struct lglock *lg, int cpu1, int cpu2);
Dstop_machine.h31 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
/linux-4.4.14/arch/x86/kernel/
Dsmpboot.c283 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in topology_same_node() local
285 return (cpu_to_node(cpu1) == cpu_to_node(cpu2)); in topology_same_node()
291 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in topology_sane() local
296 cpu1, name, cpu2, cpu_to_node(cpu1), cpu_to_node(cpu2)); in topology_sane()
308 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in match_smt() local
311 per_cpu(cpu_llc_id, cpu1) == per_cpu(cpu_llc_id, cpu2) && in match_smt()
325 int cpu1 = c->cpu_index, cpu2 = o->cpu_index; in match_llc() local
328 per_cpu(cpu_llc_id, cpu1) == per_cpu(cpu_llc_id, cpu2)) in match_llc()
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dsnps,archs-idu-intc.txt16 0=Round Robin; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
35 * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dmt8173-cpu-dvfs.txt45 cpu2: cpu@100 {
75 &cpu2 {
/linux-4.4.14/arch/arm64/boot/dts/sprd/
Dsc9836.dtsi33 cpu2: cpu@2 { label
154 cpu = <&cpu2>;
/linux-4.4.14/arch/arm64/boot/dts/hisilicon/
Dhi6220.dtsi34 cpu = <&cpu2>;
70 cpu2: cpu@2 { label
Dhip05.dtsi38 cpu = <&cpu2>;
102 cpu2: cpu@20002 { label
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_amd_uncore.c520 unsigned int cpu, cpu2; in amd_uncore_init() local
577 for_each_online_cpu(cpu2) { in amd_uncore_init()
578 if (cpu2 == cpu) in amd_uncore_init()
/linux-4.4.14/arch/arc/boot/dts/
Dnsim_hs_idu.dts45 * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
Dvdk_axc003_idu.dtsi40 * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
Dnsimosci_hs_idu.dts50 * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
Daxc003_idu.dtsi39 * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
/linux-4.4.14/arch/arm/boot/dts/
Dexynos5422-cpus.dtsi35 &cpu2 {
Dmt8135.dtsi38 cpu = <&cpu2>;
63 cpu2: cpu@100 { label
Dvexpress-v2p-ca15_a7.dts52 cpu2: cpu@2 { label
213 interrupt-affinity = <&cpu2>,
543 cpu = <&cpu2>;
Dexynos5440.dtsi252 cpu2_thermal: cpu2-thermal {
Dvexpress-v2m-rs1.dtsi348 linux,default-trigger = "cpu2";
Dvexpress-v2m.dtsi347 linux,default-trigger = "cpu2";
Dexynos5420.dtsi73 cpu2: cpu@2 { label
828 cpu2_thermal: cpu2-thermal {
Dexynos4415.dtsi65 cpu2: cpu@a02 { label
Drk3288.dtsi82 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
121 cpu2: cpu@502 { label
Dsun9i-a80.dtsi70 cpu2: cpu@2 { label
Dr8a7790.dtsi72 cpu2: cpu@2 { label
/linux-4.4.14/arch/arm64/boot/dts/marvell/
Dberlin4ct.dtsi80 cpu2: cpu@2 { label
109 <&cpu2>,
/linux-4.4.14/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi42 cpu2: cpu@2 { label
65 <&cpu2>,
/linux-4.4.14/arch/arm64/boot/dts/mediatek/
Dmt6795.dtsi46 cpu2: cpu@2 { label
Dmt8173.dtsi43 cpu = <&cpu2>;
67 cpu2: cpu@100 { label
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dt208xsi-pre.dtsi95 cpu2: PowerPC,e6500@4 { label
Dt104xsi-pre.dtsi92 cpu2: PowerPC,e5500@2 { label
Db4860si-pre.dtsi88 cpu2: PowerPC,e6500@4 { label
Dp2041si-pre.dtsi109 cpu2: PowerPC,e500mc@2 { label
Dp3041si-pre.dtsi110 cpu2: PowerPC,e500mc@2 { label
Dp5040si-pre.dtsi116 cpu2: PowerPC,e5500@2 { label
Dt4240si-pre.dtsi102 cpu2: PowerPC,e6500@4 { label
Dp4080si-pre.dtsi114 cpu2: PowerPC,e500mc@2 { label
Db4860si-post.dtsi100 cpu-handle = <&cpu2>;
Dp2041si-post.dtsi224 cpu-handle = <&cpu2>;
Dp3041si-post.dtsi251 cpu-handle = <&cpu2>;
Dp5040si-post.dtsi203 cpu-handle = <&cpu2>;
Dt1040si-post.dtsi226 cpu-handle = <&cpu2>;
Dp4080si-post.dtsi230 cpu-handle = <&cpu2>;
Dt2081si-post.dtsi232 cpu-handle = <&cpu2>;
Dt4240si-post.dtsi262 cpu-handle = <&cpu2>;
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi199 linux,default-trigger = "cpu2";
Dvexpress-v2m-rs1.dtsi348 linux,default-trigger = "cpu2";
/linux-4.4.14/Documentation/
Dcputopology.txt117 started with possible_cpus=144. There are 4 CPUs in the system and cpu2
Dcpu-hotplug.txt167 drwxr-xr-x 3 root root 0 Sep 19 07:44 cpu2
/linux-4.4.14/tools/virtio/virtio-trace/
DREADME84 trace-path-cpu1, trace-path-cpu2, and agent-ctl-path.
/linux-4.4.14/Documentation/ia64/
Derr_inject.txt49 #On cpu2, inject only total 0x10 errors, interval 5 seconds
/linux-4.4.14/kernel/trace/
DKconfig260 echo 1 > /sys/kernel/debug/tracing/per_cpu/cpu2/snapshot