Home
last modified time | relevance | path

Searched refs:os_info (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/arch/s390/kernel/
H A Dos_info.c27 static struct os_info os_info __page_aligned_data;
32 u32 os_info_csum(struct os_info *os_info) in os_info_csum() argument
34 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum()
45 os_info.csum = os_info_csum(&os_info); in os_info_crashkernel_add()
54 os_info.entry[nr].size = size; in os_info_entry_add_data()
56 os_info.csum = os_info_csum(&os_info); in os_info_entry_add_data()
65 os_info.entry[nr].size = 0; in os_info_entry_add_val()
66 os_info.entry[nr].csum = 0; in os_info_entry_add_val()
67 os_info.csum = os_info_csum(&os_info); in os_info_entry_add_val()
90 os_info.csum = os_info_csum(&os_info); in os_info_init()
[all …]
H A DMakefile42 obj-y += sysinfo.o lgr.o os_info.o ctlreg.o
H A Dasm-offsets.c144 OFFSET(__LC_OS_INFO, lowcore, os_info); in main()
/linux-6.15/arch/um/os-Linux/
H A Dmem.c38 os_info("Couldn't allocate shadow memory: %s\n.", in kasan_map_memory()
44 os_info("Couldn't set MAD_DONTDUMP on shadow memory: %s\n.", in kasan_map_memory()
64 os_info("Checking if %s is on tmpfs...", dir); in check_tmpfs()
66 os_info("%s\n", strerror(errno)); in check_tmpfs()
68 os_info("no\n"); in check_tmpfs()
70 os_info("OK\n"); in check_tmpfs()
100 os_info("Checking environment variables for a tempdir..."); in choose_tempdir()
104 os_info("%s\n", dir); in choose_tempdir()
111 os_info("none found\n"); in choose_tempdir()
233 os_info("Checking PROT_EXEC mmap in %s...", tempdir); in check_tmpexec()
[all …]
H A Dstart_up.c138 os_info("Checking syscall emulation for ptrace..."); in check_sysemu()
178 os_info("OK\n"); in check_sysemu()
191 os_info("Checking that ptrace can change system call numbers..."); in check_ptrace()
223 os_info("OK\n"); in check_ptrace()
237 os_info("Core dump limits :\n\tsoft - "); in check_coredump_limit()
239 os_info("NONE\n"); in check_coredump_limit()
241 os_info("%llu\n", (unsigned long long)lim.rlim_cur); in check_coredump_limit()
243 os_info("\thard - "); in check_coredump_limit()
245 os_info("NONE\n"); in check_coredump_limit()
247 os_info("%llu\n", (unsigned long long)lim.rlim_max); in check_coredump_limit()
[all …]
H A Dutil.c185 void os_info(const char *fmt, ...) in os_info() function
H A Dmain.c188 os_info("\n"); in main()
/linux-6.15/drivers/s390/char/
H A Dzcore.c222 struct os_info *os_info; in zcore_reipl_init() local
250 os_info = (void *)__get_free_page(GFP_KERNEL); in zcore_reipl_init()
251 if (!os_info) in zcore_reipl_init()
257 rc = memcpy_hsa_kernel(os_info, os_info_addr, PAGE_SIZE); in zcore_reipl_init()
259 rc = memcpy_real(os_info, os_info_addr, PAGE_SIZE); in zcore_reipl_init()
260 if (rc || os_info_csum(os_info) != os_info->csum) in zcore_reipl_init()
262 entry = &os_info->entry[OS_INFO_FLAGS_ENTRY]; in zcore_reipl_init()
272 free_page((unsigned long)os_info); in zcore_reipl_init()
/linux-6.15/arch/um/drivers/
H A Dchan_user.c170 os_info("winch_thread : failed to write synchronization byte, err = %d\n", in winch_thread()
183 os_info("winch_thread : sigprocmask failed, errno = %d\n", in winch_thread()
191 os_info("winch_thread : setsid failed, errno = %d\n", in winch_thread()
197 os_info("winch_thread : TIOCSCTTY failed on " in winch_thread()
203 os_info("winch_thread : tcsetpgrp failed on fd %d err = %d\n", in winch_thread()
216 os_info("winch_thread : failed to read synchronization byte, err = %d\n", in winch_thread()
228 os_info("winch_thread : write failed, err = %d\n", in winch_thread()
/linux-6.15/arch/s390/include/asm/
H A Dos_info.h43 struct os_info { struct
58 u32 os_info_csum(struct os_info *os_info); argument
H A Dlowcore.h182 __u64 os_info; /* 0x0e18 */ member
/linux-6.15/arch/um/kernel/
H A Dum_arch.c365 os_info("Adding %ld bytes to physical memory to account for " in linux_main()
383 os_info("Physical memory size shrunk to %llu bytes\n", in linux_main()
401 os_info("Kernel virtual memory size shrunk to %lu bytes\n", in linux_main()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.h183 unsigned int os_info; member
214 uint32_t os_info; member
H A Damdgv_sriovmsg.h277 union amd_sriov_msg_os_info os_info; member
H A Damdgpu_virt.c599 vf2pf_info->os_info.all = 0; in amdgpu_virt_write_vf2pf_data()
/linux-6.15/arch/um/include/shared/
H A Dos.h263 extern void os_info(const char *fmt, ...)