Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c2599 int npids; member
2679 pl->npids = 0; in cpuset_init_pidlist()
2681 pl->npids += pidcount(pb->buf, pb->buflen); in cpuset_init_pidlist()
2682 if ((pl->pids = calloc(pl->npids, sizeof(pid_t))) == NULL) in cpuset_init_pidlist()
2688 qsort(pl->pids, pl->npids, sizeof(pid_t), numericsort); in cpuset_init_pidlist()
2700 return pl->npids; in cpuset_pidlist_length()
2708 if (pl && i >= 0 && i < pl->npids) in cpuset_get_pidlist()
2758 for (i = 0; i < pl->npids; i++) in cpuset_move_all()
2925 for (i = 0; i < pl->npids; i++) in cpuset_migrate_all()