Home
last modified time | relevance | path

Searched refs:nr_pids (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/mm/damon/
Ddbgfs.c401 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() argument
405 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() argument
421 *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()
/Linux-v6.6/kernel/cgroup/
Dpids.c89 static void pids_update_watermark(struct pids_cgroup *p, int64_t nr_pids) in pids_update_watermark() argument
95 if (nr_pids > READ_ONCE(p->watermark)) in pids_update_watermark()
96 WRITE_ONCE(p->watermark, nr_pids); in pids_update_watermark()
/Linux-v6.6/kernel/trace/
Dtrace.c727 int nr_pids = 0; in trace_pid_write() local
754 nr_pids++; in trace_pid_write()
784 nr_pids++; in trace_pid_write()
796 if (!nr_pids) { in trace_pid_write()