Home
last modified time | relevance | path

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

/linux-5.19.10/mm/damon/
Ddbgfs.c354 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids() argument
358 for (i = 0; i < nr_pids; i++) in dbgfs_put_pids()
368 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) in str_to_pids() argument
374 *nr_pids = 0; in str_to_pids()
384 for (; *nr_pids < nr_ints; (*nr_pids)++) { in str_to_pids()
385 pids[*nr_pids] = find_get_pid(ints[*nr_pids]); in str_to_pids()
386 if (!pids[*nr_pids]) { in str_to_pids()
387 dbgfs_put_pids(pids, *nr_pids); in str_to_pids()
/linux-5.19.10/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()