/linux-6.3-rc2/drivers/media/pci/zoran/ |
A D | zr36050.c | 65 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write() 74 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1); in zr36050_read_status1() 83 ptr->scalefact = (zr36050_read(ptr, ZR050_SF_HI) << 8) | in zr36050_read_scalefactor() 107 ptr->name, ptr->status1); in zr36050_wait_end() 289 ptr->width, ptr->height, NO_OF_COMPONENTS); in zr36050_set_sof() 431 ptr->name, ptr->status1); in zr36050_init() 500 ptr->name, ptr->status1); in zr36050_init() 562 size = ptr->width * ptr->height; in zr36050_set_video() 580 zr36050_write(ptr, ZR050_MBCV, ptr->max_block_vol); in zr36050_set_video() 744 ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); in zr36050_setup() [all …]
|
A D | zr36060.c | 63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write() 77 ptr->status = zr36060_read(ptr, ZR060_CFSR); in zr36060_read_status() 86 ptr->scalefact = (zr36060_read(ptr, ZR060_SF_HI) << 8) | in zr36060_read_scalefactor() 105 ptr->name, ptr->status); in zr36060_wait_end() 257 ptr->width, ptr->height, NO_OF_COMPONENTS); in zr36060_set_sof() 385 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); in zr36060_init() 449 ptr->name, ptr->status); in zr36060_init() 612 size = ptr->width * ptr->height; in zr36060_set_video() 764 if (ptr) { in zr36060_unset() 799 ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); in zr36060_setup() [all …]
|
A D | zr36016.c | 107 ptr->version = zr36016_read(ptr, 0) >> 4; in zr36016_read_version() 173 zr36016_writei(ptr, ZR016I_PAX_HI, ptr->width >> 8); in zr36016_init() 175 zr36016_writei(ptr, ZR016I_PAY_HI, ptr->height >> 8); in zr36016_init() 177 zr36016_writei(ptr, ZR016I_NAX_HI, ptr->xoff >> 8); in zr36016_init() 178 zr36016_writei(ptr, ZR016I_NAX_LO, ptr->xoff & 0xFF); in zr36016_init() 179 zr36016_writei(ptr, ZR016I_NAY_HI, ptr->yoff >> 8); in zr36016_init() 180 zr36016_writei(ptr, ZR016I_NAY_LO, ptr->yoff & 0xFF); in zr36016_init() 311 if (ptr) { in zr36016_unset() 347 ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); in zr36016_setup() 349 if (!ptr) in zr36016_setup() [all …]
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | cmpxchg.h | 16 __typeof__(ptr) __ptr = (ptr); \ 43 (__typeof__(*(ptr))) __xchg_relaxed((ptr), \ 49 __typeof__(ptr) __ptr = (ptr); \ 78 (__typeof__(*(ptr))) __xchg_acquire((ptr), \ 84 __typeof__(ptr) __ptr = (ptr); \ 119 __typeof__(ptr) __ptr = (ptr); \ 146 (__typeof__(*(ptr))) __xchg((ptr), _x_, sizeof(*(ptr))); \ 168 __typeof__(ptr) __ptr = (ptr); \ 212 __typeof__(ptr) __ptr = (ptr); \ 258 __typeof__(ptr) __ptr = (ptr); \ [all …]
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | cmpxchg.h | 51 : "r" (x), "r" (ptr) in __xchg() 61 : "r" (x), "r" (ptr) in __xchg() 72 : "r" (x), "r" (ptr) in __xchg() 97 : "r" (x), "r" (ptr) in __xchg() 104 : "r" (x), "r" (ptr) in __xchg() 118 (__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \ 138 (__typeof(*ptr))__generic_cmpxchg_local((ptr), \ 211 (__typeof__(*(ptr)))__cmpxchg((ptr), \ 238 (__typeof(*ptr))__cmpxchg_local((ptr), \ 251 prefetchw(ptr); in __cmpxchg64() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | dynptr_fail.c | 14 struct bpf_dynptr ptr; member 80 struct bpf_dynptr ptr; in ringbuf_missing_release1() local 115 struct bpf_dynptr ptr; in missing_release_callback_fn() local 138 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 151 struct bpf_dynptr ptr; in use_after_invalid() local 171 struct bpf_dynptr ptr; in ringbuf_invalid_api() local 194 struct bpf_dynptr ptr; in add_dynptr_to_map1() local 230 struct bpf_dynptr ptr; in data_slice_out_of_bounds_ringbuf() local 385 bpf_strncmp((const char *)&ptr, sizeof(ptr), "hello!"); in invalid_helper1() 526 val = *(int *)&ptr; in invalid_read1() [all …]
|
/linux-6.3-rc2/arch/parisc/include/asm/ |
A D | cmpxchg.h | 47 #define arch_xchg(ptr, x) \ argument 49 __typeof__(*(ptr)) __ret; \ 50 __typeof__(*(ptr)) _x_ = (x); \ 51 __ret = (__typeof__(*(ptr))) \ 52 __xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \ 83 __typeof__(*(ptr)) _o_ = (o); \ 84 __typeof__(*(ptr)) _n_ = (n); \ 85 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 110 ((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o), \ 119 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument [all …]
|
/linux-6.3-rc2/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
A D | tie-asm.h | 83 s32i \at1, \ptr, .Lxchal_ofs_+0 93 s32i \at1, \ptr, .Lxchal_ofs_+0 95 s32i \at1, \ptr, .Lxchal_ofs_+4 105 s32i \at1, \ptr, .Lxchal_ofs_+0 107 s32i \at1, \ptr, .Lxchal_ofs_+4 109 s32i \at1, \ptr, .Lxchal_ofs_+8 148 l32i \at1, \ptr, .Lxchal_ofs_+0 227 addi \ptr, \ptr, 64 236 addi \ptr, \ptr, 64 284 addi \ptr, \ptr, 64 [all …]
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | hmm-tests.c | 320 for (ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 379 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 397 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 448 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 500 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 514 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 554 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 575 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 591 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 632 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() [all …]
|
/linux-6.3-rc2/net/bluetooth/ |
A D | eir.c | 88 return ptr; in create_uuid16_list() 107 ptr += 2; in create_uuid16_list() 121 return ptr; in create_uuid16_list() 140 ptr += 2; in create_uuid32_list() 154 return ptr; in create_uuid32_list() 173 ptr += 2; in create_uuid128_list() 183 ptr += 16; in create_uuid128_list() 219 ptr += 3; in eir_create() 234 ptr = create_uuid16_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); in eir_create() 235 ptr = create_uuid32_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); in eir_create() [all …]
|
/linux-6.3-rc2/mm/kasan/ |
A D | kasan_test.c | 179 char *ptr; in kmalloc_oob_right() local 208 char *ptr; in kmalloc_oob_left() local 215 KUNIT_EXPECT_KASAN_FAIL(test, *ptr = *(ptr - 1)); in kmalloc_oob_left() 221 char *ptr; in kmalloc_node_oob_right() local 228 KUNIT_EXPECT_KASAN_FAIL(test, ptr[0] = ptr[size]); in kmalloc_node_oob_right() 240 char *ptr; in kmalloc_pagealloc_oob_right() local 256 char *ptr; in kmalloc_pagealloc_uaf() local 270 char *ptr; in kmalloc_pagealloc_invalid_free() local 299 KUNIT_EXPECT_KASAN_FAIL(test, ptr[0] = ptr[size]); in pagealloc_oob_right() 1488 ptr = set_tag(ptr, KASAN_TAG_KERNEL); in match_all_ptr_tag() [all …]
|
/linux-6.3-rc2/arch/parisc/lib/ |
A D | bitops.c | 25 _atomic_spin_lock_irqsave(ptr, flags); in __xchg64() 26 temp = *ptr; in __xchg64() 27 *ptr = x; in __xchg64() 40 *ptr = x; in __xchg32() 53 *ptr = x; in __xchg8() 65 if ((prev = *ptr) == old) in __cmpxchg_u64() 66 *ptr = new; in __cmpxchg_u64() 77 if ((prev = *ptr) == old) in __cmpxchg_u32() 78 *ptr = new; in __cmpxchg_u32() 89 if ((prev = *ptr) == old) in __cmpxchg_u8() [all …]
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | cmpxchg.h | 13 #define xchg_local(ptr, x) \ argument 15 __typeof__(*(ptr)) _x_ = (x); \ 16 (__typeof__(*(ptr))) __xchg_local((ptr), (unsigned long)_x_, \ 17 sizeof(*(ptr))); \ 24 (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \ 26 sizeof(*(ptr))); \ 45 #define arch_xchg(ptr, x) \ argument 47 __typeof__(*(ptr)) __ret; \ 51 __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \ 58 __typeof__(*(ptr)) __ret; \ [all …]
|
/linux-6.3-rc2/arch/xtensa/variants/test_kc705_be/include/variant/ |
A D | tie-asm.h | 82 s32i \at1, \ptr, .Lxchal_ofs_+0 92 s32i \at1, \ptr, .Lxchal_ofs_+0 94 s32i \at1, \ptr, .Lxchal_ofs_+4 104 s32i \at1, \ptr, .Lxchal_ofs_+0 106 s32i \at1, \ptr, .Lxchal_ofs_+4 108 s32i \at1, \ptr, .Lxchal_ofs_+8 147 l32i \at1, \ptr, .Lxchal_ofs_+0 157 l32i \at1, \ptr, .Lxchal_ofs_+0 223 addi \ptr, \ptr, 64 271 addi \ptr, \ptr, 64 [all …]
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | cmpxchg.h | 92 #define arch_xchg(ptr, x) \ argument 94 __typeof__(*(ptr)) __res; \ 104 __res = (__typeof__(*(ptr))) \ 105 __xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \ 178 ((__typeof__(*(ptr))) \ 179 __cmpxchg((ptr), \ 182 sizeof(*(ptr)))) 186 __typeof__(*(ptr)) __res; \ 224 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 302 __typeof__(*(ptr)) __res; \ [all …]
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | cmpxchg.h | 41 shift = (unsigned long)ptr & 0x3; in __xchg_small() 85 #define arch_xchg(ptr, x) \ argument 87 __typeof__(*(ptr)) __res; \ 90 __xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \ 131 shift = (unsigned long)ptr & 0x3; in __cmpxchg_small() 186 ((__typeof__(*(ptr))) \ 187 __cmpxchg((ptr), \ 190 sizeof(*(ptr)))) 194 __typeof__(*(ptr)) __res; \ 215 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument [all …]
|
/linux-6.3-rc2/tools/testing/selftests/arm64/mte/ |
A D | check_tags_inclusion.c | 30 ptr, ptr + BUFFER_SIZE, mode); 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 65 ptr = mte_insert_tags(ptr, BUFFER_SIZE); in check_single_included_tags() 83 char *ptr; in check_multiple_included_tags() local 97 ptr = mte_insert_tags(ptr, BUFFER_SIZE); in check_multiple_included_tags() 115 char *ptr; in check_all_included_tags() local 128 ptr = (char *)mte_insert_tags(ptr, BUFFER_SIZE); in check_all_included_tags() 141 char *ptr; in check_none_included_tags() local [all …]
|
/linux-6.3-rc2/include/rdma/ |
A D | iba.h | 14 return *ptr; in _iba_get8() 19 *ptr = (*ptr & ~mask) | prep_value; in _iba_set8() 24 return be16_to_cpu(*ptr); in _iba_get16() 29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16() 34 return be32_to_cpu(*ptr); in _iba_get32() 39 *ptr = cpu_to_be32((be32_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set32() 53 put_unaligned(cpu_to_be64((_iba_get64(ptr) & ~mask) | prep_value), ptr); in _iba_set64() 62 #define IBA_SET(field, ptr, value) _IBA_SET(field, ptr, value) argument 69 #define IBA_GET_MEM_PTR(field, ptr) _IBA_GET_MEM_PTR(field, ptr) argument 82 #define IBA_SET_MEM(field, ptr, in, bytes) _IBA_SET_MEM(field, ptr, in, bytes) argument [all …]
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | cmpxchg_64.h | 55 #define arch_xchg(ptr,x) \ argument 56 ({ __typeof__(*(ptr)) __ret; \ 58 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ 79 load32 = *ptr; in xchg16() 95 return xchg16(ptr, x); in __xchg() 97 return xchg32(ptr, x); in __xchg() 99 return xchg64(ptr, x); in __xchg() 138 unsigned int load32 = *ptr; in __cmpxchg_u8() 175 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 199 ((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o), \ [all …]
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | cmpxchg.h | 12 __typeof__(ptr) __ptr = (ptr); \ 14 __typeof__(*(ptr)) __ret; \ 54 (__xchg_relaxed((x), (ptr), sizeof(*(ptr)))) 58 __typeof__(ptr) __ptr = (ptr); \ 62 __typeof__(*(ptr)) __ret; \ 84 (__cmpxchg_relaxed((ptr), (o), (n), sizeof(*(ptr)))) 88 __typeof__(ptr) __ptr = (ptr); \ 115 (__cmpxchg_acquire((ptr), (o), (n), sizeof(*(ptr)))) 119 __typeof__(ptr) __ptr = (ptr); \ 147 (__cmpxchg((ptr), (o), (n), sizeof(*(ptr)))) [all …]
|
/linux-6.3-rc2/drivers/video/ |
A D | hdmi.c | 42 csum += ptr[i]; in hdmi_infoframe_checksum() 1620 frame->top_bar = (ptr[6] << 8) | ptr[5]; in hdmi_avi_infoframe_unpack() 1621 frame->bottom_bar = (ptr[8] << 8) | ptr[7]; in hdmi_avi_infoframe_unpack() 1624 frame->left_bar = (ptr[10] << 8) | ptr[9]; in hdmi_avi_infoframe_unpack() 1625 frame->right_bar = (ptr[12] << 8) | ptr[11]; in hdmi_avi_infoframe_unpack() 1680 ret = hdmi_spd_infoframe_init(frame, ptr, ptr + 8); in hdmi_spd_infoframe_unpack() 1767 (ptr[2] != 4 && ptr[2] != 5 && ptr[2] != 6)) in hdmi_vendor_any_infoframe_unpack() 1863 frame->white_point.x = (ptr[15] << 8) | ptr[14]; in hdmi_drm_infoframe_unpack_only() 1864 frame->white_point.y = (ptr[17] << 8) | ptr[16]; in hdmi_drm_infoframe_unpack_only() 1868 frame->max_cll = (ptr[23] << 8) | ptr[22]; in hdmi_drm_infoframe_unpack_only() [all …]
|
/linux-6.3-rc2/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
A D | tie-asm.h | 102 s32i \at1, \ptr, 0 104 s32i \at1, \ptr, 4 106 s32i \at1, \ptr, 8 108 s32i \at1, \ptr, 12 115 addi \ptr, \ptr, 64 137 l32i \at1, \ptr, 0 139 l32i \at1, \ptr, 4 141 l32i \at1, \ptr, 8 143 l32i \at1, \ptr, 12 145 addi \ptr, \ptr, 80 [all …]
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | cmpxchg.h | 20 tmp = *(u8 *)ptr; in __xchg() 21 *(u8 *)ptr = x; in __xchg() 25 tmp = *(u16 *)ptr; in __xchg() 26 *(u16 *)ptr = x; in __xchg() 30 tmp = *(u32 *)ptr; in __xchg() 31 *(u32 *)ptr = x; in __xchg() 78 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));}) argument 82 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 121 ({(__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ 124 ({(__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | cmpxchg.h | 222 return __xchg_u8_local(ptr, x); in __xchg_local() 224 return __xchg_u16_local(ptr, x); in __xchg_local() 257 (__typeof__(*(ptr))) __xchg_local((ptr), \ 264 (__typeof__(*(ptr))) __xchg_relaxed((ptr), \ 703 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 712 (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \ 720 (__typeof__(*(ptr))) __cmpxchg_relaxed((ptr), \ 722 sizeof(*(ptr))); \ 729 (__typeof__(*(ptr))) __cmpxchg_acquire((ptr), \ 731 sizeof(*(ptr))); \ [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | cmpxchg.h | 45 switch (sizeof(*(ptr))) { \ 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") argument 87 __typeof__(*(ptr)) __ret; \ 149 __cmpxchg(ptr, old, new, sizeof(*(ptr))) 152 __sync_cmpxchg(ptr, old, new, sizeof(*(ptr))) 155 __cmpxchg_local(ptr, old, new, sizeof(*(ptr))) 171 [ptr] "+m" (*__ptr), \ 183 [ptr] "+m" (*__ptr), \ 225 __try_cmpxchg((ptr), (pold), (new), sizeof(*(ptr))) 233 #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) argument [all …]
|