Searched refs:nr_schemes (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/mm/damon/ |
D | dbgfs.c | 154 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr() argument 158 for (i = 0; i < nr_schemes; i++) in free_schemes_arr() 185 ssize_t *nr_schemes) in str_to_schemes() argument 199 *nr_schemes = 0; in str_to_schemes() 200 while (pos < len && *nr_schemes < max_nr_schemes) { in str_to_schemes() 231 schemes[*nr_schemes] = scheme; in str_to_schemes() 232 *nr_schemes += 1; in str_to_schemes() 236 free_schemes_arr(schemes, *nr_schemes); in str_to_schemes() 246 ssize_t nr_schemes = 0, ret; in dbgfs_schemes_write() local 252 schemes = str_to_schemes(kbuf, count, &nr_schemes); in dbgfs_schemes_write() [all …]
|
D | sysfs.c | 978 int nr_schemes) in damon_sysfs_schemes_add_dirs() argument 984 if (!nr_schemes) in damon_sysfs_schemes_add_dirs() 987 schemes_arr = kmalloc_array(nr_schemes, sizeof(*schemes_arr), in damon_sysfs_schemes_add_dirs() 993 for (i = 0; i < nr_schemes; i++) { in damon_sysfs_schemes_add_dirs() 1056 __ATTR_RW_MODE(nr_schemes, 0600);
|
D | core.c | 450 ssize_t nr_schemes) in damon_set_schemes() argument 457 for (i = 0; i < nr_schemes; i++) in damon_set_schemes()
|
/linux-5.19.10/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 75 │ │ │ │ │ schemes/nr_schemes 196 在开始时,这个目录只有一个文件,``nr_schemes``。向该文件写入一个数字(``N``),就可以 285 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
|
/linux-5.19.10/include/linux/ |
D | damon.h | 523 struct damos **schemes, ssize_t nr_schemes);
|
/linux-5.19.10/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 81 │ │ │ │ │ schemes/nr_schemes 248 In the beginning, this directory has only one file, ``nr_schemes``. Writing a 364 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
|
/linux-5.19.10/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 135 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
|