Home
last modified time | relevance | path

Searched refs:nr_contexts (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/irqchip/
H A Dirq-sifive-plic.c420 int error = 0, nr_contexts, nr_handlers = 0, i; in __plic_init() local
449 nr_contexts = of_irq_count(node); in __plic_init()
450 if (WARN_ON(!nr_contexts)) in __plic_init()
459 for (i = 0; i < nr_contexts; i++) { in __plic_init()
556 " %d contexts.\n", node, nr_irqs, nr_handlers, nr_contexts); in __plic_init()
/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
64 │ │ │ contexts/nr_contexts
130 在开始时,这个目录只有一个文件,即 ``nr_contexts`` 。向该文件写入一个数字( ``N`` ),就会创
313 # echo 1 > kdamonds/nr_kdamonds; echo 1 > kdamonds/0/contexts/nr_contexts;
/openbmc/linux/mm/damon/
H A Dsysfs.c839 int nr_contexts) in damon_sysfs_contexts_add_dirs() argument
845 if (!nr_contexts) in damon_sysfs_contexts_add_dirs()
848 contexts_arr = kmalloc_array(nr_contexts, sizeof(*contexts_arr), in damon_sysfs_contexts_add_dirs()
854 for (i = 0; i < nr_contexts; i++) { in damon_sysfs_contexts_add_dirs()
921 = __ATTR_RW_MODE(nr_contexts, 0600);
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst50 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
67 │ │ │ contexts/nr_contexts
151 In the beginning, this directory has only one file, ``nr_contexts``. Writing a
472 # echo 1 > kdamonds/nr_kdamonds; echo 1 > kdamonds/0/contexts/nr_contexts;
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon43 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts