Searched refs:nr_pids (Results 1 – 3 of 3) sorted by relevance
401 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() argument405 for (i = 0; i < nr_pids; i++) in dbgfs_put_pids()415 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) in str_to_pids() argument421 *nr_pids = 0; in str_to_pids()431 for (; *nr_pids < nr_ints; (*nr_pids)++) { in str_to_pids()432 pids[*nr_pids] = find_get_pid(ints[*nr_pids]); in str_to_pids()433 if (!pids[*nr_pids]) { in str_to_pids()434 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()
728 int nr_pids = 0; in trace_pid_write() local755 nr_pids++; in trace_pid_write()785 nr_pids++; in trace_pid_write()797 if (!nr_pids) { in trace_pid_write()