Home
last modified time | relevance | path

Searched refs:nr_kdamonds (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/testing/selftests/damon/
H A Dlru_sort.sh20 nr_kdamonds=$(pgrep kdamond | wc -l)
21 if [ "$nr_kdamonds" -ne 0 ]
28 nr_kdamonds=$(pgrep kdamond | wc -l)
29 if [ "$nr_kdamonds" -ne 1 ]
36 nr_kdamonds=$(pgrep kdamond | wc -l)
37 if [ "$nr_kdamonds" -ne 0 ]
H A Dreclaim.sh20 nr_kdamonds=$(pgrep kdamond | wc -l)
21 if [ "$nr_kdamonds" -ne 0 ]
29 nr_kdamonds=$(pgrep kdamond | wc -l)
30 if [ "$nr_kdamonds" -ne 1 ]
37 nr_kdamonds=$(pgrep kdamond | wc -l)
38 if [ "$nr_kdamonds" -ne 0 ]
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst49 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
62 │ kdamonds/nr_kdamonds
106 时,这个目录只有一个文件,``nr_kdamonds``。向该文件写入一个数字(``N``),就会创建名为
313 # echo 1 > kdamonds/nr_kdamonds; echo 1 > kdamonds/0/contexts/nr_contexts;
/openbmc/linux/mm/damon/
H A Dsysfs.c1637 int nr_kdamonds) in damon_sysfs_kdamonds_busy() argument
1641 for (i = 0; i < nr_kdamonds; i++) { in damon_sysfs_kdamonds_busy()
1651 int nr_kdamonds) in damon_sysfs_kdamonds_add_dirs() argument
1660 if (!nr_kdamonds) in damon_sysfs_kdamonds_add_dirs()
1663 kdamonds_arr = kmalloc_array(nr_kdamonds, sizeof(*kdamonds_arr), in damon_sysfs_kdamonds_add_dirs()
1669 for (i = 0; i < nr_kdamonds; i++) { in damon_sysfs_kdamonds_add_dirs()
1736 __ATTR_RW_MODE(nr_kdamonds, 0600);
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst50 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
65 │ kdamonds/nr_kdamonds
114 file, ``nr_kdamonds``. Writing a number (``N``) to the file creates the number
472 # echo 1 > kdamonds/nr_kdamonds; echo 1 > kdamonds/0/contexts/nr_contexts;
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon14 What: /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds