Lines Matching refs:t
1089 struct damon_target *t, *next; in damon_sysfs_destroy_targets() local
1092 damon_for_each_target_safe(t, next, ctx) { in damon_sysfs_destroy_targets()
1094 put_pid(t->pid); in damon_sysfs_destroy_targets()
1095 damon_destroy_target(t); in damon_sysfs_destroy_targets()
1099 static int damon_sysfs_set_regions(struct damon_target *t, in damon_sysfs_set_regions() argument
1122 err = damon_set_regions(t, ranges, sysfs_regions->nr); in damon_sysfs_set_regions()
1132 struct damon_target *t = damon_new_target(); in damon_sysfs_add_target() local
1135 if (!t) in damon_sysfs_add_target()
1137 damon_add_target(ctx, t); in damon_sysfs_add_target()
1139 t->pid = find_get_pid(sys_target->pid); in damon_sysfs_add_target()
1140 if (!t->pid) in damon_sysfs_add_target()
1143 err = damon_sysfs_set_regions(t, sys_target->regions); in damon_sysfs_add_target()
1197 struct damon_target *t, *next; in damon_sysfs_set_targets() local
1204 damon_for_each_target_safe(t, next, ctx) { in damon_sysfs_set_targets()
1206 err = damon_sysfs_update_target(t, ctx, in damon_sysfs_set_targets()
1212 put_pid(t->pid); in damon_sysfs_set_targets()
1213 damon_destroy_target(t); in damon_sysfs_set_targets()
1232 struct damon_target *t, *next; in damon_sysfs_before_terminate() local
1252 damon_for_each_target_safe(t, next, ctx) { in damon_sysfs_before_terminate()
1253 put_pid(t->pid); in damon_sysfs_before_terminate()
1254 damon_destroy_target(t); in damon_sysfs_before_terminate()