/linux-master/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-sysinfo.c | 35 #include <asm/octeon/cvmx-sysinfo.h> 38 * This structure defines the private state maintained by sysinfo module. 40 static struct cvmx_sysinfo sysinfo; /* system information */ variable in typeref:struct:cvmx_sysinfo 50 return &sysinfo;
|
H A D | Makefile | 12 obj-y += cvmx-bootmem.o cvmx-l2c.o cvmx-sysinfo.o octeon-model.o
|
/linux-master/include/uapi/linux/ |
H A D | kernel.h | 5 #include <linux/sysinfo.h>
|
H A D | sysinfo.h | 8 struct sysinfo { struct
|
/linux-master/tools/thermal/lib/ |
H A D | uptimeofday.h | 5 #include <sys/sysinfo.h>
|
H A D | uptimeofday.c | 5 #include <linux/sysinfo.h> 13 struct sysinfo info; 15 if (sysinfo(&info))
|
/linux-master/tools/perf/arch/s390/util/ |
H A D | header.c | 27 #define SYSINFO "/proc/sysinfo" 38 FILE *sysinfo; local 41 * Scan /proc/sysinfo line by line and read out values for 56 sysinfo = fopen(SYSINFO, "r"); 57 if (sysinfo == NULL) 60 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { 89 fclose(sysinfo); 100 sysinfo = fopen(SRVLVL, "r"); 101 if (sysinfo == NULL) 103 while ((read = getline(&line, &line_sz, sysinfo)) ! [all...] |
/linux-master/arch/s390/kernel/ |
H A D | sthyi.c | 16 #include <asm/sysinfo.h> 184 struct sysinfo_1_1_1 *sysinfo) 190 if (stsi(sysinfo, 1, 1, 1)) 193 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); 194 memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu)); 195 memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman)); 196 memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq)); 202 struct sysinfo_2_2_2 *sysinfo) 204 if (stsi(sysinfo, 2, 2, 2)) 207 sctns->par.infppnum = sysinfo 183 fill_stsi_mac(struct sthyi_sctns *sctns, struct sysinfo_1_1_1 *sysinfo) argument 201 fill_stsi_par(struct sthyi_sctns *sctns, struct sysinfo_2_2_2 *sysinfo) argument 215 void *sysinfo; local [all...] |
H A D | sysinfo.c | 20 #include <asm/sysinfo.h> 27 static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl) argument 35 " stsi 0(%[sysinfo])\n" 42 [sysinfo] "a" (sysinfo), 55 int stsi(void *sysinfo, int fc, int sel1, int sel2) argument 59 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); 315 proc_create_single("sysinfo", 0444, NULL, sysinfo_show);
|
H A D | lgr.c | 14 #include <asm/sysinfo.h>
|
/linux-master/tools/testing/selftests/syscall_user_dispatch/ |
H A D | sud_test.c | 10 #include <sys/sysinfo.h> 62 struct sysinfo info; 65 ret = sysinfo(&info); 75 sysinfo(&info); 223 struct sysinfo info; 250 sysinfo(&info); 264 struct sysinfo info; 292 struct sysinfo info; 306 ret = sysinfo(&info);
|
H A D | sud_benchmark.c | 17 #include <sys/sysinfo.h> 71 struct sysinfo info; 75 sysinfo(&info);
|
/linux-master/tools/testing/selftests/size/ |
H A D | get_size.c | 17 * sysinfo(), write(), and _exit() 29 #include <sys/sysinfo.h> 87 struct sysinfo info; 98 print(" ---\n reason: \"could not get sysinfo\"\n ...\n");
|
/linux-master/tools/testing/selftests/x86/ |
H A D | unwind_vdso.c | 59 static unsigned long sysinfo; variable 113 if (!got_sysinfo && ip == sysinfo) { 141 sysinfo = getauxval(AT_SYSINFO); 142 printf("\tAT_SYSINFO is 0x%lx\n", sysinfo); 145 if (!dladdr((void *)sysinfo, &info)) {
|
/linux-master/arch/mips/cavium-octeon/ |
H A D | setup.c | 334 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); local 336 return sysinfo->cpu_clock_hz; 661 struct cvmx_sysinfo *sysinfo; local 676 sysinfo = cvmx_sysinfo_get(); 677 memset(sysinfo, 0, sizeof(*sysinfo)); 678 sysinfo->system_dram_size = octeon_bootinfo->dram_size << 20; 679 sysinfo->phy_mem_desc_addr = (u64)phys_to_virt(octeon_bootinfo->phy_mem_desc_addr); 684 cvmx_coremask_copy(&sysinfo->core_mask, 687 cvmx_coremask_set64(&sysinfo [all...] |
/linux-master/arch/alpha/include/asm/ |
H A D | thread_info.h | 11 #include <asm/sysinfo.h>
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | netcnt.c | 3 #include <sys/sysinfo.h>
|
/linux-master/arch/s390/include/asm/ |
H A D | sysinfo.h | 191 int stsi(void *sysinfo, int fc, int sel1, int sel2);
|
/linux-master/drivers/input/touchscreen/ |
H A D | cyttsp5.c | 199 struct cyttsp5_sysinfo sysinfo; member in struct:cyttsp5 280 struct cyttsp5_sysinfo *si = &ts->sysinfo; 294 struct cyttsp5_sysinfo *si = &ts->sysinfo; 347 struct cyttsp5_sysinfo *si = &ts->sysinfo; 378 struct cyttsp5_sysinfo *si = &ts->sysinfo; 413 struct cyttsp5_sysinfo *si = &ts->sysinfo; 428 struct cyttsp5_sysinfo *si = &ts->sysinfo; 515 struct cyttsp5_sysinfo *si = &ts->sysinfo; 524 struct cyttsp5_sensing_conf_data *scd = &ts->sysinfo.sensing_conf_data; 755 struct cyttsp5_sysinfo *si = &ts->sysinfo; [all...] |
H A D | cyttsp4_core.c | 86 struct cyttsp4_sysinfo *si = &cd->sysinfo; 166 struct cyttsp4_sysinfo *si = &cd->sysinfo; 170 dev_err(cd->dev, "%s: fail read sysinfo data offsets r=%d\n", 175 /* Print sysinfo data offsets */ 179 /* convert sysinfo data offset bytes into integers */ 202 struct cyttsp4_sysinfo *si = &cd->sysinfo; 281 struct cyttsp4_sysinfo *si = &cd->sysinfo; 340 struct cyttsp4_sysinfo *si = &cd->sysinfo; 388 struct cyttsp4_sysinfo *si = &cd->sysinfo; 488 struct cyttsp4_sysinfo *si = &cd->sysinfo; [all...] |
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 8 #include <sys/sysinfo.h> 342 struct sysinfo sys_info; 349 if (sysinfo(&sys_info) != 0)
|
/linux-master/arch/s390/appldata/ |
H A D | appldata_mem.c | 78 static struct sysinfo val;
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_ttm_sys_mgr.c | 104 struct sysinfo si;
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | rseq_test.c | 13 #include <sys/sysinfo.h>
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_cgroup_storage.c | 7 #include <sys/sysinfo.h>
|