Home
last modified time | relevance | path

Searched refs:bitmask_alloc (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_list_compute.c70 mask1 = bitmask_alloc(MAX_NBITS); in main()
74 mask2 = bitmask_alloc(MAX_NBITS); in main()
78 mask3 = bitmask_alloc(MAX_NBITS); in main()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c183 bmp = bitmask_alloc(cpus_nbits); in get_ncpus()
233 bitmask_alloc(cpus_nbits); in get_sched_domains()
383 cpusa = bitmask_alloc(cpus_nbits); in partition_domains()
389 cpusb = bitmask_alloc(cpus_nbits); in partition_domains()
396 cpusc = bitmask_alloc(cpus_nbits); in partition_domains()
460 domains[j] = bitmask_alloc(cpus_nbits); in partition_domains()
Dlibcpuset.c620 if ((cp->cpus = bitmask_alloc(nbits)) == NULL) in cpuset_alloc()
624 if ((cp->mems = bitmask_alloc(nbits)) == NULL) in cpuset_alloc()
670 cp->cpus = bitmask_alloc(bitmask_nbits(cpus)); in cpuset_setcpus()
684 cp->mems = bitmask_alloc(bitmask_nbits(mems)); in cpuset_setmems()
992 if ((bmp = bitmask_alloc(nbits)) == NULL) in read_mask()
1464 if ((mems = bitmask_alloc(nmems)) == NULL) in parse_distmap_line()
1468 if ((cpus = bitmask_alloc(ncpus)) == NULL) in parse_distmap_line()
1610 if ((mems = bitmask_alloc(nmems)) == NULL) in parse_distmap_line_sn()
1614 if ((cpus = bitmask_alloc(ncpus)) == NULL) in parse_distmap_line_sn()
1718 if ((cpus = bitmask_alloc(ncpus)) == NULL) in cpuset_cpu2node()
[all …]
Dmeminfo.c103 bmp = bitmask_alloc(mems_nbits); in get_nmems()
Dbitmask.h148 struct bitmask *bitmask_alloc(unsigned int n);
Dlibbitmask.c84 struct bitmask *bitmask_alloc(unsigned int n) in bitmask_alloc() function
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_sched_domains_check.c76 alldomains = bitmask_alloc(cpus_nbits); in check_sched_domains()
Dcpuset_cpu_hog.c177 cpumask = bitmask_alloc(nbits); in cpu_hog()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c176 nmask = bitmask_alloc(nbits); in test_get_mempolicy()