Lines Matching refs:length
196 int length;
249 static int pidlist_uniq(pid_t *list, int length)
257 if (length == 0 || length == 1) {
258 return length;
261 for (src = 1; src < length; src++) {
265 if (src == length) {
341 int length;
355 length = cgroup_task_count(cgrp);
356 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL);
363 if (unlikely(n == length)) {
377 length = n;
379 sort(array, length, sizeof(pid_t), cmppid, NULL);
381 length = pidlist_uniq(array, length);
393 l->length = length;
445 int end = l->length;
460 if (index >= l->length) {
487 pid_t *end = l->list + l->length;