Lines Matching refs:array
193 /* array of xids */
340 pid_t *array;
342 int pid, n = 0; /* used for populating the array */
356 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL);
357 if (!array) {
360 /* now, populate the array */
373 array[n++] = pid;
379 sort(array, length, sizeof(pid_t), cmppid, NULL);
381 length = pidlist_uniq(array, length);
386 kvfree(array);
390 /* store array, freeing old if necessary */
392 l->list = array;
401 * in the cgroup->l->list array.
459 /* If we're off the end of the array, we're done */
489 * Advance to the next pid in the array. If this goes off the