Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 25 of 146) sorted by relevance

123456

/external/autotest/client/tests/tsc/src/
Dsched.h16 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) argument
17 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) argument
33 # define __CPU_SET(cpu, cpusetp) \ argument
35 # define __CPU_CLR(cpu, cpusetp) \ argument
37 # define __CPU_ISSET(cpu, cpusetp) \ argument
42 #define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp) argument
43 #define CPU_CLR(cpu, cpusetp) __CPU_CLR (cpu, cpusetp) argument
44 #define CPU_ISSET(cpu, cpusetp) __CPU_ISSET (cpu, cpusetp) argument
/external/ltp/testcases/open_posix_testsuite/include/
Daffinity.h32 static int set_affinity(int cpu) in set_affinity()
45 int cpu = -1; in get_online_cpu_from_sysfs() local
59 int cpu = -1; in get_online_cpu_from_cpuinfo() local
85 int cpu; in set_affinity_single() local
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c33 void child(int cpu) in child()
57 bool run_test(int cpu) in run_test()
172 int cpu; in main() local
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
Dtest_per_cpu_allocator_module.c88 static unsigned long seed_val(unsigned int cmdno, unsigned int cpu) in seed_val()
96 unsigned int cpu; in fill_area() local
113 unsigned int cpu; in verify_area() local
195 unsigned int cpu; in test_init() local
/external/autotest/client/tests/monotonic_time/src/
Dcpuset.c19 int cpu; in count_cpus() local
38 int cpu; in parse_cpu_set() local
116 int cpu; in show_cpu_set() local
/external/linux-kselftest/tools/testing/selftests/vm/
Duserfaultfd.c111 unsigned long cpu = (unsigned long) arg; in locking_thread() local
247 unsigned long cpu = (unsigned long) arg; in uffd_poll_thread() local
335 unsigned long cpu = (unsigned long) arg; in background_thread() local
348 unsigned long cpu; in stress() local
424 unsigned long cpu; in userfaultfd_stress() local
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dcpu_event_vs_ebb_test.c22 static int setup_cpu_event(struct event *event, int cpu) in setup_cpu_event()
41 int cpu, rc; in cpu_event_vs_ebb() local
Dcpu_event_pinned_vs_ebb_test.c22 static int setup_cpu_event(struct event *event, int cpu) in setup_cpu_event()
43 int cpu, rc; in cpu_event_pinned_vs_ebb() local
Debb_vs_cpu_event_test.c22 static int setup_cpu_event(struct event *event, int cpu) in setup_cpu_event()
41 int cpu, rc; in ebb_vs_cpu_event() local
/external/clang/test/CodeGen/
Dpr4349.c10 struct cpu struct
14 extern struct cpu cpu; argument
/external/blktrace/
Dblktrace.c138 int cpu, len; member
168 int cpu, nios; member
185 u32 cpu; /* for which cpu */ member
484 static inline void pdc_dr_update(struct devpath *dpp, int cpu, int data_read) in pdc_dr_update()
489 static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents) in pdc_nev_update()
607 static int lock_on_cpu(int cpu) in lock_on_cpu()
856 static int net_send_header(int fd, int cpu, char *buts_name, int len) in net_send_header()
876 static void net_send_open_close(int fd, int cpu, char *buts_name, int len) in net_send_open_close()
884 static void net_send_open(int fd, int cpu, char *buts_name) in net_send_open()
1007 int cpu; in open_client_connections() local
[all …]
/external/fio/
Dgettime-thread.c41 unsigned int cpu; member
98 void fio_gtod_set_cpu(unsigned int cpu) in fio_gtod_set_cpu()
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
Devent.c16 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, in perf_event_open()
52 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd) in event_open_with_options()
73 int event_open_with_cpu(struct event *e, int cpu) in event_open_with_cpu()
Dlib.c18 int bind_to_cpu(int cpu) in bind_to_cpu()
119 int cpu, rc; in eat_cpu() local
/external/fio/os/
Dos-freebsd.h33 #define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask)) argument
34 #define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask)) argument
35 #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask)) argument
Dos-solaris.h104 #define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL) argument
105 #define fio_cpu_set(mask, cpu) pset_assign(*(mask), (cpu), NULL) argument
107 static inline int fio_cpu_isset(os_cpu_mask_t *mask, int cpu) in fio_cpu_isset()
Dos-windows.h203 static inline void fio_cpu_clear(os_cpu_mask_t *mask, int cpu) in fio_cpu_clear()
208 static inline void fio_cpu_set(os_cpu_mask_t *mask, int cpu) in fio_cpu_set()
213 static inline int fio_cpu_isset(os_cpu_mask_t *mask, int cpu) in fio_cpu_isset()
/external/syslinux/com32/gpllib/
Dcpuid.c35 bool get_cpu_flag_value_from_name(s_cpu *cpu, const char * flag_name) { in get_cpu_flag_value_from_name()
491 void set_cpu_flags(struct cpuinfo_x86 *c, s_cpu * cpu) in set_cpu_flags()
584 void set_generic_info(struct cpuinfo_x86 *c, s_cpu * cpu) in set_generic_info()
599 void detect_cpu(s_cpu * cpu) in detect_cpu()
/external/valgrind/tests/
Dx86_amd64_features.c71 static Bool go(char* cpu) in go()
163 static Bool go(char* cpu) in go()
Ds390x_features.c201 static int go(char *feature, char *cpu) in go()
293 static int go(char *feature, char *cpu) in go()
/external/syslinux/com32/modules/
Dcpuidtest.c44 s_cpu cpu; in main() local
/external/autotest/server/site_tests/platform_KernelErrorPaths/
Dplatform_KernelErrorPaths.py30 def _provoke_crash(self, interface, trigger, cpu): argument
87 def _wait_for_restart_and_check(self, boot_id, trigger, text, cpu=0, argument
/external/iptables/include/linux/netfilter/
Dxt_cpu.h7 __u32 cpu; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_cpu.h7 __u32 cpu; member
/external/linux-kselftest/tools/testing/selftests/intel_pstate/
Dmsr.c14 int cpu, fd; in main() local

123456