Home
last modified time | relevance | path

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

/linux-6.12.1/arch/s390/kernel/
Dos_info.c26 static struct os_info os_info __page_aligned_data;
31 u32 os_info_csum(struct os_info *os_info) in os_info_csum() argument
33 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum()
34 return (__force u32)cksm(&os_info->version_major, size, 0); in os_info_csum()
42 os_info.crashkernel_addr = (u64)(unsigned long)base; in os_info_crashkernel_add()
43 os_info.crashkernel_size = (u64)(unsigned long)size; in os_info_crashkernel_add()
44 os_info.csum = os_info_csum(&os_info); in os_info_crashkernel_add()
52 os_info.entry[nr].addr = __pa(ptr); in os_info_entry_add_data()
53 os_info.entry[nr].size = size; in os_info_entry_add_data()
54 os_info.entry[nr].csum = (__force u32)cksm(ptr, size, 0); in os_info_entry_add_data()
[all …]
DMakefile42 obj-y += sysinfo.o lgr.o os_info.o ctlreg.o
Dasm-offsets.c146 OFFSET(__LC_OS_INFO, lowcore, os_info); in main()
/linux-6.12.1/arch/um/os-Linux/
Dmem.c38 os_info("Couldn't allocate shadow memory: %s\n.", in kasan_map_memory()
52 os_info("Checking if %s is on tmpfs...", dir); in check_tmpfs()
54 os_info("%s\n", strerror(errno)); in check_tmpfs()
56 os_info("no\n"); in check_tmpfs()
58 os_info("OK\n"); in check_tmpfs()
88 os_info("Checking environment variables for a tempdir..."); in choose_tempdir()
92 os_info("%s\n", dir); in choose_tempdir()
99 os_info("none found\n"); in choose_tempdir()
221 os_info("Checking PROT_EXEC mmap in %s...", tempdir); in check_tmpexec()
230 os_info("OK\n"); in check_tmpexec()
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 …]
Dutil.c185 void os_info(const char *fmt, ...) in os_info() function
Dmain.c174 os_info("\n"); in main()
/linux-6.12.1/drivers/s390/char/
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.12.1/arch/um/drivers/
Dchan_user.c168 os_info("winch_thread : failed to write synchronization byte, err = %d\n", in winch_thread()
181 os_info("winch_thread : sigprocmask failed, errno = %d\n", in winch_thread()
189 os_info("winch_thread : setsid failed, errno = %d\n", in winch_thread()
195 os_info("winch_thread : TIOCSCTTY failed on " in winch_thread()
201 os_info("winch_thread : tcsetpgrp failed on fd %d err = %d\n", in winch_thread()
214 os_info("winch_thread : failed to read synchronization byte, err = %d\n", in winch_thread()
226 os_info("winch_thread : write failed, err = %d\n", in winch_thread()
/linux-6.12.1/arch/s390/include/asm/
Dos_info.h43 struct os_info { struct
58 u32 os_info_csum(struct os_info *os_info); argument
Dlowcore.h184 __u64 os_info; /* 0x0e18 */ member
/linux-6.12.1/arch/um/os-Linux/skas/
Dprocess.c226 os_info("mapping mmap stub at 0x%lx failed, errno = %d\n", in userspace_tramp()
236 os_info("mapping segfault stack at 0x%lx failed, errno = %d\n", in userspace_tramp()
247 os_info("%s - setting SIGSEGV handler failed - errno = %d\n", in userspace_tramp()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_virt.h177 unsigned int os_info; member
208 uint32_t os_info; member
Damdgv_sriovmsg.h237 union amd_sriov_msg_os_info os_info; member
Damdgpu_virt.c596 vf2pf_info->os_info.all = 0; in amdgpu_virt_write_vf2pf_data()
/linux-6.12.1/arch/um/kernel/
Dum_arch.c357 os_info("Adding %ld bytes to physical memory to account for " in linux_main()
398 os_info("Kernel virtual memory size shrunk to %lu bytes\n", in linux_main()
/linux-6.12.1/arch/um/include/shared/
Dos.h263 extern void os_info(const char *fmt, ...)