Home
last modified time | relevance | path

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

/linux/drivers/irqchip/
H A Dirq-sifive-plic.c447 u32 *nr_irqs, u32 *nr_contexts, in plic_parse_nr_irqs_and_contexts() argument
459 *nr_contexts = acpi_rintc_get_plic_nr_contexts(*id); in plic_parse_nr_irqs_and_contexts()
460 if (WARN_ON(!*nr_contexts)) { in plic_parse_nr_irqs_and_contexts()
474 *nr_contexts = of_irq_count(to_of_node(fwnode)); in plic_parse_nr_irqs_and_contexts()
475 if (WARN_ON(!(*nr_contexts))) { in plic_parse_nr_irqs_and_contexts()
518 int error = 0, nr_contexts, nr_handlers = 0, cpu, i; in plic_probe() local
544 error = plic_parse_nr_irqs_and_contexts(fwnode, &nr_irqs, &nr_contexts, &gsi_base, &id); in plic_probe()
567 for (i = 0; i < nr_contexts; i++) { in plic_probe()
689 fwnode, nr_irqs, nr_handlers, nr_contexts); in plic_probe()
693 for (i = 0; i < nr_contexts; i++) { in plic_probe()
/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;
/linux/Documentation/translations/zh_TW/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;
/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);
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst50 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts
69 │ │ │ :ref:`contexts <sysfs_contexts>`/nr_contexts
170 In the beginning, this directory has only one file, ``nr_contexts``. Writing a
523 # echo 1 > kdamonds/nr_kdamonds; echo 1 > kdamonds/0/contexts/nr_contexts;
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon47 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts