Home
last modified time | relevance | path

Searched refs:cpumask (Results 1 – 17 of 17) sorted by relevance

/external/ltp/testcases/kernel/lib/
Dnuma_helper.c102 static int cpumask_has_cpus(char *cpumask, size_t len) in cpumask_has_cpus() argument
106 if (cpumask[j] == '\0') in cpumask_has_cpus()
108 else if ((cpumask[j] > '0' && cpumask[j] <= '9') || in cpumask_has_cpus()
109 (cpumask[j] >= 'a' && cpumask[j] <= 'f')) in cpumask_has_cpus()
117 char *cpumask = NULL; in filter_nodemask_cpu() local
129 ret = getdelim(&cpumask, &len, '\n', f); in filter_nodemask_cpu()
130 if ((ret > 0) && (!cpumask_has_cpus(cpumask, len))) in filter_nodemask_cpu()
135 free(cpumask); in filter_nodemask_cpu()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_cpu_hog.c166 struct bitmask *cpumask = NULL; in cpu_hog() local
177 cpumask = bitmask_alloc(nbits); in cpu_hog()
178 if (cpumask == NULL) { in cpu_hog()
194 if (cpuset_getcpus(cp, cpumask) != 0) { in cpu_hog()
207 if (!bitmask_isbitset(cpumask, cpu)) { in cpu_hog()
209 bitmask_displaylist(str, 50, cpumask); in cpu_hog()
218 bitmask_free(cpumask); in cpu_hog()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c88 int online_cpumask(struct bitmask *cpumask) in online_cpumask() argument
94 if (cpumask == NULL) in online_cpumask()
105 bitmask_setbit(cpumask, i); in online_cpumask()
116 if (bitmask_parselist(buf, cpumask) != 0) in online_cpumask()
129 int present_cpumask(struct bitmask *cpumask) in present_cpumask() argument
136 if (cpumask == NULL) in present_cpumask()
148 bitmask_setbit(cpumask, cpu); in present_cpumask()
160 if (bitmask_parselist(buf, cpumask) != 0) in present_cpumask()
Dcpuinfo.h18 extern int online_cpumask(struct bitmask *cpumask);
19 extern int present_cpumask(struct bitmask *cpumask);
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Djitter.sh46 cpumask=`awk -v cpus="$cpus" -v me=$me -v n=$n 'BEGIN {
56 if ! taskset -p $cpumask $$ > /dev/null 2>&1
58 echo taskset failure: '"taskset -p ' $cpumask $$ '"'
/external/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c72 char cpumask[100 + 6 * MAX_CPUS]; variable
314 strncpy(cpumask, optarg, sizeof(cpumask)); in main()
316 printf("cpumask %s maskset %d\n", cpumask, maskset); in main()
367 &cpumask, strlen(cpumask) + 1); in main()
519 &cpumask, strlen(cpumask) + 1); in main()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/thermal_power_cpu_limit/
Dformat9 field:__data_loc unsigned long[] cpumask; offset:8; size:4; signed:0;
14 print fmt: "cpus=%s freq=%u cdev_state=%lu power=%u", __get_bitmask(cpumask), REC->freq, REC->cdev_…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/thermal/thermal_power_cpu_get_power/
Dformat9 field:__data_loc unsigned long[] cpumask; offset:8; size:4; signed:0;
16 print fmt: "cpus=%s freq=%lu load={%s} dynamic_power=%d static_power=%d", __get_bitmask(cpumask), R…
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c320 cpu_set_t cpumask; in start_task() local
341 CPU_ZERO(&cpumask); in start_task()
342 CPU_SET(cpu, &cpumask); in start_task()
344 sched_setaffinity(0, sizeof(cpumask), &cpumask); in start_task()
/external/libabigail/tests/data/test-diff-suppr/
Dtest46-PR25128-report-1.txt8 [A] 'function void arch_set_max_freq_scale(cpumask*, unsigned long int)'
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dexpand-condsets-rm-segment.ll6 %struct.cpumask = type { [1 x i32] }
19 @cpu_online_mask = external constant %struct.cpumask*
/external/llvm/test/CodeGen/Hexagon/
Dexpand-condsets-rm-segment.ll7 %struct.cpumask = type { [1 x i32] }
20 @cpu_online_mask = external constant %struct.cpumask*
/external/iperf3/src/
Diperf.h268 cpuset_t cpumask; member
Diperf_api.c2480 CPU_ZERO(&testp->cpumask); in iperf_defaults()
2760 CPU_ZERO(&test->cpumask); in iperf_reset_test()
4246 cpuset_t cpumask; in iperf_setaffinity()
4249 sizeof(cpuset_t), &test->cpumask) != 0) { in iperf_setaffinity()
4254 CPU_ZERO(&cpumask); in iperf_setaffinity()
4255 CPU_SET(affinity, &cpumask); in iperf_setaffinity()
4258 sizeof(cpuset_t), &cpumask) != 0) { in iperf_setaffinity()
4295 sizeof(cpuset_t), &test->cpumask) != 0) { in iperf_clearaffinity()
/external/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi4752 …' filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/cpumask.h' line='16' colu…
4753 …ame='cpumask' size-in-bits='64' is-struct='yes' visibility='default' filepath='/ws/android/kernel/…
4755 …' filepath='/ws/android/kernel/aosp/common-mainline/common/include/linux/cpumask.h' line='16' colu…
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi2763 …<typedef-decl name="cpumask_t" type-id="1354385d" filepath="include/linux/cpumask.h" line="16" col…
2764 …<class-decl name="cpumask" size-in-bits="64" is-struct="yes" visibility="default" filepath="includ…
2766 …e="bits" type-id="f066dd3c" visibility="default" filepath="include/linux/cpumask.h" line="16" colu…
6997 …<var-decl name="cpumask" type-id="b16b461b" visibility="default" filepath="include/linux/workqueue…
7938 …<typedef-decl name="cpumask_var_t" type-id="db98c084" filepath="include/linux/cpumask.h" line="722…
23026 …<var-decl name="cpumask" type-id="b16b461b" visibility="default" filepath="include/linux/blk-mq.h"…
32387 …<var-decl name="cpumask" type-id="74bccedd" visibility="default" filepath="include/linux/cpuidle.h…
32494 …<var-decl name="cpumask" type-id="74bccedd" visibility="default" filepath="include/linux/cpuidle.h…
58725 …<var-decl name="cpumask" type-id="b16b461b" visibility="default" filepath="include/linux/blk-mq.h"…
70305 …<var-decl name="cpumask" type-id="c99b5ecd" visibility="default" filepath="kernel/sched/sched.h" l…
[all …]
Dtest-PR27569-v0.abi2763 …<typedef-decl name="cpumask_t" type-id="1354385d" filepath="include/linux/cpumask.h" line="16" col…
2764 …<class-decl name="cpumask" size-in-bits="64" is-struct="yes" visibility="default" filepath="includ…
2766 …e="bits" type-id="f066dd3c" visibility="default" filepath="include/linux/cpumask.h" line="16" colu…
6997 …<var-decl name="cpumask" type-id="b16b461b" visibility="default" filepath="include/linux/workqueue…
7938 …<typedef-decl name="cpumask_var_t" type-id="db98c084" filepath="include/linux/cpumask.h" line="722…
23018 …<var-decl name="cpumask" type-id="b16b461b" visibility="default" filepath="include/linux/blk-mq.h"…
32358 …<var-decl name="cpumask" type-id="74bccedd" visibility="default" filepath="include/linux/cpuidle.h…
32465 …<var-decl name="cpumask" type-id="74bccedd" visibility="default" filepath="include/linux/cpuidle.h…
58711 …<var-decl name="cpumask" type-id="b16b461b" visibility="default" filepath="include/linux/blk-mq.h"…
70291 …<var-decl name="cpumask" type-id="c99b5ecd" visibility="default" filepath="kernel/sched/sched.h" l…
[all …]