Lines Matching defs:pids
401 static void dbgfs_put_pids(struct pid **pids, int nr_pids)
406 put_pid(pids[i]);
419 struct pid **pids;
427 pids = kmalloc_array(nr_ints, sizeof(*pids), GFP_KERNEL);
428 if (!pids)
432 pids[*nr_pids] = find_get_pid(ints[*nr_pids]);
433 if (!pids[*nr_pids]) {
434 dbgfs_put_pids(pids, *nr_pids);
436 kfree(pids);
443 return pids;
450 * @pids: array of target pids (size is same to @nr_targets)
452 * This function should not be called while the kdamond is running. @pids is
454 * failure, reference counts of all pids in @pids are decremented.
459 struct pid **pids)
476 dbgfs_put_pids(pids, nr_targets);
480 t->pid = pids[i];