/kernel/linux/linux-5.10/drivers/md/ |
D | dm-path-selector.c | 31 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 …]
|
/kernel/linux/linux-5.10/fs/pstore/ |
D | platform.c | 381 record->psi = psinfo; in pstore_record_init() 656 ret = record->psi->write(record); in pstore_write_user_compat() 672 int pstore_register(struct pstore_info *psi) in pstore_register() argument 674 if (backend && strcmp(backend, psi->name)) { in pstore_register() 675 pr_warn("ignoring unexpected backend '%s'\n", psi->name); in pstore_register() 680 if (!psi->flags) { in pstore_register() 682 psi->name); in pstore_register() 687 if (!psi->read || !psi->write) { in pstore_register() 689 psi->name); in pstore_register() 696 psinfo->name, psi->name); in pstore_register() [all …]
|
D | internal.h | 41 extern void pstore_get_backend_records(struct pstore_info *psi, 43 extern int pstore_put_backend_records(struct pstore_info *psi); 47 struct pstore_info *psi);
|
D | inode.c | 186 if (!record->psi->erase) in pstore_unlink() 200 mutex_lock(&record->psi->read_mutex); in pstore_unlink() 201 record->psi->erase(record); in pstore_unlink() 202 mutex_unlock(&record->psi->read_mutex); in pstore_unlink() 311 int pstore_put_backend_records(struct pstore_info *psi) in pstore_put_backend_records() argument 323 if (pos->record->psi == psi) { in pstore_put_backend_records() 363 pos->record->psi == record->psi) in pstore_mkfile() 375 record->psi->name, record->id, in pstore_mkfile()
|
D | ram.c | 116 static int ramoops_pstore_open(struct pstore_info *psi) in ramoops_pstore_open() argument 118 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open() 191 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read() 324 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write() 416 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write_user() 428 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_erase()
|
D | zone.c | 642 static int psz_pstore_open(struct pstore_info *psi) in psz_pstore_open() argument 644 struct psz_context *cxt = psi->data; in psz_pstore_open() 712 struct psz_context *cxt = record->psi->data; in psz_pstore_erase() 736 struct psz_context *cxt = record->psi->data; in psz_write_kmsg_hdr() 887 struct psz_context *cxt = record->psi->data; in psz_pstore_write() 1044 cxt = record->psi->data; in psz_ftrace_read() 1080 struct psz_context *cxt = record->psi->data; in psz_pstore_read()
|
D | ftrace.c | 37 .psi = psinfo, in pstore_ftrace_call()
|
/kernel/linux/linux-5.10/Documentation/accounting/ |
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 78 To register a trigger user has to open psi interface file under 91 Triggers can be set on more than one psi metric and more than one trigger 92 for the same psi metric can be specified. However for each trigger a separate 95 when opening the same psi interface file. Write operations to a file descriptor 96 with an already existing psi trigger will fail with EBUSY. 99 psi metric and deactivates upon exit from the stall state. While system is 100 in the stall state psi signal growth is monitored at a rate of 10 times per 106 after which monitors are most likely not needed and psi averages can be used [all …]
|
D | index.rst | 12 psi
|
/kernel/linux/linux-5.10/include/linux/ |
D | pstore.h | 72 struct pstore_info *psi; member 193 int (*open)(struct pstore_info *psi); 194 int (*close)(struct pstore_info *psi);
|
D | cgroup-defs.h | 475 struct psi_group psi; member
|
D | cgroup.h | 677 return &cgrp->psi; in cgroup_psi()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | efi-pstore.c | 26 static int efi_pstore_open(struct pstore_info *psi) in efi_pstore_open() argument 28 psi->data = NULL; in efi_pstore_open() 32 static int efi_pstore_close(struct pstore_info *psi) in efi_pstore_close() argument 34 psi->data = NULL; in efi_pstore_close() 175 struct efivar_entry **pos = (struct efivar_entry **)&record->psi->data; in efi_pstore_sysfs_entry_iter() 269 false, record->size, record->psi->buf); in efi_pstore_write()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-hub.c | 112 u32 ssp_cap_base, bm_attrib, psi, psi_mant, psi_exp; in xhci_create_usb3_bos_desc() local 137 psi = port_cap->psi[i]; in xhci_create_usb3_bos_desc() 138 psi &= ~USB_SSP_SUBLINK_SPEED_RSVD; in xhci_create_usb3_bos_desc() 139 psi_exp = XHCI_EXT_PORT_PSIE(psi); in xhci_create_usb3_bos_desc() 140 psi_mant = XHCI_EXT_PORT_PSIM(psi); in xhci_create_usb3_bos_desc() 146 psi |= BIT(14); in xhci_create_usb3_bos_desc() 148 if ((psi & PLT_MASK) == PLT_SYM) { in xhci_create_usb3_bos_desc() 150 put_unaligned_le32(psi, &buf[offset]); in xhci_create_usb3_bos_desc() 151 psi |= 1 << 7; /* turn entry to TX */ in xhci_create_usb3_bos_desc() 155 } else if ((psi & PLT_MASK) == PLT_ASYM_RX) { in xhci_create_usb3_bos_desc() [all …]
|
D | xhci-mem.c | 1945 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup() 2205 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port() 2206 sizeof(*port_cap->psi), in xhci_add_in_port() 2208 if (!port_cap->psi) in xhci_add_in_port() 2213 port_cap->psi[i] = readl(addr + 4 + i); in xhci_add_in_port() 2218 if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) != in xhci_add_in_port() 2219 XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1]))) in xhci_add_in_port() 2223 XHCI_EXT_PORT_PSIV(port_cap->psi[i]), in xhci_add_in_port() 2224 XHCI_EXT_PORT_PSIE(port_cap->psi[i]), in xhci_add_in_port() 2225 XHCI_EXT_PORT_PLT(port_cap->psi[i]), in xhci_add_in_port() [all …]
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | Makefile | 40 obj-$(CONFIG_PSI) += psi.o
|
D | psi.c | 940 cgroup->psi.pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc() 941 if (!cgroup->psi.pcpu) in psi_cgroup_alloc() 943 group_init(&cgroup->psi); in psi_cgroup_alloc() 952 cancel_delayed_work_sync(&cgroup->psi.avgs_work); in psi_cgroup_free() 953 free_percpu(cgroup->psi.pcpu); in psi_cgroup_free() 955 WARN_ONCE(cgroup->psi.poll_states, "psi: trigger leak\n"); in psi_cgroup_free()
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
D | erst.c | 915 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
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cgroup.c | 3637 struct psi_group *psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_io_pressure_show() local 3639 return psi_show(seq, psi, PSI_IO); in cgroup_io_pressure_show() 3644 struct psi_group *psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_memory_pressure_show() local 3646 return psi_show(seq, psi, PSI_MEM); in cgroup_memory_pressure_show() 3651 struct psi_group *psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_cpu_pressure_show() local 3653 return psi_show(seq, psi, PSI_CPU); in cgroup_cpu_pressure_show() 3662 struct psi_group *psi; in cgroup_pressure_write() local 3677 psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_pressure_write() 3678 new = psi_trigger_create(psi, buf, nbytes, res); in cgroup_pressure_write() 3684 smp_store_release(&ctx->psi.trigger, new); in cgroup_pressure_write() [all …]
|
D | cgroup-internal.h | 75 } psi; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | mad.c | 2053 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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_64_mmu_radix.c | 306 int psi; in kvmppc_radix_tlbie_page() local 322 psi = shift_to_mmu_psize(pshift); in kvmppc_radix_tlbie_page() 323 rb = addr | (mmu_get_ap(psi) << PPC_BITLSHIFT(58)); in kvmppc_radix_tlbie_page()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | kernel.patch | 1319 diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c 1321 --- a/kernel/sched/psi.c 1322 +++ b/kernel/sched/psi.c
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | nvram_64.c | 370 static int nvram_pstore_open(struct pstore_info *psi) in nvram_pstore_open() argument
|
/kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
D | writing_usb_driver.rst | 321 https://lmu.web.psi.ch/docu/manuals/software_manuals/linux_sl/usb_linux_programming_guide.pdf
|