Home
last modified time | relevance | path

Searched refs:psi (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/md/
H A Ddm-path-selector.c32 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 Dplatform.c267 record->psi = psinfo; in pstore_record_init()
449 ret = record->psi->write(record); in pstore_write_user_compat()
465 int pstore_register(struct pstore_info *psi) in pstore_register() argument
469 if (backend && strcmp(backend, psi->name)) { in pstore_register()
471 backend, psi->name); in pstore_register()
476 if (!psi->flags) { in pstore_register()
478 psi->name); in pstore_register()
483 if (!psi->read || !psi->write) { in pstore_register()
485 psi->name); in pstore_register()
489 new_backend = kstrdup(psi->name, GFP_KERNEL); in pstore_register()
[all …]
H A Dinternal.h40 extern void pstore_get_backend_records(struct pstore_info *psi,
42 extern int pstore_put_backend_records(struct pstore_info *psi);
46 struct pstore_info *psi);
H A Dinode.c187 if (!record->psi->erase) in pstore_unlink()
199 scoped_guard(mutex, &record->psi->read_mutex) in pstore_unlink()
200 record->psi->erase(record); in pstore_unlink()
306 int pstore_put_backend_records(struct pstore_info *psi) in pstore_put_backend_records() argument
317 if (pos->record->psi == psi) { in pstore_put_backend_records()
353 pos->record->psi == record->psi) in pstore_mkfile()
364 record->psi->name, record->id, in pstore_mkfile()
H A Dram.c111 static int ramoops_pstore_open(struct pstore_info *psi) in ramoops_pstore_open() argument
113 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open()
185 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
315 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write()
402 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write_user()
414 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_erase()
H A Dzone.c632 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()
1024 cxt = record->psi->data; in psz_ftrace_read()
1060 struct psz_context *cxt = record->psi->data; in psz_pstore_read()
H A Dftrace.c38 .psi = psinfo, in pstore_ftrace_call()
/linux/Documentation/translations/zh_CN/accounting/
H A Dpsi.rst3 :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_CGROUP=y及挂载了cgroup2文件系统的系统,能够获取cgroups内任务的psi
[all …]
H A Dindex.rst19 psi
/linux/Documentation/accounting/
H A Dpsi.rst18 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 Dindex.rst12 psi
/linux/include/linux/
H A Dpstore.h73 struct pstore_info *psi; member
195 int (*open)(struct pstore_info *psi);
196 int (*close)(struct pstore_info *psi);
H A Dpsi.h37 return cgroup_ino(cgrp) == 1 ? &psi_system : cgrp->psi; in cgroup_psi()
H A Dcgroup-defs.h555 struct psi_group *psi; member
/linux/kernel/sched/
H A Dpsi.c1108 cgroup->psi = kzalloc(sizeof(struct psi_group), GFP_KERNEL); in psi_cgroup_alloc()
1109 if (!cgroup->psi) in psi_cgroup_alloc()
1112 cgroup->psi->pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc()
1113 if (!cgroup->psi->pcpu) { in psi_cgroup_alloc()
1114 kfree(cgroup->psi); in psi_cgroup_alloc()
1117 group_init(cgroup->psi); in psi_cgroup_alloc()
1118 cgroup->psi->parent = cgroup_psi(cgroup_parent(cgroup)); in psi_cgroup_alloc()
1127 cancel_delayed_work_sync(&cgroup->psi->avgs_work); in psi_cgroup_free()
1128 free_percpu(cgroup->psi->pcpu); in psi_cgroup_free()
1130 WARN_ONCE(cgroup->psi->rtpoll_states, "psi: trigger leak\n"); in psi_cgroup_free()
[all …]
/linux/drivers/usb/host/
H A Dxhci-hub.c76 if ((port_cap->psi[i] & PLT_MASK) == PLT_SYM) in xhci_create_usb3x_bos_desc()
149 u32 psi; in xhci_create_usb3x_bos_desc() local
159 psi = port_cap->psi[i]; in xhci_create_usb3x_bos_desc()
160 ssid = XHCI_EXT_PORT_PSIV(psi); in xhci_create_usb3x_bos_desc()
161 lp = XHCI_EXT_PORT_LP(psi); in xhci_create_usb3x_bos_desc()
162 psie = XHCI_EXT_PORT_PSIE(psi); in xhci_create_usb3x_bos_desc()
163 psim = XHCI_EXT_PORT_PSIM(psi); in xhci_create_usb3x_bos_desc()
164 plt = psi & PLT_MASK; in xhci_create_usb3x_bos_desc()
200 u32 prev = port_cap->psi[i - 1]; in xhci_create_usb3x_bos_desc()
H A Dxhci-mem.c1949 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()
2046 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2047 sizeof(*port_cap->psi), in xhci_add_in_port()
2049 if (!port_cap->psi) in xhci_add_in_port()
2054 port_cap->psi[i] = readl(addr + 4 + i); in xhci_add_in_port()
2059 if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) != in xhci_add_in_port()
2060 XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1]))) in xhci_add_in_port()
2065 XHCI_EXT_PORT_PSIV(port_cap->psi[i]) >= 5) in xhci_add_in_port()
2069 XHCI_EXT_PORT_PSIV(port_cap->psi[i]), in xhci_add_in_port()
2070 XHCI_EXT_PORT_PSIE(port_cap->psi[i]), in xhci_add_in_port()
[all …]
/linux/kernel/cgroup/
H A Dcgroup.c3804 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_io_pressure_show() local
3806 return psi_show(seq, psi, PSI_IO); in cgroup_io_pressure_show()
3811 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_memory_pressure_show() local
3813 return psi_show(seq, psi, PSI_MEM); in cgroup_memory_pressure_show()
3818 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_cpu_pressure_show() local
3820 return psi_show(seq, psi, PSI_CPU); in cgroup_cpu_pressure_show()
3829 struct psi_group *psi; in pressure_write() local
3839 if (ctx->psi.trigger) { in pressure_write()
3844 psi = cgroup_psi(cgrp); in pressure_write()
3845 new = psi_trigger_create(psi, buf, res, of->file, of); in pressure_write()
[all …]
H A Dcgroup-internal.h74 } psi; member
/linux/drivers/acpi/apei/
H A Derst.c1016 static int erst_open_pstore(struct pstore_info *psi);
1017 static int erst_close_pstore(struct pstore_info *psi);
1054 static int erst_open_pstore(struct pstore_info *psi) in erst_open_pstore() argument
1062 static int erst_close_pstore(struct pstore_info *psi) in erst_close_pstore() argument
/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c319 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/drivers/infiniband/hw/hfi1/
H A Dmad.c2011 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_get_opa_psi() local
2013 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2026 psi->port_states.ledenable_offlinereason = ppd->neighbor_normal << 4; in __subn_get_opa_psi()
2027 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2029 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2032 psi->port_states.portphysstate_portstate = in __subn_get_opa_psi()
2034 psi->link_width_downgrade_tx_active = in __subn_get_opa_psi()
2036 psi->link_width_downgrade_rx_active = in __subn_get_opa_psi()
2054 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_set_opa_psi() local
2057 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
[all …]
/linux/arch/powerpc/kernel/
H A Dnvram_64.c370 static int nvram_pstore_open(struct pstore_info *psi) in nvram_pstore_open() argument
/linux/Documentation/driver-api/usb/
H A Dwriting_usb_driver.rst326 https://lmu.web.psi.ch/docu/manuals/software_manuals/linux_sl/usb_linux_programming_guide.pdf
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst1056 :ref:`Documentation/accounting/psi.rst <psi>` for details.
1156 :ref:`Documentation/accounting/psi.rst <psi>` for details.
1776 :ref:`Documentation/accounting/psi.rst <psi>` for details.
2015 :ref:`Documentation/accounting/psi.rst <psi>` for details.

12