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()
1047 struct damon_sysfs_kdamond *kdamond;
1056 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in state_show()
1057 struct damon_sysfs_kdamond, kobj); in state_show()
1233 struct damon_sysfs_kdamond *kdamond; in damon_sysfs_before_terminate()
1268 static int damon_sysfs_upd_schemes_stats(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_upd_schemes_stats()
1280 struct damon_sysfs_kdamond *kdamond, bool total_bytes_only) in damon_sysfs_upd_schemes_regions_start()
1292 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_upd_schemes_regions_stop()
1302 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_clear_schemes_regions()
1313 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_kdamond_running()
1342 static int damon_sysfs_commit_input(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_commit_input()
1363 struct damon_sysfs_kdamond *kdamond; in damon_sysfs_cmd_request_callback()
1433 static int damon_sysfs_turn_damon_on(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_turn_damon_on()
1462 static int damon_sysfs_turn_damon_off(struct damon_sysfs_kdamond *kdamond) in damon_sysfs_turn_damon_off()
1488 struct damon_sysfs_kdamond *kdamond) in damon_sysfs_handle_cmd()
1536 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in state_store()
1537 struct damon_sysfs_kdamond, kobj); in state_store()
1558 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in pid_show()
1559 struct damon_sysfs_kdamond, kobj); in pid_show()
1580 struct damon_sysfs_kdamond *kdamond = container_of(kobj, in damon_sysfs_kdamond_release()
1581 struct damon_sysfs_kdamond, kobj); in damon_sysfs_kdamond_release()
1599 ATTRIBUTE_GROUPS(damon_sysfs_kdamond);
1613 struct damon_sysfs_kdamond **kdamonds_arr;
1624 struct damon_sysfs_kdamond **kdamonds_arr = kdamonds->kdamonds_arr; in damon_sysfs_kdamonds_rm_dirs()
1636 static bool damon_sysfs_kdamonds_busy(struct damon_sysfs_kdamond **kdamonds, in damon_sysfs_kdamonds_busy()
1653 struct damon_sysfs_kdamond **kdamonds_arr, *kdamond; in damon_sysfs_kdamonds_add_dirs()