data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _RUNTIME_INSTR_H #define _RUNTIME_INSTR_H #include <uapi/asm/runtime_instr.h> extern struct runtime_instr_cb runtime_instr_empty_cb; static inline void save_ri_cb(struct runtime_instr_cb *cb_prev) { if (cb_prev) store_runtime_instr_cb(cb_prev); } static inline void ...
arch/s390/include/asm/runtime_instr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_S390_RWONCE_H #define __ASM_S390_RWONCE_H #include <linux/compiler_types.h> /* * Use READ_ONCE_ALIGNED_128() for 128-bit block concurrent (atomic) read * accesses. Note that x must be 128-bit aligned, otherwise a specification * exception is generated. */ #def...
arch/s390/include/asm/rwonce.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASM_SCHID_H #define ASM_SCHID_H #include <linux/string.h> #include <uapi/asm/schid.h> /* Helper function for sane state of pre-allocated subchannel_id. */ static inline void init_subchannel_id(struct subchannel_id *schid) { memset(schid, 0, sizeof(struct subchannel_id))...
arch/s390/include/asm/schid.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright IBM Corp. 2007 */ #ifndef _ASM_S390_SCLP_H #define _ASM_S390_SCLP_H #include <linux/types.h> #define SCLP_CHP_INFO_MASK_SIZE 32 #define EARLY_SCCB_SIZE PAGE_SIZE #define SCLP_MAX_CORES 512 /* 144 + 16 * SCLP_MAX_CORES + 2 * (SCLP_MAX_CORES - 1) */ #define...
arch/s390/include/asm/sclp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Helper functions for scsw access. * * Copyright IBM Corp. 2008, 2012 * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com> */ #ifndef _ASM_S390_SCSW_H_ #define _ASM_S390_SCSW_H_ #include <linux/types.h> #include <asm/css_chars.h> #include <asm/dma-ty...
arch/s390/include/asm/scsw.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_SECCOMP_H #define _ASM_S390_SECCOMP_H #include <linux/unistd.h> #define __NR_seccomp_read __NR_read #define __NR_seccomp_write __NR_write #define __NR_seccomp_exit __NR_exit #define __NR_seccomp_sigreturn __NR_sigreturn #define __NR_seccomp_read_32 __NR_read #...
arch/s390/include/asm/seccomp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _S390_SECTIONS_H #define _S390_SECTIONS_H #include <asm-generic/sections.h> /* * .boot.data section contains variables "shared" between the decompressor and * the decompressed kernel. The decompressor will store values in them, and * copy over to the decompressed imag...
arch/s390/include/asm/sections.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASMS390_SET_MEMORY_H #define _ASMS390_SET_MEMORY_H #include <linux/mutex.h> extern struct mutex cpa_mutex; enum { _SET_MEMORY_RO_BIT, _SET_MEMORY_RW_BIT, _SET_MEMORY_NX_BIT, _SET_MEMORY_X_BIT, _SET_MEMORY_4K_BIT, _SET_MEMORY_INV_BIT, _SET_MEMORY_DEF_BIT, }; #de...
arch/s390/include/asm/set_memory.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * Copyright IBM Corp. 1999, 2017 */ #ifndef _ASM_S390_SETUP_H #define _ASM_S390_SETUP_H #include <linux/bits.h> #include <uapi/asm/setup.h> #include <linux/build_bug.h> #define PARMAREA 0x10400 #define COMMAND_LINE_SIZE CONFIG_COMMAND_LINE_SIZE #defin...
arch/s390/include/asm/setup.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * * Derived from "include/asm-i386/signal.h" */ #ifndef _ASMS390_SIGNAL_H #define _ASMS390_SIGNAL_H #include <uapi/asm/signal.h> /* Most things should be clean enough to redefine this at will, if care is taken to make libc match. */ #include <asm/sigc...
arch/s390/include/asm/signal.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __S390_ASM_SIGP_H #define __S390_ASM_SIGP_H /* SIGP order codes */ #define SIGP_SENSE 1 #define SIGP_EXTERNAL_CALL 2 #define SIGP_EMERGENCY_SIGNAL 3 #define SIGP_START 4 #define SIGP_STOP 5 #define SIGP_RESTART 6 #define SIGP_STOP_A...
arch/s390/include/asm/sigp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SKEY_H #define __ASM_SKEY_H #include <asm/rwonce.h> struct skey_region { unsigned long start; unsigned long end; }; #define SKEY_REGION(_start, _end) \ stringify_in_c(.section .skey_region,"a";) \ stringify_in_c(.balign 8;) \ stringify_in_c(.quad (_start)...
arch/s390/include/asm/skey.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright IBM Corp. 1999, 2012 * Author(s): Denis Joseph Barrow, * Martin Schwidefsky <schwidefsky@de.ibm.com>, */ #ifndef __ASM_SMP_H #define __ASM_SMP_H #include <asm/processor.h> #include <asm/lowcore.h> #include <asm/machine.h> #include <asm/sigp.h> static _...
arch/s390/include/asm/smp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __ASM_S390_SOFTIRQ_STACK_H #define __ASM_S390_SOFTIRQ_STACK_H #include <asm/lowcore.h> #include <asm/stacktrace.h> #ifdef CONFIG_SOFTIRQ_ON_OWN_STACK static inline void do_softirq_own_stack(void) { call_on_stack(0, get_lowcore()->async_stack, void, __do_softirq...
arch/s390/include/asm/softirq_stack.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_SPARSEMEM_H #define _ASM_S390_SPARSEMEM_H #define SECTION_SIZE_BITS 27 #define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS #ifdef CONFIG_NUMA static inline int memory_add_physaddr_to_nid(u64 addr) { return 0; } #define memory_add_physaddr_to_nid memory_add_physa...
arch/s390/include/asm/sparsemem.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * Copyright IBM Corp. 1999 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * Derived from "include/asm-i386/spinlock.h" */ #ifndef __ASM_SPINLOCK_H #define __ASM_SPINLOCK_H #include <linux/smp.h> #include <asm/atomic_ops.h> #include <as...
arch/s390/include/asm/spinlock.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SPINLOCK_TYPES_H #define __ASM_SPINLOCK_TYPES_H #ifndef __LINUX_SPINLOCK_TYPES_RAW_H # error "Please do not include this file directly." #endif typedef struct { int lock; } arch_spinlock_t; #define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, } typedef struct { int c...
arch/s390/include/asm/spinlock_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_STACKPROTECTOR_H #define _ASM_S390_STACKPROTECTOR_H #include <linux/sched.h> #include <asm/current.h> #include <asm/lowcore.h> static __always_inline void boot_init_stack_canary(void) { current->stack_canary = get_random_canary(); get_lowcore()->stack_canary...
arch/s390/include/asm/stackprotector.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_STACKTRACE_H #define _ASM_S390_STACKTRACE_H #include <linux/stacktrace.h> #include <linux/uaccess.h> #include <linux/ptrace.h> struct stack_frame_user { unsigned long back_chain; unsigned long empty1[5]; unsigned long gprs[10]; unsigned long empty2[4]; }; ...
arch/s390/include/asm/stacktrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright IBM Corp. 2006 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ #ifndef __S390_STP_H #define __S390_STP_H #include <linux/compiler.h> /* notifier for syncs */ extern struct atomic_notifier_head s390_epoch_delta_notifier; /* STP interruption parame...
arch/s390/include/asm/stp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * Copyright IBM Corp. 1999 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com), */ #ifndef _S390_STRING_H_ #define _S390_STRING_H_ #ifndef _LINUX_TYPES_H #include <linux/types.h> #endif #define __HAVE_ARCH_MEMCPY /* gcc builtin & arch function ...
arch/s390/include/asm/string.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Access to user system call parameters and results * * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ #ifndef _ASM_SYSCALL_H #define _ASM_SYSCALL_H 1 #include <uapi/linux/audit.h> #include <linux/sched.h> #include <linux/err.h> #i...
arch/s390/include/asm/syscall.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * syscall_wrapper.h - s390 specific wrappers to syscall definitions * */ #ifndef _ASM_S390_SYSCALL_WRAPPER_H #define _ASM_S390_SYSCALL_WRAPPER_H /* Mapping of registers to parameters for syscalls */ #define SC_S390_REGS_TO_ARGS(x, ...) \ __MAP(x, __SC_ARGS \ ...
arch/s390/include/asm/syscall_wrapper.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * definition for store system information stsi * * Copyright IBM Corp. 2001, 2008 * * Author(s): Ulrich Weigand <weigand@de.ibm.com> * Christian Borntraeger <borntraeger@de.ibm.com> */ #ifndef __ASM_S390_SYSINFO_H #define __ASM_S390_SYSINFO_H #include <linux/uuid....
arch/s390/include/asm/sysinfo.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_TEXT_PATCHING_H #define _ASM_S390_TEXT_PATCHING_H #include <asm/barrier.h> static __always_inline void sync_core(void) { bcr_serialize(); } void text_poke_sync(void); void text_poke_sync_lock(void); #endif /* _ASM_S390_TEXT_PATCHING_H */
arch/s390/include/asm/text-patching.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * Copyright IBM Corp. 2002, 2006 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ #ifndef _ASM_THREAD_INFO_H #define _ASM_THREAD_INFO_H #include <linux/bits.h> #include <vdso/page.h> /* * General size of kernel stacks */ #if defined(CON...
arch/s390/include/asm/thread_info.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * Copyright IBM Corp. 1999 * * Derived from "include/asm-i386/timex.h" * Copyright (C) 1992, Linus Torvalds */ #ifndef _ASM_S390_TIMEX_H #define _ASM_S390_TIMEX_H #include <linux/preempt.h> #include <linux/time64.h> #include <asm/lowcore.h> #inclu...
arch/s390/include/asm/timex.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _S390_TLB_H #define _S390_TLB_H /* * TLB flushing on s390 is complicated. The following requirement * from the principles of operation is the most arduous: * * "A valid table entry must not be changed while it is attached * to any CPU and may be used for translation ...
arch/s390/include/asm/tlb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _S390_TLBFLUSH_H #define _S390_TLBFLUSH_H #include <linux/cpufeature.h> #include <linux/mm.h> #include <linux/sched.h> #include <asm/processor.h> #include <asm/machine.h> /* * Flush all TLB entries on the local CPU. */ static inline void __tlb_flush_local(void) { asm ...
arch/s390/include/asm/tlbflush.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_TOPOLOGY_H #define _ASM_S390_TOPOLOGY_H #include <linux/cpumask.h> #include <asm/numa.h> struct sysinfo_15_1_x; struct cpu; #ifdef CONFIG_SCHED_TOPOLOGY struct cpu_topology_s390 { unsigned short thread_id; unsigned short core_id; unsigned short socket_id; ...
arch/s390/include/asm/topology.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_S390_TPI_H #define _ASM_S390_TPI_H #include <linux/types.h> #include <uapi/asm/schid.h> #ifndef __ASSEMBLER__ /* I/O-Interruption Code as stored by TEST PENDING INTERRUPTION (TPI). */ struct tpi_info { struct subchannel_id schid; u32 intpa...
arch/s390/include/asm/tpi.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _ASM_S390_TYPES_H #define _ASM_S390_TYPES_H #include <uapi/asm/types.h> #ifndef __ASSEMBLER__ union register_pair { unsigned __int128 pair; struct { unsigned long even; unsigned long odd; }; }; #endif /* __ASSEMBLER__ */ #endif /* _ASM_S390_TYPES_H */
arch/s390/include/asm/types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * Copyright IBM Corp. 1999, 2000 * Author(s): Hartmut Penner (hp@de.ibm.com), * Martin Schwidefsky (schwidefsky@de.ibm.com) * * Derived from "include/asm-i386/uaccess.h" */ #ifndef __S390_UACCESS_H #define __S390_UACCESS_H /* * User space memor...
arch/s390/include/asm/uaccess.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * * Derived from "include/asm-i386/unistd.h" */ #ifndef _ASM_S390_UNISTD_H_ #define _ASM_S390_UNISTD_H_ #include <uapi/asm/unistd.h> #define NR_syscalls (__NR_syscalls) #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_SYS_...
arch/s390/include/asm/unistd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_S390_UNWIND_H #define _ASM_S390_UNWIND_H #include <linux/sched.h> #include <linux/ftrace.h> #include <linux/rethook.h> #include <linux/llist.h> #include <asm/ptrace.h> #include <asm/stacktrace.h> /* * To use the stack unwinder it has to be initialized with unwind_s...
arch/s390/include/asm/unwind.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * User-space Probes (UProbes) for s390 * * Copyright IBM Corp. 2014 * Author(s): Jan Willeke, */ #ifndef _ASM_UPROBES_H #define _ASM_UPROBES_H #include <linux/notifier.h> typedef u16 uprobe_opcode_t; #define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */ #defi...
arch/s390/include/asm/uprobes.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * * Derived from "include/asm-i386/usr.h" */ #ifndef _S390_USER_H #define _S390_USER_H #include <asm/page.h> #include <asm/ptrace.h> /* Core file format: The core file is written in such a way that gdb can understand it and provide useful information t...
arch/s390/include/asm/user.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Ultravisor Interfaces * * Copyright IBM Corp. 2019, 2024 * * Author(s): * Vasily Gorbik <gor@linux.ibm.com> * Janosch Frank <frankja@linux.ibm.com> */ #ifndef _ASM_S390_UV_H #define _ASM_S390_UV_H #include <linux/types.h> #include <linux/errno.h> #include <linux/bug....
arch/s390/include/asm/uv.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __S390_VDSO_SYMBOLS_H__ #define __S390_VDSO_SYMBOLS_H__ #include <generated/vdso-offsets.h> #define VDSO_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso_offset_##name)) #endif /* __S390_VDSO_SYMBOLS_H__ */
arch/s390/include/asm/vdso-symbols.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __S390_VDSO_H__ #define __S390_VDSO_H__ #include <vdso/datapage.h> #ifndef __ASSEMBLER__ int vdso_getcpu_init(void); #endif /* __ASSEMBLER__ */ #define __VDSO_PAGES 4 #define VDSO_VERSION_STRING LINUX_2.6.29 #endif /* __S390_VDSO_H__ */
arch/s390/include/asm/vdso.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/page.h> /* * .boot.data section is shared between the decompressor code and the * decompressed kernel. The decompressor will store values in it, and copy * over to the decompressed image before starting it. * * .boot.data variables are kept in separate .boot.da...
arch/s390/include/asm/vmlinux.lds.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _S390_VTIME_H #define _S390_VTIME_H static inline void update_timer_sys(void) { struct lowcore *lc = get_lowcore(); lc->system_timer += lc->last_update_timer - lc->exit_timer; lc->user_timer += lc->exit_timer - lc->sys_enter_timer; lc->last_update_timer = lc->sys_ent...
arch/s390/include/asm/vtime.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright IBM Corp. 2003, 2012 * Virtual CPU timer * * Author(s): Jan Glauber <jan.glauber@de.ibm.com> */ #ifndef _ASM_S390_TIMER_H #define _ASM_S390_TIMER_H #define VTIMER_MAX_SLICE (0x7fffffffffffffffULL) struct vtimer_list { struct list_head entry; u64 expires...
arch/s390/include/asm/vtimer.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_WORD_AT_A_TIME_H #define _ASM_WORD_AT_A_TIME_H #include <linux/bitops.h> #include <linux/wordpart.h> #include <asm/asm-extable.h> #include <asm/bitsperlong.h> struct word_at_a_time { const unsigned long bits; }; #define WORD_AT_A_TIME_CONSTANTS { REPEAT_BYTE(0x7f)...
arch/s390/include/asm/word-at-a-time.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Optimited xor routines * * Copyright IBM Corp. 2016 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> */ #ifndef _ASM_S390_XOR_H #define _ASM_S390_XOR_H extern struct xor_block_template xor_block_xc; #undef XOR_TRY_TEMPLATES #define XOR_TRY_TEMPLATES \ do { ...
arch/s390/include/asm/xor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Tracepoint definitions for s390 ap bus related trace events * * There are two AP bus related tracepoint events defined here: * There is a tracepoint s390_ap_nqap event immediately after a request * has been pushed into the AP firmware queue with the NQAP AP command. * T...
arch/s390/include/asm/trace/ap.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Tracepoint header for s390 diagnose calls * * Copyright IBM Corp. 2015 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> */ #undef TRACE_SYSTEM #define TRACE_SYSTEM s390 #if !defined(_TRACE_S390_DIAG_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_S390_DIA...
arch/s390/include/asm/trace/diag.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Tracepoint header for hiperdispatch * * Copyright IBM Corp. 2024 */ #undef TRACE_SYSTEM #define TRACE_SYSTEM s390 #if !defined(_TRACE_S390_HIPERDISPATCH_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_S390_HIPERDISPATCH_H #include <linux/tracepoint.h> #undef TRA...
arch/s390/include/asm/trace/hiperdispatch.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ /* * Tracepoint definitions for the s390 zcrypt device driver * * Copyright IBM Corp. 2016,2025 * Author(s): Harald Freudenberger <freude@de.ibm.com> * * Currently there are two tracepoint events defined here. * An s390_zcrypt_req request event occurs as soon as the request...
arch/s390/include/asm/trace/zcrypt.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSO_CLOCKSOURCE_H #define __ASM_VDSO_CLOCKSOURCE_H #define VDSO_ARCH_CLOCKMODES \ VDSO_CLOCKMODE_TOD #endif /* __ASM_VDSO_CLOCKSOURCE_H */
arch/s390/include/asm/vdso/clocksource.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSO_GETRANDOM_H #define __ASM_VDSO_GETRANDOM_H #ifndef __ASSEMBLER__ #include <vdso/datapage.h> #include <asm/vdso/vsyscall.h> #include <asm/syscall.h> #include <asm/unistd.h> #include <asm/page.h> /** * getrandom_syscall - Invoke the getrandom() syscall. * @b...
arch/s390/include/asm/vdso/getrandom.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef ASM_VDSO_GETTIMEOFDAY_H #define ASM_VDSO_GETTIMEOFDAY_H #define VDSO_HAS_TIME 1 #define VDSO_HAS_CLOCK_GETRES 1 #define VDSO_DELTA_NOMASK 1 #include <asm/syscall.h> #include <asm/timex.h> #include <asm/unistd.h> #include <linux/compiler.h> static inline u64 __arch_ge...
arch/s390/include/asm/vdso/gettimeofday.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_VDSO_PROCESSOR_H #define __ASM_VDSO_PROCESSOR_H #define cpu_relax() barrier() #endif /* __ASM_VDSO_PROCESSOR_H */
arch/s390/include/asm/vdso/processor.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __S390_ASM_VDSO_TIME_DATA_H #define __S390_ASM_VDSO_TIME_DATA_H #include <linux/types.h> struct arch_vdso_time_data { __s64 tod_delta; }; #endif /* __S390_ASM_VDSO_TIME_DATA_H */
arch/s390/include/asm/vdso/time_data.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_VDSO_VSYSCALL_H #define __ASM_VDSO_VSYSCALL_H #ifndef __ASSEMBLER__ #include <linux/hrtimer.h> #include <vdso/datapage.h> #include <asm/vdso.h> /* The asm-generic header needs to be included after the definitions above */ #include <asm-generic/vdso/vsyscall.h> #e...
arch/s390/include/asm/vdso/vsyscall.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASMS390_AUXVEC_H #define __ASMS390_AUXVEC_H #define AT_SYSINFO_EHDR 33 #define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ #endif
arch/s390/include/uapi/asm/auxvec.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_S390_BITSPERLONG_H #define __ASM_S390_BITSPERLONG_H #define __BITS_PER_LONG 64 #include <asm-generic/bitsperlong.h> #endif /* __ASM_S390_BITSPERLONG_H */
arch/s390/include/uapi/asm/bitsperlong.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__ASM_BPF_PERF_EVENT_H__ #define _UAPI__ASM_BPF_PERF_EVENT_H__ #include <asm/ptrace.h> typedef user_pt_regs bpf_user_pt_regs_t; #endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */
arch/s390/include/uapi/asm/bpf_perf_event.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _S390_BYTEORDER_H #define _S390_BYTEORDER_H #include <linux/byteorder/big_endian.h> #endif /* _S390_BYTEORDER_H */
arch/s390/include/uapi/asm/byteorder.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright IBM Corp. 2007, 2012 * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com> */ #ifndef _UAPI_ASM_S390_CHPID_H #define _UAPI_ASM_S390_CHPID_H #include <linux/string.h> #include <linux/types.h> #define __MAX_CHPID 255 st...
arch/s390/include/uapi/asm/chpid.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * ioctl interface for /dev/chsc * * Copyright IBM Corp. 2008, 2012 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> */ #ifndef _ASM_CHSC_H #define _ASM_CHSC_H #include <linux/types.h> #include <linux/ioctl.h> #include <asm/chpid.h> #include <...
arch/s390/include/uapi/asm/chsc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * ioctl interface for /dev/clp * * Copyright IBM Corp. 2016 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> */ #ifndef _ASM_CLP_H #define _ASM_CLP_H #include <linux/types.h> #include <linux/ioctl.h> struct clp_req { unsigned int c : 1; ...
arch/s390/include/uapi/asm/clp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPIS390_CMB_H #define _UAPIS390_CMB_H #include <linux/types.h> /** * struct cmbdata - channel measurement block data for user space * @size: size of the stored data * @elapsed_time: time since last sampling * @ssch_rsch_count: number of ssch...
arch/s390/include/uapi/asm/cmb.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> * Bugreports.to..: <Linux390@de.ibm.com> * Copyright IBM Corp. 1999, 2000 * EMC Symmetrix ioctl Copyright EMC Corporation, 2008 * Author.........: Nigel Hislop <hislop_nigel@emc.com> ...
arch/s390/include/uapi/asm/dasd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Diag ioctls and its associated structures definitions. * * Copyright IBM Corp. 2024 */ #ifndef __S390_UAPI_ASM_DIAG_H #define __S390_UAPI_ASM_DIAG_H #include <linux/types.h> #define DIAG_MAGIC_STR 'D' struct diag324_pib { __u64 address; __u64...
arch/s390/include/uapi/asm/diag.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_S390_UAPI_FS3270_H #define __ASM_S390_UAPI_FS3270_H #include <linux/types.h> #include <asm/ioctl.h> /* ioctls for fullscreen 3270 */ #define TUBICMD _IO('3', 3) /* set ccw command for fs reads. */ #define TUBOCMD _IO('3', 4) /* set ccw co...
arch/s390/include/uapi/asm/fs3270.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _GUARDED_STORAGE_H #define _GUARDED_STORAGE_H #include <linux/types.h> struct gs_cb { __u64 reserved; __u64 gsd; __u64 gssm; __u64 gs_epl_a; }; struct gs_epl { __u8 pad1; union { __u8 gs_eam; struct { __u8 : 6; __u8 e : 1; __u8...
arch/s390/include/uapi/asm/guarded_storage.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright IBM Corp. 2021 * Interface implementation for communication with the CPU Measurement * counter facility device driver. * * Author(s): Thomas Richter <tmricht@linux.ibm.com> * * Define for ioctl() commands to communicate with the CPU Me...
arch/s390/include/uapi/asm/hwctrset.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Structures for hypfs interface * * Copyright IBM Corp. 2013 * * Author: Martin Schwidefsky <schwidefsky@de.ibm.com> */ #ifndef _ASM_HYPFS_H #define _ASM_HYPFS_H #include <linux/types.h> /* * IOCTL for binary interface /sys/kernel/debug/diag_3...
arch/s390/include/uapi/asm/hypfs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ARCH_S390_IOCTLS_H__ #define __ARCH_S390_IOCTLS_H__ #define FIOQSIZE 0x545E #include <asm-generic/ioctls.h> #endif
arch/s390/include/uapi/asm/ioctls.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __S390_IPCBUF_H__ #define __S390_IPCBUF_H__ #include <linux/posix_types.h> /* * The user_ipc_perm structure for S/390 architecture. * Note extra padding because this structure is passed back and forth * between kernel and user space. * * Pad ...
arch/s390/include/uapi/asm/ipcbuf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_S390_UAPI_IPL_H #define _ASM_S390_UAPI_IPL_H #include <linux/types.h> /* IPL Parameter List header */ struct ipl_pl_hdr { __u32 len; __u8 flags; __u8 reserved1[2]; __u8 version; } __packed; #define IPL_PL_FLAG_IPLPS 0x80 #define IPL_P...
arch/s390/include/uapi/asm/ipl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __LINUX_KVM_S390_H #define __LINUX_KVM_S390_H /* * KVM s390 specific structures and definitions * * Copyright IBM Corp. 2008, 2018 * * Author(s): Carsten Otte <cotte@de.ibm.com> * Christian Borntraeger <borntraeger@de.ibm.com>...
arch/s390/include/uapi/asm/kvm.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * User API definitions for paravirtual devices on s390 * * Copyright IBM Corp. 2008 * * Author(s): Christian Borntraeger <borntraeger@de.ibm.com> */
arch/s390/include/uapi/asm/kvm_para.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Definitions for perf-kvm on s390 * * Copyright 2014 IBM Corp. * Author(s): Alexander Yarygin <yarygin@linux.vnet.ibm.com> */ #ifndef __LINUX_KVM_PERF_S390_H #define __LINUX_KVM_PERF_S390_H #include <asm/sie.h> #define DECODE_STR_LEN 40 #define...
arch/s390/include/uapi/asm/kvm_perf.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright IBM Corp. 2006 * Character device driver for writing z/VM APPLDATA monitor records * Version 1.0 * Author(s): Melissa Howland <melissah@us.ibm.com> * */ #ifndef _ASM_390_MONWRITER_H #define _ASM_390_MONWRITER_H /* mon_function values ...
arch/s390/include/uapi/asm/monwriter.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_S390_PERF_REGS_H #define _ASM_S390_PERF_REGS_H enum perf_event_s390_regs { PERF_REG_S390_R0, PERF_REG_S390_R1, PERF_REG_S390_R2, PERF_REG_S390_R3, PERF_REG_S390_R4, PERF_REG_S390_R5, PERF_REG_S390_R6, PERF_REG_S390_R7, PERF_REG_S390_R...
arch/s390/include/uapi/asm/perf_regs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Userspace interface to the pkey device driver * * Copyright IBM Corp. 2017, 2023 * * Author: Harald Freudenberger <freude@de.ibm.com> * */ #ifndef _UAPI_PKEY_H #define _UAPI_PKEY_H #include <linux/ioctl.h> #include <linux/types.h> /* * Ioctl...
arch/s390/include/uapi/asm/pkey.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * */ #ifndef __ARCH_S390_POSIX_TYPES_H #define __ARCH_S390_POSIX_TYPES_H /* * This file is generally used by user-level software, so you need to * be a little careful about namespace pollution etc. Also, we cannot * assume GCC is...
arch/s390/include/uapi/asm/posix_types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * Copyright IBM Corp. 1999, 2000 * Author(s): Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com) */ #ifndef _UAPI_S390_PTRACE_H #define _UAPI_S390_PTRACE_H #include <linux/const.h> /* * Offsets in the user_regs_st...
arch/s390/include/uapi/asm/ptrace.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * ioctl definitions for qeth driver * * Copyright IBM Corp. 2004 * * Author(s): Thomas Spatzier <tspat@de.ibm.com> * */ #ifndef __ASM_S390_QETH_IOCTL_H__ #define __ASM_S390_QETH_IOCTL_H__ #include <linux/types.h> #include <linux/ioctl.h> #define ...
arch/s390/include/uapi/asm/qeth.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef __ASM_S390_UAPI_RAW3270_H #define __ASM_S390_UAPI_RAW3270_H /* Local Channel Commands */ #define TC_WRITE 0x01 /* Write */ #define TC_RDBUF 0x02 /* Read Buffer */ #define TC_EWRITE 0x05 /* Erase write */ #define TC_READMOD 0x06 /* Read modified...
arch/s390/include/uapi/asm/raw3270.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _S390_UAPI_RUNTIME_INSTR_H #define _S390_UAPI_RUNTIME_INSTR_H #include <linux/types.h> #define S390_RUNTIME_INSTR_START 0x1 #define S390_RUNTIME_INSTR_STOP 0x2 struct runtime_instr_cb { __u64 rca; __u64 roa; __u64 rla; __u32 v : 1; __u32...
arch/s390/include/uapi/asm/runtime_instr.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPIASM_SCHID_H #define _UAPIASM_SCHID_H #include <linux/types.h> #ifndef __ASSEMBLER__ struct subchannel_id { __u32 cssid : 8; __u32 : 4; __u32 m : 1; __u32 ssid : 2; __u32 one : 1; __u32 sch_no : 16; } __attribute__ ((packed, aligned(4))...
arch/s390/include/uapi/asm/schid.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * IOCTL interface for SCLP * * Copyright IBM Corp. 2012 * * Author: Michael Holzheu <holzheu@linux.vnet.ibm.com> */ #ifndef _ASM_SCLP_CTL_H #define _ASM_SCLP_CTL_H #include <linux/types.h> struct sclp_ctl_sccb { __u32 cmdw; __u64 sccb; } __att...
arch/s390/include/uapi/asm/sclp_ctl.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_S390_SIE_H #define _UAPI_ASM_S390_SIE_H #define diagnose_codes \ { 0x10, "DIAG (0x10) release pages" }, \ { 0x44, "DIAG (0x44) time slice end" }, \ { 0x9c, "DIAG (0x9c) time slice end directed" }, \ { 0x204, "DIAG (0x204) log...
arch/s390/include/uapi/asm/sie.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * Copyright IBM Corp. 1999, 2000 */ #ifndef _ASM_S390_SIGCONTEXT_H #define _ASM_S390_SIGCONTEXT_H #include <linux/compiler.h> #include <linux/types.h> #define __NUM_GPRS 16 #define __NUM_FPRS 16 #define __NUM_ACRS 16 #define _...
arch/s390/include/uapi/asm/sigcontext.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/signal.h" */ #ifndef _UAPI_ASMS390_SIGNAL_H #define _UAPI_ASMS390_SIGNAL_H #include <linux/types.h> #include <linux/time.h> /* Avoid too many header ordering problems. */ struct siginfo; struct ...
arch/s390/include/uapi/asm/signal.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/stat.h" */ #ifndef _S390_STAT_H #define _S390_STAT_H struct stat { unsigned long st_dev; unsigned long st_ino; unsigned long st_nlink; unsigned int st_mode; ...
arch/s390/include/uapi/asm/stat.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/statfs.h" */ #ifndef _S390_STATFS_H #define _S390_STATFS_H /* * We can't use <asm-generic/statfs.h> because in 64-bit mode * we mix ints of different sizes in our struct statfs. */ #ifndef __K...
arch/s390/include/uapi/asm/statfs.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_STHYI_H #define _UAPI_ASM_STHYI_H #define STHYI_FC_CP_IFL_CAP 0 #endif /* _UAPI_ASM_STHYI_H */
arch/s390/include/uapi/asm/sthyi.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/types.h" */ #ifndef _UAPI_S390_TYPES_H #define _UAPI_S390_TYPES_H #include <asm-generic/int-ll64.h> #ifndef __ASSEMBLER__ typedef unsigned long addr_t; typedef __signed__ long saddr_t; typedef ...
arch/s390/include/uapi/asm/types.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/ucontext.h" */ #ifndef _ASM_S390_UCONTEXT_H #define _ASM_S390_UCONTEXT_H #define UC_GPRS_HIGH 1 /* uc_mcontext_ext has valid high gprs */ #define UC_VXRS 2 /* uc_mcontext_ext has valid vector reg...
arch/s390/include/uapi/asm/ucontext.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/unistd.h" */ #ifndef _UAPI_ASM_S390_UNISTD_H_ #define _UAPI_ASM_S390_UNISTD_H_ #include <asm/unistd_64.h> #endif /* _UAPI_ASM_S390_UNISTD_H_ */
arch/s390/include/uapi/asm/unistd.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright IBM Corp. 2022, 2024 * Author(s): Steffen Eiden <seiden@linux.ibm.com> */ #ifndef __S390_ASM_UVDEVICE_H #define __S390_ASM_UVDEVICE_H #include <linux/types.h> struct uvio_ioctl_cb { __u32 flags; __u16 uv_rc; /* UV header rc value *...
arch/s390/include/uapi/asm/uvdevice.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ /* * Definitions for virtio-ccw devices. * * Copyright IBM Corp. 2013 * * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> */ #ifndef __KVM_VIRTIO_CCW_H #define __KVM_VIRTIO_CCW_H /* Alignment of vring buffers. */ #define KVM_...
arch/s390/include/uapi/asm/virtio-ccw.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright IBM Corp. 2004, 2005 * Interface implementation for communication with the z/VM control program * Version 1.0 * Author(s): Christian Borntraeger <cborntra@de.ibm.com> * * * z/VMs CP offers the possibility to issue commands via the diag...
arch/s390/include/uapi/asm/vmcp.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * This file contains volume label definitions for DASD devices. * * Copyright IBM Corp. 2005 * * Author(s): Volker Sameske <sameske@de.ibm.com> * */ #ifndef _ASM_S390_VTOC_H #define _ASM_S390_VTOC_H #include <linux/types.h> struct vtoc_ttr { _...
arch/s390/include/uapi/asm/vtoc.h
null
null
null
null
null
source
linux
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * include/asm-s390/zcrypt.h * * zcrypt 2.2.1 (user-visible header) * * Copyright IBM Corp. 2001, 2022 * Author(s): Robert Burroughs * Eric Rossman (edrossma@us.ibm.com) * * Hotplug & misc device support: Jochen Roehrig (roehrig@de.i...
arch/s390/include/uapi/asm/zcrypt.h
null
null
null
null
null
source
linux
// SPDX-License-Identifier: GPL-2.0 #include <linux/pgtable.h> #include <asm/abs_lowcore.h> #include <asm/sections.h> unsigned long __bootdata_preserved(__abs_lowcore); int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc) { unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); unsigned long ...
arch/s390/kernel/abs_lowcore.c
null
null
null
null
null