Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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.6.21/kernel/trace/
Dtrace.c728 int nr_pids = 0; in trace_pid_write() local
755 nr_pids++; in trace_pid_write()
785 nr_pids++; in trace_pid_write()
797 if (!nr_pids) { in trace_pid_write()