Home
last modified time | relevance | path

Searched refs:sysinfo (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
Dheader.c38 FILE *sysinfo; in get_cpuid() local
56 sysinfo = fopen(SYSINFO, "r"); in get_cpuid()
57 if (sysinfo == NULL) in get_cpuid()
60 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { in get_cpuid()
89 fclose(sysinfo); in get_cpuid()
100 sysinfo = fopen(SRVLVL, "r"); in get_cpuid()
101 if (sysinfo == NULL) in get_cpuid()
103 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { in get_cpuid()
125 fclose(sysinfo); in get_cpuid()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Dsetup.c335 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate() local
337 return sysinfo->cpu_clock_hz; in octeon_get_clock_rate()
662 struct cvmx_sysinfo *sysinfo; in prom_init() local
680 sysinfo = cvmx_sysinfo_get(); in prom_init()
681 memset(sysinfo, 0, sizeof(*sysinfo)); in prom_init()
682 sysinfo->system_dram_size = octeon_bootinfo->dram_size << 20; in prom_init()
683 sysinfo->phy_mem_desc_addr = (u64)phys_to_virt(octeon_bootinfo->phy_mem_desc_addr); in prom_init()
688 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init()
691 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init()
697 cvmx_coremask_clear_core(&sysinfo->core_mask, i); in prom_init()
[all …]
Dsmp.c144 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_smp_setup() local
163 if ((id != coreid) && cvmx_coremask_is_core_set(&sysinfo->core_mask, id)) { in octeon_smp_setup()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsthyi.c184 struct sysinfo_1_1_1 *sysinfo) in fill_stsi_mac() argument
190 if (stsi(sysinfo, 1, 1, 1)) in fill_stsi_mac()
193 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); in fill_stsi_mac()
194 memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu)); in fill_stsi_mac()
195 memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman)); in fill_stsi_mac()
196 memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq)); in fill_stsi_mac()
202 struct sysinfo_2_2_2 *sysinfo) in fill_stsi_par() argument
204 if (stsi(sysinfo, 2, 2, 2)) in fill_stsi_par()
207 sctns->par.infppnum = sysinfo->lpar_number; in fill_stsi_par()
208 memcpy(sctns->par.infppnam, sysinfo->name, sizeof(sctns->par.infppnam)); in fill_stsi_par()
[all …]
Dsysinfo.c26 static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl) in __stsi() argument
39 : "d" (r1), "a" (sysinfo), "K" (-EOPNOTSUPP) in __stsi()
51 int stsi(void *sysinfo, int fc, int sel1, int sel2) in stsi() argument
55 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); in stsi()
DMakefile39 obj-y += sysinfo.o lgr.o os_info.o machine_kexec.o pgm_check.o
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dunwind_vdso.c59 static unsigned long sysinfo; variable
113 if (!got_sysinfo && ip == sysinfo) { in sigtrap()
141 sysinfo = getauxval(AT_SYSINFO); in main()
142 printf("\tAT_SYSINFO is 0x%lx\n", sysinfo); in main()
145 if (!dladdr((void *)sysinfo, &info)) { in main()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-sysinfo.c40 static struct cvmx_sysinfo sysinfo; /* system information */ variable
50 return &sysinfo; in cvmx_sysinfo_get()
DMakefile12 obj-y += cvmx-bootmem.o cvmx-l2c.o cvmx-sysinfo.o octeon-model.o
/kernel/liteos_a/syscall/
Dmisc_syscall.c107 int SysInfo(struct sysinfo *info) in SysInfo()
110 struct sysinfo tmpInfo = { 0 }; in SysInfo()
119 ret = LOS_ArchCopyToUser(info, &tmpInfo, sizeof(struct sysinfo)); in SysInfo()
/kernel/linux/linux-5.10/include/uapi/linux/
Dsysinfo.h8 struct sysinfo { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsysinfo.h23 struct sysinfo { struct
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsysinfo.h10 struct sysinfo { struct
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp4_core.c72 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs()
152 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_data_offsets()
188 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_cydata()
267 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_test_data()
326 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_pcfg_data()
374 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_opcfg_data()
474 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_ddata()
501 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_mdata()
528 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_btn_data()
581 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_op_data_ptrs()
[all …]
Dcyttsp4_core.h345 struct cyttsp4_sysinfo sysinfo; member
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_memory.c300 const struct sysinfo *si) in ttm_mem_init_kernel_zone()
332 const struct sysinfo *si) in ttm_mem_init_highmem_zone()
368 const struct sysinfo *si) in ttm_mem_init_dma32_zone()
417 struct sysinfo si; in ttm_mem_global_init()
/kernel/linux/linux-5.10/tools/testing/selftests/size/
Dget_size.c87 struct sysinfo info; in _start()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dsysinfo.h187 int stsi(void *sysinfo, int fc, int sel1, int sel2);
/kernel/linux/linux-5.10/arch/s390/appldata/
Dappldata_mem.c78 static struct sysinfo val; in appldata_get_mem_data()
/kernel/linux/linux-5.10/include/linux/
Dswap.h138 struct sysinfo;
476 extern void si_swapinfo(struct sysinfo *);
/kernel/linux/linux-5.10/fs/proc/
Dmeminfo.c37 struct sysinfo i; in meminfo_proc_show()
/kernel/linux/linux-5.10/kernel/
Dsys.c2620 static int do_sysinfo(struct sysinfo *info) in do_sysinfo()
2626 memset(info, 0, sizeof(struct sysinfo)); in do_sysinfo()
2683 SYSCALL_DEFINE1(sysinfo, struct sysinfo __user *, info) in SYSCALL_DEFINE1() argument
2685 struct sysinfo val; in SYSCALL_DEFINE1()
2689 if (copy_to_user(info, &val, sizeof(struct sysinfo))) in SYSCALL_DEFINE1()
2713 COMPAT_SYSCALL_DEFINE1(sysinfo, struct compat_sysinfo __user *, info) in COMPAT_SYSCALL_DEFINE1() argument
2715 struct sysinfo s; in COMPAT_SYSCALL_DEFINE1()
/kernel/linux/linux-5.10/net/ipv4/
Dinetpeer.c76 struct sysinfo si; in inet_initpeers()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c85 struct sysinfo si; in mlx4_make_profile()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_output.c54 struct sysinfo mem_info; in update_memory_rate()

123