Lines Matching refs:targets
368 unsigned long *targets; in dbgfs_target_ids_write() local
383 targets = str_to_target_ids(kbuf, count, &nr_targets); in dbgfs_target_ids_write()
384 if (!targets) { in dbgfs_target_ids_write()
391 targets[i] = (unsigned long)find_get_pid( in dbgfs_target_ids_write()
392 (int)targets[i]); in dbgfs_target_ids_write()
393 if (!targets[i]) { in dbgfs_target_ids_write()
394 dbgfs_put_pids(targets, i); in dbgfs_target_ids_write()
404 dbgfs_put_pids(targets, nr_targets); in dbgfs_target_ids_write()
422 ret = damon_set_targets(ctx, targets, nr_targets); in dbgfs_target_ids_write()
425 dbgfs_put_pids(targets, nr_targets); in dbgfs_target_ids_write()
433 kfree(targets); in dbgfs_target_ids_write()