Searched refs:nr_pids (Results 1 – 3 of 3) sorted by relevance
393 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() argument397 for (i = 0; i < nr_pids; i++) in dbgfs_put_pids()407 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) in str_to_pids() argument413 *nr_pids = 0; in str_to_pids()423 for (; *nr_pids < nr_ints; (*nr_pids)++) { in str_to_pids()424 pids[*nr_pids] = find_get_pid(ints[*nr_pids]); in str_to_pids()425 if (!pids[*nr_pids]) { in str_to_pids()426 dbgfs_put_pids(pids, *nr_pids); in str_to_pids()
89 static void pids_update_watermark(struct pids_cgroup *p, int64_t nr_pids) in pids_update_watermark() argument95 if (nr_pids > READ_ONCE(p->watermark)) in pids_update_watermark()96 WRITE_ONCE(p->watermark, nr_pids); in pids_update_watermark()
687 int nr_pids = 0; in trace_pid_write() local714 nr_pids++; in trace_pid_write()744 nr_pids++; in trace_pid_write()756 if (!nr_pids) { in trace_pid_write()