/* $NetBSD: kmem.h,v 1.2 2012/07/22 14:27:35 darrenr Exp $ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. * Id: kmem.h,v 1.1.1.2 2012/07/22 13:44:25 darrenr Exp $ */ #ifndef __KMEM_H__ #define __KMEM_H__ #ifndef __P # ifdef __STDC__ # define __P(x) x # else # define __P(x) () # endif #endif extern int openkmem __P((char *, char *)); extern int kmemcpy __P((char *, long, int)); extern int kstrncpy __P((char *, long, int)); #if defined(__NetBSD__) || defined(__OpenBSD) # include #endif #ifdef _PATH_KMEM # define KMEM _PATH_KMEM #else # define KMEM "/dev/kmem" #endif #endif /* __KMEM_H__ */ n> NetBSD fork for lockdoc analysismerlin@scholz.ruhr
summaryrefslogtreecommitdiff
path: root/sys/external/bsd/drm2/include/linux/atomic.h
AgeCommit message (Expand)Author
2021-12-19amdgpu: Another pass through.riastradh
2021-12-19i915: more workriastradh
2021-12-19i915: More progress.riastradh
2021-12-19linux: Just use __sync_* for xchg and cmpxchg.riastradh
2021-12-19linux: Make xchg and cmpxchg work on pointers too.riastradh
2021-12-19drm/linux: atomic_fetch_add/incriastradh
2021-12-19drm/linux: Add memset32, SZ_64K, atomic_sub_return.riastradh
2021-12-19cmpxchgriastradh
2021-12-19Move Linux atomic bitops from linux/atomic.h to linux/bitops.h.riastradh
2021-12-19Move smp_mb_before/after_atomic from linux/atomic.h to asm/barrier.h.riastradh
2021-12-19Linux clear_bit_unlockriastradh
2021-12-19atomic_set_releaseriastradh
2021-12-19atomic_long_xchgriastradh
2021-12-19Omit __insn_barrier where implied or subsumed by volatile.riastradh
2021-12-19atomic_dec_if_positiveriastradh
2021-12-19Allow atomic_read of const.riastradh
2021-12-19Guarantee no repeated loads.riastradh
2021-12-19atomic_fetch_xorriastradh
2021-12-19atomic_andnotriastradh
2021-12-19Kludgey xchg.riastradh
2020-02-14Reduce diffs by side-loading some header files like Linux.maya
2019-09-28Fix signed/unsigned comparisonchristos
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-08-27Implement atomic64_add_return and atomic64_inc_return.riastradh
2018-08-27Sort.riastradh
2018-08-27Fix argument types of atomic64_add/sub to be sensible.riastradh
2018-08-27Implement ATOMIC64_INIT.riastradh
2018-08-27Hash-locked atomic64 to give ports like powerpc32 a chance at radeon.riastradh
2018-08-27Add atomic_long.riastradh
2018-08-27Attempt to match Linux semantics for membars implied by atomics.riastradh
2018-08-27Nix memory barriers that were nixed upstream. Add smp_mb__after_atomic.riastradh
2018-08-27Fix return types of test_and_{set,clear,change}_bit.riastradh
2018-08-27Add Linux smp_mb__before_atomic.riastradh
2018-08-27Implement atomic64_cmpxchg.riastradh
2018-08-27provide pr_noticeriastradh
2014-07-17Correct return values of Linux test-and-set operations (PR 48999).riastradh
2014-07-16First whack at radeon driver.riastradh
2014-07-16Make it build and boot on my test machines.riastradh
2014-06-03Fix atomic_dec_and_test in <linux/atomic.h>: test 0, not -1.riastradh
2014-04-01Fix volatile qualifiers in drm2 <linux/atomic.h>.riastradh
2014-03-18Merge riastradh-drm2 to HEAD.riastradh