Searched refs:nr_schemes (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/mm/damon/ |
D | dbgfs.c | 185 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr() argument 189 for (i = 0; i < nr_schemes; i++) in free_schemes_arr() 225 ssize_t *nr_schemes) in str_to_schemes() argument 238 *nr_schemes = 0; in str_to_schemes() 239 while (pos < len && *nr_schemes < max_nr_schemes) { in str_to_schemes() 277 schemes[*nr_schemes] = scheme; in str_to_schemes() 278 *nr_schemes += 1; in str_to_schemes() 282 free_schemes_arr(schemes, *nr_schemes); in str_to_schemes() 292 ssize_t nr_schemes = 0, ret; in dbgfs_schemes_write() local 298 schemes = str_to_schemes(kbuf, count, &nr_schemes); in dbgfs_schemes_write() [all …]
|
D | sysfs.c | 966 int nr_schemes) in damon_sysfs_schemes_add_dirs() argument 972 if (!nr_schemes) in damon_sysfs_schemes_add_dirs() 975 schemes_arr = kmalloc_array(nr_schemes, sizeof(*schemes_arr), in damon_sysfs_schemes_add_dirs() 981 for (i = 0; i < nr_schemes; i++) { in damon_sysfs_schemes_add_dirs() 1045 __ATTR_RW_MODE(nr_schemes, 0600);
|
D | core.c | 460 ssize_t nr_schemes) in damon_set_schemes() argument 467 for (i = 0; i < nr_schemes; i++) in damon_set_schemes()
|
/Linux-v6.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 75 │ │ │ │ │ schemes/nr_schemes 196 在开始时,这个目录只有一个文件,``nr_schemes``。向该文件写入一个数字(``N``),就可以 287 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
|
/Linux-v6.1/include/linux/ |
D | damon.h | 551 struct damos **schemes, ssize_t nr_schemes);
|
/Linux-v6.1/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 366 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 135 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
|