| /linux/drivers/md/ |
| H A D | dm-path-selector.c | 32 struct ps_internal *psi; in __find_path_selector_type() local 34 list_for_each_entry(psi, &_path_selectors, list) { in __find_path_selector_type() 35 if (!strcmp(name, psi->pst.name)) in __find_path_selector_type() 36 return psi; in __find_path_selector_type() 44 struct ps_internal *psi; in get_path_selector() local 47 psi = __find_path_selector_type(name); in get_path_selector() 48 if (psi && !try_module_get(psi->pst.module)) in get_path_selector() 49 psi = NULL; in get_path_selector() 52 return psi; in get_path_selector() 57 struct ps_internal *psi; in dm_get_path_selector() local [all …]
|
| /linux/fs/pstore/ |
| H A D | platform.c | 272 record->psi = psinfo; 456 ret = record->psi->write(record); in pstore_write_user_compat() 472 int pstore_register(struct pstore_info *psi) in pstore_register() 476 if (backend && strcmp(backend, psi->name)) { in pstore_register() 478 backend, psi->name); in pstore_register() 483 if (!psi->flags) { in pstore_register() 485 psi->name); in pstore_register() 490 if (!psi->read || !psi->write) { in pstore_register() 492 psi in pstore_register() 466 pstore_register(struct pstore_info * psi) pstore_register() argument 541 pstore_unregister(struct pstore_info * psi) pstore_unregister() argument 657 pstore_get_backend_records(struct pstore_info * psi,struct dentry * root,int quiet) pstore_get_backend_records() argument [all...] |
| H A D | zone.c | 632 static int psz_pstore_open(struct pstore_info *psi) in psz_pstore_open() argument 634 struct psz_context *cxt = psi->data; in psz_pstore_open() 701 struct psz_context *cxt = record->psi->data; in psz_pstore_erase() 723 struct psz_context *cxt = record->psi->data; in psz_write_kmsg_hdr() 874 struct psz_context *cxt = record->psi->data; in psz_pstore_write() 1025 cxt = record->psi->data; in psz_ftrace_read() 1061 struct psz_context *cxt = record->psi->data; in psz_pstore_read()
|
| /linux/tools/accounting/ |
| H A D | delaytop.c | 161 static struct psi_stats psi; variable 515 memset(&psi, 0, sizeof(psi)); in read_psi_stats() 523 &psi.cpu_some_avg10, &psi.cpu_some_avg60, in read_psi_stats() 524 &psi.cpu_some_avg300, &psi.cpu_some_total); in read_psi_stats() 531 &psi.cpu_full_avg10, &psi.cpu_full_avg60, in read_psi_stats() 532 &psi in read_psi_stats() [all...] |
| /linux/Documentation/translations/zh_CN/accounting/ |
| H A D | psi.rst | 3 :Original: Documentation/accounting/psi.rst 22 psi特性能够识别和量化资源竞争导致的业务中断,及其对复杂负载乃至整个系统在 28 psi能够实时的提供相关信息,因此系统可基于psi实现动态的负载管理。如实施 31 psi帮助用户实现硬件资源利用率的最大化。同时无需牺牲业务负载健康度,也无需 68 触发器注册方法:用户打开代表特定资源的psi接口文件,写入门限、时间窗口的值。 78 触发器可针对多个psi度量值设置,同一个psi度量值可设置多个触发器。每个触发器需要 79 单独的文件描述符用于轮询,以区分于其他触发器。所以即使对于同一个psi接口文件, 83 状态后,监控psi增长的频率为每监控窗口刷新10次。 87 psi接口提供的均值即可。 151 对于CONFIG_CGROUPS=y及挂载了cgroup2文件系统的系统,能够获取cgroups内任务的psi。 [all …]
|
| H A D | index.rst | 19 psi
|
| /linux/drivers/firmware/efi/ |
| H A D | efi-pstore.c | 27 static int efi_pstore_open(struct pstore_info *psi) in efi_pstore_disable_set() 35 psi->data = kzalloc(record_size, GFP_KERNEL); in efi_pstore_disable_set() 36 if (!psi->data) { in efi_pstore_disable_set() 44 static int efi_pstore_close(struct pstore_info *psi) in efi_pstore_disable_set() 47 kfree(psi->data); 134 efi_char16_t *varname = record->psi->data; in efi_pstore_read_func() 158 * store varname in record->psi->data. Given that we only 202 record->size, record->psi->buf, in efi_pstore_read() 54 efi_pstore_open(struct pstore_info * psi) efi_pstore_open() argument 71 efi_pstore_close(struct pstore_info * psi) efi_pstore_close() argument
|
| /linux/Documentation/accounting/ |
| H A D | psi.rst | 18 The psi feature identifies and quantifies the disruptions caused by 26 As psi aggregates this information in realtime, systems can be managed 77 To register a trigger user has to open psi interface file under 90 Triggers can be set on more than one psi metric and more than one trigger 91 for the same psi metric can be specified. However for each trigger a separate 94 when opening the same psi interface file. Write operations to a file descriptor 95 with an already existing psi trigger will fail with EBUSY. 98 psi metric and deactivates upon exit from the stall state. While system is 99 in the stall state psi signal growth is monitored at a rate of 10 times per 105 after which monitors are most likely not needed and psi averages can be used [all …]
|
| H A D | index.rst | 12 psi
|
| /linux/include/linux/ |
| H A D | pstore.h | 73 struct pstore_info *psi; member 195 int (*open)(struct pstore_info *psi); 196 int (*close)(struct pstore_info *psi);
|
| H A D | psi.h | 39 return cgroup_ino(cgrp) == 1 ? &psi_system : cgrp->psi; in cgroup_psi()
|
| H A D | cgroup-defs.h | 636 struct psi_group *psi; 628 struct psi_group *psi; global() member
|
| /linux/kernel/sched/ |
| H A D | psi.c | 1112 cgroup->psi = kzalloc_obj(struct psi_group); in psi_cgroup_alloc() 1113 if (!cgroup->psi) in psi_cgroup_alloc() 1116 cgroup->psi->pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc() 1117 if (!cgroup->psi->pcpu) { in psi_cgroup_alloc() 1118 kfree(cgroup->psi); in psi_cgroup_alloc() 1121 group_init(cgroup->psi); in psi_cgroup_alloc() 1122 cgroup->psi->parent = cgroup_psi(cgroup_parent(cgroup)); in psi_cgroup_alloc() 1131 cancel_delayed_work_sync(&cgroup->psi->avgs_work); in psi_cgroup_free() 1137 timer_shutdown_sync(&cgroup->psi->rtpoll_timer); in psi_cgroup_free() 1138 free_percpu(cgroup->psi->pcpu); in psi_cgroup_free() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | xhci-mem.c | 2015 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup() 2111 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port() 2112 sizeof(*port_cap->psi), in xhci_add_in_port() 2114 if (!port_cap->psi) in xhci_add_in_port() 2119 port_cap->psi[i] = readl(addr + 4 + i); in xhci_add_in_port() 2124 if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) != in xhci_add_in_port() 2125 XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1]))) in xhci_add_in_port() 2130 XHCI_EXT_PORT_PSIV(port_cap->psi[i]) >= 5) in xhci_add_in_port() 2134 XHCI_EXT_PORT_PSIV(port_cap->psi[i]), in xhci_add_in_port() 2135 XHCI_EXT_PORT_PSIE(port_cap->psi[ in xhci_add_in_port() [all...] |
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 58 #include <linux/psi.h> 4062 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_cpu_pressure_show() local 4064 return psi_show(seq, psi, PSI_IO); in cgroup_cpu_pressure_show() 4069 struct psi_group *psi = cgroup_psi(cgrp); in pressure_write() 4071 return psi_show(seq, psi, PSI_MEM); in pressure_write() 4076 struct psi_group *psi = cgroup_psi(cgrp); in pressure_write() 4078 return psi_show(seq, psi, PSI_CPU); in pressure_write() 4087 struct psi_group *psi; in pressure_write() 4102 if (ctx->psi.trigger) { in pressure_write() 4107 psi in pressure_write() 4048 struct psi_group *psi = cgroup_psi(cgrp); cgroup_io_pressure_show() local 4055 struct psi_group *psi = cgroup_psi(cgrp); cgroup_memory_pressure_show() local 4073 struct psi_group *psi; pressure_write() local 4155 struct psi_group *psi = cgroup_psi(cgrp); cgroup_irq_pressure_show() local 4171 struct psi_group *psi = cgroup_psi(cgrp); cgroup_pressure_show() local 4185 struct psi_group *psi; cgroup_pressure_write() local [all...] |
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 319 int psi; in kvmppc_radix_tlbie_page() local 335 psi = shift_to_mmu_psize(pshift); in kvmppc_radix_tlbie_page() 338 rb = addr | (mmu_get_ap(psi) << PPC_BITLSHIFT(58)); in kvmppc_radix_tlbie_page() 345 psize_to_rpti_pgsize(psi), in kvmppc_radix_tlbie_page()
|
| /linux/arch/powerpc/kernel/ |
| H A D | nvram_64.c | 370 static int nvram_pstore_open(struct pstore_info *psi) in nvram_pstore_open() argument
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1087 :ref:`Documentation/accounting/psi.rst <psi>` for details. 1244 :ref:`Documentation/accounting/psi.rst <psi>` for details. 1946 :ref:`Documentation/accounting/psi.rst <psi>` for details. 2217 :ref:`Documentation/accounting/psi.rst <psi>` for details.
|
| H A D | kernel-parameters.txt | 5536 psi= [KNL] Enable or disable pressure stall information
|
| /linux/init/ |
| H A D | Kconfig | 545 For more details see Documentation/accounting/psi.rst. 555 per default but can be enabled through passing psi=1 on the
|
| /linux/ |
| H A D | MAINTAINERS | 22397 F: include/linux/psi* 22398 F: kernel/sched/psi.c
|