/linux/arch/mips/cavium-octeon/ |
A D | setup.c | 333 return sysinfo->cpu_clock_hz; in octeon_get_clock_rate() 658 struct cvmx_sysinfo *sysinfo; in prom_init() local 674 sysinfo = cvmx_sysinfo_get(); in prom_init() 675 memset(sysinfo, 0, sizeof(*sysinfo)); in prom_init() 682 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init() 685 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init() 700 sizeof(sysinfo->mac_addr_base)); in prom_init() 702 memcpy(sysinfo->board_serial_number, in prom_init() 704 sizeof(sysinfo->board_serial_number)); in prom_init() 705 sysinfo->compact_flash_common_base_addr = in prom_init() [all …]
|
A D | smp.c | 144 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()
|
/linux/tools/perf/arch/s390/util/ |
A D | header.c | 38 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()
|
/linux/arch/s390/kernel/ |
A D | sthyi.c | 184 struct sysinfo_1_1_1 *sysinfo) in fill_stsi_mac() argument 190 if (stsi(sysinfo, 1, 1, 1)) 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() 215 void *sysinfo; in fill_stsi() local 218 sysinfo = (void *)__get_free_page(GFP_KERNEL); in fill_stsi() 219 if (!sysinfo) in fill_stsi() 222 fill_stsi_mac(sctns, sysinfo); in fill_stsi() 223 fill_stsi_par(sctns, sysinfo); in fill_stsi() [all …]
|
A D | sysinfo.c | 26 static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl) in __stsi() argument 41 [sysinfo] "a" (sysinfo), in __stsi() 54 int stsi(void *sysinfo, int fc, int sel1, int sel2) in stsi() argument 58 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); in stsi()
|
A D | Makefile | 39 obj-y += sysinfo.o lgr.o os_info.o machine_kexec.o
|
/linux/tools/testing/selftests/syscall_user_dispatch/ |
A D | sud_test.c | 62 struct sysinfo info; in TEST_SIGNAL() 65 ret = sysinfo(&info); in TEST_SIGNAL() 75 sysinfo(&info); in TEST_SIGNAL() 223 struct sysinfo info; in TEST_SIGNAL() 250 sysinfo(&info); in TEST_SIGNAL() 264 struct sysinfo info; in TEST() 292 struct sysinfo info; in TEST() 306 ret = sysinfo(&info); in TEST()
|
A D | sud_benchmark.c | 71 struct sysinfo info; in one_sysinfo_step() 75 sysinfo(&info); in one_sysinfo_step()
|
/linux/tools/testing/selftests/x86/ |
A D | unwind_vdso.c | 59 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()
|
/linux/arch/mips/cavium-octeon/executive/ |
A D | cvmx-sysinfo.c | 40 static struct cvmx_sysinfo sysinfo; /* system information */ variable 50 return &sysinfo; in cvmx_sysinfo_get()
|
A D | Makefile | 12 obj-y += cvmx-bootmem.o cvmx-l2c.o cvmx-sysinfo.o octeon-model.o
|
/linux/drivers/input/touchscreen/ |
A D | cyttsp4_core.c | 86 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs() 166 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_data_offsets() 202 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_cydata() 281 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_test_data() 340 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_pcfg_data() 388 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_opcfg_data() 488 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_ddata() 515 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_mdata() 542 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_get_btn_data() 1082 u8 cmd_ofs = cd->sysinfo.si_ofs.cmd_ofs; in cyttsp4_irq() [all …]
|
A D | cyttsp4_core.h | 331 struct cyttsp4_sysinfo sysinfo; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | ttm_memory.c | 303 const struct sysinfo *si) in ttm_mem_init_kernel_zone() 335 const struct sysinfo *si) in ttm_mem_init_highmem_zone() 371 const struct sysinfo *si) in ttm_mem_init_dma32_zone() 420 struct sysinfo si; in ttm_mem_global_init()
|
/linux/include/uapi/linux/ |
A D | sysinfo.h | 8 struct sysinfo { struct
|
/linux/tools/testing/selftests/size/ |
A D | get_size.c | 87 struct sysinfo info; in _start()
|
/linux/arch/s390/include/asm/ |
A D | sysinfo.h | 187 int stsi(void *sysinfo, int fc, int sel1, int sel2);
|
/linux/arch/s390/appldata/ |
A D | appldata_mem.c | 78 static struct sysinfo val; in appldata_get_mem_data()
|
/linux/kernel/ |
A D | sys.c | 2557 static int do_sysinfo(struct sysinfo *info) in do_sysinfo() 2563 memset(info, 0, sizeof(struct sysinfo)); in do_sysinfo() 2620 SYSCALL_DEFINE1(sysinfo, struct sysinfo __user *, info) in SYSCALL_DEFINE1() argument 2622 struct sysinfo val; in SYSCALL_DEFINE1() 2626 if (copy_to_user(info, &val, sizeof(struct sysinfo))) in SYSCALL_DEFINE1() 2650 COMPAT_SYSCALL_DEFINE1(sysinfo, struct compat_sysinfo __user *, info) in COMPAT_SYSCALL_DEFINE1() argument 2652 struct sysinfo s; in COMPAT_SYSCALL_DEFINE1()
|
/linux/fs/proc/ |
A D | meminfo.c | 34 struct sysinfo i; in meminfo_proc_show()
|
/linux/include/linux/ |
A D | swap.h | 145 struct sysinfo; 495 extern void si_swapinfo(struct sysinfo *);
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_device.c | 70 struct sysinfo si; in ttm_global_init()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | profile.c | 85 struct sysinfo si; in mlx4_make_profile()
|
/linux/lib/math/ |
A D | .int_pow.o.cmd | 67 include/uapi/linux/sysinfo.h \
|
/linux/lib/ |
A D | .hweight.o.cmd | 73 include/uapi/linux/sysinfo.h \
|