Home
last modified time | relevance | path

Searched refs:nr_schemes (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/mm/damon/
Ddbgfs.c193 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr() argument
197 for (i = 0; i < nr_schemes; i++) in free_schemes_arr()
233 ssize_t *nr_schemes) in str_to_schemes() argument
246 *nr_schemes = 0; in str_to_schemes()
247 while (pos < len && *nr_schemes < max_nr_schemes) { in str_to_schemes()
285 schemes[*nr_schemes] = scheme; in str_to_schemes()
286 *nr_schemes += 1; in str_to_schemes()
290 free_schemes_arr(schemes, *nr_schemes); in str_to_schemes()
300 ssize_t nr_schemes = 0, ret; in dbgfs_schemes_write() local
306 schemes = str_to_schemes(kbuf, count, &nr_schemes); in dbgfs_schemes_write()
[all …]
Dsysfs-schemes.c1400 int nr_schemes) in damon_sysfs_schemes_add_dirs() argument
1406 if (!nr_schemes) in damon_sysfs_schemes_add_dirs()
1409 schemes_arr = kmalloc_array(nr_schemes, sizeof(*schemes_arr), in damon_sysfs_schemes_add_dirs()
1415 for (i = 0; i < nr_schemes; i++) { in damon_sysfs_schemes_add_dirs()
1479 __ATTR_RW_MODE(nr_schemes, 0600);
Dcore.c573 ssize_t nr_schemes) in damon_set_schemes() argument
580 for (i = 0; i < nr_schemes; i++) in damon_set_schemes()
/Linux-v6.6/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst75 │ │ │ │ │ schemes/nr_schemes
205 在开始时,这个目录只有一个文件,``nr_schemes``。向该文件写入一个数字(``N``),就可以
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
/Linux-v6.6/include/linux/
Ddamon.h634 struct damos **schemes, ssize_t nr_schemes);
/Linux-v6.6/Documentation/admin-guide/mm/damon/
Dusage.rst78 │ │ │ │ │ schemes/nr_schemes
265 In the beginning, this directory has only one file, ``nr_schemes``. Writing a
473 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon141 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes