Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/md/
Ddm-path-selector.c31 struct ps_internal *psi; in __find_path_selector_type() local
33 list_for_each_entry(psi, &_path_selectors, list) { in __find_path_selector_type()
34 if (!strcmp(name, psi->pst.name)) in __find_path_selector_type()
35 return psi; in __find_path_selector_type()
43 struct ps_internal *psi; in get_path_selector() local
46 psi = __find_path_selector_type(name); in get_path_selector()
47 if (psi && !try_module_get(psi->pst.module)) in get_path_selector()
48 psi = NULL; in get_path_selector()
51 return psi; in get_path_selector()
56 struct ps_internal *psi; in dm_get_path_selector() local
[all …]
/Linux-v5.4/fs/pstore/
Dplatform.c378 record->psi = psinfo; in pstore_record_init()
540 ret = record->psi->write(record); in pstore_write_user_compat()
556 int pstore_register(struct pstore_info *psi) in pstore_register() argument
558 struct module *owner = psi->owner; in pstore_register()
560 if (backend && strcmp(backend, psi->name)) { in pstore_register()
561 pr_warn("ignoring unexpected backend '%s'\n", psi->name); in pstore_register()
566 if (!psi->flags) { in pstore_register()
568 psi->name); in pstore_register()
573 if (!psi->read || !psi->write) { in pstore_register()
575 psi->name); in pstore_register()
[all …]
Dinode.c179 if (!record->psi->erase) in pstore_unlink()
182 mutex_lock(&record->psi->read_mutex); in pstore_unlink()
183 record->psi->erase(record); in pstore_unlink()
184 mutex_unlock(&record->psi->read_mutex); in pstore_unlink()
306 pos->record->psi == record->psi) { in pstore_mkfile()
323 record->psi->name, record->id, in pstore_mkfile()
366 struct pstore_info *psi = psinfo; in pstore_get_records() local
369 if (!psi || !pstore_sb) in pstore_get_records()
375 pstore_get_backend_records(psi, root, quiet); in pstore_get_records()
Dinternal.h32 extern void pstore_get_backend_records(struct pstore_info *psi,
38 struct pstore_info *psi);
Dram.c100 static int ramoops_pstore_open(struct pstore_info *psi) in ramoops_pstore_open() argument
102 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open()
226 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
351 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write()
429 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write_user()
441 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_erase()
Dftrace.c36 .psi = psinfo, in pstore_ftrace_call()
/Linux-v5.4/Documentation/accounting/
Dpsi.rst16 The psi feature identifies and quantifies the disruptions caused by
24 As psi aggregates this information in realtime, systems can be managed
76 To register a trigger user has to open psi interface file under
89 Triggers can be set on more than one psi metric and more than one trigger
90 for the same psi metric can be specified. However for each trigger a separate
93 when opening the same psi interface file.
96 psi metric and deactivates upon exit from the stall state. While system is
97 in the stall state psi signal growth is monitored at a rate of 10 times per
103 after which monitors are most likely not needed and psi averages can be used
106 When activated, psi monitor stays active for at least the duration of one
[all …]
Dindex.rst12 psi
/Linux-v5.4/include/linux/
Dpstore.h70 struct pstore_info *psi; member
184 int (*open)(struct pstore_info *psi);
185 int (*close)(struct pstore_info *psi);
Dcgroup-defs.h479 struct psi_group psi; member
Dcgroup.h669 return &cgrp->psi; in cgroup_psi()
/Linux-v5.4/drivers/firmware/efi/
Defi-pstore.c21 static int efi_pstore_open(struct pstore_info *psi) in efi_pstore_open() argument
23 psi->data = NULL; in efi_pstore_open()
27 static int efi_pstore_close(struct pstore_info *psi) in efi_pstore_close() argument
29 psi->data = NULL; in efi_pstore_close()
170 struct efivar_entry **pos = (struct efivar_entry **)&record->psi->data; in efi_pstore_sysfs_entry_iter()
264 preemptible(), record->size, record->psi->buf); in efi_pstore_write()
/Linux-v5.4/drivers/usb/host/
Dxhci-hub.c103 u32 ssp_cap_base, bm_attrib, psi, psi_mant, psi_exp; in xhci_create_usb3_bos_desc() local
128 psi = xhci->usb3_rhub.psi[i]; in xhci_create_usb3_bos_desc()
129 psi &= ~USB_SSP_SUBLINK_SPEED_RSVD; in xhci_create_usb3_bos_desc()
130 psi_exp = XHCI_EXT_PORT_PSIE(psi); in xhci_create_usb3_bos_desc()
131 psi_mant = XHCI_EXT_PORT_PSIM(psi); in xhci_create_usb3_bos_desc()
137 psi |= BIT(14); in xhci_create_usb3_bos_desc()
139 if ((psi & PLT_MASK) == PLT_SYM) { in xhci_create_usb3_bos_desc()
141 put_unaligned_le32(psi, &buf[offset]); in xhci_create_usb3_bos_desc()
142 psi |= 1 << 7; /* turn entry to TX */ in xhci_create_usb3_bos_desc()
146 } else if ((psi & PLT_MASK) == PLT_ASYM_RX) { in xhci_create_usb3_bos_desc()
[all …]
Dxhci-mem.c2155 rhub->psi = kcalloc_node(rhub->psi_count, sizeof(*rhub->psi), in xhci_add_in_port()
2157 if (!rhub->psi) in xhci_add_in_port()
2162 rhub->psi[i] = readl(addr + 4 + i); in xhci_add_in_port()
2167 if (i && (XHCI_EXT_PORT_PSIV(rhub->psi[i]) != in xhci_add_in_port()
2168 XHCI_EXT_PORT_PSIV(rhub->psi[i - 1]))) in xhci_add_in_port()
2172 XHCI_EXT_PORT_PSIV(rhub->psi[i]), in xhci_add_in_port()
2173 XHCI_EXT_PORT_PSIE(rhub->psi[i]), in xhci_add_in_port()
2174 XHCI_EXT_PORT_PLT(rhub->psi[i]), in xhci_add_in_port()
2175 XHCI_EXT_PORT_PFD(rhub->psi[i]), in xhci_add_in_port()
2176 XHCI_EXT_PORT_LP(rhub->psi[i]), in xhci_add_in_port()
[all …]
Dxhci.h1722 u32 *psi; /* array of protocol speed ID entries */ member
/Linux-v5.4/kernel/sched/
DMakefile32 obj-$(CONFIG_PSI) += psi.o
Dpsi.c871 cgroup->psi.pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc()
872 if (!cgroup->psi.pcpu) in psi_cgroup_alloc()
874 group_init(&cgroup->psi); in psi_cgroup_alloc()
883 cancel_delayed_work_sync(&cgroup->psi.avgs_work); in psi_cgroup_free()
884 free_percpu(cgroup->psi.pcpu); in psi_cgroup_free()
886 WARN_ONCE(cgroup->psi.poll_states, "psi: trigger leak\n"); in psi_cgroup_free()
/Linux-v5.4/drivers/acpi/apei/
Derst.c915 static int erst_open_pstore(struct pstore_info *psi);
916 static int erst_close_pstore(struct pstore_info *psi);
953 static int erst_open_pstore(struct pstore_info *psi) in erst_open_pstore() argument
965 static int erst_close_pstore(struct pstore_info *psi) in erst_close_pstore() argument
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dmad.c2053 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_get_opa_psi() local
2055 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2068 psi->port_states.ledenable_offlinereason = ppd->neighbor_normal << 4; in __subn_get_opa_psi()
2069 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2071 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2074 psi->port_states.portphysstate_portstate = in __subn_get_opa_psi()
2076 psi->link_width_downgrade_tx_active = in __subn_get_opa_psi()
2078 psi->link_width_downgrade_rx_active = in __subn_get_opa_psi()
2096 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_set_opa_psi() local
2099 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
[all …]
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c299 int psi; in kvmppc_radix_tlbie_page() local
315 psi = shift_to_mmu_psize(pshift); in kvmppc_radix_tlbie_page()
316 rb = addr | (mmu_get_ap(psi) << PPC_BITLSHIFT(58)); in kvmppc_radix_tlbie_page()
/Linux-v5.4/kernel/cgroup/
Dcgroup.c3605 struct psi_group *psi = cgroup->id == 1 ? &psi_system : &cgroup->psi; in cgroup_io_pressure_show() local
3607 return psi_show(seq, psi, PSI_IO); in cgroup_io_pressure_show()
3612 struct psi_group *psi = cgroup->id == 1 ? &psi_system : &cgroup->psi; in cgroup_memory_pressure_show() local
3614 return psi_show(seq, psi, PSI_MEM); in cgroup_memory_pressure_show()
3619 struct psi_group *psi = cgroup->id == 1 ? &psi_system : &cgroup->psi; in cgroup_cpu_pressure_show() local
3621 return psi_show(seq, psi, PSI_CPU); in cgroup_cpu_pressure_show()
3637 new = psi_trigger_create(&cgrp->psi, buf, nbytes, res); in cgroup_pressure_write()
/Linux-v5.4/arch/powerpc/kernel/
Dnvram_64.c370 static int nvram_pstore_open(struct pstore_info *psi) in nvram_pstore_open() argument
/Linux-v5.4/Documentation/driver-api/usb/
Dwriting_usb_driver.rst324 http://lmu.web.psi.ch/docu/manuals/software_manuals/linux_sl/usb_linux_programming_guide.pdf
/Linux-v5.4/Documentation/admin-guide/
Dcgroup-v2.rst1024 Documentation/accounting/psi.rst for details.
1398 Documentation/accounting/psi.rst for details.
1638 Documentation/accounting/psi.rst for details.
/Linux-v5.4/init/
DKconfig558 For more details see Documentation/accounting/psi.rst.
568 per default but can be enabled through passing psi=1 on the

12