/tools/testing/selftests/bpf/progs/ |
D | cpumask_common.h | 16 struct bpf_cpumask __kptr * cpumask; member 27 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym; 28 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym; 29 u32 bpf_cpumask_first(const struct cpumask *cpumask) __ksym; 30 u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym; 31 u32 bpf_cpumask_first_and(const struct cpumask *src1, 32 const struct cpumask *src2) __ksym; 33 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; 34 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; 35 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym; [all …]
|
D | cpumask_success.c | 68 struct bpf_cpumask *cpumask; in BPF_PROG() local 73 cpumask = create_cpumask(); in BPF_PROG() 74 if (!cpumask) in BPF_PROG() 77 bpf_cpumask_release(cpumask); in BPF_PROG() 84 struct bpf_cpumask *cpumask; in BPF_PROG() local 89 cpumask = create_cpumask(); in BPF_PROG() 90 if (!cpumask) in BPF_PROG() 93 bpf_cpumask_set_cpu(0, cpumask); in BPF_PROG() 94 if (!bpf_cpumask_test_cpu(0, cast(cpumask))) { in BPF_PROG() 99 bpf_cpumask_clear_cpu(0, cpumask); in BPF_PROG() [all …]
|
D | cpumask_failure.c | 23 struct bpf_cpumask *cpumask; in BPF_PROG() local 25 cpumask = create_cpumask(); in BPF_PROG() 26 __sink(cpumask); in BPF_PROG() 36 struct bpf_cpumask *cpumask; in BPF_PROG() local 38 cpumask = create_cpumask(); in BPF_PROG() 41 bpf_cpumask_release(cpumask); in BPF_PROG() 42 bpf_cpumask_release(cpumask); in BPF_PROG() 51 struct bpf_cpumask *cpumask; in BPF_PROG() local 54 cpumask = bpf_cpumask_acquire((struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG() 55 __sink(cpumask); in BPF_PROG() [all …]
|
D | nested_trust_common.h | 9 bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym; 10 bool bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym;
|
/tools/accounting/ |
D | procacct.c | 84 char cpumask[100+6*MAX_CPUS]; variable 299 strncpy(cpumask, optarg, sizeof(cpumask)); in main() 300 cpumask[sizeof(cpumask) - 1] = '\0'; in main() 314 strncpy(cpumask, "1", sizeof(cpumask)); in main() 315 cpumask[sizeof(cpumask) - 1] = '\0'; in main() 317 printf("cpumask %s maskset %d\n", cpumask, maskset); in main() 342 &cpumask, strlen(cpumask) + 1); in main() 400 &cpumask, strlen(cpumask) + 1); in main()
|
D | getdelays.c | 72 char cpumask[100+6*MAX_CPUS]; variable 339 strncpy(cpumask, optarg, sizeof(cpumask)); in main() 340 cpumask[sizeof(cpumask) - 1] = '\0'; in main() 342 printf("cpumask %s maskset %d\n", cpumask, maskset); in main() 417 &cpumask, strlen(cpumask) + 1); in main() 559 &cpumask, strlen(cpumask) + 1); in main()
|
/tools/testing/selftests/rcutorture/bin/ |
D | jitter.sh | 68 cpumask=`awk -v cpus="$cpus" -v me=$me -v n=$n 'BEGIN { 74 if ! taskset -c -p $cpumask $$ > /dev/null 2>&1 76 echo taskset failure: '"taskset -c -p ' $cpumask $$ '"'
|
/tools/testing/ktest/examples/bootconfigs/ |
D | boottrace.bconf | 37 cpumask = 1 46 cpumask = 2
|
/tools/workqueue/ |
D | wq_dump.py | 52 from drgn.helpers.linux.cpumask import for_each_cpu,for_each_possible_cpu 64 def cpumask_str(cpumask): argument 68 for cpu in for_each_cpu(cpumask[0]):
|
D | wq_monitor.py | 44 from drgn.helpers.linux.cpumask import for_each_possible_cpu
|
/tools/perf/ |
D | builtin-ftrace.c | 279 char *cpumask; in set_tracing_cpumask() local 288 cpumask = malloc(mask_size); in set_tracing_cpumask() 289 if (cpumask == NULL) { in set_tracing_cpumask() 294 cpu_map__snprint_mask(cpumap, cpumask, mask_size); in set_tracing_cpumask() 296 ret = write_tracing_file("tracing_cpumask", cpumask); in set_tracing_cpumask() 298 free(cpumask); in set_tracing_cpumask()
|
/tools/perf/bench/ |
D | numa.c | 252 struct bitmask *cpumask = numa_allocate_cpumask(); in node_has_cpus() local 256 BUG_ON(!cpumask); in node_has_cpus() 257 if (!numa_node_to_cpus(node, cpumask)) { in node_has_cpus() 258 for (cpu = 0; cpu < (int)cpumask->size; cpu++) { in node_has_cpus() 259 if (numa_bitmask_isbitset(cpumask, cpu)) { in node_has_cpus() 265 numa_free_cpumask(cpumask); in node_has_cpus() 342 struct bitmask *cpumask = numa_allocate_cpumask(); in bind_to_node() local 344 if (!cpumask) in bind_to_node() 347 if (!numa_node_to_cpus(target_node, cpumask)) { in bind_to_node() 348 for (cpu = 0; cpu < (int)cpumask->size; cpu++) { in bind_to_node() [all …]
|
/tools/cgroup/ |
D | memcg_slabinfo.py | 12 from drgn.helpers.linux.cpumask import for_each_online_cpu
|
/tools/bootconfig/scripts/ |
D | bconf2ftrace.sh | 255 set_value_of ${instance}.cpumask ${instancedir}/tracing_cpumask
|
/tools/testing/kunit/test_data/ |
D | test_output_isolated_correctly.log | 12 posix-timer cpumask == cpu_all_mask, using cpu_possible_mask instead
|