/linux/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 18 struct bpf_dynptr ptr; member 62 static int get_map_val_dynptr(struct bpf_dynptr *ptr) in get_map_val_dynptr() 84 struct bpf_dynptr ptr = {}; in ringbuf_missing_release1() local 119 struct bpf_dynptr ptr; in missing_release_callback_fn() local 142 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 155 struct bpf_dynptr ptr; in use_after_invalid() local 175 struct bpf_dynptr ptr; in ringbuf_invalid_api() local 198 struct bpf_dynptr ptr; in add_dynptr_to_map1() local 234 struct bpf_dynptr ptr; in data_slice_out_of_bounds_ringbuf() local 256 struct bpf_dynptr ptr; in data_slice_out_of_bounds_skb() local [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | mseal_test.c | 65 static int sys_mprotect(void *ptr, size_t size, unsigned long prot) in sys_mprotect() argument 74 static int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() argument 84 static int sys_munmap(void *ptr, size_t size) in sys_munmap() argument 172 void *ptr; in setup_single_address() local 180 void *ptr; in setup_single_address_rw() local 187 clean_single_address(void * ptr,int size) clean_single_address() argument 194 seal_single_address(void * ptr,int size) seal_single_address() argument 204 void *ptr; seal_support() local 232 void *ptr; test_seal_addseal() local 248 void *ptr; test_seal_unmapped_start() local 276 void *ptr; test_seal_unmapped_middle() local 308 void *ptr; test_seal_unmapped_end() local 337 void *ptr; test_seal_multiple_vmas() local 368 void *ptr; test_seal_split_start() local 393 void *ptr; test_seal_split_end() local 417 void *ptr; test_seal_invalid_input() local 452 void *ptr; test_seal_zero_length() local 476 void *ptr; test_seal_zero_address() local 503 void *ptr; test_seal_twice() local 522 void *ptr; test_seal_mprotect() local 546 void *ptr; test_seal_start_mprotect() local 576 void *ptr; test_seal_end_mprotect() local 606 void *ptr; test_seal_mprotect_unalign_len() local 635 void *ptr; test_seal_mprotect_unalign_len_variant_2() local 663 void *ptr; test_seal_mprotect_two_vma() local 698 void *ptr; test_seal_mprotect_two_vma_with_split() local 745 void *ptr; test_seal_mprotect_partial_mprotect() local 771 void *ptr; test_seal_mprotect_partial_mprotect_tail() local 807 void *ptr; test_seal_mprotect_two_vma_with_gap() local 850 void *ptr; test_seal_mprotect_split() local 887 void *ptr; test_seal_mprotect_merge() local 921 void *ptr; test_seal_munmap() local 952 void *ptr; test_seal_munmap_two_vma() local 993 void *ptr; test_seal_munmap_vma_with_gap() local 1024 void *ptr; test_seal_munmap_partial_across_vmas() local 1054 void *ptr; test_munmap_start_freed() local 1094 void *ptr; test_munmap_end_freed() local 1124 void *ptr; test_munmap_middle_freed() local 1168 void *ptr; test_seal_mremap_shrink() local 1197 void *ptr; test_seal_mremap_expand() local 1229 void *ptr, *newPtr; test_seal_mremap_move() local 1262 void *ptr; test_seal_mmap_overwrite_prot() local 1290 void *ptr; test_seal_mmap_expand() local 1321 void *ptr; test_seal_mmap_shrink() local 1349 void *ptr; test_seal_mremap_shrink_fixed() local 1380 void *ptr; test_seal_mremap_expand_fixed() local 1411 void *ptr; test_seal_mremap_move_fixed() local 1441 void *ptr; test_seal_mremap_move_fixed_zero() local 1472 void *ptr; test_seal_mremap_move_dontunmap() local 1501 void *ptr, *ptr2; test_seal_mremap_move_dontunmap_anyaddr() local 1542 void *ptr; test_seal_merge_and_split() local 1634 void *ptr; test_seal_discard_ro_anon_on_rw() local 1663 void *ptr; test_seal_discard_ro_anon_on_pkey() local 1710 void *ptr; test_seal_discard_ro_anon_on_filebacked() local 1747 void *ptr; test_seal_discard_ro_anon_on_shared() local 1776 void *ptr; test_seal_discard_ro_anon() local 1806 void *ptr; test_seal_discard_across_vmas() local 1837 void *ptr; test_seal_madvise_nodiscard() local [all...] |
H A D | protection_keys.c | 57 noinline int read_ptr(int *ptr) in read_ptr() 179 u64 *ptr = (u64 *)(c + i); in dump_mem() local 554 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() 591 void *ptr; member 598 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() 635 static void free_pkey_malloc(void *ptr) in free_pkey_malloc() 664 void *ptr; in malloc_pkey_with_mprotect() local 685 void *ptr; in malloc_pkey_anon_huge() local 765 void *ptr; in malloc_pkey_hugetlb() local 894 static void test_pkey_alloc_free_attach_pkey0(int *ptr, u16 pkey) in test_pkey_alloc_free_attach_pkey0() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument 46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
|
H A D | atom.c | 181 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 371 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 407 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 412 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 439 int *ptr, uint32_t *saved, int print) in atom_get_dst() 447 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 455 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 598 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 612 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 626 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep() [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) argument 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) argument 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) argument 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) argument 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() 44 #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) argument 45 #define CU32(ptr) get_u32(ctx->bios, (ptr)) argument 46 #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) argument
|
/linux/arch/x86/include/asm/ |
H A D | cmpxchg.h | 42 #define __xchg_op(ptr, arg, op, lock) \ argument 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") argument 85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 133 #define __cmpxchg(ptr, old, new, size) \ argument 136 #define __sync_cmpxchg(ptr, old, new, size) \ argument 139 #define __cmpxchg_local(ptr, old, new, size) \ argument 148 #define arch_cmpxchg(ptr, old, new) \ argument 151 #define arch_sync_cmpxchg(ptr, old, new) \ argument 154 #define arch_cmpxchg_local(ptr, old, new) \ argument 221 #define __try_cmpxchg(ptr, pold, new, size) \ argument [all …]
|
/linux/include/rdma/ |
H A D | iba.h | 12 static inline u32 _iba_get8(const u8 *ptr) in _iba_get8() 17 static inline void _iba_set8(u8 *ptr, u32 mask, u32 prep_value) in _iba_set8() 22 static inline u16 _iba_get16(const __be16 *ptr) in _iba_get16() 27 static inline void _iba_set16(__be16 *ptr, u16 mask, u16 prep_value) in _iba_set16() 32 static inline u32 _iba_get32(const __be32 *ptr) in _iba_get32() 37 static inline void _iba_set32(__be32 *ptr, u32 mask, u32 prep_value) in _iba_set32() 42 static inline u64 _iba_get64(const __be64 *ptr) in _iba_get64() 51 static inline void _iba_set64(__be64 *ptr, u64 mask, u64 prep_value) in _iba_set64() 56 #define _IBA_SET(field_struct, field_offset, field_mask, num_bits, ptr, value) \ argument 62 #define IBA_SET(field, ptr, value) _IBA_SET(field, ptr, value) argument [all …]
|
/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 65 #define _arch_xchg(ptr, new, sc_sfx, swap_sfx, prepend, \ argument 97 #define arch_xchg_relaxed(ptr, x) \ argument 100 #define arch_xchg_acquire(ptr, x) \ argument 104 #define arch_xchg_release(ptr, x) \ argument 107 #define arch_xchg(ptr, x) \ argument 110 #define xchg32(ptr, x) \ argument 116 #define xchg64(ptr, x) \ argument 208 #define _arch_cmpxchg(ptr, old, new, sc_sfx, cas_sfx, \ argument 259 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument 265 #define arch_cmpxchg_acquire(ptr, o, n) \ argument [all …]
|
/linux/drivers/media/pci/zoran/ |
H A D | zr36050.c | 41 static u8 zr36050_read(struct zr36050 *ptr, u16 reg) in zr36050_read() 57 static void zr36050_write(struct zr36050 *ptr, u16 reg, u8 value) in zr36050_write() 72 static u8 zr36050_read_status1(struct zr36050 *ptr) in zr36050_read_status1() 81 static u16 zr36050_read_scalefactor(struct zr36050 *ptr) in zr36050_read_scalefactor() 97 static void zr36050_wait_end(struct zr36050 *ptr) in zr36050_wait_end() 118 static int zr36050_basic_test(struct zr36050 *ptr) in zr36050_basic_test() 154 static int zr36050_pushit(struct zr36050 *ptr, u16 startreg, u16 len, const char *data) in zr36050_pushit() 282 static int zr36050_set_sof(struct zr36050 *ptr) in zr36050_set_sof() 317 static int zr36050_set_sos(struct zr36050 *ptr) in zr36050_set_sos() 345 static int zr36050_set_dri(struct zr36050 *ptr) in zr36050_set_dri() [all …]
|
H A D | zr36060.c | 41 static u8 zr36060_read(struct zr36060 *ptr, u16 reg) in zr36060_read() 55 static void zr36060_write(struct zr36060 *ptr, u16 reg, u8 value) in zr36060_write() 75 static u8 zr36060_read_status(struct zr36060 *ptr) in zr36060_read_status() 84 static u16 zr36060_read_scalefactor(struct zr36060 *ptr) in zr36060_read_scalefactor() 95 static void zr36060_wait_end(struct zr36060 *ptr) in zr36060_wait_end() 112 static int zr36060_basic_test(struct zr36060 *ptr) in zr36060_basic_test() 132 static int zr36060_pushit(struct zr36060 *ptr, u16 startreg, u16 len, const char *data) in zr36060_pushit() 250 static int zr36060_set_sof(struct zr36060 *ptr) in zr36060_set_sof() 279 static int zr36060_set_sos(struct zr36060 *ptr) in zr36060_set_sos() 305 static int zr36060_set_dri(struct zr36060 *ptr) in zr36060_set_dri() [all …]
|
H A D | zr36016.c | 33 static u8 zr36016_read(struct zr36016 *ptr, u16 reg) in zr36016_read() 49 static void zr36016_write(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_write() 68 static u8 zr36016_readi(struct zr36016 *ptr, u16 reg) in zr36016_readi() 86 static void zr36016_writei(struct zr36016 *ptr, u16 reg, u8 value) in zr36016_writei() 105 static u8 zr36016_read_version(struct zr36016 *ptr) in zr36016_read_version() 116 static int zr36016_basic_test(struct zr36016 *ptr) in zr36016_basic_test() 154 static void zr36016_init(struct zr36016 *ptr) in zr36016_init() 198 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_mode() local 216 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_set_video() local 257 struct zr36016 *ptr = (struct zr36016 *)codec->data; in zr36016_control() local [all …]
|
/linux/arch/parisc/include/asm/ |
H A D | uaccess.h | 23 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument 24 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument 26 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", ptr) argument 27 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr) argument 30 #define __get_user_internal(sr, val, ptr) \ argument 45 #define __get_user(val, ptr) \ argument 50 #define __get_user_asm(sr, val, ldx, ptr) \ argument 77 #define __get_user_asm64(sr, val, ptr) \ argument 99 #define __put_user_internal(sr, x, ptr) \ argument 114 #define __put_user(x, ptr) \ argument [all …]
|
H A D | cmpxchg.h | 25 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() 47 #define arch_xchg(ptr, x) \ argument 67 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() 79 #define arch_cmpxchg(ptr, o, n) \ argument 89 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 107 #define arch_cmpxchg_local(ptr, o, n) \ argument 111 #define arch_cmpxchg64_local(ptr, o, n) \ argument 117 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 120 #define arch_cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) argument
|
/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() 92 #define arch_xchg(ptr, x) \ argument 152 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 177 #define arch_cmpxchg_local(ptr, old, new) \ argument 184 #define arch_cmpxchg(ptr, old, new) \ argument 210 #define arch_cmpxchg64_local(ptr, o, n) \ argument 216 #define arch_cmpxchg64(ptr, o, n) \ argument 224 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 228 static inline unsigned long __cmpxchg64(volatile void *ptr, in __cmpxchg64() 299 # define arch_cmpxchg64(ptr, o, n) ({ \ argument [all …]
|
/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | 30 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() 119 #define arch_xchg_relaxed(ptr, x) ({ \ argument 139 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 146 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 158 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() 216 #define arch_cmpxchg_relaxed(ptr,o,n) ({ \ argument 223 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 243 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 250 static inline unsigned long long __cmpxchg64(unsigned long long *ptr, in __cmpxchg64() 275 #define arch_cmpxchg64_relaxed(ptr, o, n) ({ \ argument [all …]
|
/linux/arch/csky/include/asm/ |
H A D | cmpxchg.h | 11 #define __xchg_relaxed(new, ptr, size) \ argument 54 #define arch_xchg_relaxed(ptr, x) \ argument 57 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 87 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument 90 #define __cmpxchg_acquire(ptr, old, new, size) \ argument 121 #define arch_cmpxchg_acquire(ptr, o, n) \ argument 124 #define __cmpxchg(ptr, old, new, size) \ argument 156 #define arch_cmpxchg(ptr, o, n) \ argument 159 #define arch_cmpxchg_local(ptr, o, n) \ argument
|
H A D | uaccess.h | 11 #define __put_user_asm_b(x, ptr, err) \ argument 29 #define __put_user_asm_h(x, ptr, err) \ argument 47 #define __put_user_asm_w(x, ptr, err) \ argument 65 #define __put_user_asm_64(x, ptr, err) \ argument 91 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn() 123 #define __get_user_asm_common(x, ptr, ins, err) \ argument 142 #define __get_user_asm_64(x, ptr, err) \ argument 168 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
|
/linux/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 25 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small() 65 __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() 85 #define arch_xchg(ptr, x) \ argument 114 static inline unsigned int __cmpxchg_small(volatile void *ptr, unsigned int old, in __cmpxchg_small() 163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg() 185 #define arch_cmpxchg_local(ptr, old, new) \ argument 192 #define arch_cmpxchg(ptr, old, new) \ argument 202 #define arch_cmpxchg64_local(ptr, o, n) \ argument 208 #define arch_cmpxchg64(ptr, o, n) \ argument 215 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument [all …]
|
H A D | uaccess.h | 45 #define get_user(x, ptr) \ argument 71 #define put_user(x, ptr) \ argument 100 #define __get_user(x, ptr) \ argument 129 #define __put_user(x, ptr) \ argument 143 #define __get_user_common(val, size, ptr) \ argument 154 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument 156 #define __get_data_asm(val, insn, ptr) \ argument 170 #define __put_user_common(ptr, size) \ argument 181 #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) argument 183 #define __put_data_asm(insn, ptr) \ argument
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atom.c | 183 int *ptr, uint32_t *saved, int print) in atom_get_src_int() 373 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 408 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 413 static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) in atom_get_src_direct() 440 int *ptr, uint32_t *saved, int print) in atom_get_dst() 448 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 456 int *ptr, uint32_t val, uint32_t saved) in atom_put_dst() 599 static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) in atom_op_add() 613 static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) in atom_op_and() 627 static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) in atom_op_beep() [all …]
|
/linux/include/linux/ |
H A D | err.h | 52 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 58 #define PTR_ERR_PCPU(ptr) (PTR_ERR((const void *)(__force const unsigned long)(ptr))) argument 65 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() 71 #define IS_ERR_PCPU(ptr) (IS_ERR((const void *)(__force const unsigned long)(ptr))) argument 79 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() 91 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() 114 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
|
/linux/tools/testing/selftests/bpf/ |
H A D | bpf_arena_common.h | 14 #define arena_container_of(ptr, type, member) \ argument 38 #define cast_kern(ptr) /* nop for bpf prog. emitted by LLVM */ argument 39 #define cast_user(ptr) /* nop for bpf prog. emitted by LLVM */ argument 43 #define cast_kern(ptr) bpf_addr_space_cast(ptr, 0, 1) argument 44 #define cast_user(ptr) bpf_addr_space_cast(ptr, 1, 0) argument 55 #define cast_kern(ptr) /* nop for user space */ argument 56 #define cast_user(ptr) /* nop for user space */ argument 68 static inline void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) in bpf_arena_free_pages()
|
/linux/arch/sparc/include/asm/ |
H A D | cmpxchg_32.h | 18 static __always_inline unsigned long __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg() 28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))… argument 47 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() 56 #define arch_cmpxchg(ptr, o, n) \ argument 65 #define arch_cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) argument 73 #define arch_cmpxchg_local(ptr, o, n) \ argument 76 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
|
/linux/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 75 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() 85 #define arch_cmpxchg(ptr,o,n) \ argument 94 static inline unsigned long __cmpxchg_local(volatile void *ptr, in __cmpxchg_local() 112 #define arch_cmpxchg_local(ptr, o, n) \ argument 115 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 116 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument 174 #define arch_xchg(ptr,x) \ argument 177 static inline u32 xchg_small(volatile void *ptr, u32 x, int size) in xchg_small() 208 __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg()
|