Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/mm/
Dthp_settings.c16 static char dev_queue_read_ahead_path[PATH_MAX]; variable
226 if (dev_queue_read_ahead_path[0]) in thp_read_settings()
227 settings->read_ahead_kb = read_num(dev_queue_read_ahead_path); in thp_read_settings()
277 if (dev_queue_read_ahead_path[0]) in thp_write_settings()
278 write_num(dev_queue_read_ahead_path, settings->read_ahead_kb); in thp_write_settings()
341 dev_queue_read_ahead_path[0] = '\0'; in thp_set_read_ahead_path()
345 strncpy(dev_queue_read_ahead_path, path, in thp_set_read_ahead_path()
346 sizeof(dev_queue_read_ahead_path)); in thp_set_read_ahead_path()
347 dev_queue_read_ahead_path[sizeof(dev_queue_read_ahead_path) - 1] = '\0'; in thp_set_read_ahead_path()
Dkhugepaged.c71 char dev_queue_read_ahead_path[PATH_MAX]; member
116 thp_set_read_ahead_path(finfo.dev_queue_read_ahead_path); in save_settings()
168 if (snprintf(finfo.dev_queue_read_ahead_path, in get_finfo()
169 sizeof(finfo.dev_queue_read_ahead_path), in get_finfo()
172 >= sizeof(finfo.dev_queue_read_ahead_path)) { in get_finfo()
197 if (snprintf(finfo.dev_queue_read_ahead_path, in get_finfo()
198 sizeof(finfo.dev_queue_read_ahead_path), in get_finfo()
200 str) >= sizeof(finfo.dev_queue_read_ahead_path)) { in get_finfo()