Lines Matching refs:damon_sysfs_kdamond
939 struct damon_sysfs_kdamond { struct
945 static struct damon_sysfs_kdamond *damon_sysfs_kdamond_alloc(void) in damon_sysfs_kdamond_alloc() argument
947 return kzalloc(sizeof(struct damon_sysfs_kdamond), GFP_KERNEL); in damon_sysfs_kdamond_alloc()
950 static int damon_sysfs_kdamond_add_dirs(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_kdamond_add_dirs()
971 static void damon_sysfs_kdamond_rm_dirs(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_kdamond_rm_dirs()
1059 struct damon_sysfs_kdamond *kdamond;
1068 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in state_show()
1069 struct damon_sysfs_kdamond, kobj); in state_show()
1189 struct damon_sysfs_kdamond *kdamond; in damon_sysfs_before_terminate()
1224 static int damon_sysfs_upd_schemes_stats(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_upd_schemes_stats()
1236 struct damon_sysfs_kdamond *kdamond, bool total_bytes_only) in damon_sysfs_upd_schemes_regions_start()
1248 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_upd_schemes_regions_stop()
1258 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_clear_schemes_regions()
1269 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_kdamond_running()
1301 static int damon_sysfs_commit_input(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_commit_input()
1322 struct damon_sysfs_kdamond *sysfs_kdamond) in damon_sysfs_commit_schemes_quota_goals()
1349 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_upd_schemes_effective_quotas()
1373 struct damon_sysfs_kdamond *kdamond; in damon_sysfs_cmd_request_callback()
1487 static int damon_sysfs_turn_damon_on(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_turn_damon_on()
1516 static int damon_sysfs_turn_damon_off(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_turn_damon_off()
1542 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_handle_cmd()
1590 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in state_store()
1591 struct damon_sysfs_kdamond, kobj); in state_store()
1612 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in pid_show()
1613 struct damon_sysfs_kdamond, kobj); in pid_show()
1634 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in damon_sysfs_kdamond_release()
1635 struct damon_sysfs_kdamond, kobj); in damon_sysfs_kdamond_release()
1653 ATTRIBUTE_GROUPS(damon_sysfs_kdamond);
1667 struct damon_sysfs_kdamond **kdamonds_arr;
1678 struct damon_sysfs_kdamond **kdamonds_arr = kdamonds->kdamonds_arr; in damon_sysfs_kdamonds_rm_dirs()
1690 static bool damon_sysfs_kdamonds_busy(struct damon_sysfs_kdamond **kdamonds, in damon_sysfs_kdamonds_busy()
1707 struct damon_sysfs_kdamond **kdamonds_arr, *kdamond; in damon_sysfs_kdamonds_add_dirs()