Lines Matching defs:pids
404 static void dbgfs_put_pids(struct pid **pids, int nr_pids)
409 put_pid(pids[i]);
422 struct pid **pids;
430 pids = kmalloc_array(nr_ints, sizeof(*pids), GFP_KERNEL);
431 if (!pids)
435 pids[*nr_pids] = find_get_pid(ints[*nr_pids]);
436 if (!pids[*nr_pids]) {
437 dbgfs_put_pids(pids, *nr_pids);
439 kfree(pids);
446 return pids;
453 * @pids: array of target pids (size is same to @nr_targets)
455 * This function should not be called while the kdamond is running. @pids is
457 * failure, reference counts of all pids in @pids are decremented.
462 struct pid **pids)
479 dbgfs_put_pids(pids, nr_targets);
483 t->pid = pids[i];