Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files139
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- fpu/
- trace/
- Kbuild
- airq.h
- alternative-asm.h
- alternative.h
- ap.h
- appldata.h
- archrandom.h
- asm-prototypes.h
- atomic.h
- atomic_ops.h
- barrier.h
- bitops.h
- bug.h
- bugs.h
- cache.h
- ccwdev.h
- ccwgroup.h
- checksum.h
- chpid.h
- cio.h
- clp.h
- cmb.h
- cmpxchg.h
- compat.h
- cpacf.h
- cpcmd.h
- cpu.h
- cpu_mf.h
- cpufeature.h
- cputime.h
- crw.h
- css_chars.h
- ctl_reg.h
- current.h
- debug.h
- delay.h
- diag.h
- dis.h
- dma.h
- dwarf.h
- eadm.h
- ebcdic.h
- elf.h
- exec.h
- extable.h
- extmem.h
- facility.h
- fcx.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
arch/s390/include/asm/cputime.h
Text · 805 bytes/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright IBM Corp. 2004
*
* Author: Martin Schwidefsky <[email protected]>
*/
#ifndef _S390_CPUTIME_H
#define _S390_CPUTIME_H
#include <linux/types.h>
#include <asm/timex.h>
#define CPUTIME_PER_USEC 4096ULL
#define CPUTIME_PER_SEC (CPUTIME_PER_USEC * USEC_PER_SEC)
/* We want to use full resolution of the CPU timer: 2**-12 micro-seconds. */
#define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new)
/*
* Convert cputime to microseconds.
*/
static inline u64 cputime_to_usecs(const u64 cputime)
{
return cputime >> 12;
}
/*
* Convert cputime to nanoseconds.
*/
#define cputime_to_nsecs(cputime) tod_to_ns(cputime)
u64 arch_cpu_idle_time(int cpu);
#define arch_idle_time(cpu) arch_cpu_idle_time(cpu)
#endif /* _S390_CPUTIME_H */