Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/bionic/
Dsched_getcpu.cpp35 unsigned cpu; in sched_getcpu() local
36 int rc = __getcpu(&cpu, NULL, NULL); in sched_getcpu()
40 return cpu; in sched_getcpu()
Dsysinfo.cpp41 unsigned cpu; in __matches_cpuN() local
43 return (sscanf(s, "cpu%u%c", &cpu, &dummy) == 1); in __matches_cpuN()
/bionic/libc/private/
Dget_cpu_count_from_string.h38 int cpu = static_cast<int>(strtol(s, const_cast<char**>(&s), 10)); in GetCpuCountFromString() local
40 cpu_count += cpu - last_cpu; in GetCpuCountFromString()
44 last_cpu = cpu; in GetCpuCountFromString()
/bionic/libc/include/
Dsched.h80 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) argument
81 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) argument
82 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) argument
105 #define CPU_SET_S(cpu, setsize, set) \ argument
107 size_t __cpu = (cpu); \
112 #define CPU_CLR_S(cpu, setsize, set) \ argument
114 size_t __cpu = (cpu); \
119 #define CPU_ISSET_S(cpu, setsize, set) \ argument
121 size_t __cpu = (cpu); \
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_cpu.h24 __u32 cpu; member
/bionic/tests/
Dsys_ptrace_test.cpp193 static void watchpoint_stress_child(unsigned cpu, T& data) { in watchpoint_stress_child() argument
196 CPU_SET(cpu, &cpus); in watchpoint_stress_child()
207 static void run_watchpoint_stress(size_t cpu) { in run_watchpoint_stress() argument
208 run_watchpoint_test<T>(std::bind(watchpoint_stress_child<T>, cpu, std::placeholders::_1), 0, in run_watchpoint_stress()
219 for (size_t cpu = 0; cpu < CPU_SETSIZE; ++cpu) { in TEST() local
220 if (!CPU_ISSET(cpu, &available_cpus)) continue; in TEST()
222 run_watchpoint_stress<uint8_t>(cpu); in TEST()
223 run_watchpoint_stress<uint16_t>(cpu); in TEST()
224 run_watchpoint_stress<uint32_t>(cpu); in TEST()
226 run_watchpoint_stress<uint64_t>(cpu); in TEST()
/bionic/libc/kernel/uapi/asm-x86/asm/
Dmce.h42 __u8 cpu; member
/bionic/libc/kernel/uapi/linux/
Dcn_proc.h44 __u32 cpu; member
Dblktrace_api.h119 __u32 cpu; member
/bionic/libc/kernel/uapi/asm-mips/asm/
Dkvm.h111 __u32 cpu; member
/bionic/libc/arch-arm/denver/bionic/
Dmemset.S38 .cpu cortex-a15
/bionic/libc/
DSECCOMP_WHITELIST.TXT41 int perf_event_open:perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd,…