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.c71 mask1 = bitmask_alloc(MAX_NBITS); in main()
75 mask2 = bitmask_alloc(MAX_NBITS); in main()
79 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.c621 if ((cp->cpus = bitmask_alloc(nbits)) == NULL) in cpuset_alloc()
625 if ((cp->mems = bitmask_alloc(nbits)) == NULL) in cpuset_alloc()
671 cp->cpus = bitmask_alloc(bitmask_nbits(cpus)); in cpuset_setcpus()
685 cp->mems = bitmask_alloc(bitmask_nbits(mems)); in cpuset_setmems()
993 if ((bmp = bitmask_alloc(nbits)) == NULL) in read_mask()
1465 if ((mems = bitmask_alloc(nmems)) == NULL) in parse_distmap_line()
1469 if ((cpus = bitmask_alloc(ncpus)) == NULL) in parse_distmap_line()
1611 if ((mems = bitmask_alloc(nmems)) == NULL) in parse_distmap_line_sn()
1615 if ((cpus = bitmask_alloc(ncpus)) == NULL) in parse_distmap_line_sn()
1719 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.c181 nmask = bitmask_alloc(nbits); in test_get_mempolicy()