Home
last modified time | relevance | path

Searched refs:cpu_id (Results 1 – 25 of 222) sorted by relevance

123456789

/external/linux-kselftest/tools/testing/selftests/rseq/
Drseq-x86.h57 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ argument
59 "cmpl %[" __rseq_str(cpu_id) "], %[" __rseq_str(current_cpu_id) "]\n\t" \
88 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpeqv_storev()
94 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev()
104 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
105 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
145 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpnev_storeoffp_load()
152 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load()
166 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
167 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
[all …]
Drseq-arm.h51 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ argument
54 "cmp %[" __rseq_str(cpu_id) "], r0\n\t" \
92 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpeqv_storev()
99 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev()
112 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
113 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
154 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpnev_storeoffp_load()
161 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load()
177 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
178 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
[all …]
Drseq-ppc.h96 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ argument
99 "cmpw cr7, %[" __rseq_str(cpu_id) "], %%r17\n\t" \
175 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpeqv_storev()
182 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev()
191 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
192 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
230 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpnev_storeoffp_load()
237 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load()
252 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
253 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
[all …]
Drseq-mips.h77 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ argument
80 "bne $4, %[" __rseq_str(cpu_id) "], " __rseq_str(label) "\n\t"
119 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpeqv_storev()
125 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev()
137 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
138 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
179 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpnev_storeoffp_load()
185 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load()
200 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
201 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
[all …]
Drseq-s390.h78 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ argument
80 "c %[" __rseq_str(cpu_id) "], %[" __rseq_str(current_cpu_id) "]\n\t" \
107 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpeqv_storev()
113 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev()
123 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
124 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
165 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpnev_storeoffp_load()
172 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load()
186 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
187 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
[all …]
Drseq-arm64.h145 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ argument
147 RSEQ_ASM_OP_CMPEQ32(current_cpu_id, cpu_id, label)
186 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpeqv_storev()
191 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpeqv_storev()
198 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
199 [current_cpu_id] "Qo" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
235 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in rseq_cmpnev_storeoffp_load()
240 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, %l[error1]) in rseq_cmpnev_storeoffp_load()
250 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
251 [current_cpu_id] "Qo" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
[all …]
/external/autotest/client/site_tests/kernel_CheckArmErrata/
Dkernel_CheckArmErrata.py108 def _get_regid_to_val(cpu_id): argument
122 cpu_id).stdout.strip()
129 if not line.startswith("CPU %d: " % cpu_id):
132 (cpu_id, line.split(":")[0]))
204 cpu_id = cpuinfo["processor"]
216 regid_to_val = self._get_regid_to_val(cpu_id)
232 logging.info("CPU %d: erratum 818325 / 852422 good", cpu_id)
242 logging.info("CPU %d: erratum 821420 good", cpu_id)
251 logging.info("CPU %d: erratum 825619 good", cpu_id)
317 cpu_id = cpuinfo["processor"]
[all …]
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c22 static inline int get_cpu(unsigned *cpu_id, in get_cpu() argument
27 return syscall(__NR_getcpu, cpu_id, node_id, cache_struct); in get_cpu()
29 *cpu_id = sched_getcpu(); in get_cpu()
81 static unsigned int get_nodeid(unsigned int cpu_id) in get_nodeid() argument
109 if (cpu == cpu_id) { in get_nodeid()
125 unsigned int cpu_id, node_id = 0; in run() local
136 TEST(get_cpu(&cpu_id, &node_id, NULL)); in run()
138 if (cpu_id != cpu_set) in run()
141 cpu_set, cpu_id); in run()
150 " cpuid:%d, node id:%d", cpu_id, in run()
/external/u-boot/arch/arm/mach-zynq/
Dcpu.c113 int cpu_id = cpu_desc_id(); in arch_early_init_r() local
115 if (cpu_id < 0) in arch_early_init_r()
118 fpga.size = zynq_fpga_descs[cpu_id].fpga_size; in arch_early_init_r()
119 fpga.name = zynq_fpga_descs[cpu_id].devicename; in arch_early_init_r()
131 int cpu_id = cpu_desc_id(); in print_cpuinfo() local
133 if (cpu_id < 0) in print_cpuinfo()
140 printf("CPU: Zynq %s\n", zynq_fpga_descs[cpu_id].devicename); in print_cpuinfo()
/external/perfetto/protos/perfetto/trace/ftrace/
Dpower.proto11 optional uint32 cpu_id = 2; field
16 optional uint32 cpu_id = 3; field
20 optional uint32 cpu_id = 2; field
25 optional uint64 cpu_id = 3; field
30 optional uint64 cpu_id = 3; field
35 optional uint64 cpu_id = 3; field
/external/bcc/examples/networking/xdp/
Dxdp_redirect_cpu.py24 cpu_id = int(sys.argv[2]) variable
27 if (cpu_id > max_cpu):
72 dest[0] = ct.c_uint32(cpu_id)
75 cpumap[cpu_id] = ct.c_uint32(192)
89 print("{} pkt/s to CPU {}".format(delta, cpu_id))
/external/u-boot/board/synopsys/hsdk/
Dhsdk.c183 static bool is_cpu_used(u32 cpu_id) in is_cpu_used() argument
185 return !!(env_common.core_mask.val & BIT(cpu_id)); in is_cpu_used()
278 static void smp_kick_cpu_x(u32 cpu_id) in smp_kick_cpu_x() argument
282 if (cpu_id > NR_CPUS) in smp_kick_cpu_x()
286 cmd |= (1 << cpu_id); in smp_kick_cpu_x()
355 static noinline void do_init_slave_cpu(u32 cpu_id) in do_init_slave_cpu() argument
359 u32 stack_ptr = (u32)(slave_stack + (64 * cpu_id)); in do_init_slave_cpu()
361 if (cpu_id >= NR_CPUS) in do_init_slave_cpu()
369 debug("CPU %u: stack pool base: %p\n", cpu_id, slave_stack); in do_init_slave_cpu()
370 debug("CPU %u: current slave stack base: %x\n", cpu_id, stack_ptr); in do_init_slave_cpu()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/power/cpu_frequency_switch_end/
Dformat9 field:u32 cpu_id; offset:8; size:4; signed:0;
11 print fmt: "cpu_id=%lu", (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/power/power_end/
Dformat10 field:u64 cpu_id; offset:16; size:8; signed:0;
12 print fmt: "cpu_id=%lu", (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/power/cpu_frequency_switch_end/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "cpu_id=%lu", (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/power/cpu_idle/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/power/cpu_frequency/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/power/cpu_hotplug/
Dformat9 field:u32 cpu_id; offset:8; size:4; signed:0;
12 print fmt: "cpu_id=%lu, state=%lu", (unsigned long)REC->cpu_id, (unsigned long)REC->state
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/power/cpu_idle/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/power/cpu_idle/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/power/cpu_frequency/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/power/cpu_capacity/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/power/cpu_frequency/
Dformat10 field:u32 cpu_id; offset:12; size:4; signed:0;
12 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/power/cpu_idle/
Dformat11 field:u32 cpu_id; offset:16; size:4; signed:0;
13 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/power/cpu_frequency/
Dformat11 field:u32 cpu_id; offset:16; size:4; signed:0;
13 print fmt: "state=%lu cpu_id=%lu", (unsigned long)REC->state, (unsigned long)REC->cpu_id

123456789