Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/md/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/pstore/
H A Dplatform.c378 record->psi = psinfo; in pstore_record_init()
548 ret = record->psi->write(record); in pstore_write_user_compat()
564 int pstore_register(struct pstore_info *psi) in pstore_register() argument
566 if (backend && strcmp(backend, psi->name)) { in pstore_register()
567 pr_warn("ignoring unexpected backend '%s'\n", psi->name); in pstore_register()
572 if (!psi->flags) { in pstore_register()
574 psi->name); in pstore_register()
579 if (!psi->read || !psi->write) { in pstore_register()
581 psi->name); in pstore_register()
588 psinfo->name, psi->name); in pstore_register()
[all …]
H A Dinode.c200 if (!record->psi->erase) in pstore_unlink()
214 mutex_lock(&record->psi->read_mutex); in pstore_unlink()
215 record->psi->erase(record); in pstore_unlink()
216 mutex_unlock(&record->psi->read_mutex); in pstore_unlink()
325 int pstore_put_backend_records(struct pstore_info *psi) in pstore_put_backend_records() argument
337 if (pos->record->psi == psi) { in pstore_put_backend_records()
377 pos->record->psi == record->psi) in pstore_mkfile()
389 record->psi->name, record->id, in pstore_mkfile()
H A Dinternal.h41 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);
H A Dram.c120 static int ramoops_pstore_open(struct pstore_info *psi) in ramoops_pstore_open() argument
122 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open()
194 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read_for_boot_log()
216 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
363 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write()
450 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write_user()
462 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()
1022 cxt = record->psi->data; in psz_ftrace_read()
1058 struct psz_context *cxt = record->psi->data; in psz_pstore_read()
H A Dftrace.c37 .psi = psinfo, in pstore_ftrace_call()
/OK3568_Linux_fs/buildroot/dl/sox/git/lpc10/
H A Dmload.c16 …ern int mload_(integer *order, integer *awins, integer *awinf, real *speech, real *phi, real *psi);
73 real *speech, real *phi, real *psi) in mload_() argument
85 --psi; in mload_()
102 psi[*order] = 0.f; in mload_()
105 psi[*order] += speech[i__] * speech[i__ - *order]; in mload_()
120 psi[c__] = phi[c__ + 1 + phi_dim1] - speech[start - 1] * speech[start in mload_()
H A Dinvert.c16 extern int invert_(integer *order, real *phi, real *psi, real *rc);
66 /* Subroutine */ int invert_(integer *order, real *phi, real *psi, real *rc) in invert_() argument
88 --psi; in invert_()
112 rc[j] = psi[j]; in invert_()
H A Danalys.c184 real phi[100] /* was [10][10] */, psi[10]; in analys_() local
483 mload_(&contrl_1.order, &c__1, &lanal, abuf, phi, psi); in analys_()
484 invert_(&contrl_1.order, phi, psi, &rcbuf[20]); in analys_()
/OK3568_Linux_fs/kernel/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
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 …]
H A Dindex.rst12 psi
/OK3568_Linux_fs/kernel/include/linux/
H A Dpstore.h73 struct pstore_info *psi; member
194 int (*open)(struct pstore_info *psi);
195 int (*close)(struct pstore_info *psi);
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Defi-pstore.c26 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 preemptible(), record->size, record->psi->buf); in efi_pstore_write()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-hub.c112 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 …]
H A Dxhci-mem.c2034 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()
2295 port_cap->psi = kcalloc_node(port_cap->psi_count, in xhci_add_in_port()
2296 sizeof(*port_cap->psi), in xhci_add_in_port()
2298 if (!port_cap->psi) in xhci_add_in_port()
2303 port_cap->psi[i] = readl(addr + 4 + i); in xhci_add_in_port()
2308 if (i && (XHCI_EXT_PORT_PSIV(port_cap->psi[i]) != in xhci_add_in_port()
2309 XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1]))) in xhci_add_in_port()
2313 XHCI_EXT_PORT_PSIV(port_cap->psi[i]), in xhci_add_in_port()
2314 XHCI_EXT_PORT_PSIE(port_cap->psi[i]), in xhci_add_in_port()
2315 XHCI_EXT_PORT_PLT(port_cap->psi[i]), in xhci_add_in_port()
[all …]
/OK3568_Linux_fs/external/xserver/record/
H A Drecord.c1421 RecordAllocIntervals(SetInfoPtr psi, int nIntervals) in RecordAllocIntervals() argument
1423 assert(!psi->intervals); in RecordAllocIntervals()
1424 psi->intervals = xallocarray(nIntervals, sizeof(RecordSetInterval)); in RecordAllocIntervals()
1425 if (!psi->intervals) in RecordAllocIntervals()
1427 memset(psi->intervals, 0, nIntervals * sizeof(RecordSetInterval)); in RecordAllocIntervals()
1428 psi->size = nIntervals; in RecordAllocIntervals()
1456 RecordConvertRangesToIntervals(SetInfoPtr psi, in RecordConvertRangesToIntervals() argument
1472 if (!psi->intervals) { in RecordConvertRangesToIntervals()
1473 err = RecordAllocIntervals(psi, 2 * (nRanges - i)); in RecordConvertRangesToIntervals()
1477 psi->intervals[psi->nintervals].first = first; in RecordConvertRangesToIntervals()
[all …]
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dpsi.c991 cgroup->psi.pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc()
992 if (!cgroup->psi.pcpu) in psi_cgroup_alloc()
994 group_init(&cgroup->psi); in psi_cgroup_alloc()
1003 cancel_delayed_work_sync(&cgroup->psi.avgs_work); in psi_cgroup_free()
1004 free_percpu(cgroup->psi.pcpu); in psi_cgroup_free()
1006 WARN_ONCE(cgroup->psi.poll_states, "psi: trigger leak\n"); in psi_cgroup_free()
H A DMakefile38 obj-$(CONFIG_PSI) += psi.o
/OK3568_Linux_fs/kernel/include/trace/hooks/
H A Dpsi.h3 #define TRACE_SYSTEM psi
/OK3568_Linux_fs/kernel/drivers/acpi/apei/
H A 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
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtarget.h167 const char *psi; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtarget.h167 const char *psi; member
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Dcgroup.c3658 struct psi_group *psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_io_pressure_show() local
3660 return psi_show(seq, psi, PSI_IO); in cgroup_io_pressure_show()
3665 struct psi_group *psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_memory_pressure_show() local
3667 return psi_show(seq, psi, PSI_MEM); in cgroup_memory_pressure_show()
3672 struct psi_group *psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_cpu_pressure_show() local
3674 return psi_show(seq, psi, PSI_CPU); in cgroup_cpu_pressure_show()
3683 struct psi_group *psi; in cgroup_pressure_write() local
3693 if (ctx->psi.trigger) { in cgroup_pressure_write()
3698 psi = cgroup_ino(cgrp) == 1 ? &psi_system : &cgrp->psi; in cgroup_pressure_write()
3699 new = psi_trigger_create(psi, buf, nbytes, res); in cgroup_pressure_write()
[all …]
H A Dcgroup-internal.h75 } psi; member

123