| /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 70 sret = syscall(__NR_mprotect, ptr, size, prot); in sys_mprotect() 74 static int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() argument 80 sret = syscall(__NR_pkey_mprotect, ptr, size, orig_prot, pkey); in sys_mprotect_pkey() 84 static int sys_munmap(void *ptr, size_t size) in sys_munmap() argument 89 sret = syscall(__NR_munmap, ptr, size); in sys_munmap() 172 void *ptr; in setup_single_address() local 174 ptr = mmap(NULL, size, PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in setup_single_address() 175 *ptrOut = ptr; in setup_single_address() 180 void *ptr; in setup_single_address_rw() local [all …]
|
| H A D | guard-regions.c | 136 static bool try_access_buf(char *ptr, bool write) in try_access_buf() argument 147 *ptr = 'x'; in try_access_buf() 149 FORCE_READ(*ptr); in try_access_buf() 157 static bool try_read_buf(char *ptr) in try_read_buf() argument 159 return try_access_buf(ptr, false); in try_read_buf() 163 static bool try_write_buf(char *ptr) in try_write_buf() argument 165 return try_access_buf(ptr, true); in try_write_buf() 172 static bool try_read_write_buf(char *ptr) in try_read_write_buf() argument 174 return try_read_buf(ptr) && try_write_buf(ptr); in try_read_write_buf() 213 static void set_pattern(char *ptr, size_t num_pages, size_t page_size) in set_pattern() argument [all …]
|
| H A D | hmm-tests.c | 39 void *ptr; member 190 cmd.addr = (__u64)buffer->ptr; in hmm_dmirror_cmd() 191 cmd.ptr = (__u64)buffer->mirror; in hmm_dmirror_cmd() 213 if (buffer->ptr) { in hmm_buffer_free() 214 munmap(buffer->ptr, buffer->size); in hmm_buffer_free() 215 buffer->ptr = NULL; in hmm_buffer_free() 303 int *ptr; in TEST_F() local 319 buffer->ptr = mmap(NULL, size, in TEST_F() 323 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F() 329 i = 2 * self->page_size / sizeof(*ptr); in TEST_F() [all …]
|
| H A D | merge.c | 52 char *ptr; in TEST_F() local 62 ptr = mmap(&carveout[page_size], 10 * page_size, PROT_READ | PROT_WRITE, in TEST_F() 64 ASSERT_NE(ptr, MAP_FAILED); in TEST_F() 73 ASSERT_EQ(mprotect(ptr, 5 * page_size, PROT_READ), 0); in TEST_F() 83 ptr[5 * page_size] = 'x'; in TEST_F() 93 ASSERT_EQ(mprotect(&ptr[5 * page_size], 5 * page_size, PROT_READ), 0); in TEST_F() 96 ASSERT_TRUE(find_vma_procmap(procmap, ptr)); in TEST_F() 97 ASSERT_EQ(procmap->query.vma_start, (unsigned long)ptr); in TEST_F() 98 ASSERT_EQ(procmap->query.vma_end, (unsigned long)ptr + 10 * page_size); in TEST_F() 106 char *ptr; in TEST_F() local [all …]
|
| /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() argument 72 bpf_dynptr_from_mem(map_val, sizeof(*map_val), 0, ptr); in get_map_val_dynptr() 84 struct bpf_dynptr ptr = {}; in ringbuf_missing_release1() local 86 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in ringbuf_missing_release1() 119 struct bpf_dynptr ptr; in missing_release_callback_fn() local 121 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in missing_release_callback_fn() 142 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 145 bpf_ringbuf_submit_dynptr(&ptr, 0); in ringbuf_release_uninit_dynptr() 155 struct bpf_dynptr ptr; in use_after_invalid() local 175 struct bpf_dynptr ptr; ringbuf_invalid_api() local 198 struct bpf_dynptr ptr; add_dynptr_to_map1() local 234 struct bpf_dynptr ptr; data_slice_out_of_bounds_ringbuf() local 256 struct bpf_dynptr ptr; data_slice_out_of_bounds_skb() local 277 struct bpf_dynptr ptr; data_slice_out_of_bounds_map_value() local 297 struct bpf_dynptr ptr; data_slice_use_after_release1() local 361 struct bpf_dynptr ptr; data_slice_missing_null_check1() local 382 struct bpf_dynptr ptr; data_slice_missing_null_check2() local 404 struct bpf_dynptr ptr; invalid_helper1() local 419 struct bpf_dynptr ptr; invalid_helper2() local 434 struct bpf_dynptr ptr; invalid_write1() local 457 struct bpf_dynptr ptr; invalid_write2() local 481 struct bpf_dynptr ptr; invalid_write3() local 513 struct bpf_dynptr ptr; invalid_write4() local 545 struct bpf_dynptr ptr; invalid_read1() local 562 struct bpf_dynptr ptr; invalid_read2() local 605 struct bpf_dynptr ptr; invalid_read4() local 621 struct bpf_dynptr ptr; invalid_offset() local 636 struct bpf_dynptr ptr; release_twice() local 663 struct bpf_dynptr ptr; release_twice_callback() local 679 struct bpf_dynptr ptr; dynptr_from_mem_invalid_api() local 933 struct bpf_dynptr ptr; dynptr_overwrite_unref() local 950 struct bpf_dynptr ptr; dynptr_invalidate_slice_reinit() local 971 struct bpf_dynptr ptr; dynptr_invalidate_slice_or_null() local 1042 struct bpf_dynptr ptr; dynptr_overwrite_ref() local 1059 struct bpf_dynptr ptr; dynptr_read_into_slot() member 1076 struct bpf_dynptr ptr; skb_invalid_slice_write() local 1097 struct bpf_dynptr ptr; skb_invalid_data_slice1() local 1123 struct bpf_dynptr ptr; skb_invalid_data_slice2() local 1150 struct bpf_dynptr ptr; skb_invalid_data_slice3() local 1176 struct bpf_dynptr ptr; skb_invalid_data_slice4() local 1200 struct bpf_dynptr ptr; xdp_invalid_data_slice1() local 1225 struct bpf_dynptr ptr; xdp_invalid_data_slice2() local 1250 struct bpf_dynptr ptr; skb_invalid_ctx() local 1262 struct bpf_dynptr ptr; BPF_PROG() local 1274 struct bpf_dynptr ptr; BPF_PROG() local 1289 struct bpf_dynptr ptr; uninit_write_into_slot() member 1304 struct bpf_dynptr ptr; xdp_invalid_ctx() local 1318 struct bpf_dynptr ptr; dynptr_slice_var_len1() local 1338 struct bpf_dynptr ptr; dynptr_slice_var_len2() local 1368 struct bpf_dynptr ptr; invalid_data_slices() local 1394 struct bpf_dynptr ptr; invalid_slice_rdwr_rdonly() local 1413 struct bpf_dynptr ptr = {}; dynptr_adjust_invalid() local 1426 struct bpf_dynptr ptr = {}; dynptr_is_null_invalid() local 1439 struct bpf_dynptr ptr = {}; dynptr_is_rdonly_invalid() local 1452 struct bpf_dynptr ptr = {}; dynptr_size_invalid() local 1500 struct bpf_dynptr ptr; clone_invalidate1() local 1520 struct bpf_dynptr ptr; clone_invalidate2() local 1541 struct bpf_dynptr ptr; clone_invalidate3() local 1567 struct bpf_dynptr ptr; clone_invalidate4() local 1593 struct bpf_dynptr ptr; clone_invalidate5() local 1619 struct bpf_dynptr ptr; clone_invalidate6() local 1649 struct bpf_dynptr ptr; clone_skb_packet_data() local 1675 struct bpf_dynptr ptr; clone_xdp_packet_data() local 1700 struct bpf_dynptr ptr; test_dynptr_skb_small_buff() local [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() argument 41 prefetchw((const void *)ptr); in __arch_xchg() 53 : "r" (x), "r" (ptr) in __arch_xchg() 63 : "r" (x), "r" (ptr) in __arch_xchg() 74 : "r" (x), "r" (ptr) in __arch_xchg() 83 ret = *(volatile unsigned char *)ptr; in __arch_xchg() 84 *(volatile unsigned char *)ptr = x; in __arch_xchg() 90 ret = *(volatile unsigned long *)ptr; in __arch_xchg() 91 *(volatile unsigned long *)ptr = x; in __arch_xchg() 99 : "r" (x), "r" (ptr) in __arch_xchg() [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | cmpxchg.h | 18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm() argument 22 : [old] "+d" (old), [ptr] "+Q" (*(u32 *)ptr) in __cs_asm() 28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm() argument 32 : [old] "+d" (old), [ptr] "+QS" (*(u64 *)ptr) in __csg_asm() 38 static inline u8 __arch_cmpxchg1(u64 ptr, u8 old, u8 new) in __arch_cmpxchg1() argument 47 i = ptr & 3; in __arch_cmpxchg1() 48 ptr &= ~0x3; in __arch_cmpxchg1() 49 prev = READ_ONCE(*(u32 *)ptr); in __arch_cmpxchg1() 56 prev = __cs_asm(ptr, old32.w, new32.w); in __arch_cmpxchg1() 61 static inline u16 __arch_cmpxchg2(u64 ptr, u16 old, u16 new) in __arch_cmpxchg2() argument [all …]
|
| H A D | atomic_ops.h | 15 static __always_inline int __atomic_read(const int *ptr) in __atomic_read() argument 21 : [val] "=d" (val) : [ptr] "R" (*ptr)); in __atomic_read() 25 static __always_inline void __atomic_set(int *ptr, int val) in __atomic_set() argument 30 : [ptr] "=Q" (*ptr) : [val] "K" (val)); in __atomic_set() 34 : [ptr] "=R" (*ptr) : [val] "d" (val)); in __atomic_set() 38 static __always_inline long __atomic64_read(const long *ptr) in __atomic64_read() argument 44 : [val] "=d" (val) : [ptr] "RT" (*ptr)); in __atomic64_read() 48 static __always_inline void __atomic64_set(long *ptr, long val) in __atomic64_set() argument 53 : [ptr] "=Q" (*ptr) : [val] "K" (val)); in __atomic64_set() 57 : [ptr] "=RT" (*ptr) : [val] "d" (val)); in __atomic64_set() [all …]
|
| /linux/net/bluetooth/ |
| H A D | eir.c | 16 u8 eir_append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in eir_append_local_name() argument 28 return eir_append_data(ptr, ad_len, EIR_NAME_COMPLETE, in eir_append_local_name() 34 return eir_append_data(ptr, ad_len, EIR_NAME_SHORT, in eir_append_local_name() 42 return eir_append_data(ptr, ad_len, EIR_NAME_SHORT, in eir_append_local_name() 49 u8 eir_append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in eir_append_appearance() argument 51 return eir_append_le16(ptr, ad_len, EIR_APPEARANCE, hdev->appearance); in eir_append_appearance() 69 u8 *ptr = data, *uuids_start = NULL; in create_uuid16_list() local 73 return ptr; in create_uuid16_list() 89 uuids_start = ptr; in create_uuid16_list() 92 ptr += 2; in create_uuid16_list() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | cmpxchg.h | 42 #define __xchg_op(ptr, arg, op, lock) \ argument 44 __typeof__ (*(ptr)) __ret = (arg); \ 45 switch (sizeof(*(ptr))) { \ 48 : "+q" (__ret), "+m" (*(ptr)) \ 53 : "+r" (__ret), "+m" (*(ptr)) \ 58 : "+r" (__ret), "+m" (*(ptr)) \ 63 : "+r" (__ret), "+m" (*(ptr)) \ 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") argument 85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument 87 __typeof__(*(ptr)) __ret; \ [all …]
|
| /linux/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
| H A D | tie-asm.h | 77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 81 xchal_sa_align \ptr, 0, 1020, 4, 4 83 s32i \at1, \ptr, .Lxchal_ofs_+0 86 xchal_sa_align \ptr, 0, 1020, 4, 4 91 xchal_sa_align \ptr, 0, 1016, 4, 4 93 s32i \at1, \ptr, .Lxchal_ofs_+0 95 s32i \at1, \ptr, .Lxchal_ofs_+4 98 xchal_sa_align \ptr, 0, 1016, 4, 4 103 xchal_sa_align \ptr, 0, 1000, 4, 4 105 s32i \at1, \ptr, .Lxchal_ofs_+0 [all …]
|
| /linux/arch/parisc/include/asm/ |
| H A D | cmpxchg.h | 25 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() argument 29 case 8: return __xchg64(x, (volatile unsigned long *) ptr); in __arch_xchg() 31 case 4: return __xchg32((int) x, (volatile int *) ptr); in __arch_xchg() 32 case 1: return __xchg8((char) x, (volatile char *) ptr); in __arch_xchg() 47 #define arch_xchg(ptr, x) \ argument 49 __typeof__(*(ptr)) __ret; \ 50 __typeof__(*(ptr)) _x_ = (x); \ 51 __ret = (__typeof__(*(ptr))) \ 52 __arch_xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \ 60 extern u8 __cmpxchg_u8(volatile u8 *ptr, u8 old, u8 new_); [all …]
|
| 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 34 switch (sizeof(*(ptr))) { \ 35 case 1: __get_user_asm(sr, val, "ldb", ptr); break; \ 36 case 2: __get_user_asm(sr, val, "ldh", ptr); break; \ 37 case 4: __get_user_asm(sr, val, "ldw", ptr); break; \ 38 case 8: LDD_USER(sr, val, ptr); break; \ [all …]
|
| /linux/arch/xtensa/variants/test_kc705_be/include/variant/ |
| H A D | tie-asm.h | 76 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 80 xchal_sa_align \ptr, 0, 1020, 4, 4 82 s32i \at1, \ptr, .Lxchal_ofs_+0 85 xchal_sa_align \ptr, 0, 1020, 4, 4 90 xchal_sa_align \ptr, 0, 1016, 4, 4 92 s32i \at1, \ptr, .Lxchal_ofs_+0 94 s32i \at1, \ptr, .Lxchal_ofs_+4 97 xchal_sa_align \ptr, 0, 1016, 4, 4 102 xchal_sa_align \ptr, 0, 1000, 4, 4 104 s32i \at1, \ptr, .Lxchal_ofs_+0 [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | cmpxchg.h | 67 extern unsigned long __xchg_small(volatile void *ptr, unsigned long val, 71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() argument 76 return __xchg_small(ptr, x, size); in __arch_xchg() 79 return __xchg_asm("ll", "sc", (volatile u32 *)ptr, x); in __arch_xchg() 85 return __xchg_asm("lld", "scd", (volatile u64 *)ptr, x); in __arch_xchg() 92 #define arch_xchg(ptr, x) \ argument 94 __typeof__(*(ptr)) __res; \ 104 __res = (__typeof__(*(ptr))) \ 105 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \ 148 extern unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old, [all …]
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_tags_inclusion.c | 22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity() argument 24 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE); in verify_mte_pointer_validity() 26 memset(ptr, '1', BUFFER_SIZE); in verify_mte_pointer_validity() 30 ptr, ptr + BUFFER_SIZE, mode); in verify_mte_pointer_validity() 34 if (!MT_FETCH_TAG((uintptr_t)ptr)) in verify_mte_pointer_validity() 36 mte_initialize_current_context(mode, (uintptr_t)ptr, BUFFER_SIZE + 1); in verify_mte_pointer_validity() 38 ptr[BUFFER_SIZE] = '2'; in verify_mte_pointer_validity() 42 ptr, mode); in verify_mte_pointer_validity() 51 char *ptr; in check_single_included_tags() local 54 ptr = mte_allocate_memory(BUFFER_SIZE + MT_GRANULE_SIZE, mem_type, 0, false); in check_single_included_tags() [all …]
|
| /linux/include/rdma/ |
| H A D | iba.h | 12 static inline u32 _iba_get8(const u8 *ptr) in _iba_get8() argument 14 return *ptr; in _iba_get8() 17 static inline void _iba_set8(u8 *ptr, u32 mask, u32 prep_value) in _iba_set8() argument 19 *ptr = (*ptr & ~mask) | prep_value; in _iba_set8() 22 static inline u16 _iba_get16(const __be16 *ptr) in _iba_get16() argument 24 return be16_to_cpu(*ptr); in _iba_get16() 27 static inline void _iba_set16(__be16 *ptr, u16 mask, u16 prep_value) in _iba_set16() argument 29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16() 32 static inline u32 _iba_get32(const __be32 *ptr) in _iba_get32() argument 34 return be32_to_cpu(*ptr); in _iba_get32() [all …]
|
| /linux/arch/alpha/include/asm/ |
| H A D | cmpxchg.h | 100 ____xchg(volatile void *ptr, unsigned long x, int size) in ____xchg() argument 103 size == 1 ? ____xchg_u8(ptr, x) : in ____xchg() 104 size == 2 ? ____xchg_u16(ptr, x) : in ____xchg() 105 size == 4 ? ____xchg_u32(ptr, x) : in ____xchg() 106 size == 8 ? ____xchg_u64(ptr, x) : in ____xchg() 217 ____cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in ____cmpxchg() argument 221 size == 1 ? ____cmpxchg_u8(ptr, old, new) : in ____cmpxchg() 222 size == 2 ? ____cmpxchg_u16(ptr, old, new) : in ____cmpxchg() 223 size == 4 ? ____cmpxchg_u32(ptr, old, new) : in ____cmpxchg() 224 size == 8 ? ____cmpxchg_u64(ptr, old, new) : in ____cmpxchg() [all …]
|
| /linux/arch/loongarch/include/asm/ |
| H A D | cmpxchg.h | 41 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small() argument 57 shift = (unsigned long)ptr & 0x3; in __xchg_small() 65 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small() 81 __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() argument 86 return __xchg_small((volatile void *)ptr, x, size); in __arch_xchg() 90 return __xchg_amo_asm("amswap_db.w", (volatile u32 *)ptr, (u32)x); in __arch_xchg() 92 return __xchg_llsc_asm("ll.w", "sc.w", (volatile u32 *)ptr, (u32)x); in __arch_xchg() 98 return __xchg_amo_asm("amswap_db.d", (volatile u64 *)ptr, (u64)x); in __arch_xchg() 100 return __xchg_llsc_asm("ll.d", "sc.d", (volatile u64 *)ptr, (u64)x); in __arch_xchg() 111 #define arch_xchg(ptr, x) \ argument [all …]
|
| H A D | uaccess.h | 51 #define get_user(x, ptr) \ argument 53 const __typeof__(*(ptr)) __user *__p = (ptr); \ 77 #define put_user(x, ptr) \ argument 79 __typeof__(*(ptr)) __user *__p = (ptr); \ 106 #define __get_user(x, ptr) \ argument 110 __chk_user_ptr(ptr); \ 111 __get_user_common((x), sizeof(*(ptr)), ptr); \ 136 #define __put_user(x, ptr) \ argument 139 __typeof__(*(ptr)) __pu_val; \ 142 __chk_user_ptr(ptr); \ [all …]
|
| /linux/arch/csky/include/asm/ |
| H A D | cmpxchg.h | 11 #define __xchg_relaxed(new, ptr, size) \ argument 13 __typeof__(ptr) __ptr = (ptr); \ 15 __typeof__(*(ptr)) __ret; \ 22 __ptr = (__typeof__(ptr))((ulong)__ptr & ~2); \ 34 __ret = (__typeof__(*(ptr))) \ 54 #define arch_xchg_relaxed(ptr, x) \ argument 55 (__xchg_relaxed((x), (ptr), sizeof(*(ptr)))) 57 #define __cmpxchg_relaxed(ptr, old, new, size) \ argument 59 __typeof__(ptr) __ptr = (ptr); \ 63 __typeof__(*(ptr)) __ret; \ [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | cmpxchg_64.h | 55 #define arch_xchg(ptr,x) \ argument 56 ({ __typeof__(*(ptr)) __ret; \ 57 __ret = (__typeof__(*(ptr))) \ 58 __arch_xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ 75 unsigned int *ptr = (unsigned int *) (maddr & ~2); in xchg16() local 79 load32 = *ptr; in xchg16() 84 load32 = __cmpxchg_u32(ptr, old32, new32); in xchg16() 91 __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg() argument 95 return xchg16(ptr, x); in __arch_xchg() 97 return xchg32(ptr, x); in __arch_xchg() [all …]
|
| /linux/include/linux/ |
| H A D | kmemleak.h | 18 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count, 20 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, 24 extern void kmemleak_free(const void *ptr) __ref; 25 extern void kmemleak_free_part(const void *ptr, size_t size) __ref; 26 extern void kmemleak_free_percpu(const void __percpu *ptr) __ref; 27 extern void kmemleak_update_trace(const void *ptr) __ref; 28 extern void kmemleak_not_leak(const void *ptr) __ref; 29 extern void kmemleak_transient_leak(const void *ptr) __ref; 30 extern void kmemleak_ignore(const void *ptr) __ref; 31 extern void kmemleak_ignore_percpu(const void __percpu *ptr) __ref; [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cmpxchg.h | 218 __xchg_local(void *ptr, unsigned long x, unsigned int size) in __xchg_local() argument 222 return __xchg_u8_local(ptr, x); in __xchg_local() 224 return __xchg_u16_local(ptr, x); in __xchg_local() 226 return __xchg_u32_local(ptr, x); in __xchg_local() 229 return __xchg_u64_local(ptr, x); in __xchg_local() 237 __xchg_relaxed(void *ptr, unsigned long x, unsigned int size) in __xchg_relaxed() argument 241 return __xchg_u8_relaxed(ptr, x); in __xchg_relaxed() 243 return __xchg_u16_relaxed(ptr, x); in __xchg_relaxed() 245 return __xchg_u32_relaxed(ptr, x); in __xchg_relaxed() 248 return __xchg_u64_relaxed(ptr, x); in __xchg_relaxed() [all …]
|
| /linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
| H A D | tie-asm.h | 36 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 39 xchal_sa_align \ptr, 0, 1024-4, 4, 4 41 s32i \at1, \ptr, .Lxchal_ofs_ + 0 45 xchal_sa_align \ptr, 0, 1024-4, 4, 4 47 s32i \at1, \ptr, .Lxchal_ofs_ + 0 51 xchal_sa_align \ptr, 0, 1024-4, 4, 4 53 s32i \at1, \ptr, .Lxchal_ofs_ + 0 63 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL 66 xchal_sa_align \ptr, 0, 1024-4, 4, 4 67 l32i \at1, \ptr, .Lxchal_ofs_ + 0 [all …]
|