Home
last modified time | relevance | path

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

/linux-6.1.9/mm/damon/
Ddbgfs.c393 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() argument
397 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() argument
413 *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()
/linux-6.1.9/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-6.1.9/kernel/trace/
Dtrace.c687 int nr_pids = 0; in trace_pid_write() local
714 nr_pids++; in trace_pid_write()
744 nr_pids++; in trace_pid_write()
756 if (!nr_pids) { in trace_pid_write()