ptr 42 arch/alpha/boot/bootp.c find_pa(unsigned long *vptb, void *ptr) ptr 44 arch/alpha/boot/bootp.c unsigned long address = (unsigned long) ptr; ptr 36 arch/alpha/boot/main.c find_pa(unsigned long *vptb, void *ptr) ptr 38 arch/alpha/boot/main.c unsigned long address = (unsigned long) ptr; ptr 13 arch/alpha/include/asm/cmpxchg.h #define xchg_local(ptr, x) \ ptr 15 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 16 arch/alpha/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg_local((ptr), (unsigned long)_x_, \ ptr 17 arch/alpha/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 20 arch/alpha/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 22 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 23 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 24 arch/alpha/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \ ptr 26 arch/alpha/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 29 arch/alpha/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) \ ptr 31 arch/alpha/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 32 arch/alpha/include/asm/cmpxchg.h cmpxchg_local((ptr), (o), (n)); \ ptr 45 arch/alpha/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 47 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 48 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 50 arch/alpha/include/asm/cmpxchg.h __ret = (__typeof__(*(ptr))) \ ptr 51 arch/alpha/include/asm/cmpxchg.h __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \ ptr 56 arch/alpha/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 58 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 59 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 60 arch/alpha/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 62 arch/alpha/include/asm/cmpxchg.h __ret = (__typeof__(*(ptr))) __cmpxchg((ptr), \ ptr 63 arch/alpha/include/asm/cmpxchg.h (unsigned long)_o_, (unsigned long)_n_, sizeof(*(ptr)));\ ptr 68 arch/alpha/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) \ ptr 70 arch/alpha/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 71 arch/alpha/include/asm/cmpxchg.h cmpxchg((ptr), (o), (n)); \ ptr 63 arch/alpha/include/asm/processor.h extern inline void prefetch(const void *ptr) ptr 65 arch/alpha/include/asm/processor.h __builtin_prefetch(ptr, 0, 3); ptr 68 arch/alpha/include/asm/processor.h extern inline void prefetchw(const void *ptr) ptr 70 arch/alpha/include/asm/processor.h __builtin_prefetch(ptr, 1, 3); ptr 74 arch/alpha/include/asm/processor.h extern inline void spin_lock_prefetch(const void *ptr) ptr 76 arch/alpha/include/asm/processor.h __builtin_prefetch(ptr, 1, 3); ptr 58 arch/alpha/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 59 arch/alpha/include/asm/uaccess.h __put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 60 arch/alpha/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 61 arch/alpha/include/asm/uaccess.h __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 68 arch/alpha/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 69 arch/alpha/include/asm/uaccess.h __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 70 arch/alpha/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 71 arch/alpha/include/asm/uaccess.h __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 87 arch/alpha/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 91 arch/alpha/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 93 arch/alpha/include/asm/uaccess.h case 1: __get_user_8(ptr); break; \ ptr 94 arch/alpha/include/asm/uaccess.h case 2: __get_user_16(ptr); break; \ ptr 95 arch/alpha/include/asm/uaccess.h case 4: __get_user_32(ptr); break; \ ptr 96 arch/alpha/include/asm/uaccess.h case 8: __get_user_64(ptr); break; \ ptr 99 arch/alpha/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr))) __gu_val; \ ptr 103 arch/alpha/include/asm/uaccess.h #define __get_user_check(x, ptr, size) \ ptr 107 arch/alpha/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ ptr 118 arch/alpha/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr))) __gu_val; \ ptr 185 arch/alpha/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 188 arch/alpha/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 190 arch/alpha/include/asm/uaccess.h case 1: __put_user_8(x, ptr); break; \ ptr 191 arch/alpha/include/asm/uaccess.h case 2: __put_user_16(x, ptr); break; \ ptr 192 arch/alpha/include/asm/uaccess.h case 4: __put_user_32(x, ptr); break; \ ptr 193 arch/alpha/include/asm/uaccess.h case 8: __put_user_64(x, ptr); break; \ ptr 199 arch/alpha/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 202 arch/alpha/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 106 arch/alpha/include/asm/xchg.h ____xchg(, volatile void *ptr, unsigned long x, int size) ptr 110 arch/alpha/include/asm/xchg.h return ____xchg(_u8, ptr, x); ptr 112 arch/alpha/include/asm/xchg.h return ____xchg(_u16, ptr, x); ptr 114 arch/alpha/include/asm/xchg.h return ____xchg(_u32, ptr, x); ptr 116 arch/alpha/include/asm/xchg.h return ____xchg(_u64, ptr, x); ptr 229 arch/alpha/include/asm/xchg.h ____cmpxchg(, volatile void *ptr, unsigned long old, unsigned long new, ptr 234 arch/alpha/include/asm/xchg.h return ____cmpxchg(_u8, ptr, old, new); ptr 236 arch/alpha/include/asm/xchg.h return ____cmpxchg(_u16, ptr, old, new); ptr 238 arch/alpha/include/asm/xchg.h return ____cmpxchg(_u32, ptr, old, new); ptr 240 arch/alpha/include/asm/xchg.h return ____cmpxchg(_u64, ptr, old, new); ptr 465 arch/alpha/kernel/core_lca.c unsigned long * ptr = (unsigned long *) la_ptr; ptr 469 arch/alpha/kernel/core_lca.c i*sizeof(long), ptr[i], ptr[i+1]); ptr 202 arch/alpha/kernel/irq_alpha.c unsigned long *ptr = (unsigned long *)la_ptr; ptr 206 arch/alpha/kernel/irq_alpha.c i*sizeof(long), ptr[i], ptr[i+1]); ptr 50 arch/alpha/kernel/pci-noop.c void *ptr = memblock_alloc(sizeof(struct resource), SMP_CACHE_BYTES); ptr 52 arch/alpha/kernel/pci-noop.c if (!ptr) ptr 56 arch/alpha/kernel/pci-noop.c return ptr; ptr 409 arch/alpha/kernel/pci.c void *ptr = memblock_alloc(sizeof(struct resource), SMP_CACHE_BYTES); ptr 411 arch/alpha/kernel/pci.c if (!ptr) ptr 415 arch/alpha/kernel/pci.c return ptr; ptr 1434 arch/alpha/kernel/setup.c alpha_panic_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 43 arch/alpha/lib/csum_partial_copy.c #define __get_user_u(x,ptr) \ ptr 51 arch/alpha/lib/csum_partial_copy.c : "m"(__m(ptr)), "1"(0)); \ ptr 55 arch/alpha/lib/csum_partial_copy.c #define __put_user_u(x,ptr) \ ptr 445 arch/arc/include/asm/atomic.h atomic64_cmpxchg(atomic64_t *ptr, s64 expected, s64 new) ptr 459 arch/arc/include/asm/atomic.h : "r"(ptr), "ir"(expected), "r"(new) ptr 467 arch/arc/include/asm/atomic.h static inline s64 atomic64_xchg(atomic64_t *ptr, s64 new) ptr 479 arch/arc/include/asm/atomic.h : "r"(ptr), "r"(new) ptr 29 arch/arc/include/asm/cache.h #define arc_read_uncached_32(ptr) \ ptr 35 arch/arc/include/asm/cache.h : "r"(ptr)); \ ptr 39 arch/arc/include/asm/cache.h #define arc_write_uncached_32(ptr, data)\ ptr 44 arch/arc/include/asm/cache.h : "r"(data), "r"(ptr)); \ ptr 40 arch/arc/include/asm/checksum.h const void *ptr = iph; ptr 58 arch/arc/include/asm/checksum.h : "=&r"(sum), "=r"(tmp), "=&r"(tmp2), "+&r" (ptr) ptr 17 arch/arc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) ptr 34 arch/arc/include/asm/cmpxchg.h : "r"(ptr), /* Not "m": llock only supports reg direct addr mode */ ptr 47 arch/arc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) ptr 51 arch/arc/include/asm/cmpxchg.h volatile unsigned long *p = ptr; ptr 67 arch/arc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) ptr 82 arch/arc/include/asm/cmpxchg.h : "r"(ptr), "i"(CTOP_INST_EXC_DI_R2_R2_R3) ptr 92 arch/arc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) ({ \ ptr 93 arch/arc/include/asm/cmpxchg.h (typeof(*(ptr)))__cmpxchg((ptr), \ ptr 112 arch/arc/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long val, volatile void *ptr, ptr 124 arch/arc/include/asm/cmpxchg.h : "r"(ptr) ptr 134 arch/arc/include/asm/cmpxchg.h #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \ ptr 135 arch/arc/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 154 arch/arc/include/asm/cmpxchg.h #define xchg(ptr, with) \ ptr 157 arch/arc/include/asm/cmpxchg.h typeof(*(ptr)) old_val; \ ptr 160 arch/arc/include/asm/cmpxchg.h old_val = _xchg(ptr, with); \ ptr 167 arch/arc/include/asm/cmpxchg.h #define xchg(ptr, with) _xchg(ptr, with) ptr 173 arch/arc/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long val, volatile void *ptr, ptr 191 arch/arc/include/asm/cmpxchg.h : "r"(ptr), "i"(CTOP_INST_XEX_DI_R2_R2_R3) ptr 201 arch/arc/include/asm/cmpxchg.h #define xchg(ptr, with) ({ \ ptr 202 arch/arc/include/asm/cmpxchg.h (typeof(*(ptr)))__xchg((unsigned long)(with), \ ptr 203 arch/arc/include/asm/cmpxchg.h (ptr), \ ptr 204 arch/arc/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 102 arch/arc/include/asm/io.h void *ptr, unsigned int count) \ ptr 104 arch/arc/include/asm/io.h bool is_aligned = ((unsigned long)ptr % ((t) / 8)) == 0; \ ptr 105 arch/arc/include/asm/io.h u##t *buf = ptr; \ ptr 165 arch/arc/include/asm/io.h const void *ptr, unsigned int count) \ ptr 167 arch/arc/include/asm/io.h bool is_aligned = ((unsigned long)ptr % ((t) / 8)) == 0; \ ptr 168 arch/arc/include/asm/io.h const u##t *buf = ptr; \ ptr 25 arch/arc/include/asm/string.h extern void *memset(void *ptr, int, __kernel_size_t); ptr 27 arch/arc/include/asm/string.h extern void memzero(void *ptr, __kernel_size_t n); ptr 70 arch/arc/include/asm/unwind.h #define STACK_LIMIT(ptr) (((ptr) - 1) & ~(THREAD_SIZE - 1)) ptr 133 arch/arc/kernel/kgdb.c char *ptr; ptr 140 arch/arc/kernel/kgdb.c ptr = &remcomInBuffer[1]; ptr 141 arch/arc/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 190 arch/arc/kernel/unwind.c const u8 *ptr = header_start + 4; ptr 203 arch/arc/kernel/unwind.c || (void *)read_pointer(&ptr, end, header_start[1]) != table_start ptr 205 arch/arc/kernel/unwind.c || read_pointer(&ptr, end, header_start[2]) <= 0 ptr 260 arch/arc/kernel/unwind.c const u8 *ptr; ptr 298 arch/arc/kernel/unwind.c ptr = (const u8 *)(fde + 2); ptr 299 arch/arc/kernel/unwind.c if (!read_pointer(&ptr, (const u8 *)(fde + 1) + *fde, ptr 339 arch/arc/kernel/unwind.c ptr = (const u8 *)(fde + 2); ptr 340 arch/arc/kernel/unwind.c header->table[n].start = read_pointer(&ptr, ptr 547 arch/arc/kernel/unwind.c } ptr; ptr 551 arch/arc/kernel/unwind.c ptr.p8 = *pLoc; ptr 554 arch/arc/kernel/unwind.c if (end < (const void *)(ptr.p16u + 1)) ptr 557 arch/arc/kernel/unwind.c value = get_unaligned((u16 *) ptr.p16s++); ptr 559 arch/arc/kernel/unwind.c value = get_unaligned((u16 *) ptr.p16u++); ptr 563 arch/arc/kernel/unwind.c if (end < (const void *)(ptr.p32u + 1)) ptr 566 arch/arc/kernel/unwind.c value = get_unaligned(ptr.p32s++); ptr 568 arch/arc/kernel/unwind.c value = get_unaligned(ptr.p32u++); ptr 577 arch/arc/kernel/unwind.c if (end < (const void *)(ptr.pul + 1)) ptr 579 arch/arc/kernel/unwind.c value = get_unaligned((unsigned long *)ptr.pul++); ptr 583 arch/arc/kernel/unwind.c value = ptrType & DW_EH_PE_signed ? get_sleb128(&ptr.p8, end) ptr 584 arch/arc/kernel/unwind.c : get_uleb128(&ptr.p8, end); ptr 585 arch/arc/kernel/unwind.c if ((const void *)ptr.p8 > end) ptr 603 arch/arc/kernel/unwind.c *pLoc = ptr.p8; ptr 610 arch/arc/kernel/unwind.c const u8 *ptr = (const u8 *)(cie + 2); ptr 611 arch/arc/kernel/unwind.c unsigned version = *ptr; ptr 613 arch/arc/kernel/unwind.c if (*++ptr) { ptr 619 arch/arc/kernel/unwind.c if (*ptr != 'z') ptr 623 arch/arc/kernel/unwind.c aug = (const void *)ptr; ptr 624 arch/arc/kernel/unwind.c ptr = memchr(aug, 0, end - ptr); ptr 625 arch/arc/kernel/unwind.c if (ptr == NULL) ptr 628 arch/arc/kernel/unwind.c ++ptr; /* skip terminator */ ptr 629 arch/arc/kernel/unwind.c get_uleb128(&ptr, end); /* skip code alignment */ ptr 630 arch/arc/kernel/unwind.c get_sleb128(&ptr, end); /* skip data alignment */ ptr 632 arch/arc/kernel/unwind.c version <= 1 ? (void) ++ptr : (void)get_uleb128(&ptr, end); ptr 633 arch/arc/kernel/unwind.c len = get_uleb128(&ptr, end); /* augmentation length */ ptr 635 arch/arc/kernel/unwind.c if (ptr + len < ptr || ptr + len > end) ptr 638 arch/arc/kernel/unwind.c end = ptr + len; ptr 640 arch/arc/kernel/unwind.c if (ptr >= end) ptr 644 arch/arc/kernel/unwind.c ++ptr; ptr 647 arch/arc/kernel/unwind.c signed ptrType = *ptr++; ptr 649 arch/arc/kernel/unwind.c if (!read_pointer(&ptr, end, ptrType) ptr 650 arch/arc/kernel/unwind.c || ptr > end) ptr 655 arch/arc/kernel/unwind.c return *ptr; ptr 711 arch/arc/kernel/unwind.c } ptr; ptr 723 arch/arc/kernel/unwind.c for (ptr.p8 = start; result && ptr.p8 < end;) { ptr 724 arch/arc/kernel/unwind.c switch (*ptr.p8 >> 6) { ptr 728 arch/arc/kernel/unwind.c opcode = *ptr.p8++; ptr 735 arch/arc/kernel/unwind.c state->loc = read_pointer(&ptr.p8, end, ptr 743 arch/arc/kernel/unwind.c result = ptr.p8 < end ptr 744 arch/arc/kernel/unwind.c && advance_loc(*ptr.p8++, state); ptr 747 arch/arc/kernel/unwind.c value = *ptr.p8++; ptr 748 arch/arc/kernel/unwind.c value += *ptr.p8++ << 8; ptr 750 arch/arc/kernel/unwind.c result = ptr.p8 <= end + 2 ptr 756 arch/arc/kernel/unwind.c result = ptr.p8 <= end + 4 ptr 757 arch/arc/kernel/unwind.c && advance_loc(*ptr.p32++, state); ptr 760 arch/arc/kernel/unwind.c value = get_uleb128(&ptr.p8, end); ptr 763 arch/arc/kernel/unwind.c get_uleb128(&ptr.p8, end), state); ptr 766 arch/arc/kernel/unwind.c value = get_uleb128(&ptr.p8, end); ptr 768 arch/arc/kernel/unwind.c get_uleb128(&ptr.p8, end), state); ptr 771 arch/arc/kernel/unwind.c value = get_uleb128(&ptr.p8, end); ptr 773 arch/arc/kernel/unwind.c get_sleb128(&ptr.p8, end), state); ptr 776 arch/arc/kernel/unwind.c value = get_uleb128(&ptr.p8, end); ptr 778 arch/arc/kernel/unwind.c get_sleb128(&ptr.p8, end), state); ptr 786 arch/arc/kernel/unwind.c set_rule(get_uleb128(&ptr.p8, end), Nowhere, 0, ptr 791 arch/arc/kernel/unwind.c value = get_uleb128(&ptr.p8, end); ptr 794 arch/arc/kernel/unwind.c get_uleb128(&ptr.p8, end), state); ptr 798 arch/arc/kernel/unwind.c if (ptr.p8 == state->label) { ptr 804 arch/arc/kernel/unwind.c state->stack[state->stackDepth++] = ptr.p8; ptr 828 arch/arc/kernel/unwind.c state->cfa.reg = get_uleb128(&ptr.p8, end); ptr 832 arch/arc/kernel/unwind.c state->cfa.offs = get_uleb128(&ptr.p8, end); ptr 837 arch/arc/kernel/unwind.c state->cfa.reg = get_uleb128(&ptr.p8, end); ptr 840 arch/arc/kernel/unwind.c state->cfa.offs = get_sleb128(&ptr.p8, end) ptr 845 arch/arc/kernel/unwind.c state->cfa.reg = get_uleb128(&ptr.p8, end); ptr 851 arch/arc/kernel/unwind.c get_uleb128(&ptr.p8, end); ptr 854 arch/arc/kernel/unwind.c value = get_uleb128(&ptr.p8, end); ptr 857 arch/arc/kernel/unwind.c (uleb128_t) 0 - get_uleb128(&ptr.p8, ptr 870 arch/arc/kernel/unwind.c result = advance_loc(*ptr.p8++ & 0x3f, state); ptr 874 arch/arc/kernel/unwind.c value = *ptr.p8++ & 0x3f; ptr 875 arch/arc/kernel/unwind.c set_rule(value, Memory, get_uleb128(&ptr.p8, end), ptr 880 arch/arc/kernel/unwind.c set_rule(*ptr.p8++ & 0x3f, Nowhere, 0, state); ptr 884 arch/arc/kernel/unwind.c if (ptr.p8 > end) ptr 890 arch/arc/kernel/unwind.c return result && ptr.p8 == end && (targetLoc == 0 || ( ptr 903 arch/arc/kernel/unwind.c const u8 *ptr = NULL, *end = NULL; ptr 957 arch/arc/kernel/unwind.c ptr = hdr + 4; ptr 959 arch/arc/kernel/unwind.c if (tableSize && read_pointer(&ptr, end, hdr[1]) ptr 961 arch/arc/kernel/unwind.c && (i = read_pointer(&ptr, end, hdr[2])) > 0 ptr 962 arch/arc/kernel/unwind.c && i == (end - ptr) / (2 * tableSize) ptr 963 arch/arc/kernel/unwind.c && !((end - ptr) % (2 * tableSize))) { ptr 966 arch/arc/kernel/unwind.c ptr + (i / 2) * (2 * tableSize); ptr 974 arch/arc/kernel/unwind.c ptr = cur - tableSize; ptr 979 arch/arc/kernel/unwind.c && (startLoc = read_pointer(&ptr, ptr 980 arch/arc/kernel/unwind.c ptr + tableSize, ptr 983 arch/arc/kernel/unwind.c fde = (void *)read_pointer(&ptr, ptr 984 arch/arc/kernel/unwind.c ptr + ptr 992 arch/arc/kernel/unwind.c ptr = (const u8 *)(fde + 2); ptr 997 arch/arc/kernel/unwind.c && read_pointer(&ptr, ptr 1004 arch/arc/kernel/unwind.c startLoc + read_pointer(&ptr, ptr 1020 arch/arc/kernel/unwind.c state.cieEnd = ptr; /* keep here temporarily */ ptr 1021 arch/arc/kernel/unwind.c ptr = (const u8 *)(cie + 2); ptr 1024 arch/arc/kernel/unwind.c if (*++ptr) { ptr 1026 arch/arc/kernel/unwind.c if (*ptr == 'z') { ptr 1027 arch/arc/kernel/unwind.c while (++ptr < end && *ptr) { ptr 1028 arch/arc/kernel/unwind.c switch (*ptr) { ptr 1044 arch/arc/kernel/unwind.c if (ptr >= end || *ptr) ptr 1047 arch/arc/kernel/unwind.c ++ptr; ptr 1051 arch/arc/kernel/unwind.c state.codeAlign = get_uleb128(&ptr, end); ptr 1053 arch/arc/kernel/unwind.c state.dataAlign = get_sleb128(&ptr, end); ptr 1054 arch/arc/kernel/unwind.c if (state.codeAlign == 0 || state.dataAlign == 0 || ptr >= end) ptr 1058 arch/arc/kernel/unwind.c state.version <= 1 ? *ptr++ : get_uleb128(&ptr, ptr 1067 arch/arc/kernel/unwind.c uleb128_t augSize = get_uleb128(&ptr, end); ptr 1069 arch/arc/kernel/unwind.c ptr += augSize; ptr 1071 arch/arc/kernel/unwind.c if (ptr > end || retAddrReg >= ARRAY_SIZE(reg_info) ptr 1079 arch/arc/kernel/unwind.c state.cieStart = ptr; ptr 1080 arch/arc/kernel/unwind.c ptr = state.cieEnd; ptr 1085 arch/arc/kernel/unwind.c uleb128_t augSize = get_uleb128(&ptr, end); ptr 1087 arch/arc/kernel/unwind.c if ((ptr += augSize) > end) ptr 1145 arch/arc/kernel/unwind.c if (!processCFI(ptr, end, pc, ptrType, &state) ptr 74 arch/arm/boot/compressed/atags_to_fdt.c char *ptr = cmdline; ptr 81 arch/arm/boot/compressed/atags_to_fdt.c memcpy(ptr, fdt_bootargs, len); ptr 84 arch/arm/boot/compressed/atags_to_fdt.c ptr += len - 1; ptr 90 arch/arm/boot/compressed/atags_to_fdt.c if (ptr - cmdline + len + 2 < COMMAND_LINE_SIZE) { ptr 91 arch/arm/boot/compressed/atags_to_fdt.c *ptr++ = ' '; ptr 92 arch/arm/boot/compressed/atags_to_fdt.c memcpy(ptr, fdt_cmdline, len); ptr 93 arch/arm/boot/compressed/atags_to_fdt.c ptr += len; ptr 96 arch/arm/boot/compressed/atags_to_fdt.c *ptr = '\0'; ptr 27 arch/arm/boot/compressed/misc.c static void putstr(const char *ptr); ptr 87 arch/arm/boot/compressed/misc.c static void putstr(const char *ptr) ptr 91 arch/arm/boot/compressed/misc.c while ((c = *ptr++) != '\0') { ptr 49 arch/arm/common/dmabounce.c void *ptr; ptr 105 arch/arm/common/dmabounce.c alloc_safe_buffer(struct dmabounce_device_info *device_info, void *ptr, ptr 114 arch/arm/common/dmabounce.c __func__, ptr, size, dir); ptr 130 arch/arm/common/dmabounce.c buf->ptr = ptr; ptr 243 arch/arm/common/dmabounce.c static inline dma_addr_t map_single(struct device *dev, void *ptr, size_t size, ptr 253 arch/arm/common/dmabounce.c buf = alloc_safe_buffer(device_info, ptr, size, dir); ptr 256 arch/arm/common/dmabounce.c __func__, ptr); ptr 261 arch/arm/common/dmabounce.c __func__, buf->ptr, virt_to_dma(dev, buf->ptr), ptr 267 arch/arm/common/dmabounce.c __func__, ptr, buf->safe, size); ptr 268 arch/arm/common/dmabounce.c memcpy(buf->safe, ptr, size); ptr 282 arch/arm/common/dmabounce.c __func__, buf->ptr, virt_to_dma(dev, buf->ptr), ptr 289 arch/arm/common/dmabounce.c void *ptr = buf->ptr; ptr 292 arch/arm/common/dmabounce.c __func__, buf->safe, ptr, size); ptr 293 arch/arm/common/dmabounce.c memcpy(ptr, buf->safe, size); ptr 300 arch/arm/common/dmabounce.c __cpuc_flush_dcache_area(ptr, size); ptr 383 arch/arm/common/dmabounce.c __func__, buf->ptr, virt_to_dma(dev, buf->ptr), off, ptr 390 arch/arm/common/dmabounce.c __func__, buf->safe + off, buf->ptr + off, sz); ptr 391 arch/arm/common/dmabounce.c memcpy(buf->ptr + off, buf->safe + off, sz); ptr 423 arch/arm/common/dmabounce.c __func__, buf->ptr, virt_to_dma(dev, buf->ptr), off, ptr 430 arch/arm/common/dmabounce.c __func__,buf->ptr + off, buf->safe + off, sz); ptr 431 arch/arm/common/dmabounce.c memcpy(buf->safe + off, buf->ptr + off, sz); ptr 143 arch/arm/common/mcpm_entry.c void mcpm_set_entry_vector(unsigned cpu, unsigned cluster, void *ptr) ptr 145 arch/arm/common/mcpm_entry.c unsigned long val = ptr ? __pa_symbol(ptr) : 0; ptr 373 arch/arm/include/asm/assembler.h .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() ptr 389 arch/arm/include/asm/assembler.h .macro usracc, instr, reg, ptr, inc, cond, rept, abort ptr 413 arch/arm/include/asm/assembler.h .macro usracc, instr, reg, ptr, inc, cond, rept, abort, t=TUSER() ptr 433 arch/arm/include/asm/assembler.h .macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f ptr 437 arch/arm/include/asm/assembler.h .macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f ptr 108 arch/arm/include/asm/atomic.h static inline int atomic_cmpxchg_relaxed(atomic_t *ptr, int old, int new) ptr 113 arch/arm/include/asm/atomic.h prefetchw(&ptr->counter); ptr 121 arch/arm/include/asm/atomic.h : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) ptr 122 arch/arm/include/asm/atomic.h : "r" (&ptr->counter), "Ir" (old), "r" (new) ptr 406 arch/arm/include/asm/atomic.h static inline s64 atomic64_cmpxchg_relaxed(atomic64_t *ptr, s64 old, s64 new) ptr 411 arch/arm/include/asm/atomic.h prefetchw(&ptr->counter); ptr 420 arch/arm/include/asm/atomic.h : "=&r" (res), "=&r" (oldval), "+Qo" (ptr->counter) ptr 421 arch/arm/include/asm/atomic.h : "r" (&ptr->counter), "r" (old), "r" (new) ptr 429 arch/arm/include/asm/atomic.h static inline s64 atomic64_xchg_relaxed(atomic64_t *ptr, s64 new) ptr 434 arch/arm/include/asm/atomic.h prefetchw(&ptr->counter); ptr 441 arch/arm/include/asm/atomic.h : "=&r" (result), "=&r" (tmp), "+Qo" (ptr->counter) ptr 442 arch/arm/include/asm/atomic.h : "r" (&ptr->counter), "r" (new) ptr 427 arch/arm/include/asm/cacheflush.h #define sync_cache_w(ptr) __sync_cache_range_w(ptr, sizeof *(ptr)) ptr 428 arch/arm/include/asm/cacheflush.h #define sync_cache_r(ptr) __sync_cache_range_r(ptr, sizeof *(ptr)) ptr 28 arch/arm/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) ptr 39 arch/arm/include/asm/cmpxchg.h prefetchw((const void *)ptr); ptr 51 arch/arm/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 61 arch/arm/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 72 arch/arm/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 81 arch/arm/include/asm/cmpxchg.h ret = *(volatile unsigned char *)ptr; ptr 82 arch/arm/include/asm/cmpxchg.h *(volatile unsigned char *)ptr = x; ptr 88 arch/arm/include/asm/cmpxchg.h ret = *(volatile unsigned long *)ptr; ptr 89 arch/arm/include/asm/cmpxchg.h *(volatile unsigned long *)ptr = x; ptr 97 arch/arm/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 104 arch/arm/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 110 arch/arm/include/asm/cmpxchg.h __bad_xchg(ptr, size), ret = 0; ptr 117 arch/arm/include/asm/cmpxchg.h #define xchg_relaxed(ptr, x) ({ \ ptr 118 arch/arm/include/asm/cmpxchg.h (__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \ ptr 119 arch/arm/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 137 arch/arm/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) ({ \ ptr 138 arch/arm/include/asm/cmpxchg.h (__typeof(*ptr))__cmpxchg_local_generic((ptr), \ ptr 141 arch/arm/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 144 arch/arm/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 150 arch/arm/include/asm/cmpxchg.h extern void __bad_cmpxchg(volatile void *ptr, int size); ptr 156 arch/arm/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, ptr 161 arch/arm/include/asm/cmpxchg.h prefetchw((const void *)ptr); ptr 173 arch/arm/include/asm/cmpxchg.h : "r" (ptr), "Ir" (old), "r" (new) ptr 185 arch/arm/include/asm/cmpxchg.h : "r" (ptr), "Ir" (old), "r" (new) ptr 198 arch/arm/include/asm/cmpxchg.h : "r" (ptr), "Ir" (old), "r" (new) ptr 203 arch/arm/include/asm/cmpxchg.h __bad_cmpxchg(ptr, size); ptr 210 arch/arm/include/asm/cmpxchg.h #define cmpxchg_relaxed(ptr,o,n) ({ \ ptr 211 arch/arm/include/asm/cmpxchg.h (__typeof__(*(ptr)))__cmpxchg((ptr), \ ptr 214 arch/arm/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 217 arch/arm/include/asm/cmpxchg.h static inline unsigned long __cmpxchg_local(volatile void *ptr, ptr 227 arch/arm/include/asm/cmpxchg.h ret = __cmpxchg_local_generic(ptr, old, new, size); ptr 231 arch/arm/include/asm/cmpxchg.h ret = __cmpxchg(ptr, old, new, size); ptr 237 arch/arm/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) ({ \ ptr 238 arch/arm/include/asm/cmpxchg.h (__typeof(*ptr))__cmpxchg_local((ptr), \ ptr 241 arch/arm/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 244 arch/arm/include/asm/cmpxchg.h static inline unsigned long long __cmpxchg64(unsigned long long *ptr, ptr 251 arch/arm/include/asm/cmpxchg.h prefetchw(ptr); ptr 262 arch/arm/include/asm/cmpxchg.h : "=&r" (res), "=&r" (oldval), "+Qo" (*ptr) ptr 263 arch/arm/include/asm/cmpxchg.h : "r" (ptr), "r" (old), "r" (new) ptr 269 arch/arm/include/asm/cmpxchg.h #define cmpxchg64_relaxed(ptr, o, n) ({ \ ptr 270 arch/arm/include/asm/cmpxchg.h (__typeof__(*(ptr)))__cmpxchg64((ptr), \ ptr 275 arch/arm/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) cmpxchg64_relaxed((ptr), (o), (n)) ptr 188 arch/arm/include/asm/kvm_mmu.h static inline bool kvm_page_empty(void *ptr) ptr 190 arch/arm/include/asm/kvm_mmu.h struct page *ptr_page = virt_to_page(ptr); ptr 44 arch/arm/include/asm/mcpm.h void mcpm_set_entry_vector(unsigned cpu, unsigned cluster, void *ptr); ptr 121 arch/arm/include/asm/processor.h static inline void prefetch(const void *ptr) ptr 125 arch/arm/include/asm/processor.h :: "p" (ptr)); ptr 130 arch/arm/include/asm/processor.h static inline void prefetchw(const void *ptr) ptr 138 arch/arm/include/asm/processor.h :: "p" (ptr)); ptr 22 arch/arm/include/asm/traps.h static inline int __in_irqentry_text(unsigned long ptr) ptr 27 arch/arm/include/asm/traps.h return ptr >= (unsigned long)&__irqentry_text_start && ptr 28 arch/arm/include/asm/traps.h ptr < (unsigned long)&__irqentry_text_end; ptr 103 arch/arm/include/asm/uaccess.h #define uaccess_mask_range_ptr(ptr, size) \ ptr 104 arch/arm/include/asm/uaccess.h ((__typeof__(ptr))__uaccess_mask_range_ptr(ptr, size)) ptr 105 arch/arm/include/asm/uaccess.h static inline void __user *__uaccess_mask_range_ptr(const void __user *ptr, ptr 108 arch/arm/include/asm/uaccess.h void __user *safe_ptr = (void __user *)ptr; ptr 292 arch/arm/include/asm/uaccess.h #define __get_user(x, ptr) get_user(x, ptr) ptr 304 arch/arm/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 307 arch/arm/include/asm/uaccess.h __get_user_err((x), (ptr), __gu_err); \ ptr 311 arch/arm/include/asm/uaccess.h #define __get_user_err(x, ptr, err) \ ptr 313 arch/arm/include/asm/uaccess.h unsigned long __gu_addr = (unsigned long)(ptr); \ ptr 316 arch/arm/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 319 arch/arm/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 326 arch/arm/include/asm/uaccess.h (x) = (__typeof__(*(ptr)))__gu_val; \ ptr 382 arch/arm/include/asm/uaccess.h #define __put_user_switch(x, ptr, __err, __fn) \ ptr 384 arch/arm/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \ ptr 385 arch/arm/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = (x); \ ptr 389 arch/arm/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 399 arch/arm/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 402 arch/arm/include/asm/uaccess.h __put_user_switch((x), (ptr), __pu_err, __put_user_check); \ ptr 411 arch/arm/include/asm/uaccess.h #define __put_user(x, ptr) put_user(x, ptr) ptr 414 arch/arm/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 417 arch/arm/include/asm/uaccess.h __put_user_switch((x), (ptr), __pu_err, __put_user_nocheck); \ ptr 20 arch/arm/include/asm/xen/events.h #define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((long long*)(ptr),\ ptr 116 arch/arm/kernel/kgdb.c char *ptr; ptr 128 arch/arm/kernel/kgdb.c ptr = &remcom_in_buffer[1]; ptr 129 arch/arm/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 182 arch/arm/kernel/kgdb.c kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) ptr 188 arch/arm/kernel/kgdb.c ret = __kgdb_notify(ptr, cmd); ptr 685 arch/arm/kernel/signal.c unsigned long ptr; ptr 707 arch/arm/kernel/signal.c ptr = (unsigned long)addr + offset; ptr 708 arch/arm/kernel/signal.c flush_icache_range(ptr, ptr + sizeof(sigreturn_codes)); ptr 59 arch/arm/kernel/suspend.c void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr) ptr 61 arch/arm/kernel/suspend.c u32 *ctx = ptr; ptr 63 arch/arm/kernel/suspend.c *save_ptr = virt_to_phys(ptr); ptr 66 arch/arm/kernel/suspend.c *ptr++ = virt_to_phys(idmap_pgd); ptr 67 arch/arm/kernel/suspend.c *ptr++ = sp; ptr 68 arch/arm/kernel/suspend.c *ptr++ = virt_to_phys(cpu_do_resume); ptr 70 arch/arm/kernel/suspend.c cpu_do_suspend(ptr); ptr 364 arch/arm/kernel/sys_oabi-compat.c void __user *ptr, long fifth) ptr 369 arch/arm/kernel/sys_oabi-compat.c (struct oabi_sembuf __user *)ptr, ptr 373 arch/arm/kernel/sys_oabi-compat.c (struct oabi_sembuf __user *)ptr, ptr 377 arch/arm/kernel/sys_oabi-compat.c return sys_ipc(call, first, second, third, ptr, fifth); ptr 87 arch/arm/kernel/unwind.c #define prel31_to_addr(ptr) \ ptr 90 arch/arm/kernel/unwind.c long offset = (((long)*(ptr)) << 1) >> 1; \ ptr 91 arch/arm/kernel/unwind.c (unsigned long)(ptr) + offset; \ ptr 11 arch/arm/mach-ep93xx/include/mach/uncompress.h static unsigned char __raw_readb(unsigned int ptr) ptr 13 arch/arm/mach-ep93xx/include/mach/uncompress.h return *((volatile unsigned char *)ptr); ptr 16 arch/arm/mach-ep93xx/include/mach/uncompress.h static unsigned int __raw_readl(unsigned int ptr) ptr 18 arch/arm/mach-ep93xx/include/mach/uncompress.h return *((volatile unsigned int *)ptr); ptr 21 arch/arm/mach-ep93xx/include/mach/uncompress.h static void __raw_writeb(unsigned char value, unsigned int ptr) ptr 23 arch/arm/mach-ep93xx/include/mach/uncompress.h *((volatile unsigned char *)ptr) = value; ptr 26 arch/arm/mach-ep93xx/include/mach/uncompress.h static void __raw_writel(unsigned int value, unsigned int ptr) ptr 28 arch/arm/mach-ep93xx/include/mach/uncompress.h *((volatile unsigned int *)ptr) = value; ptr 194 arch/arm/mach-omap1/clock.c struct mpu_rate * ptr; ptr 199 arch/arm/mach-omap1/clock.c for (ptr = omap1_rate_table; ptr->rate; ptr++) { ptr 200 arch/arm/mach-omap1/clock.c if (!(ptr->flags & cpu_mask)) ptr 203 arch/arm/mach-omap1/clock.c if (ptr->xtal != ref_rate) ptr 207 arch/arm/mach-omap1/clock.c if (ptr->rate <= rate) ptr 211 arch/arm/mach-omap1/clock.c if (!ptr->rate) ptr 218 arch/arm/mach-omap1/clock.c omap_sram_reprogram_clock(ptr->dpllctl_val, ptr->ckctl_val); ptr 221 arch/arm/mach-omap1/clock.c ck_dpll1_p->rate = ptr->pll_rate; ptr 279 arch/arm/mach-omap1/clock.c struct mpu_rate * ptr; ptr 287 arch/arm/mach-omap1/clock.c for (ptr = omap1_rate_table; ptr->rate; ptr++) { ptr 288 arch/arm/mach-omap1/clock.c if (!(ptr->flags & cpu_mask)) ptr 291 arch/arm/mach-omap1/clock.c if (ptr->xtal != ref_rate) ptr 294 arch/arm/mach-omap1/clock.c highest_rate = ptr->rate; ptr 297 arch/arm/mach-omap1/clock.c if (ptr->rate <= rate) ptr 74 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c const struct prcm_config *ptr; ptr 79 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c for (ptr = rate_table; ptr->mpu_speed; ptr++) { ptr 80 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c if (!(ptr->flags & cpu_mask)) ptr 82 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c if (ptr->xtal_speed != sys_ck_rate) ptr 85 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c highest_rate = ptr->mpu_speed; ptr 88 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c if (ptr->mpu_speed <= rate) ptr 86 arch/arm/mach-omap2/clockdomain.c clkdm->pwrdm.ptr = pwrdm; ptr 153 arch/arm/mach-omap2/clockdomain.c autodep->clkdm.ptr = clkdm; ptr 447 arch/arm/mach-omap2/clockdomain.c for (a = autodeps; a->clkdm.ptr; a++) ptr 575 arch/arm/mach-omap2/clockdomain.c return clkdm->pwrdm.ptr; ptr 605 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(cd->clkdm->pwrdm.ptr); ptr 607 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(cd->clkdm->pwrdm.ptr); ptr 634 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(cd->clkdm->pwrdm.ptr); ptr 636 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(cd->clkdm->pwrdm.ptr); ptr 725 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(cd->clkdm->pwrdm.ptr); ptr 727 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(cd->clkdm->pwrdm.ptr); ptr 756 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(cd->clkdm->pwrdm.ptr); ptr 758 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(cd->clkdm->pwrdm.ptr); ptr 854 arch/arm/mach-omap2/clockdomain.c ret |= pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 872 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 874 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 908 arch/arm/mach-omap2/clockdomain.c ret |= pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 926 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 928 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 972 arch/arm/mach-omap2/clockdomain.c pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 987 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 989 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1027 arch/arm/mach-omap2/clockdomain.c pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 1041 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 1043 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1106 arch/arm/mach-omap2/clockdomain.c for (autodep = autodeps; autodep->clkdm.ptr; autodep++) { ptr 1107 arch/arm/mach-omap2/clockdomain.c if (IS_ERR(autodep->clkdm.ptr)) ptr 1111 arch/arm/mach-omap2/clockdomain.c clkdm->name, autodep->clkdm.ptr->name); ptr 1113 arch/arm/mach-omap2/clockdomain.c _clkdm_add_sleepdep(clkdm, autodep->clkdm.ptr); ptr 1114 arch/arm/mach-omap2/clockdomain.c _clkdm_add_wkdep(clkdm, autodep->clkdm.ptr); ptr 1136 arch/arm/mach-omap2/clockdomain.c for (autodep = autodeps; autodep->clkdm.ptr; autodep++) { ptr 1137 arch/arm/mach-omap2/clockdomain.c if (IS_ERR(autodep->clkdm.ptr)) ptr 1141 arch/arm/mach-omap2/clockdomain.c clkdm->name, autodep->clkdm.ptr->name); ptr 1143 arch/arm/mach-omap2/clockdomain.c _clkdm_del_sleepdep(clkdm, autodep->clkdm.ptr); ptr 1144 arch/arm/mach-omap2/clockdomain.c _clkdm_del_wkdep(clkdm, autodep->clkdm.ptr); ptr 1155 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 1164 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1169 arch/arm/mach-omap2/clockdomain.c pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 1170 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1222 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 1229 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1236 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1241 arch/arm/mach-omap2/clockdomain.c pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 1246 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1311 arch/arm/mach-omap2/clockdomain.c pwrdm_lock(clkdm->pwrdm.ptr); ptr 1314 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1321 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 1326 arch/arm/mach-omap2/clockdomain.c pwrdm_state_switch_nolock(clkdm->pwrdm.ptr); ptr 1327 arch/arm/mach-omap2/clockdomain.c pwrdm_unlock(clkdm->pwrdm.ptr); ptr 71 arch/arm/mach-omap2/clockdomain.h struct clockdomain *ptr; ptr 127 arch/arm/mach-omap2/clockdomain.h struct powerdomain *ptr; ptr 270 arch/arm/mach-omap2/cm2xxx.c omap2xxx_cm_clkdm_enable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 276 arch/arm/mach-omap2/cm2xxx.c omap2xxx_cm_clkdm_disable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 287 arch/arm/mach-omap2/cm2xxx.c hwsup = omap2xxx_cm_is_clkdm_in_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 302 arch/arm/mach-omap2/cm2xxx.c hwsup = omap2xxx_cm_is_clkdm_in_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 150 arch/arm/mach-omap2/cm3xxx.c clkdm1->pwrdm.ptr->prcm_offs, ptr 159 arch/arm/mach-omap2/cm3xxx.c clkdm1->pwrdm.ptr->prcm_offs, ptr 167 arch/arm/mach-omap2/cm3xxx.c return omap2_cm_read_mod_bits_shift(clkdm1->pwrdm.ptr->prcm_offs, ptr 184 arch/arm/mach-omap2/cm3xxx.c omap2_cm_clear_mod_reg_bits(mask, clkdm->pwrdm.ptr->prcm_offs, ptr 191 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_force_sleep(clkdm->pwrdm.ptr->prcm_offs, ptr 198 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_force_wakeup(clkdm->pwrdm.ptr->prcm_offs, ptr 208 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_enable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 214 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_disable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 239 arch/arm/mach-omap2/cm3xxx.c hwsup = omap3xxx_cm_is_clkdm_in_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 244 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_disable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 247 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_enable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 271 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_enable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 276 arch/arm/mach-omap2/cm3xxx.c hwsup = omap3xxx_cm_is_clkdm_in_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 281 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_disable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 284 arch/arm/mach-omap2/cm3xxx.c omap3xxx_cm_clkdm_enable_hwsup(clkdm->pwrdm.ptr->prcm_offs, ptr 636 arch/arm/mach-omap2/cm3xxx.c void omap3_cm_save_scratchpad_contents(u32 *ptr) ptr 638 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(CORE_MOD, CM_CLKSEL); ptr 639 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(WKUP_MOD, CM_CLKSEL); ptr 640 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(PLL_MOD, CM_CLKEN); ptr 647 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(PLL_MOD, CM_AUTOIDLE) & ptr 649 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(PLL_MOD, OMAP3430_CM_CLKSEL1_PLL); ptr 650 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(PLL_MOD, OMAP3430_CM_CLKSEL2_PLL); ptr 651 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(PLL_MOD, OMAP3430_CM_CLKSEL3); ptr 652 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(MPU_MOD, OMAP3430_CM_CLKEN_PLL); ptr 653 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(MPU_MOD, OMAP3430_CM_AUTOIDLE_PLL); ptr 654 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(MPU_MOD, OMAP3430_CM_CLKSEL1_PLL); ptr 655 arch/arm/mach-omap2/cm3xxx.c *ptr++ = omap2_cm_read_mod_reg(MPU_MOD, OMAP3430_CM_CLKSEL2_PLL); ptr 70 arch/arm/mach-omap2/cm3xxx.h extern void omap3_cm_save_scratchpad_contents(u32 *ptr); ptr 159 arch/arm/mach-omap2/omap-secure.c u32 rx51_secure_rng_call(u32 ptr, u32 count, u32 flag) ptr 164 arch/arm/mach-omap2/omap-secure.c 3, ptr, count, flag, 0); ptr 73 arch/arm/mach-omap2/omap-secure.h extern u32 rx51_secure_rng_call(u32 ptr, u32 count, u32 flag); ptr 1866 arch/arm/mach-omap2/omap_hwmod.c if (!prm_was_any_context_lost_old(oh->clkdm->pwrdm.ptr->prcm_partition, ptr 1867 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_offs, ptr 1872 arch/arm/mach-omap2/omap_hwmod.c prm_clear_context_loss_flags_old(oh->clkdm->pwrdm.ptr->prcm_partition, ptr 1873 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_offs, ptr 2869 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_partition, ptr 2870 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_offs, ptr 2896 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_partition, ptr 2897 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_offs, ptr 2922 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr-> ptr 2924 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_offs, ptr 2962 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_partition, ptr 2963 arch/arm/mach-omap2/omap_hwmod.c oh->clkdm->pwrdm.ptr->prcm_offs, ptr 3823 arch/arm/mach-omap2/omap_hwmod.c return oh->clkdm->pwrdm.ptr; ptr 3839 arch/arm/mach-omap2/omap_hwmod.c return clkdm->pwrdm.ptr; ptr 78 arch/arm/mach-omap2/pm-debug.c seq_printf(s, "%s->%s (%d)\n", clkdm->name, clkdm->pwrdm.ptr->name, ptr 117 arch/arm/mach-omap2/powerdomain.c pwrdm->voltdm.ptr = voltdm; ptr 113 arch/arm/mach-omap2/powerdomain.h struct voltagedomain *ptr; ptr 136 arch/arm/mach-omap2/prm2xxx.c clkdm->pwrdm.ptr->prcm_offs, ptr 144 arch/arm/mach-omap2/prm2xxx.c clkdm->pwrdm.ptr->prcm_offs, ptr 199 arch/arm/mach-omap2/prm2xxx_3xxx.c clkdm1->pwrdm.ptr->prcm_offs, PM_WKDEP); ptr 207 arch/arm/mach-omap2/prm2xxx_3xxx.c clkdm1->pwrdm.ptr->prcm_offs, PM_WKDEP); ptr 214 arch/arm/mach-omap2/prm2xxx_3xxx.c return omap2_prm_read_mod_bits_shift(clkdm1->pwrdm.ptr->prcm_offs, ptr 233 arch/arm/mach-omap2/prm2xxx_3xxx.c omap2_prm_clear_mod_reg_bits(mask, clkdm->pwrdm.ptr->prcm_offs, ptr 525 arch/arm/mach-omap2/prm3xxx.c void omap3_prm_save_scratchpad_contents(u32 *ptr) ptr 527 arch/arm/mach-omap2/prm3xxx.c *ptr++ = omap2_prm_read_mod_reg(OMAP3430_GR_MOD, ptr 530 arch/arm/mach-omap2/prm3xxx.c *ptr++ = omap2_prm_read_mod_reg(OMAP3430_GR_MOD, ptr 144 arch/arm/mach-omap2/prm3xxx.h void omap3_prm_save_scratchpad_contents(u32 *ptr); ptr 80 arch/arm/mach-rpc/include/mach/uncompress.h char *ptr; ptr 91 arch/arm/mach-rpc/include/mach/uncompress.h ptr = VIDMEM + ((y*video_num_cols*bytes_per_char_v+x)*bytes_per_char_h); ptr 92 arch/arm/mach-rpc/include/mach/uncompress.h ll_write_char(ptr, c, white); ptr 40 arch/arm/mach-s3c24xx/pm-s3c2410.c unsigned long ptr; ptr 45 arch/arm/mach-s3c24xx/pm-s3c2410.c for (ptr = 0; ptr < 0x40000; ptr += 0x400) ptr 46 arch/arm/mach-s3c24xx/pm-s3c2410.c calc += __raw_readl(base+ptr); ptr 56 arch/arm/mach-s3c24xx/pm-s3c2410.c unsigned long ptr; ptr 61 arch/arm/mach-s3c24xx/pm-s3c2410.c for (ptr = 0; ptr < 0x40000; ptr += 0x4) ptr 62 arch/arm/mach-s3c24xx/pm-s3c2410.c calc += __raw_readl(base+ptr); ptr 818 arch/arm/mm/alignment.c u16 *ptr = (u16 *)(instrptr & ~1); ptr 820 arch/arm/mm/alignment.c fault = alignment_get_thumb(regs, ptr, &tinstr); ptr 826 arch/arm/mm/alignment.c fault = alignment_get_thumb(regs, ptr + 1, &tinst2); ptr 57 arch/arm/mm/copypage-fa.c void *ptr, *kaddr = kmap_atomic(page); ptr 73 arch/arm/mm/copypage-fa.c : "=r" (ptr) ptr 80 arch/arm/mm/copypage-feroceon.c void *ptr, *kaddr = kmap_atomic(page); ptr 97 arch/arm/mm/copypage-feroceon.c : "=r" (ptr) ptr 88 arch/arm/mm/copypage-v4mc.c void *ptr, *kaddr = kmap_atomic(page); ptr 103 arch/arm/mm/copypage-v4mc.c : "=r" (ptr) ptr 67 arch/arm/mm/copypage-v4wb.c void *ptr, *kaddr = kmap_atomic(page); ptr 83 arch/arm/mm/copypage-v4wb.c : "=r" (ptr) ptr 62 arch/arm/mm/copypage-v4wt.c void *ptr, *kaddr = kmap_atomic(page); ptr 76 arch/arm/mm/copypage-v4wt.c : "=r" (ptr) ptr 81 arch/arm/mm/copypage-xsc3.c void *ptr, *kaddr = kmap_atomic(page); ptr 93 arch/arm/mm/copypage-xsc3.c : "=r" (ptr) ptr 109 arch/arm/mm/copypage-xscale.c void *ptr, *kaddr = kmap_atomic(page); ptr 124 arch/arm/mm/copypage-xscale.c : "=r" (ptr) ptr 275 arch/arm/mm/dma-mapping.c void *ptr = kmap_atomic(page); ptr 276 arch/arm/mm/dma-mapping.c memset(ptr, 0, PAGE_SIZE); ptr 278 arch/arm/mm/dma-mapping.c dmac_flush_range(ptr, ptr + PAGE_SIZE); ptr 279 arch/arm/mm/dma-mapping.c kunmap_atomic(ptr); ptr 286 arch/arm/mm/dma-mapping.c void *ptr = page_address(page); ptr 287 arch/arm/mm/dma-mapping.c memset(ptr, 0, size); ptr 289 arch/arm/mm/dma-mapping.c dmac_flush_range(ptr, ptr + size); ptr 290 arch/arm/mm/dma-mapping.c outer_flush_range(__pa(ptr), __pa(ptr) + size); ptr 363 arch/arm/mm/dma-mapping.c void *ptr; ptr 373 arch/arm/mm/dma-mapping.c ptr = __alloc_from_contiguous(NULL, atomic_pool_size, prot, ptr 377 arch/arm/mm/dma-mapping.c ptr = __alloc_remap_buffer(NULL, atomic_pool_size, gfp, prot, ptr 379 arch/arm/mm/dma-mapping.c if (ptr) { ptr 382 arch/arm/mm/dma-mapping.c ret = gen_pool_add_virt(atomic_pool, (unsigned long)ptr, ptr 487 arch/arm/mm/dma-mapping.c void *ptr = NULL; ptr 498 arch/arm/mm/dma-mapping.c ptr = dma_common_contiguous_remap(page, size, prot, caller); ptr 499 arch/arm/mm/dma-mapping.c if (!ptr) { ptr 506 arch/arm/mm/dma-mapping.c return ptr; ptr 512 arch/arm/mm/dma-mapping.c void *ptr = NULL; ptr 524 arch/arm/mm/dma-mapping.c ptr = (void *)val; ptr 527 arch/arm/mm/dma-mapping.c return ptr; ptr 553 arch/arm/mm/dma-mapping.c void *ptr = NULL; ptr 565 arch/arm/mm/dma-mapping.c ptr = dma_common_contiguous_remap(page, size, prot, caller); ptr 566 arch/arm/mm/dma-mapping.c if (!ptr) { ptr 572 arch/arm/mm/dma-mapping.c ptr = page_address(page); ptr 577 arch/arm/mm/dma-mapping.c return ptr; ptr 721 arch/arm/mm/mmu.c void *ptr = memblock_alloc(sz, sz); ptr 723 arch/arm/mm/mmu.c if (!ptr) ptr 727 arch/arm/mm/mmu.c return ptr; ptr 732 arch/arm/mm/mmu.c void *ptr = (void *)__get_free_pages(GFP_PGTABLE_KERNEL, get_order(sz)); ptr 734 arch/arm/mm/mmu.c if (!ptr || !pgtable_pte_page_ctor(virt_to_page(ptr))) ptr 736 arch/arm/mm/mmu.c return ptr; ptr 334 arch/arm/net/bpf_jit_32.c u32 *ptr; ptr 336 arch/arm/net/bpf_jit_32.c for (ptr = area; size >= sizeof(u32); size -= sizeof(u32)) ptr 337 arch/arm/net/bpf_jit_32.c *ptr++ = __opcode_to_mem_arm(ARM_INST_UDF); ptr 675 arch/arm/plat-samsung/devs.c void *ptr; ptr 680 arch/arm/plat-samsung/devs.c ptr = kmemdup(set->partitions, size, GFP_KERNEL); ptr 681 arch/arm/plat-samsung/devs.c set->partitions = ptr; ptr 683 arch/arm/plat-samsung/devs.c if (!ptr) ptr 689 arch/arm/plat-samsung/devs.c ptr = kmemdup(set->nr_map, size, GFP_KERNEL); ptr 690 arch/arm/plat-samsung/devs.c set->nr_map = ptr; ptr 692 arch/arm/plat-samsung/devs.c if (!ptr) ptr 35 arch/arm/plat-samsung/include/plat/pm-common.h extern void s3c_pm_do_save(struct sleep_save *ptr, int count); ptr 36 arch/arm/plat-samsung/include/plat/pm-common.h extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count); ptr 37 arch/arm/plat-samsung/include/plat/pm-common.h extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count); ptr 39 arch/arm/plat-samsung/pm-check.c typedef u32 *(run_fn_t)(struct resource *ptr, u32 *arg); ptr 46 arch/arm/plat-samsung/pm-check.c static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) ptr 48 arch/arm/plat-samsung/pm-check.c while (ptr != NULL) { ptr 49 arch/arm/plat-samsung/pm-check.c if (ptr->child != NULL) ptr 50 arch/arm/plat-samsung/pm-check.c s3c_pm_run_res(ptr->child, fn, arg); ptr 52 arch/arm/plat-samsung/pm-check.c if ((ptr->flags & IORESOURCE_SYSTEM_RAM) ptr 55 arch/arm/plat-samsung/pm-check.c (unsigned long)ptr->start, ptr 56 arch/arm/plat-samsung/pm-check.c (unsigned long)ptr->end); ptr 57 arch/arm/plat-samsung/pm-check.c arg = (fn)(ptr, arg); ptr 60 arch/arm/plat-samsung/pm-check.c ptr = ptr->sibling; ptr 140 arch/arm/plat-samsung/pm-check.c static inline int in_region(void *ptr, int size, void *what, size_t whatsz) ptr 142 arch/arm/plat-samsung/pm-check.c if ((what+whatsz) < ptr) ptr 145 arch/arm/plat-samsung/pm-check.c if (what > (ptr+size)) ptr 166 arch/arm/plat-samsung/pm-check.c void *ptr; ptr 178 arch/arm/plat-samsung/pm-check.c ptr = phys_to_virt(addr); ptr 180 arch/arm/plat-samsung/pm-check.c if (in_region(ptr, left, stkpage, 4096)) { ptr 185 arch/arm/plat-samsung/pm-check.c if (in_region(ptr, left, crcs, crc_size)) { ptr 192 arch/arm/plat-samsung/pm-check.c calc = crc32_le(~0, ptr, left); ptr 27 arch/arm/plat-samsung/pm-common.c void s3c_pm_do_save(struct sleep_save *ptr, int count) ptr 29 arch/arm/plat-samsung/pm-common.c for (; count > 0; count--, ptr++) { ptr 30 arch/arm/plat-samsung/pm-common.c ptr->val = readl_relaxed(ptr->reg); ptr 31 arch/arm/plat-samsung/pm-common.c S3C_PMDBG("saved %p value %08lx\n", ptr->reg, ptr->val); ptr 46 arch/arm/plat-samsung/pm-common.c void s3c_pm_do_restore(const struct sleep_save *ptr, int count) ptr 48 arch/arm/plat-samsung/pm-common.c for (; count > 0; count--, ptr++) { ptr 50 arch/arm/plat-samsung/pm-common.c ptr->reg, ptr->val, readl_relaxed(ptr->reg)); ptr 52 arch/arm/plat-samsung/pm-common.c writel_relaxed(ptr->val, ptr->reg); ptr 67 arch/arm/plat-samsung/pm-common.c void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) ptr 69 arch/arm/plat-samsung/pm-common.c for (; count > 0; count--, ptr++) ptr 70 arch/arm/plat-samsung/pm-common.c writel_relaxed(ptr->val, ptr->reg); ptr 261 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc__cmpxchg_case_##name##sz(volatile void *ptr, \ ptr 287 arch/arm64/include/asm/atomic_ll_sc.h [v] "+Q" (*(u##sz *)ptr) \ ptr 324 arch/arm64/include/asm/atomic_ll_sc.h volatile void *ptr) \ ptr 340 arch/arm64/include/asm/atomic_ll_sc.h : "=&r" (tmp), "=&r" (ret), "+Q" (*(unsigned long *)ptr) \ ptr 342 arch/arm64/include/asm/atomic_lse.h __lse__cmpxchg_case_##name##sz(volatile void *ptr, \ ptr 346 arch/arm64/include/asm/atomic_lse.h register unsigned long x0 asm ("x0") = (unsigned long)ptr; \ ptr 356 arch/arm64/include/asm/atomic_lse.h : [ret] "+r" (x0), [v] "+Q" (*(unsigned long *)ptr), \ ptr 389 arch/arm64/include/asm/atomic_lse.h volatile void *ptr) \ ptr 397 arch/arm64/include/asm/atomic_lse.h register unsigned long x4 asm ("x4") = (unsigned long)ptr; \ ptr 406 arch/arm64/include/asm/atomic_lse.h [v] "+Q" (*(unsigned long *)ptr) \ ptr 407 arch/arm64/include/asm/atomic_lse.h : [new1] "r" (x2), [new2] "r" (x3), [ptr] "r" (x4), \ ptr 130 arch/arm64/include/asm/barrier.h #define smp_cond_load_relaxed(ptr, cond_expr) \ ptr 132 arch/arm64/include/asm/barrier.h typeof(ptr) __PTR = (ptr); \ ptr 133 arch/arm64/include/asm/barrier.h typeof(*ptr) VAL; \ ptr 143 arch/arm64/include/asm/barrier.h #define smp_cond_load_acquire(ptr, cond_expr) \ ptr 145 arch/arm64/include/asm/barrier.h typeof(ptr) __PTR = (ptr); \ ptr 146 arch/arm64/include/asm/barrier.h typeof(*ptr) VAL; \ ptr 22 arch/arm64/include/asm/cmpxchg.h static inline u##sz __xchg_case_##name##sz(u##sz x, volatile void *ptr) \ ptr 38 arch/arm64/include/asm/cmpxchg.h : "=&r" (ret), "=&r" (tmp), "+Q" (*(u##sz *)ptr) \ ptr 66 arch/arm64/include/asm/cmpxchg.h volatile void *ptr, \ ptr 71 arch/arm64/include/asm/cmpxchg.h return __xchg_case##sfx##_8(x, ptr); \ ptr 73 arch/arm64/include/asm/cmpxchg.h return __xchg_case##sfx##_16(x, ptr); \ ptr 75 arch/arm64/include/asm/cmpxchg.h return __xchg_case##sfx##_32(x, ptr); \ ptr 77 arch/arm64/include/asm/cmpxchg.h return __xchg_case##sfx##_64(x, ptr); \ ptr 92 arch/arm64/include/asm/cmpxchg.h #define __xchg_wrapper(sfx, ptr, x) \ ptr 94 arch/arm64/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 95 arch/arm64/include/asm/cmpxchg.h __ret = (__typeof__(*(ptr))) \ ptr 96 arch/arm64/include/asm/cmpxchg.h __xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \ ptr 107 arch/arm64/include/asm/cmpxchg.h static inline u##sz __cmpxchg_case_##name##sz(volatile void *ptr, \ ptr 112 arch/arm64/include/asm/cmpxchg.h ptr, old, new); \ ptr 139 arch/arm64/include/asm/cmpxchg.h volatile void *ptr) \ ptr 142 arch/arm64/include/asm/cmpxchg.h old1, old2, new1, new2, ptr); \ ptr 151 arch/arm64/include/asm/cmpxchg.h static __always_inline unsigned long __cmpxchg##sfx(volatile void *ptr, \ ptr 158 arch/arm64/include/asm/cmpxchg.h return __cmpxchg_case##sfx##_8(ptr, old, new); \ ptr 160 arch/arm64/include/asm/cmpxchg.h return __cmpxchg_case##sfx##_16(ptr, old, new); \ ptr 162 arch/arm64/include/asm/cmpxchg.h return __cmpxchg_case##sfx##_32(ptr, old, new); \ ptr 164 arch/arm64/include/asm/cmpxchg.h return __cmpxchg_case##sfx##_64(ptr, old, new); \ ptr 179 arch/arm64/include/asm/cmpxchg.h #define __cmpxchg_wrapper(sfx, ptr, o, n) \ ptr 181 arch/arm64/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 182 arch/arm64/include/asm/cmpxchg.h __ret = (__typeof__(*(ptr))) \ ptr 183 arch/arm64/include/asm/cmpxchg.h __cmpxchg##sfx((ptr), (unsigned long)(o), \ ptr 184 arch/arm64/include/asm/cmpxchg.h (unsigned long)(n), sizeof(*(ptr))); \ ptr 233 arch/arm64/include/asm/cmpxchg.h static inline void __cmpwait_case_##sz(volatile void *ptr, \ ptr 246 arch/arm64/include/asm/cmpxchg.h : [tmp] "=&r" (tmp), [v] "+Q" (*(unsigned long *)ptr) \ ptr 258 arch/arm64/include/asm/cmpxchg.h static __always_inline void __cmpwait##sfx(volatile void *ptr, \ ptr 264 arch/arm64/include/asm/cmpxchg.h return __cmpwait_case##sfx##_8(ptr, (u8)val); \ ptr 266 arch/arm64/include/asm/cmpxchg.h return __cmpwait_case##sfx##_16(ptr, (u16)val); \ ptr 268 arch/arm64/include/asm/cmpxchg.h return __cmpwait_case##sfx##_32(ptr, val); \ ptr 270 arch/arm64/include/asm/cmpxchg.h return __cmpwait_case##sfx##_64(ptr, val); \ ptr 282 arch/arm64/include/asm/cmpxchg.h #define __cmpwait_relaxed(ptr, val) \ ptr 283 arch/arm64/include/asm/cmpxchg.h __cmpwait((ptr), (unsigned long)(val), sizeof(*(ptr))) ptr 139 arch/arm64/include/asm/kvm_mmu.h static inline bool kvm_page_empty(void *ptr) ptr 141 arch/arm64/include/asm/kvm_mmu.h struct page *ptr_page = virt_to_page(ptr); ptr 553 arch/arm64/include/asm/kvm_mmu.h u64 *ptr; ptr 555 arch/arm64/include/asm/kvm_mmu.h ptr = per_cpu_ptr(&arm64_ssbd_callback_required, cpu); ptr 556 arch/arm64/include/asm/kvm_mmu.h err = create_hyp_mappings(ptr, ptr + 1, PAGE_HYP); ptr 41 arch/arm64/include/asm/percpu.h static inline unsigned long __percpu_read_##sz(void *ptr) \ ptr 43 arch/arm64/include/asm/percpu.h return READ_ONCE(*(u##sz *)ptr); \ ptr 46 arch/arm64/include/asm/percpu.h static inline void __percpu_write_##sz(void *ptr, unsigned long val) \ ptr 48 arch/arm64/include/asm/percpu.h WRITE_ONCE(*(u##sz *)ptr, (u##sz)val); \ ptr 53 arch/arm64/include/asm/percpu.h __percpu_##name##_case_##sz(void *ptr, unsigned long val) \ ptr 68 arch/arm64/include/asm/percpu.h [ptr] "+Q"(*(u##sz *)ptr) \ ptr 74 arch/arm64/include/asm/percpu.h __percpu_##name##_return_case_##sz(void *ptr, unsigned long val) \ ptr 90 arch/arm64/include/asm/percpu.h [ptr] "+Q"(*(u##sz *)ptr) \ ptr 75 arch/arm64/include/asm/pointer_auth.h static inline unsigned long ptrauth_strip_insn_pac(unsigned long ptr) ptr 77 arch/arm64/include/asm/pointer_auth.h return ptr & ~ptrauth_user_pac_mask(); ptr 21 arch/arm64/include/asm/proc-fns.h extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr); ptr 22 arch/arm64/include/asm/proc-fns.h extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr); ptr 264 arch/arm64/include/asm/processor.h static inline void prefetch(const void *ptr) ptr 266 arch/arm64/include/asm/processor.h asm volatile("prfm pldl1keep, %a0\n" : : "p" (ptr)); ptr 270 arch/arm64/include/asm/processor.h static inline void prefetchw(const void *ptr) ptr 272 arch/arm64/include/asm/processor.h asm volatile("prfm pstl1keep, %a0\n" : : "p" (ptr)); ptr 276 arch/arm64/include/asm/processor.h static inline void spin_lock_prefetch(const void *ptr) ptr 280 arch/arm64/include/asm/processor.h "nop") : : "p" (ptr)); ptr 39 arch/arm64/include/asm/traps.h static inline int __in_irqentry_text(unsigned long ptr) ptr 41 arch/arm64/include/asm/traps.h return ptr >= (unsigned long)&__irqentry_text_start && ptr 42 arch/arm64/include/asm/traps.h ptr < (unsigned long)&__irqentry_text_end; ptr 45 arch/arm64/include/asm/traps.h static inline int in_exception_text(unsigned long ptr) ptr 49 arch/arm64/include/asm/traps.h in = ptr >= (unsigned long)&__exception_text_start && ptr 50 arch/arm64/include/asm/traps.h ptr < (unsigned long)&__exception_text_end; ptr 52 arch/arm64/include/asm/traps.h return in ? : __in_irqentry_text(ptr); ptr 55 arch/arm64/include/asm/traps.h static inline int in_entry_text(unsigned long ptr) ptr 57 arch/arm64/include/asm/traps.h return ptr >= (unsigned long)&__entry_text_start && ptr 58 arch/arm64/include/asm/traps.h ptr < (unsigned long)&__entry_text_end; ptr 230 arch/arm64/include/asm/uaccess.h #define uaccess_mask_ptr(ptr) (__typeof__(ptr))__uaccess_mask_ptr(ptr) ptr 231 arch/arm64/include/asm/uaccess.h static inline void __user *__uaccess_mask_ptr(const void __user *ptr) ptr 239 arch/arm64/include/asm/uaccess.h : "r" (ptr), "r" (current_thread_info()->addr_limit), ptr 240 arch/arm64/include/asm/uaccess.h "r" (untagged_addr(ptr)) ptr 270 arch/arm64/include/asm/uaccess.h #define __raw_get_user(x, ptr, err) \ ptr 273 arch/arm64/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 275 arch/arm64/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 277 arch/arm64/include/asm/uaccess.h __get_user_asm("ldrb", "ldtrb", "%w", __gu_val, (ptr), \ ptr 281 arch/arm64/include/asm/uaccess.h __get_user_asm("ldrh", "ldtrh", "%w", __gu_val, (ptr), \ ptr 285 arch/arm64/include/asm/uaccess.h __get_user_asm("ldr", "ldtr", "%w", __gu_val, (ptr), \ ptr 289 arch/arm64/include/asm/uaccess.h __get_user_asm("ldr", "ldtr", "%x", __gu_val, (ptr), \ ptr 296 arch/arm64/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 299 arch/arm64/include/asm/uaccess.h #define __get_user_error(x, ptr, err) \ ptr 301 arch/arm64/include/asm/uaccess.h __typeof__(*(ptr)) __user *__p = (ptr); \ ptr 311 arch/arm64/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 314 arch/arm64/include/asm/uaccess.h __get_user_error((x), (ptr), __gu_err); \ ptr 334 arch/arm64/include/asm/uaccess.h #define __raw_put_user(x, ptr, err) \ ptr 336 arch/arm64/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = (x); \ ptr 337 arch/arm64/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 339 arch/arm64/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 341 arch/arm64/include/asm/uaccess.h __put_user_asm("strb", "sttrb", "%w", __pu_val, (ptr), \ ptr 345 arch/arm64/include/asm/uaccess.h __put_user_asm("strh", "sttrh", "%w", __pu_val, (ptr), \ ptr 349 arch/arm64/include/asm/uaccess.h __put_user_asm("str", "sttr", "%w", __pu_val, (ptr), \ ptr 353 arch/arm64/include/asm/uaccess.h __put_user_asm("str", "sttr", "%x", __pu_val, (ptr), \ ptr 362 arch/arm64/include/asm/uaccess.h #define __put_user_error(x, ptr, err) \ ptr 364 arch/arm64/include/asm/uaccess.h __typeof__(*(ptr)) __user *__p = (ptr); \ ptr 374 arch/arm64/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 377 arch/arm64/include/asm/uaccess.h __put_user_error((x), (ptr), __pu_err); \ ptr 20 arch/arm64/include/asm/xen/events.h #define xchg_xen_ulong(ptr, val) xchg((ptr), (val)) ptr 162 arch/arm64/kernel/kgdb.c char *ptr; ptr 164 arch/arm64/kernel/kgdb.c ptr = &remcom_in_buffer[1]; ptr 165 arch/arm64/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 284 arch/arm64/kernel/kgdb.c kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) ptr 290 arch/arm64/kernel/kgdb.c ret = __kgdb_notify(ptr, cmd); ptr 39 arch/arm64/kernel/sdei.c static void _free_sdei_stack(unsigned long * __percpu *ptr, int cpu) ptr 43 arch/arm64/kernel/sdei.c p = per_cpu(*ptr, cpu); ptr 45 arch/arm64/kernel/sdei.c per_cpu(*ptr, cpu) = NULL; ptr 60 arch/arm64/kernel/sdei.c static int _init_sdei_stack(unsigned long * __percpu *ptr, int cpu) ptr 67 arch/arm64/kernel/sdei.c per_cpu(*ptr, cpu) = p; ptr 18 arch/arm64/kvm/hyp/debug-sr.c #define save_debug(ptr,reg,nr) \ ptr 20 arch/arm64/kvm/hyp/debug-sr.c case 15: ptr[15] = read_debug(reg, 15); \ ptr 22 arch/arm64/kvm/hyp/debug-sr.c case 14: ptr[14] = read_debug(reg, 14); \ ptr 24 arch/arm64/kvm/hyp/debug-sr.c case 13: ptr[13] = read_debug(reg, 13); \ ptr 26 arch/arm64/kvm/hyp/debug-sr.c case 12: ptr[12] = read_debug(reg, 12); \ ptr 28 arch/arm64/kvm/hyp/debug-sr.c case 11: ptr[11] = read_debug(reg, 11); \ ptr 30 arch/arm64/kvm/hyp/debug-sr.c case 10: ptr[10] = read_debug(reg, 10); \ ptr 32 arch/arm64/kvm/hyp/debug-sr.c case 9: ptr[9] = read_debug(reg, 9); \ ptr 34 arch/arm64/kvm/hyp/debug-sr.c case 8: ptr[8] = read_debug(reg, 8); \ ptr 36 arch/arm64/kvm/hyp/debug-sr.c case 7: ptr[7] = read_debug(reg, 7); \ ptr 38 arch/arm64/kvm/hyp/debug-sr.c case 6: ptr[6] = read_debug(reg, 6); \ ptr 40 arch/arm64/kvm/hyp/debug-sr.c case 5: ptr[5] = read_debug(reg, 5); \ ptr 42 arch/arm64/kvm/hyp/debug-sr.c case 4: ptr[4] = read_debug(reg, 4); \ ptr 44 arch/arm64/kvm/hyp/debug-sr.c case 3: ptr[3] = read_debug(reg, 3); \ ptr 46 arch/arm64/kvm/hyp/debug-sr.c case 2: ptr[2] = read_debug(reg, 2); \ ptr 48 arch/arm64/kvm/hyp/debug-sr.c case 1: ptr[1] = read_debug(reg, 1); \ ptr 50 arch/arm64/kvm/hyp/debug-sr.c default: ptr[0] = read_debug(reg, 0); \ ptr 53 arch/arm64/kvm/hyp/debug-sr.c #define restore_debug(ptr,reg,nr) \ ptr 55 arch/arm64/kvm/hyp/debug-sr.c case 15: write_debug(ptr[15], reg, 15); \ ptr 57 arch/arm64/kvm/hyp/debug-sr.c case 14: write_debug(ptr[14], reg, 14); \ ptr 59 arch/arm64/kvm/hyp/debug-sr.c case 13: write_debug(ptr[13], reg, 13); \ ptr 61 arch/arm64/kvm/hyp/debug-sr.c case 12: write_debug(ptr[12], reg, 12); \ ptr 63 arch/arm64/kvm/hyp/debug-sr.c case 11: write_debug(ptr[11], reg, 11); \ ptr 65 arch/arm64/kvm/hyp/debug-sr.c case 10: write_debug(ptr[10], reg, 10); \ ptr 67 arch/arm64/kvm/hyp/debug-sr.c case 9: write_debug(ptr[9], reg, 9); \ ptr 69 arch/arm64/kvm/hyp/debug-sr.c case 8: write_debug(ptr[8], reg, 8); \ ptr 71 arch/arm64/kvm/hyp/debug-sr.c case 7: write_debug(ptr[7], reg, 7); \ ptr 73 arch/arm64/kvm/hyp/debug-sr.c case 6: write_debug(ptr[6], reg, 6); \ ptr 75 arch/arm64/kvm/hyp/debug-sr.c case 5: write_debug(ptr[5], reg, 5); \ ptr 77 arch/arm64/kvm/hyp/debug-sr.c case 4: write_debug(ptr[4], reg, 4); \ ptr 79 arch/arm64/kvm/hyp/debug-sr.c case 3: write_debug(ptr[3], reg, 3); \ ptr 81 arch/arm64/kvm/hyp/debug-sr.c case 2: write_debug(ptr[2], reg, 2); \ ptr 83 arch/arm64/kvm/hyp/debug-sr.c case 1: write_debug(ptr[1], reg, 1); \ ptr 85 arch/arm64/kvm/hyp/debug-sr.c default: write_debug(ptr[0], reg, 0); \ ptr 93 arch/arm64/mm/mmu.c void *ptr; ptr 104 arch/arm64/mm/mmu.c ptr = pte_set_fixmap(phys); ptr 106 arch/arm64/mm/mmu.c memset(ptr, 0, PAGE_SIZE); ptr 366 arch/arm64/mm/mmu.c void *ptr = (void *)__get_free_page(GFP_PGTABLE_KERNEL); ptr 367 arch/arm64/mm/mmu.c BUG_ON(!ptr); ptr 371 arch/arm64/mm/mmu.c return __pa(ptr); ptr 163 arch/arm64/mm/numa.c static void __init pcpu_fc_free(void *ptr, size_t size) ptr 165 arch/arm64/mm/numa.c memblock_free_early(__pa(ptr), size); ptr 156 arch/arm64/net/bpf_jit_comp.c __le32 *ptr; ptr 158 arch/arm64/net/bpf_jit_comp.c for (ptr = area; size >= sizeof(u32); size -= sizeof(u32)) ptr 159 arch/arm64/net/bpf_jit_comp.c *ptr++ = cpu_to_le32(AARCH64_BREAK_FAULT); ptr 16 arch/c6x/include/asm/cmpxchg.h static inline unsigned int __xchg(unsigned int x, volatile void *ptr, int size) ptr 26 arch/c6x/include/asm/cmpxchg.h tmp = *((unsigned char *) ptr); ptr 27 arch/c6x/include/asm/cmpxchg.h *((unsigned char *) ptr) = (unsigned char) x; ptr 31 arch/c6x/include/asm/cmpxchg.h tmp = *((unsigned short *) ptr); ptr 32 arch/c6x/include/asm/cmpxchg.h *((unsigned short *) ptr) = x; ptr 36 arch/c6x/include/asm/cmpxchg.h tmp = *((unsigned int *) ptr); ptr 37 arch/c6x/include/asm/cmpxchg.h *((unsigned int *) ptr) = x; ptr 44 arch/c6x/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 45 arch/c6x/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__xchg((unsigned int)(x), (void *) (ptr), \ ptr 46 arch/c6x/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 54 arch/c6x/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 55 arch/c6x/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), \ ptr 58 arch/c6x/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 59 arch/c6x/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 109 arch/c6x/include/asm/unaligned.h #define __get_unaligned_le(ptr) (typeof(*(ptr)))({ \ ptr 110 arch/c6x/include/asm/unaligned.h sizeof(*(ptr)) == 1 ? *(ptr) : \ ptr 111 arch/c6x/include/asm/unaligned.h (sizeof(*(ptr)) == 2 ? get_unaligned_le16((ptr)) : \ ptr 112 arch/c6x/include/asm/unaligned.h (sizeof(*(ptr)) == 4 ? get_unaligned_le32((ptr)) : \ ptr 113 arch/c6x/include/asm/unaligned.h (sizeof(*(ptr)) == 8 ? get_unaligned_le64((ptr)) : \ ptr 117 arch/c6x/include/asm/unaligned.h #define __get_unaligned_be(ptr) (__force typeof(*(ptr)))({ \ ptr 118 arch/c6x/include/asm/unaligned.h sizeof(*(ptr)) == 1 ? *(ptr) : \ ptr 119 arch/c6x/include/asm/unaligned.h (sizeof(*(ptr)) == 2 ? get_unaligned_be16((ptr)) : \ ptr 120 arch/c6x/include/asm/unaligned.h (sizeof(*(ptr)) == 4 ? get_unaligned_be32((ptr)) : \ ptr 121 arch/c6x/include/asm/unaligned.h (sizeof(*(ptr)) == 8 ? get_unaligned_be64((ptr)) : \ ptr 125 arch/c6x/include/asm/unaligned.h #define __put_unaligned_le(val, ptr) ({ \ ptr 126 arch/c6x/include/asm/unaligned.h void *__gu_p = (ptr); \ ptr 127 arch/c6x/include/asm/unaligned.h switch (sizeof(*(ptr))) { \ ptr 146 arch/c6x/include/asm/unaligned.h #define __put_unaligned_be(val, ptr) ({ \ ptr 147 arch/c6x/include/asm/unaligned.h void *__gu_p = (ptr); \ ptr 148 arch/c6x/include/asm/unaligned.h switch (sizeof(*(ptr))) { \ ptr 5 arch/csky/abiv1/inc/abi/vdso.h static inline int setup_vdso_page(unsigned short *ptr) ptr 10 arch/csky/abiv1/inc/abi/vdso.h err |= __put_user(0x67f1, ptr + 0); ptr 12 arch/csky/abiv1/inc/abi/vdso.h err |= __put_user(0x20b1, ptr + 1); ptr 14 arch/csky/abiv1/inc/abi/vdso.h err |= __put_user(0x0008, ptr + 2); ptr 8 arch/csky/abiv2/inc/abi/vdso.h static inline int setup_vdso_page(unsigned short *ptr) ptr 13 arch/csky/abiv2/inc/abi/vdso.h err |= __put_user(0xea07, ptr); ptr 14 arch/csky/abiv2/inc/abi/vdso.h err |= __put_user(0x008b, ptr+1); ptr 17 arch/csky/abiv2/inc/abi/vdso.h err |= __put_user(0xc000, ptr+2); ptr 18 arch/csky/abiv2/inc/abi/vdso.h err |= __put_user(0x2020, ptr+3); ptr 11 arch/csky/include/asm/cmpxchg.h #define __xchg(new, ptr, size) \ ptr 13 arch/csky/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 15 arch/csky/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 36 arch/csky/include/asm/cmpxchg.h #define xchg(ptr, x) (__xchg((x), (ptr), sizeof(*(ptr)))) ptr 38 arch/csky/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size) \ ptr 40 arch/csky/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 44 arch/csky/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 67 arch/csky/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 68 arch/csky/include/asm/cmpxchg.h (__cmpxchg((ptr), (o), (n), sizeof(*(ptr)))) ptr 41 arch/csky/include/asm/highmem.h extern struct page *kmap_atomic_to_page(void *ptr); ptr 129 arch/csky/include/asm/pgtable.h unsigned long ptr; ptr 131 arch/csky/include/asm/pgtable.h ptr = pmd_val(pmd); ptr 133 arch/csky/include/asm/pgtable.h return __va(ptr); ptr 56 arch/csky/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 57 arch/csky/include/asm/uaccess.h __put_user_check((x), (ptr), sizeof(*(ptr))) ptr 59 arch/csky/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 60 arch/csky/include/asm/uaccess.h __put_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 64 arch/csky/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 65 arch/csky/include/asm/uaccess.h __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 67 arch/csky/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 68 arch/csky/include/asm/uaccess.h __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 70 arch/csky/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 73 arch/csky/include/asm/uaccess.h typeof(*(ptr)) *__pu_addr = (ptr); \ ptr 74 arch/csky/include/asm/uaccess.h typeof(*(ptr)) __pu_val = (typeof(*(ptr)))(x); \ ptr 81 arch/csky/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 84 arch/csky/include/asm/uaccess.h typeof(*(ptr)) *__pu_addr = (ptr); \ ptr 85 arch/csky/include/asm/uaccess.h typeof(*(ptr)) __pu_val = (typeof(*(ptr)))(x); \ ptr 91 arch/csky/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ ptr 96 arch/csky/include/asm/uaccess.h __put_user_asm_b(x, ptr, retval); \ ptr 99 arch/csky/include/asm/uaccess.h __put_user_asm_h(x, ptr, retval); \ ptr 102 arch/csky/include/asm/uaccess.h __put_user_asm_w(x, ptr, retval); \ ptr 105 arch/csky/include/asm/uaccess.h __put_user_asm_64(x, ptr, retval); \ ptr 120 arch/csky/include/asm/uaccess.h #define __put_user_asm_b(x, ptr, err) \ ptr 133 arch/csky/include/asm/uaccess.h : "=r"(err), "=r"(x), "=r"(ptr), "=r"(errcode) \ ptr 134 arch/csky/include/asm/uaccess.h : "0"(err), "1"(x), "2"(ptr), "3"(-EFAULT) \ ptr 138 arch/csky/include/asm/uaccess.h #define __put_user_asm_h(x, ptr, err) \ ptr 151 arch/csky/include/asm/uaccess.h : "=r"(err), "=r"(x), "=r"(ptr), "=r"(errcode) \ ptr 152 arch/csky/include/asm/uaccess.h : "0"(err), "1"(x), "2"(ptr), "3"(-EFAULT) \ ptr 156 arch/csky/include/asm/uaccess.h #define __put_user_asm_w(x, ptr, err) \ ptr 169 arch/csky/include/asm/uaccess.h : "=r"(err), "=r"(x), "=r"(ptr), "=r"(errcode) \ ptr 170 arch/csky/include/asm/uaccess.h : "0"(err), "1"(x), "2"(ptr), "3"(-EFAULT) \ ptr 174 arch/csky/include/asm/uaccess.h #define __put_user_asm_64(x, ptr, err) \ ptr 178 arch/csky/include/asm/uaccess.h typeof(*(ptr))src = (typeof(*(ptr)))x; \ ptr 179 arch/csky/include/asm/uaccess.h typeof(*(ptr))*psrc = &src; \ ptr 195 arch/csky/include/asm/uaccess.h : "=r"(err), "=r"(psrc), "=r"(ptr), \ ptr 197 arch/csky/include/asm/uaccess.h : "0"(err), "1"(psrc), "2"(ptr), "3"(0), "4"(-EFAULT) \ ptr 201 arch/csky/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 204 arch/csky/include/asm/uaccess.h __get_user_size(x, (ptr), (size), __gu_err); \ ptr 208 arch/csky/include/asm/uaccess.h #define __get_user_check(x, ptr, size) \ ptr 211 arch/csky/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 217 arch/csky/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ ptr 221 arch/csky/include/asm/uaccess.h __get_user_asm_common((x), ptr, "ldb", retval); \ ptr 224 arch/csky/include/asm/uaccess.h __get_user_asm_common((x), ptr, "ldh", retval); \ ptr 227 arch/csky/include/asm/uaccess.h __get_user_asm_common((x), ptr, "ldw", retval); \ ptr 235 arch/csky/include/asm/uaccess.h #define __get_user_asm_common(x, ptr, ins, err) \ ptr 251 arch/csky/include/asm/uaccess.h : "0"(0), "r"(ptr), "2"(-EFAULT) \ ptr 107 arch/csky/mm/highmem.c struct page *kmap_atomic_to_page(void *ptr) ptr 109 arch/csky/mm/highmem.c unsigned long idx, vaddr = (unsigned long)ptr; ptr 113 arch/csky/mm/highmem.c return virt_to_page(ptr); ptr 7 arch/h8300/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 8 arch/h8300/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \ ptr 9 arch/h8300/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 15 arch/h8300/include/asm/cmpxchg.h volatile void *ptr, int size) ptr 26 arch/h8300/include/asm/cmpxchg.h : "=&r" (tmp) : "r" (x), "m" (*__xg(ptr))); ptr 32 arch/h8300/include/asm/cmpxchg.h : "=&r" (tmp) : "r" (x), "m" (*__xg(ptr))); ptr 38 arch/h8300/include/asm/cmpxchg.h : "=&r" (tmp) : "r" (x), "m" (*__xg(ptr))); ptr 53 arch/h8300/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 54 arch/h8300/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), \ ptr 57 arch/h8300/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 58 arch/h8300/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 105 arch/h8300/kernel/kgdb.c char *ptr; ptr 112 arch/h8300/kernel/kgdb.c ptr = &remcom_in_buffer[1]; ptr 113 arch/h8300/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 118 arch/h8300/kernel/ptrace_h.c const struct optable *ptr; ptr 123 arch/h8300/kernel/ptrace_h.c .ptr = optable_##no, \ ptr 219 arch/h8300/kernel/ptrace_h.c op = optables[0].ptr; ptr 226 arch/h8300/kernel/ptrace_h.c op = optables[-op->length].ptr; ptr 22 arch/hexagon/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long x, volatile void *ptr, ptr 35 arch/hexagon/include/asm/cmpxchg.h : "r" (ptr), "r" (x) ptr 45 arch/hexagon/include/asm/cmpxchg.h #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \ ptr 46 arch/hexagon/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 54 arch/hexagon/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new) \ ptr 56 arch/hexagon/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 57 arch/hexagon/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 58 arch/hexagon/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 59 arch/hexagon/include/asm/cmpxchg.h __typeof__(*(ptr)) __oldval = 0; \ ptr 173 arch/hexagon/kernel/kgdb.c kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) ptr 179 arch/hexagon/kernel/kgdb.c ret = __kgdb_notify(ptr, cmd); ptr 89 arch/hexagon/lib/checksum.c const char *ptr = voidptr; ptr 96 arch/hexagon/lib/checksum.c start = 0xF & (16-(((int) ptr) & 0xF)) ; ptr 107 arch/hexagon/lib/checksum.c sum0 += (u64) (ptr[0] << 8); ptr 108 arch/hexagon/lib/checksum.c ptr2 = (unsigned short *) &ptr[start & 1]; ptr 111 arch/hexagon/lib/checksum.c ptr4 = (unsigned int *) &ptr[start & 3]; ptr 118 arch/hexagon/lib/checksum.c ptr8 = (u64 *) &ptr[start & 7]; ptr 125 arch/hexagon/lib/checksum.c ptr8_o = (u64 *) (ptr + start); ptr 126 arch/hexagon/lib/checksum.c ptr8_e = (u64 *) (ptr + start + 8); ptr 148 arch/hexagon/lib/checksum.c ptr4 = (unsigned int *) &ptr[start + (mid * 16) + (end & 8)]; ptr 155 arch/hexagon/lib/checksum.c ptr2 = (unsigned short *) &ptr[start + (mid * 16) + (end & 12)]; ptr 160 arch/hexagon/lib/checksum.c sum1 += (u64) ptr[start + (mid * 16) + (end & 14)]; ptr 162 arch/hexagon/lib/checksum.c ptr8 = (u64 *) &ptr[start + (mid * 16)]; ptr 312 arch/ia64/hp/common/sba_iommu.c u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; ptr 324 arch/ia64/hp/common/sba_iommu.c rcnt, ptr, (unsigned long long) *ptr ); ptr 326 arch/ia64/hp/common/sba_iommu.c ptr++; ptr 33 arch/ia64/include/asm/sections.h static inline void *dereference_function_descriptor(void *ptr) ptr 35 arch/ia64/include/asm/sections.h struct fdesc *desc = ptr; ptr 39 arch/ia64/include/asm/sections.h ptr = p; ptr 40 arch/ia64/include/asm/sections.h return ptr; ptr 44 arch/ia64/include/asm/sections.h static inline void *dereference_kernel_function_descriptor(void *ptr) ptr 46 arch/ia64/include/asm/sections.h if (ptr < (void *)__start_opd || ptr >= (void *)__end_opd) ptr 47 arch/ia64/include/asm/sections.h return ptr; ptr 48 arch/ia64/include/asm/sections.h return dereference_function_descriptor(ptr); ptr 79 arch/ia64/include/asm/uaccess.h #define put_user(x, ptr) __put_user_check((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr))) ptr 80 arch/ia64/include/asm/uaccess.h #define get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 87 arch/ia64/include/asm/uaccess.h #define __put_user(x, ptr) __put_user_nocheck((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr))) ptr 88 arch/ia64/include/asm/uaccess.h #define __get_user(x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 147 arch/ia64/include/asm/uaccess.h #define __do_get_user(check, x, ptr, size) \ ptr 149 arch/ia64/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 165 arch/ia64/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) __do_get_user(0, x, ptr, size) ptr 166 arch/ia64/include/asm/uaccess.h #define __get_user_check(x, ptr, size) __do_get_user(1, x, ptr, size) ptr 174 arch/ia64/include/asm/uaccess.h #define __do_put_user(check, x, ptr, size) \ ptr 177 arch/ia64/include/asm/uaccess.h __typeof__ (*(ptr)) __user *__pu_ptr = (ptr); \ ptr 192 arch/ia64/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) __do_put_user(0, x, ptr, size) ptr 193 arch/ia64/include/asm/uaccess.h #define __put_user_check(x, ptr, size) __do_put_user(1, x, ptr, size) ptr 265 arch/ia64/include/asm/uaccess.h void *ptr; ptr 269 arch/ia64/include/asm/uaccess.h ptr = (void *)p + __IA64_UNCACHED_OFFSET; ptr 271 arch/ia64/include/asm/uaccess.h ptr = __va(p); ptr 273 arch/ia64/include/asm/uaccess.h return ptr; ptr 283 arch/ia64/include/asm/uaccess.h void *ptr; ptr 287 arch/ia64/include/asm/uaccess.h ptr = (void *)__pa(p) + __IA64_UNCACHED_OFFSET; ptr 289 arch/ia64/include/asm/uaccess.h ptr = p; ptr 291 arch/ia64/include/asm/uaccess.h return ptr; ptr 30 arch/ia64/include/uapi/asm/cmpxchg.h #define __xchg(x, ptr, size) \ ptr 36 arch/ia64/include/uapi/asm/cmpxchg.h __xchg_result = ia64_xchg1((__u8 *)ptr, x); \ ptr 40 arch/ia64/include/uapi/asm/cmpxchg.h __xchg_result = ia64_xchg2((__u16 *)ptr, x); \ ptr 44 arch/ia64/include/uapi/asm/cmpxchg.h __xchg_result = ia64_xchg4((__u32 *)ptr, x); \ ptr 48 arch/ia64/include/uapi/asm/cmpxchg.h __xchg_result = ia64_xchg8((__u64 *)ptr, x); \ ptr 56 arch/ia64/include/uapi/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 57 arch/ia64/include/uapi/asm/cmpxchg.h ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ptr 71 arch/ia64/include/uapi/asm/cmpxchg.h #define ia64_cmpxchg(sem, ptr, old, new, size) \ ptr 93 arch/ia64/include/uapi/asm/cmpxchg.h _r_ = ia64_cmpxchg1_##sem((__u8 *) ptr, new, _o_); \ ptr 97 arch/ia64/include/uapi/asm/cmpxchg.h _r_ = ia64_cmpxchg2_##sem((__u16 *) ptr, new, _o_); \ ptr 101 arch/ia64/include/uapi/asm/cmpxchg.h _r_ = ia64_cmpxchg4_##sem((__u32 *) ptr, new, _o_); \ ptr 105 arch/ia64/include/uapi/asm/cmpxchg.h _r_ = ia64_cmpxchg8_##sem((__u64 *) ptr, new, _o_); \ ptr 115 arch/ia64/include/uapi/asm/cmpxchg.h #define cmpxchg_acq(ptr, o, n) \ ptr 116 arch/ia64/include/uapi/asm/cmpxchg.h ia64_cmpxchg(acq, (ptr), (o), (n), sizeof(*(ptr))) ptr 117 arch/ia64/include/uapi/asm/cmpxchg.h #define cmpxchg_rel(ptr, o, n) \ ptr 118 arch/ia64/include/uapi/asm/cmpxchg.h ia64_cmpxchg(rel, (ptr), (o), (n), sizeof(*(ptr))) ptr 130 arch/ia64/include/uapi/asm/cmpxchg.h #define cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) ptr 131 arch/ia64/include/uapi/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n)) ptr 276 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_xchg1(ptr,x) \ ptr 280 arch/ia64/include/uapi/asm/gcc_intrin.h : "=r" (ia64_intri_res) : "r" (ptr), "r" (x) : "memory"); \ ptr 284 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_xchg2(ptr,x) \ ptr 288 arch/ia64/include/uapi/asm/gcc_intrin.h : "r" (ptr), "r" (x) : "memory"); \ ptr 292 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_xchg4(ptr,x) \ ptr 296 arch/ia64/include/uapi/asm/gcc_intrin.h : "r" (ptr), "r" (x) : "memory"); \ ptr 300 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_xchg8(ptr,x) \ ptr 304 arch/ia64/include/uapi/asm/gcc_intrin.h : "r" (ptr), "r" (x) : "memory"); \ ptr 308 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg1_acq(ptr, new, old) \ ptr 313 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 317 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg1_rel(ptr, new, old) \ ptr 322 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 326 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg2_acq(ptr, new, old) \ ptr 331 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 335 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg2_rel(ptr, new, old) \ ptr 341 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 345 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg4_acq(ptr, new, old) \ ptr 350 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 354 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg4_rel(ptr, new, old) \ ptr 359 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 363 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg8_acq(ptr, new, old) \ ptr 368 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 372 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_cmpxchg8_rel(ptr, new, old) \ ptr 378 arch/ia64/include/uapi/asm/gcc_intrin.h "=r"(ia64_intri_res) : "r"(ptr), "r"(new) : "memory"); \ ptr 220 arch/ia64/kernel/mca_drv.c #define LOG_INDEX_ADD_SECT_PTR(sect, ptr) \ ptr 222 arch/ia64/kernel/mca_drv.c hl->hdr = ptr; \ ptr 927 arch/ia64/kernel/module.c void *dereference_module_function_descriptor(struct module *mod, void *ptr) ptr 931 arch/ia64/kernel/module.c if (ptr < (void *)opd->sh_addr || ptr 932 arch/ia64/kernel/module.c ptr >= (void *)(opd->sh_addr + opd->sh_size)) ptr 933 arch/ia64/kernel/module.c return ptr; ptr 935 arch/ia64/kernel/module.c return dereference_function_descriptor(ptr); ptr 879 arch/ia64/kernel/palinfo.c palinfo_smp_data_t ptr; ptr 882 arch/ia64/kernel/palinfo.c ptr.func = palinfo_entries[f->func_id].proc_read; ptr 883 arch/ia64/kernel/palinfo.c ptr.m = m; ptr 884 arch/ia64/kernel/palinfo.c ptr.ret = 0; /* just in case */ ptr 888 arch/ia64/kernel/palinfo.c if ((ret=smp_call_function_single(f->req_cpu, palinfo_smp_call, &ptr, 1))) { ptr 893 arch/ia64/kernel/palinfo.c return ptr.ret; ptr 1282 arch/ia64/kernel/ptrace.c unsigned long *ptr = NULL; ptr 1289 arch/ia64/kernel/ptrace.c ptr = &pt->r1; ptr 1293 arch/ia64/kernel/ptrace.c ptr = (void *)&pt->r2 + (addr - ELF_GR_OFFSET(2)); ptr 1306 arch/ia64/kernel/ptrace.c ptr = (void *)&pt->r8 + addr - ELF_GR_OFFSET(8); ptr 1310 arch/ia64/kernel/ptrace.c ptr = (void *)&pt->r12 + addr - ELF_GR_OFFSET(12); ptr 1313 arch/ia64/kernel/ptrace.c ptr = &pt->r14; ptr 1316 arch/ia64/kernel/ptrace.c ptr = &pt->r15; ptr 1319 arch/ia64/kernel/ptrace.c *ptr = *data; ptr 1321 arch/ia64/kernel/ptrace.c *data = *ptr; ptr 1330 arch/ia64/kernel/ptrace.c unsigned long *ptr = NULL; ptr 1335 arch/ia64/kernel/ptrace.c ptr = &pt->b0; ptr 1341 arch/ia64/kernel/ptrace.c ptr = &pt->b6; ptr 1344 arch/ia64/kernel/ptrace.c ptr = &pt->b7; ptr 1347 arch/ia64/kernel/ptrace.c *ptr = *data; ptr 1349 arch/ia64/kernel/ptrace.c *data = *ptr; ptr 1359 arch/ia64/kernel/ptrace.c unsigned long *ptr = NULL; ptr 1414 arch/ia64/kernel/ptrace.c ptr = &pt->ar_bspstore; ptr 1417 arch/ia64/kernel/ptrace.c ptr = &pt->ar_rnat; ptr 1420 arch/ia64/kernel/ptrace.c ptr = &pt->ar_ccv; ptr 1423 arch/ia64/kernel/ptrace.c ptr = &pt->ar_unat; ptr 1426 arch/ia64/kernel/ptrace.c ptr = &pt->ar_fpsr; ptr 1429 arch/ia64/kernel/ptrace.c ptr = &pt->ar_pfs; ptr 1438 arch/ia64/kernel/ptrace.c ptr = &pt->ar_csd; ptr 1441 arch/ia64/kernel/ptrace.c ptr = &pt->ar_ssd; ptr 1446 arch/ia64/kernel/ptrace.c ptr = &pt->cr_iip; ptr 1478 arch/ia64/kernel/ptrace.c ptr = &pt->pr; ptr 1483 arch/ia64/kernel/ptrace.c *ptr = *data; ptr 1485 arch/ia64/kernel/ptrace.c *data = *ptr; ptr 1918 arch/ia64/kernel/ptrace.c unsigned long *ptr, regnum; ptr 2056 arch/ia64/kernel/ptrace.c ptr = &child->thread.ibr[0]; ptr 2059 arch/ia64/kernel/ptrace.c ptr = &child->thread.dbr[0]; ptr 2097 arch/ia64/kernel/ptrace.c ptr += regnum; ptr 2101 arch/ia64/kernel/ptrace.c *ptr = *data & ~(7UL << 56); ptr 2105 arch/ia64/kernel/ptrace.c *ptr = *data; ptr 2107 arch/ia64/kernel/ptrace.c *data = *ptr; ptr 432 arch/ia64/mm/discontig.c void *ptr = NULL; ptr 449 arch/ia64/mm/discontig.c ptr = memblock_alloc_try_nid(pernodesize, PERCPU_PAGE_SIZE, ptr 453 arch/ia64/mm/discontig.c if (!ptr) ptr 458 arch/ia64/mm/discontig.c return ptr; ptr 94 arch/m68k/amiga/chipram.c void amiga_chip_free(void *ptr) ptr 96 arch/m68k/amiga/chipram.c unsigned long start = ZTWO_PADDR(ptr); ptr 103 arch/m68k/amiga/chipram.c "%p\n", ptr); ptr 108 arch/m68k/amiga/chipram.c pr_debug("amiga_chip_free: free %lu bytes at %p\n", size, ptr); ptr 260 arch/m68k/include/asm/amigahw.h void amiga_chip_free(void *ptr); ptr 13 arch/m68k/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) ptr 21 arch/m68k/include/asm/cmpxchg.h tmp = *(u8 *)ptr; ptr 22 arch/m68k/include/asm/cmpxchg.h *(u8 *)ptr = x; ptr 26 arch/m68k/include/asm/cmpxchg.h tmp = *(u16 *)ptr; ptr 27 arch/m68k/include/asm/cmpxchg.h *(u16 *)ptr = x; ptr 31 arch/m68k/include/asm/cmpxchg.h tmp = *(u32 *)ptr; ptr 32 arch/m68k/include/asm/cmpxchg.h *(u32 *)ptr = x; ptr 36 arch/m68k/include/asm/cmpxchg.h tmp = __invalid_xchg_size(x, ptr, size); ptr 44 arch/m68k/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) ptr 53 arch/m68k/include/asm/cmpxchg.h : "=&d" (x) : "d" (x), "m" (*__xg(ptr)) : "memory"); ptr 61 arch/m68k/include/asm/cmpxchg.h : "=&d" (x) : "d" (x), "m" (*__xg(ptr)) : "memory"); ptr 69 arch/m68k/include/asm/cmpxchg.h : "=&d" (x) : "d" (x), "m" (*__xg(ptr)) : "memory"); ptr 72 arch/m68k/include/asm/cmpxchg.h x = __invalid_xchg_size(x, ptr, size); ptr 79 arch/m68k/include/asm/cmpxchg.h #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ptr 83 arch/m68k/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 121 arch/m68k/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 122 arch/m68k/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ptr 123 arch/m68k/include/asm/cmpxchg.h (unsigned long)(n), sizeof(*(ptr)))) ptr 124 arch/m68k/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 125 arch/m68k/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ ptr 126 arch/m68k/include/asm/cmpxchg.h (unsigned long)(n), sizeof(*(ptr)))) ptr 128 arch/m68k/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) ptr 136 arch/m68k/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 137 arch/m68k/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ ptr 138 arch/m68k/include/asm/cmpxchg.h (unsigned long)(n), sizeof(*(ptr)))) ptr 112 arch/m68k/include/asm/motorola_pgtable.h unsigned long *ptr = pmdp->pmd; ptr 115 arch/m68k/include/asm/motorola_pgtable.h *ptr++ = ptbl; ptr 38 arch/m68k/include/asm/uaccess_mm.h #define __put_user_asm(res, x, ptr, bwl, reg, err) \ ptr 53 arch/m68k/include/asm/uaccess_mm.h : "+d" (res), "=m" (*(ptr)) \ ptr 61 arch/m68k/include/asm/uaccess_mm.h #define __put_user(x, ptr) \ ptr 63 arch/m68k/include/asm/uaccess_mm.h typeof(*(ptr)) __pu_val = (x); \ ptr 65 arch/m68k/include/asm/uaccess_mm.h __chk_user_ptr(ptr); \ ptr 66 arch/m68k/include/asm/uaccess_mm.h switch (sizeof (*(ptr))) { \ ptr 68 arch/m68k/include/asm/uaccess_mm.h __put_user_asm(__pu_err, __pu_val, ptr, b, d, -EFAULT); \ ptr 71 arch/m68k/include/asm/uaccess_mm.h __put_user_asm(__pu_err, __pu_val, ptr, w, r, -EFAULT); \ ptr 74 arch/m68k/include/asm/uaccess_mm.h __put_user_asm(__pu_err, __pu_val, ptr, l, r, -EFAULT); \ ptr 78 arch/m68k/include/asm/uaccess_mm.h const void __user *__pu_ptr = (ptr); \ ptr 106 arch/m68k/include/asm/uaccess_mm.h #define put_user(x, ptr) __put_user(x, ptr) ptr 109 arch/m68k/include/asm/uaccess_mm.h #define __get_user_asm(res, x, ptr, type, bwl, reg, err) ({ \ ptr 126 arch/m68k/include/asm/uaccess_mm.h : "m" (*(ptr)), "i" (err)); \ ptr 127 arch/m68k/include/asm/uaccess_mm.h (x) = (__force typeof(*(ptr)))(__force unsigned long)__gu_val; \ ptr 130 arch/m68k/include/asm/uaccess_mm.h #define __get_user(x, ptr) \ ptr 133 arch/m68k/include/asm/uaccess_mm.h __chk_user_ptr(ptr); \ ptr 134 arch/m68k/include/asm/uaccess_mm.h switch (sizeof(*(ptr))) { \ ptr 136 arch/m68k/include/asm/uaccess_mm.h __get_user_asm(__gu_err, x, ptr, u8, b, d, -EFAULT); \ ptr 139 arch/m68k/include/asm/uaccess_mm.h __get_user_asm(__gu_err, x, ptr, u16, w, r, -EFAULT); \ ptr 142 arch/m68k/include/asm/uaccess_mm.h __get_user_asm(__gu_err, x, ptr, u32, l, r, -EFAULT); \ ptr 145 arch/m68k/include/asm/uaccess_mm.h const void *__gu_ptr = (ptr); \ ptr 148 arch/m68k/include/asm/uaccess_mm.h __typeof__(*(ptr)) t; \ ptr 180 arch/m68k/include/asm/uaccess_mm.h #define get_user(x, ptr) __get_user(x, ptr) ptr 31 arch/m68k/include/asm/uaccess_no.h #define put_user(x, ptr) \ ptr 34 arch/m68k/include/asm/uaccess_no.h typeof(*(ptr)) __pu_val = (x); \ ptr 35 arch/m68k/include/asm/uaccess_no.h switch (sizeof (*(ptr))) { \ ptr 37 arch/m68k/include/asm/uaccess_no.h __put_user_asm(__pu_err, __pu_val, ptr, b); \ ptr 40 arch/m68k/include/asm/uaccess_no.h __put_user_asm(__pu_err, __pu_val, ptr, w); \ ptr 43 arch/m68k/include/asm/uaccess_no.h __put_user_asm(__pu_err, __pu_val, ptr, l); \ ptr 46 arch/m68k/include/asm/uaccess_no.h memcpy(ptr, &__pu_val, sizeof (*(ptr))); \ ptr 54 arch/m68k/include/asm/uaccess_no.h #define __put_user(x, ptr) put_user(x, ptr) ptr 66 arch/m68k/include/asm/uaccess_no.h #define __put_user_asm(err,x,ptr,bwl) \ ptr 69 arch/m68k/include/asm/uaccess_no.h :"d" (x),"m" (*__ptr(ptr)) : "memory") ptr 71 arch/m68k/include/asm/uaccess_no.h #define get_user(x, ptr) \ ptr 75 arch/m68k/include/asm/uaccess_no.h switch (sizeof(*(ptr))) { \ ptr 77 arch/m68k/include/asm/uaccess_no.h __get_user_asm(__gu_err, __gu_val, ptr, b, "=d"); \ ptr 80 arch/m68k/include/asm/uaccess_no.h __get_user_asm(__gu_err, __gu_val, ptr, w, "=r"); \ ptr 83 arch/m68k/include/asm/uaccess_no.h __get_user_asm(__gu_err, __gu_val, ptr, l, "=r"); \ ptr 86 arch/m68k/include/asm/uaccess_no.h memcpy((void *) &__gu_val, ptr, sizeof (*(ptr))); \ ptr 93 arch/m68k/include/asm/uaccess_no.h (x) = (typeof(*(ptr))) __gu_val; \ ptr 96 arch/m68k/include/asm/uaccess_no.h #define __get_user(x, ptr) get_user(x, ptr) ptr 100 arch/m68k/include/asm/uaccess_no.h #define __get_user_asm(err,x,ptr,bwl,reg) \ ptr 103 arch/m68k/include/asm/uaccess_no.h : "m" (*__ptr(ptr))) ptr 34 arch/m68k/kernel/machine_kexec.c typedef void (*relocate_kernel_t)(unsigned long ptr, ptr 103 arch/m68k/sun3/idprom.c unsigned char cksum, i, *ptr = (unsigned char *)idprom; ptr 106 arch/m68k/sun3/idprom.c cksum ^= *ptr++; ptr 7 arch/microblaze/include/asm/cmpxchg.h void __bad_xchg(volatile void *ptr, int size); ptr 9 arch/microblaze/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long x, volatile void *ptr, ptr 18 arch/microblaze/include/asm/cmpxchg.h ret = *(volatile unsigned char *)ptr; ptr 19 arch/microblaze/include/asm/cmpxchg.h *(volatile unsigned char *)ptr = x; ptr 25 arch/microblaze/include/asm/cmpxchg.h ret = *(volatile unsigned long *)ptr; ptr 26 arch/microblaze/include/asm/cmpxchg.h *(volatile unsigned long *)ptr = x; ptr 30 arch/microblaze/include/asm/cmpxchg.h __bad_xchg(ptr, size), ret = 0; ptr 37 arch/microblaze/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 38 arch/microblaze/include/asm/cmpxchg.h ((__typeof__(*(ptr))) __xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) ptr 166 arch/microblaze/include/asm/uaccess.h #define get_user(x, ptr) ({ \ ptr 167 arch/microblaze/include/asm/uaccess.h const typeof(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 172 arch/microblaze/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 176 arch/microblaze/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 178 arch/microblaze/include/asm/uaccess.h __get_user_asm("lbu", (ptr), __gu_val, __gu_err); \ ptr 181 arch/microblaze/include/asm/uaccess.h __get_user_asm("lhu", (ptr), __gu_val, __gu_err); \ ptr 184 arch/microblaze/include/asm/uaccess.h __get_user_asm("lw", (ptr), __gu_val, __gu_err); \ ptr 187 arch/microblaze/include/asm/uaccess.h __gu_err = __copy_from_user(&__gu_val, ptr, 8); \ ptr 194 arch/microblaze/include/asm/uaccess.h x = (__force __typeof__(*(ptr))) __gu_val; \ ptr 254 arch/microblaze/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 255 arch/microblaze/include/asm/uaccess.h __put_user_check((x), (ptr), sizeof(*(ptr))) ptr 257 arch/microblaze/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 259 arch/microblaze/include/asm/uaccess.h typeof(*(ptr)) volatile __pu_val = x; \ ptr 260 arch/microblaze/include/asm/uaccess.h typeof(*(ptr)) __user *__pu_addr = (ptr); \ ptr 290 arch/microblaze/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 292 arch/microblaze/include/asm/uaccess.h __typeof__(*(ptr)) volatile __gu_val = (x); \ ptr 296 arch/microblaze/include/asm/uaccess.h __put_user_asm("sb", (ptr), __gu_val, __gu_err); \ ptr 299 arch/microblaze/include/asm/uaccess.h __put_user_asm("sh", (ptr), __gu_val, __gu_err); \ ptr 302 arch/microblaze/include/asm/uaccess.h __put_user_asm("sw", (ptr), __gu_val, __gu_err); \ ptr 305 arch/microblaze/include/asm/uaccess.h __put_user_asm_8((ptr), __gu_val, __gu_err); \ ptr 117 arch/microblaze/kernel/kgdb.c char *ptr; ptr 123 arch/microblaze/kernel/kgdb.c ptr = &remcom_in_buffer[1]; ptr 124 arch/microblaze/kernel/kgdb.c if (kgdb_hex2long(&ptr, &address)) ptr 43 arch/microblaze/mm/consistent.c void *uncached_kernel_address(void *ptr) ptr 45 arch/microblaze/mm/consistent.c unsigned long addr = (unsigned long)ptr; ptr 53 arch/microblaze/mm/consistent.c void *cached_kernel_address(void *ptr) ptr 55 arch/microblaze/mm/consistent.c unsigned long addr = (unsigned long)ptr; ptr 168 arch/mips/alchemy/devboards/db1000.c static irqreturn_t db1100_mmc_cd(int irq, void *ptr) ptr 173 arch/mips/alchemy/devboards/db1000.c mmc_cd(ptr, msecs_to_jiffies(500)); ptr 335 arch/mips/alchemy/devboards/db1200.c static irqreturn_t db1200_mmc_cd(int irq, void *ptr) ptr 341 arch/mips/alchemy/devboards/db1200.c static irqreturn_t db1200_mmc_cdfn(int irq, void *ptr) ptr 348 arch/mips/alchemy/devboards/db1200.c mmc_cd(ptr, msecs_to_jiffies(200)); ptr 426 arch/mips/alchemy/devboards/db1200.c static irqreturn_t pb1200_mmc1_cd(int irq, void *ptr) ptr 432 arch/mips/alchemy/devboards/db1200.c static irqreturn_t pb1200_mmc1_cdfn(int irq, void *ptr) ptr 439 arch/mips/alchemy/devboards/db1200.c mmc_cd(ptr, msecs_to_jiffies(200)); ptr 454 arch/mips/alchemy/devboards/db1300.c static irqreturn_t db1300_mmc_cd(int irq, void *ptr) ptr 460 arch/mips/alchemy/devboards/db1300.c static irqreturn_t db1300_mmc_cdfn(int irq, void *ptr) ptr 468 arch/mips/alchemy/devboards/db1300.c mmc_cd(ptr, msecs_to_jiffies(200)); ptr 631 arch/mips/cavium-octeon/executive/cvmx-bootmem.c void *ptr; ptr 650 arch/mips/cavium-octeon/executive/cvmx-bootmem.c ptr = cvmx_phys_to_ptr(addr); ptr 653 arch/mips/cavium-octeon/executive/cvmx-bootmem.c init(ptr); ptr 655 arch/mips/cavium-octeon/executive/cvmx-bootmem.c memset(ptr, 0, size); ptr 657 arch/mips/cavium-octeon/executive/cvmx-bootmem.c return ptr; ptr 293 arch/mips/cavium-octeon/executive/cvmx-l2c.c char *ptr; ptr 301 arch/mips/cavium-octeon/executive/cvmx-l2c.c ptr = cvmx_phys_to_ptr(addr); ptr 308 arch/mips/cavium-octeon/executive/cvmx-l2c.c READ_ONCE(*ptr); ptr 310 arch/mips/cavium-octeon/executive/cvmx-l2c.c ptr += CVMX_CACHE_LINE_SIZE; ptr 170 arch/mips/cavium-octeon/setup.c char *ptr = strchr(str, ' '); ptr 171 arch/mips/cavium-octeon/setup.c while (ptr && (OCTEON_ARGV_MAX_ARGS > argc)) { ptr 172 arch/mips/cavium-octeon/setup.c *ptr = '\0'; ptr 173 arch/mips/cavium-octeon/setup.c if (ptr[1] != ' ') { ptr 174 arch/mips/cavium-octeon/setup.c offt = (int)(ptr - str + 1); ptr 179 arch/mips/cavium-octeon/setup.c ptr = strchr(ptr + 1, ' '); ptr 238 arch/mips/cavium-octeon/setup.c struct cvmx_bootmem_named_block_desc *ptr = ptr 243 arch/mips/cavium-octeon/setup.c if (ptr[i].size) ptr 244 arch/mips/cavium-octeon/setup.c cvmx_bootmem_free_named(ptr[i].name); ptr 143 arch/mips/dec/ecc-berr.c volatile u32 *ptr = ptr 146 arch/mips/dec/ecc-berr.c *ptr = *ptr; /* Rewrite. */ ptr 77 arch/mips/include/asm/cmpxchg.h extern unsigned long __xchg_small(volatile void *ptr, unsigned long val, ptr 81 arch/mips/include/asm/cmpxchg.h unsigned long __xchg(volatile void *ptr, unsigned long x, int size) ptr 86 arch/mips/include/asm/cmpxchg.h return __xchg_small(ptr, x, size); ptr 89 arch/mips/include/asm/cmpxchg.h return __xchg_asm("ll", "sc", (volatile u32 *)ptr, x); ptr 95 arch/mips/include/asm/cmpxchg.h return __xchg_asm("lld", "scd", (volatile u64 *)ptr, x); ptr 102 arch/mips/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 104 arch/mips/include/asm/cmpxchg.h __typeof__(*(ptr)) __res; \ ptr 108 arch/mips/include/asm/cmpxchg.h __res = (__typeof__(*(ptr))) \ ptr 109 arch/mips/include/asm/cmpxchg.h __xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \ ptr 153 arch/mips/include/asm/cmpxchg.h extern unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old, ptr 157 arch/mips/include/asm/cmpxchg.h unsigned long __cmpxchg(volatile void *ptr, unsigned long old, ptr 163 arch/mips/include/asm/cmpxchg.h return __cmpxchg_small(ptr, old, new, size); ptr 166 arch/mips/include/asm/cmpxchg.h return __cmpxchg_asm("ll", "sc", (volatile u32 *)ptr, ptr 174 arch/mips/include/asm/cmpxchg.h return __cmpxchg_asm("lld", "scd", (volatile u64 *)ptr, ptr 182 arch/mips/include/asm/cmpxchg.h #define cmpxchg_local(ptr, old, new) \ ptr 183 arch/mips/include/asm/cmpxchg.h ((__typeof__(*(ptr))) \ ptr 184 arch/mips/include/asm/cmpxchg.h __cmpxchg((ptr), \ ptr 185 arch/mips/include/asm/cmpxchg.h (unsigned long)(__typeof__(*(ptr)))(old), \ ptr 186 arch/mips/include/asm/cmpxchg.h (unsigned long)(__typeof__(*(ptr)))(new), \ ptr 187 arch/mips/include/asm/cmpxchg.h sizeof(*(ptr)))) ptr 189 arch/mips/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new) \ ptr 191 arch/mips/include/asm/cmpxchg.h __typeof__(*(ptr)) __res; \ ptr 194 arch/mips/include/asm/cmpxchg.h __res = cmpxchg_local((ptr), (old), (new)); \ ptr 201 arch/mips/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) \ ptr 203 arch/mips/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 204 arch/mips/include/asm/cmpxchg.h cmpxchg_local((ptr), (o), (n)); \ ptr 207 arch/mips/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) \ ptr 209 arch/mips/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 210 arch/mips/include/asm/cmpxchg.h cmpxchg((ptr), (o), (n)); \ ptr 215 arch/mips/include/asm/cmpxchg.h # define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 219 arch/mips/include/asm/cmpxchg.h static inline unsigned long __cmpxchg64(volatile void *ptr, ptr 277 arch/mips/include/asm/cmpxchg.h "=" GCC_OFF_SMALL_ASM() (*(unsigned long long *)ptr) ptr 278 arch/mips/include/asm/cmpxchg.h : GCC_OFF_SMALL_ASM() (*(unsigned long long *)ptr), ptr 288 arch/mips/include/asm/cmpxchg.h # define cmpxchg64(ptr, o, n) ({ \ ptr 289 arch/mips/include/asm/cmpxchg.h unsigned long long __old = (__typeof__(*(ptr)))(o); \ ptr 290 arch/mips/include/asm/cmpxchg.h unsigned long long __new = (__typeof__(*(ptr)))(n); \ ptr 291 arch/mips/include/asm/cmpxchg.h __typeof__(*(ptr)) __res; \ ptr 301 arch/mips/include/asm/cmpxchg.h __res = __cmpxchg64((ptr), __old, __new); \ ptr 311 arch/mips/include/asm/cmpxchg.h # define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) ptr 74 arch/mips/include/asm/netlogic/haldefs.h volatile uint64_t *ptr = (volatile uint64_t *)(long)addr; ptr 89 arch/mips/include/asm/netlogic/haldefs.h : "m" (*ptr)); ptr 92 arch/mips/include/asm/netlogic/haldefs.h val = *ptr; ptr 101 arch/mips/include/asm/netlogic/haldefs.h volatile uint64_t *ptr = (volatile uint64_t *)(long)addr; ptr 118 arch/mips/include/asm/netlogic/haldefs.h : "0" (val), "m" (*ptr)); ptr 121 arch/mips/include/asm/netlogic/haldefs.h *ptr = val; ptr 357 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t *ptr = ptr 360 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; ptr 363 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = *cmds++; ptr 365 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t *ptr; ptr 378 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr = ptr 387 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; ptr 390 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = *cmds++; ptr 391 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr = cvmx_ptr_to_phys(new_buffer); ptr 397 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->base_ptr_div128 = *ptr >> 7; ptr 399 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr = new_buffer; ptr 401 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = *cmds++; ptr 455 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t *ptr = ptr 458 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; ptr 460 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr[0] = cmd1; ptr 461 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr[1] = cmd2; ptr 463 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t *ptr; ptr 482 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr = ptr 485 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; ptr 486 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd1; ptr 488 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd2; ptr 489 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr = cvmx_ptr_to_phys(new_buffer); ptr 495 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->base_ptr_div128 = *ptr >> 7; ptr 556 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t *ptr = ptr 559 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; ptr 561 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr[0] = cmd1; ptr 562 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr[1] = cmd2; ptr 563 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr[2] = cmd3; ptr 565 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t *ptr; ptr 584 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr = ptr 587 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; ptr 588 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd1; ptr 590 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd2; ptr 592 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd3; ptr 594 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr = cvmx_ptr_to_phys(new_buffer); ptr 600 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->base_ptr_div128 = *ptr >> 7; ptr 602 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr = new_buffer; ptr 604 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd2; ptr 608 arch/mips/include/asm/octeon/cvmx-cmd-queue.h *ptr++ = cmd3; ptr 131 arch/mips/include/asm/octeon/cvmx-fpa.h static inline int cvmx_fpa_is_member(uint64_t pool, void *ptr) ptr 133 arch/mips/include/asm/octeon/cvmx-fpa.h return ((ptr >= cvmx_fpa_pool_info[pool].base) && ptr 134 arch/mips/include/asm/octeon/cvmx-fpa.h ((char *)ptr < ptr 226 arch/mips/include/asm/octeon/cvmx-fpa.h static inline void cvmx_fpa_free_nosync(void *ptr, uint64_t pool, ptr 230 arch/mips/include/asm/octeon/cvmx-fpa.h newptr.u64 = cvmx_ptr_to_phys(ptr); ptr 248 arch/mips/include/asm/octeon/cvmx-fpa.h static inline void cvmx_fpa_free(void *ptr, uint64_t pool, ptr 252 arch/mips/include/asm/octeon/cvmx-fpa.h newptr.u64 = cvmx_ptr_to_phys(ptr); ptr 611 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 613 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 624 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 634 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 909 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 911 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 922 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 924 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 985 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 987 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1095 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 1103 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:33; ptr 1162 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1168 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1182 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1188 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1224 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1230 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1464 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 1466 arch/mips/include/asm/octeon/cvmx-ipd-defs.h uint64_t ptr:29; ptr 184 arch/mips/include/asm/octeon/cvmx-ipd.h ptr << 7), CVMX_FPA_PACKET_POOL, ptr 189 arch/mips/include/asm/octeon/cvmx-ipd.h ptr << 7), CVMX_FPA_WQE_POOL, 0); ptr 212 arch/mips/include/asm/octeon/cvmx-ipd.h ptr << 7), ptr 218 arch/mips/include/asm/octeon/cvmx-ipd.h ptr << 7), ptr 232 arch/mips/include/asm/octeon/cvmx-ipd.h (ipd_pkt_ptr_valid.s.ptr << 7), ptr 257 arch/mips/include/asm/octeon/cvmx-ipd.h ptr << 7), CVMX_FPA_PACKET_POOL, ptr 287 arch/mips/include/asm/octeon/cvmx-ipd.h ptr << 7), CVMX_FPA_PACKET_POOL, ptr 313 arch/mips/include/asm/octeon/cvmx-ipd.h s.ptr << 7), ptr 39 arch/mips/include/asm/octeon/cvmx-packet.h void *ptr; ptr 140 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 142 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 211 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 213 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 309 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 311 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 362 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 364 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 388 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 390 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t ptr:40; ptr 329 arch/mips/include/asm/octeon/cvmx-pko.h cvmx_pko_doorbell_address_t ptr; ptr 331 arch/mips/include/asm/octeon/cvmx-pko.h ptr.u64 = 0; ptr 332 arch/mips/include/asm/octeon/cvmx-pko.h ptr.s.mem_space = CVMX_IO_SEG; ptr 333 arch/mips/include/asm/octeon/cvmx-pko.h ptr.s.did = CVMX_OCT_DID_PKT_SEND; ptr 334 arch/mips/include/asm/octeon/cvmx-pko.h ptr.s.is_io = 1; ptr 335 arch/mips/include/asm/octeon/cvmx-pko.h ptr.s.port = port; ptr 336 arch/mips/include/asm/octeon/cvmx-pko.h ptr.s.queue = queue; ptr 342 arch/mips/include/asm/octeon/cvmx-pko.h cvmx_write_io(ptr.u64, len); ptr 1354 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_pow_load_addr_t ptr; ptr 1360 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1361 arch/mips/include/asm/octeon/cvmx-pow.h ptr.swork.mem_region = CVMX_IO_SEG; ptr 1362 arch/mips/include/asm/octeon/cvmx-pow.h ptr.swork.is_io = 1; ptr 1363 arch/mips/include/asm/octeon/cvmx-pow.h ptr.swork.did = CVMX_OCT_DID_TAG_SWTAG; ptr 1364 arch/mips/include/asm/octeon/cvmx-pow.h ptr.swork.wait = wait; ptr 1366 arch/mips/include/asm/octeon/cvmx-pow.h result.u64 = cvmx_read_csr(ptr.u64); ptr 1405 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_pow_load_addr_t ptr; ptr 1414 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1415 arch/mips/include/asm/octeon/cvmx-pow.h ptr.snull_rd.mem_region = CVMX_IO_SEG; ptr 1416 arch/mips/include/asm/octeon/cvmx-pow.h ptr.snull_rd.is_io = 1; ptr 1417 arch/mips/include/asm/octeon/cvmx-pow.h ptr.snull_rd.did = CVMX_OCT_DID_TAG_NULL_RD; ptr 1419 arch/mips/include/asm/octeon/cvmx-pow.h result.u64 = cvmx_read_csr(ptr.u64); ptr 1537 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_addr_t ptr; ptr 1570 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1571 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.mem_region = CVMX_IO_SEG; ptr 1572 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.is_io = 1; ptr 1573 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.did = CVMX_OCT_DID_TAG_SWTAG; ptr 1577 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_write_io(ptr.u64, tag_req.u64); ptr 1645 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_addr_t ptr; ptr 1682 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1683 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.mem_region = CVMX_IO_SEG; ptr 1684 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.is_io = 1; ptr 1685 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.did = CVMX_OCT_DID_TAG_SWTAG; ptr 1686 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.offset = CAST64(wqp); ptr 1692 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_write_io(ptr.u64, tag_req.u64); ptr 1741 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_addr_t ptr; ptr 1759 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1760 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.mem_region = CVMX_IO_SEG; ptr 1761 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.is_io = 1; ptr 1762 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.did = CVMX_OCT_DID_TAG_TAG1; ptr 1764 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_write_io(ptr.u64, tag_req.u64); ptr 1810 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_addr_t ptr; ptr 1826 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1827 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.mem_region = CVMX_IO_SEG; ptr 1828 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.is_io = 1; ptr 1829 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.did = CVMX_OCT_DID_TAG_TAG1; ptr 1830 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.offset = cvmx_ptr_to_phys(wqp); ptr 1837 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_write_io(ptr.u64, tag_req.u64); ptr 1958 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_addr_t ptr; ptr 1983 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 1984 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.mem_region = CVMX_IO_SEG; ptr 1985 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.is_io = 1; ptr 1986 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.did = CVMX_OCT_DID_TAG_TAG3; ptr 1991 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_write_io(ptr.u64, tag_req.u64); ptr 2062 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_addr_t ptr; ptr 2083 arch/mips/include/asm/octeon/cvmx-pow.h ptr.u64 = 0; ptr 2084 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.mem_region = CVMX_IO_SEG; ptr 2085 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.is_io = 1; ptr 2086 arch/mips/include/asm/octeon/cvmx-pow.h ptr.sio.did = CVMX_OCT_DID_TAG_TAG3; ptr 2091 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_write_io(ptr.u64, tag_req.u64); ptr 163 arch/mips/include/asm/octeon/cvmx.h static inline uint64_t cvmx_ptr_to_phys(void *ptr) ptr 174 arch/mips/include/asm/octeon/cvmx.h if ((CAST64(ptr) >> 62) == 3) ptr 175 arch/mips/include/asm/octeon/cvmx.h return CAST64(ptr) & cvmx_build_mask(30); ptr 177 arch/mips/include/asm/octeon/cvmx.h return CAST64(ptr) & cvmx_build_mask(40); ptr 179 arch/mips/include/asm/octeon/cvmx.h return (long)(ptr) & 0x1fffffff; ptr 28 arch/mips/include/asm/paccess.h #define put_dbe(x, ptr) __put_dbe((x), (ptr), sizeof(*(ptr))) ptr 29 arch/mips/include/asm/paccess.h #define get_dbe(x, ptr) __get_dbe((x), (ptr), sizeof(*(ptr))) ptr 34 arch/mips/include/asm/paccess.h #define __get_dbe(x, ptr, size) \ ptr 37 arch/mips/include/asm/paccess.h __typeof__(*(ptr)) __gu_val; \ ptr 40 arch/mips/include/asm/paccess.h __gu_addr = (unsigned long) (ptr); \ ptr 49 arch/mips/include/asm/paccess.h x = (__typeof__(*(ptr))) __gu_val; \ ptr 74 arch/mips/include/asm/paccess.h #define __put_dbe(x, ptr, size) \ ptr 77 arch/mips/include/asm/paccess.h __typeof__(*(ptr)) __pu_val; \ ptr 80 arch/mips/include/asm/paccess.h __pu_addr = (long) (ptr); \ ptr 19 arch/mips/include/asm/tlbex.h unsigned int tmp, unsigned int ptr); ptr 20 arch/mips/include/asm/tlbex.h void build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr); ptr 21 arch/mips/include/asm/tlbex.h void build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr); ptr 153 arch/mips/include/asm/uaccess.h #define put_user(x,ptr) \ ptr 154 arch/mips/include/asm/uaccess.h __put_user_check((x), (ptr), sizeof(*(ptr))) ptr 174 arch/mips/include/asm/uaccess.h #define get_user(x,ptr) \ ptr 175 arch/mips/include/asm/uaccess.h __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 197 arch/mips/include/asm/uaccess.h #define __put_user(x,ptr) \ ptr 198 arch/mips/include/asm/uaccess.h __put_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 221 arch/mips/include/asm/uaccess.h #define __get_user(x,ptr) \ ptr 222 arch/mips/include/asm/uaccess.h __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 232 arch/mips/include/asm/uaccess.h #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) ptr 252 arch/mips/include/asm/uaccess.h #define __get_kernel_common(val, size, ptr) \ ptr 255 arch/mips/include/asm/uaccess.h case 1: __get_data_asm(val, _loadb, ptr); break; \ ptr 256 arch/mips/include/asm/uaccess.h case 2: __get_data_asm(val, _loadh, ptr); break; \ ptr 257 arch/mips/include/asm/uaccess.h case 4: __get_data_asm(val, _loadw, ptr); break; \ ptr 258 arch/mips/include/asm/uaccess.h case 8: __GET_DW(val, _loadd, ptr); break; \ ptr 265 arch/mips/include/asm/uaccess.h #define __GET_DW(val, insn, ptr) __get_data_asm_ll32(val, insn, ptr) ptr 268 arch/mips/include/asm/uaccess.h #define __GET_DW(val, insn, ptr) __get_data_asm(val, insn, ptr) ptr 273 arch/mips/include/asm/uaccess.h #define __get_user_common(val, size, ptr) \ ptr 276 arch/mips/include/asm/uaccess.h case 1: __get_data_asm(val, user_lb, ptr); break; \ ptr 277 arch/mips/include/asm/uaccess.h case 2: __get_data_asm(val, user_lh, ptr); break; \ ptr 278 arch/mips/include/asm/uaccess.h case 4: __get_data_asm(val, user_lw, ptr); break; \ ptr 279 arch/mips/include/asm/uaccess.h case 8: __GET_DW(val, user_ld, ptr); break; \ ptr 284 arch/mips/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 289 arch/mips/include/asm/uaccess.h __get_kernel_common((x), size, ptr); \ ptr 291 arch/mips/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 292 arch/mips/include/asm/uaccess.h __get_user_common((x), size, ptr); \ ptr 297 arch/mips/include/asm/uaccess.h #define __get_user_check(x, ptr, size) \ ptr 300 arch/mips/include/asm/uaccess.h const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); \ ptr 368 arch/mips/include/asm/uaccess.h #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) ptr 389 arch/mips/include/asm/uaccess.h #define __put_kernel_common(ptr, size) \ ptr 392 arch/mips/include/asm/uaccess.h case 1: __put_data_asm(_storeb, ptr); break; \ ptr 393 arch/mips/include/asm/uaccess.h case 2: __put_data_asm(_storeh, ptr); break; \ ptr 394 arch/mips/include/asm/uaccess.h case 4: __put_data_asm(_storew, ptr); break; \ ptr 395 arch/mips/include/asm/uaccess.h case 8: __PUT_DW(_stored, ptr); break; \ ptr 406 arch/mips/include/asm/uaccess.h #define __PUT_DW(insn, ptr) __put_data_asm_ll32(insn, ptr) ptr 409 arch/mips/include/asm/uaccess.h #define __PUT_DW(insn, ptr) __put_data_asm(insn, ptr) ptr 412 arch/mips/include/asm/uaccess.h #define __put_user_common(ptr, size) \ ptr 415 arch/mips/include/asm/uaccess.h case 1: __put_data_asm(user_sb, ptr); break; \ ptr 416 arch/mips/include/asm/uaccess.h case 2: __put_data_asm(user_sh, ptr); break; \ ptr 417 arch/mips/include/asm/uaccess.h case 4: __put_data_asm(user_sw, ptr); break; \ ptr 418 arch/mips/include/asm/uaccess.h case 8: __PUT_DW(user_sd, ptr); break; \ ptr 423 arch/mips/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 425 arch/mips/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val; \ ptr 430 arch/mips/include/asm/uaccess.h __put_kernel_common(ptr, size); \ ptr 432 arch/mips/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 433 arch/mips/include/asm/uaccess.h __put_user_common(ptr, size); \ ptr 438 arch/mips/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 440 arch/mips/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 441 arch/mips/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = (x); \ ptr 455 arch/mips/include/asm/uaccess.h #define __put_data_asm(insn, ptr) \ ptr 469 arch/mips/include/asm/uaccess.h : "0" (0), "Jr" (__pu_val), "o" (__m(ptr)), \ ptr 473 arch/mips/include/asm/uaccess.h #define __put_data_asm_ll32(insn, ptr) \ ptr 489 arch/mips/include/asm/uaccess.h : "0" (0), "r" (__pu_val), "r" (ptr), \ ptr 123 arch/mips/include/asm/vpe.h void release_progmem(void *ptr); ptr 10 arch/mips/kernel/cmpxchg.c unsigned long __xchg_small(volatile void *ptr, unsigned long val, unsigned int size) ptr 17 arch/mips/kernel/cmpxchg.c WARN_ON((unsigned long)ptr & (size - 1)); ptr 28 arch/mips/kernel/cmpxchg.c shift = (unsigned long)ptr & 0x3; ptr 38 arch/mips/kernel/cmpxchg.c ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); ptr 50 arch/mips/kernel/cmpxchg.c unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old, ptr 58 arch/mips/kernel/cmpxchg.c WARN_ON((unsigned long)ptr & (size - 1)); ptr 70 arch/mips/kernel/cmpxchg.c shift = (unsigned long)ptr & 0x3; ptr 80 arch/mips/kernel/cmpxchg.c ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); ptr 242 arch/mips/kernel/kgdb.c u32 *ptr = (u32 *)gdb_regs; ptr 244 arch/mips/kernel/kgdb.c u64 *ptr = (u64 *)gdb_regs; ptr 248 arch/mips/kernel/kgdb.c *(ptr++) = 0; ptr 251 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg16; ptr 252 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg17; ptr 253 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg18; ptr 254 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg19; ptr 255 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg20; ptr 256 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg21; ptr 257 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg22; ptr 258 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg23; ptr 261 arch/mips/kernel/kgdb.c *(ptr++) = 0; ptr 264 arch/mips/kernel/kgdb.c *(ptr++) = (long)p; ptr 265 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg29; ptr 266 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg30; ptr 267 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg31; ptr 269 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.cp0_status; ptr 272 arch/mips/kernel/kgdb.c *(ptr++) = 0; ptr 273 arch/mips/kernel/kgdb.c *(ptr++) = 0; ptr 280 arch/mips/kernel/kgdb.c *(ptr++) = 0; ptr 281 arch/mips/kernel/kgdb.c *(ptr++) = 0; ptr 287 arch/mips/kernel/kgdb.c *(ptr++) = p->thread.reg31; ptr 300 arch/mips/kernel/kgdb.c void *ptr) ptr 302 arch/mips/kernel/kgdb.c struct die_args *args = (struct die_args *)ptr; ptr 375 arch/mips/kernel/kgdb.c char *ptr; ptr 381 arch/mips/kernel/kgdb.c ptr = &remcom_in_buffer[1]; ptr 382 arch/mips/kernel/kgdb.c if (kgdb_hex2long(&ptr, &address)) ptr 212 arch/mips/kernel/machine_kexec.c unsigned long *ptr; ptr 236 arch/mips/kernel/machine_kexec.c for (ptr = &image->head; (entry = *ptr) && !(entry &IND_DONE); ptr 237 arch/mips/kernel/machine_kexec.c ptr = (entry & IND_INDIRECTION) ? ptr 238 arch/mips/kernel/machine_kexec.c phys_to_virt(entry & PAGE_MASK) : ptr + 1) { ptr 239 arch/mips/kernel/machine_kexec.c if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION || ptr 240 arch/mips/kernel/machine_kexec.c *ptr & IND_DESTINATION) ptr 241 arch/mips/kernel/machine_kexec.c *ptr = (unsigned long) phys_to_virt(*ptr); ptr 671 arch/mips/kernel/pm-cps.c unsigned long event, void *ptr) ptr 191 arch/mips/kernel/relocate.c unsigned long *ptr = (unsigned long *)area; ptr 196 arch/mips/kernel/relocate.c hash ^= ptr[i]; ptr 161 arch/mips/kernel/vpe.c void release_progmem(void *ptr) ptr 164 arch/mips/kernel/vpe.c kfree(ptr); ptr 1672 arch/mips/kvm/mips.c unsigned long cmd, void *ptr) ptr 1674 arch/mips/kvm/mips.c struct die_args *args = (struct die_args *)ptr; ptr 79 arch/mips/lasat/setup.c unsigned long event, void *ptr) ptr 82 arch/mips/lasat/setup.c unsigned char *string = ptr; ptr 91 arch/mips/lasat/setup.c unsigned long event, void *ptr) ptr 765 arch/mips/mm/tlbex.c unsigned int ptr, ptr 769 arch/mips/mm/tlbex.c UASM_i_SC(p, pte, 0, ptr); ptr 771 arch/mips/mm/tlbex.c UASM_i_LW(p, pte, 0, ptr); /* Needed because SC killed our PTE */ ptr 773 arch/mips/mm/tlbex.c UASM_i_SW(p, pte, 0, ptr); ptr 778 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, C0_ENTRYHI); ptr 779 arch/mips/mm/tlbex.c uasm_i_ori(p, ptr, ptr, MIPS_ENTRYHI_EHINV); ptr 780 arch/mips/mm/tlbex.c UASM_i_MTC0(p, ptr, C0_ENTRYHI); ptr 783 arch/mips/mm/tlbex.c uasm_i_xori(p, ptr, ptr, MIPS_ENTRYHI_EHINV); ptr 784 arch/mips/mm/tlbex.c UASM_i_MTC0(p, ptr, C0_ENTRYHI); ptr 785 arch/mips/mm/tlbex.c build_huge_update_entries(p, pte, ptr); ptr 791 arch/mips/mm/tlbex.c build_huge_update_entries(p, pte, ptr); ptr 802 arch/mips/mm/tlbex.c unsigned int tmp, unsigned int ptr) ptr 824 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, ptr, tmp, PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); ptr 825 arch/mips/mm/tlbex.c uasm_il_bnez(p, r, ptr, label_vmalloc); ptr 834 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, C0_PWBASE); ptr 836 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, c0_kscratch(), pgd_reg); ptr 842 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, C0_CONTEXT); ptr 845 arch/mips/mm/tlbex.c uasm_i_dins(p, ptr, 0, 0, 23); ptr 848 arch/mips/mm/tlbex.c uasm_i_ori(p, ptr, ptr, 0x540); ptr 849 arch/mips/mm/tlbex.c uasm_i_drotr(p, ptr, ptr, 11); ptr 851 arch/mips/mm/tlbex.c UASM_i_CPUID_MFC0(p, ptr, SMP_CPUID_REG); ptr 852 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, ptr, ptr, SMP_CPUID_PTRSHIFT); ptr 854 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); ptr 856 arch/mips/mm/tlbex.c uasm_i_ld(p, ptr, uasm_rel_lo(pgdc), ptr); ptr 858 arch/mips/mm/tlbex.c UASM_i_LA_mostly(p, ptr, pgdc); ptr 859 arch/mips/mm/tlbex.c uasm_i_ld(p, ptr, uasm_rel_lo(pgdc), ptr); ptr 869 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); /* add in pgd offset */ ptr 872 arch/mips/mm/tlbex.c uasm_i_ld(p, ptr, 0, ptr); /* get pud pointer */ ptr 875 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); /* add in pud offset */ ptr 879 arch/mips/mm/tlbex.c uasm_i_ld(p, ptr, 0, ptr); /* get pmd pointer */ ptr 882 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, tmp); /* add in pmd offset */ ptr 893 arch/mips/mm/tlbex.c unsigned int bvaddr, unsigned int ptr, ptr 907 arch/mips/mm/tlbex.c uasm_i_lui(p, ptr, uasm_rel_hi(swpd)); ptr 917 arch/mips/mm/tlbex.c uasm_i_lui(p, ptr, uasm_rel_hi(swpd)); ptr 919 arch/mips/mm/tlbex.c UASM_i_LA_mostly(p, ptr, swpd); ptr 922 arch/mips/mm/tlbex.c uasm_i_addiu(p, ptr, ptr, uasm_rel_lo(swpd)); ptr 924 arch/mips/mm/tlbex.c uasm_i_daddiu(p, ptr, ptr, uasm_rel_lo(swpd)); ptr 947 arch/mips/mm/tlbex.c UASM_i_LA(p, ptr, (unsigned long)tlb_do_page_fault_0); ptr 948 arch/mips/mm/tlbex.c uasm_i_jr(p, ptr); ptr 967 arch/mips/mm/tlbex.c void build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr) ptr 971 arch/mips/mm/tlbex.c uasm_i_mfc0(p, ptr, c0_kscratch(), pgd_reg); ptr 978 arch/mips/mm/tlbex.c uasm_i_mfc0(p, ptr, SMP_CPUID_REG); ptr 980 arch/mips/mm/tlbex.c uasm_i_srl(p, ptr, ptr, SMP_CPUID_PTRSHIFT); ptr 981 arch/mips/mm/tlbex.c uasm_i_addu(p, ptr, tmp, ptr); ptr 983 arch/mips/mm/tlbex.c UASM_i_LA_mostly(p, ptr, pgdc); ptr 986 arch/mips/mm/tlbex.c uasm_i_lw(p, ptr, uasm_rel_lo(pgdc), ptr); ptr 990 arch/mips/mm/tlbex.c uasm_i_addu(p, ptr, ptr, tmp); /* add in pgd offset */ ptr 1022 arch/mips/mm/tlbex.c void build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr) ptr 1033 arch/mips/mm/tlbex.c UASM_i_LW(p, ptr, 0, ptr); ptr 1039 arch/mips/mm/tlbex.c UASM_i_LW(p, ptr, 0, ptr); ptr 1044 arch/mips/mm/tlbex.c UASM_i_ADDU(p, ptr, ptr, tmp); /* add in offset */ ptr 1108 arch/mips/mm/tlbex.c unsigned int ptr, int c0_scratch_reg) ptr 1123 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, c0_kscratch(), pgd_reg); ptr 1125 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, C0_CONTEXT); ptr 1139 arch/mips/mm/tlbex.c uasm_i_dins(p, ptr, 0, 0, 23); ptr 1143 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, c0_kscratch(), pgd_reg); ptr 1145 arch/mips/mm/tlbex.c UASM_i_MFC0(p, ptr, C0_CONTEXT); ptr 1156 arch/mips/mm/tlbex.c uasm_i_dins(p, ptr, 0, 0, 23); ptr 1164 arch/mips/mm/tlbex.c uasm_i_ori(p, ptr, ptr, 0x540); ptr 1165 arch/mips/mm/tlbex.c uasm_i_drotr(p, ptr, ptr, 11); ptr 1171 arch/mips/mm/tlbex.c #define LOC_PTEP ptr ptr 1196 arch/mips/mm/tlbex.c UASM_i_LWX(p, LOC_PTEP, scratch, ptr); ptr 1198 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, scratch); /* add in pgd offset */ ptr 1199 arch/mips/mm/tlbex.c uasm_i_ld(p, LOC_PTEP, 0, ptr); /* get pmd pointer */ ptr 1208 arch/mips/mm/tlbex.c UASM_i_LWX(p, ptr, scratch, ptr); ptr 1210 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, scratch); /* add in pmd offset */ ptr 1211 arch/mips/mm/tlbex.c UASM_i_LW(p, ptr, 0, ptr); ptr 1224 arch/mips/mm/tlbex.c UASM_i_LWX(p, scratch, scratch, ptr); ptr 1226 arch/mips/mm/tlbex.c uasm_i_daddu(p, ptr, ptr, scratch); /* add in pmd offset */ ptr 1227 arch/mips/mm/tlbex.c UASM_i_LW(p, scratch, 0, ptr); ptr 1247 arch/mips/mm/tlbex.c even = ptr; ptr 1253 arch/mips/mm/tlbex.c UASM_i_ADDU(p, ptr, scratch, tmp); /* add in offset */ ptr 1255 arch/mips/mm/tlbex.c odd = ptr; ptr 1256 arch/mips/mm/tlbex.c UASM_i_LW(p, even, 0, ptr); /* get even pte */ ptr 1257 arch/mips/mm/tlbex.c UASM_i_LW(p, odd, sizeof(pte_t), ptr); /* get odd pte */ ptr 1667 arch/mips/mm/tlbex.c iPTE_LW(u32 **p, unsigned int pte, unsigned int ptr) ptr 1674 arch/mips/mm/tlbex.c uasm_i_lld(p, pte, 0, ptr); ptr 1677 arch/mips/mm/tlbex.c UASM_i_LL(p, pte, 0, ptr); ptr 1681 arch/mips/mm/tlbex.c uasm_i_ld(p, pte, 0, ptr); ptr 1684 arch/mips/mm/tlbex.c UASM_i_LW(p, pte, 0, ptr); ptr 1689 arch/mips/mm/tlbex.c iPTE_SW(u32 **p, struct uasm_reloc **r, unsigned int pte, unsigned int ptr, ptr 1706 arch/mips/mm/tlbex.c uasm_i_scd(p, pte, 0, ptr); ptr 1709 arch/mips/mm/tlbex.c UASM_i_SC(p, pte, 0, ptr); ptr 1719 arch/mips/mm/tlbex.c uasm_i_ll(p, pte, sizeof(pte_t) / 2, ptr); ptr 1722 arch/mips/mm/tlbex.c uasm_i_sc(p, pte, sizeof(pte_t) / 2, ptr); ptr 1725 arch/mips/mm/tlbex.c uasm_i_lw(p, pte, 0, ptr); ptr 1734 arch/mips/mm/tlbex.c uasm_i_sd(p, pte, 0, ptr); ptr 1737 arch/mips/mm/tlbex.c UASM_i_SW(p, pte, 0, ptr); ptr 1741 arch/mips/mm/tlbex.c uasm_i_lw(p, pte, sizeof(pte_t) / 2, ptr); ptr 1744 arch/mips/mm/tlbex.c uasm_i_sw(p, pte, sizeof(pte_t) / 2, ptr); ptr 1745 arch/mips/mm/tlbex.c uasm_i_lw(p, pte, 0, ptr); ptr 1758 arch/mips/mm/tlbex.c int pte, int ptr, int scratch, enum label_id lid) ptr 1776 arch/mips/mm/tlbex.c iPTE_LW(p, pte, ptr); ptr 1789 arch/mips/mm/tlbex.c iPTE_LW(p, pte, ptr); ptr 1796 arch/mips/mm/tlbex.c unsigned int ptr, unsigned int scratch) ptr 1800 arch/mips/mm/tlbex.c iPTE_SW(p, r, pte, ptr, mode, scratch); ptr 1809 arch/mips/mm/tlbex.c unsigned int pte, unsigned int ptr, int scratch, ptr 1826 arch/mips/mm/tlbex.c iPTE_LW(p, pte, ptr); ptr 1836 arch/mips/mm/tlbex.c unsigned int ptr, unsigned int scratch) ptr 1841 arch/mips/mm/tlbex.c iPTE_SW(p, r, pte, ptr, mode, scratch); ptr 1850 arch/mips/mm/tlbex.c unsigned int pte, unsigned int ptr, int scratch, ptr 1863 arch/mips/mm/tlbex.c iPTE_LW(p, pte, ptr); ptr 1914 arch/mips/mm/tlbex.c unsigned int ptr) ptr 1919 arch/mips/mm/tlbex.c uasm_i_lui(p, ptr, uasm_rel_hi(pgdc)); /* cp0 delay */ ptr 1920 arch/mips/mm/tlbex.c uasm_i_lw(p, ptr, uasm_rel_lo(pgdc), ptr); ptr 1923 arch/mips/mm/tlbex.c uasm_i_addu(p, ptr, ptr, pte); ptr 1925 arch/mips/mm/tlbex.c uasm_i_lw(p, ptr, 0, ptr); /* cp0 delay */ ptr 1927 arch/mips/mm/tlbex.c uasm_i_addu(p, ptr, ptr, pte); ptr 1928 arch/mips/mm/tlbex.c uasm_i_lw(p, pte, 0, ptr); ptr 2093 arch/mips/mm/tlbex.c unsigned int ptr) ptr 2095 arch/mips/mm/tlbex.c uasm_i_ori(p, ptr, ptr, sizeof(pte_t)); ptr 2096 arch/mips/mm/tlbex.c uasm_i_xori(p, ptr, ptr, sizeof(pte_t)); ptr 2097 arch/mips/mm/tlbex.c build_update_entries(p, tmp, ptr); ptr 2104 arch/mips/mm/tlbex.c build_get_pgd_vmalloc64(p, l, r, tmp, ptr, not_refill); ptr 212 arch/mips/pci/pci-ar2315.c int where, int size, u32 *ptr, bool write) ptr 241 arch/mips/pci/pci-ar2315.c value = (value & ~(mask << sh)) | *ptr << sh; ptr 247 arch/mips/pci/pci-ar2315.c *ptr = (value >> sh) & mask; ptr 255 arch/mips/pci/pci-ar2315.c *ptr = 0xffffffff; ptr 378 arch/mips/pmcs-msp71xx/msp_prom.c char *ptr; ptr 393 arch/mips/pmcs-msp71xx/msp_prom.c ptr = (char *) &argv[prom_argc + 1]; /* strings follow array */ ptr 396 arch/mips/pmcs-msp71xx/msp_prom.c argv[argc] = ptr; ptr 397 arch/mips/pmcs-msp71xx/msp_prom.c strcpy(ptr, prom_argv[argc]); ptr 398 arch/mips/pmcs-msp71xx/msp_prom.c ptr += strlen(prom_argv[argc]) + 1; ptr 414 arch/mips/pmcs-msp71xx/msp_prom.c ptr = (char *) &envp[i+1]; ptr 417 arch/mips/pmcs-msp71xx/msp_prom.c envp[argc] = ptr; ptr 418 arch/mips/pmcs-msp71xx/msp_prom.c strcpy(ptr, prom_envp[argc]); ptr 419 arch/mips/pmcs-msp71xx/msp_prom.c ptr += strlen(prom_envp[argc]) + 1; ptr 316 arch/mips/sgi-ip22/ip22-gio.c u32 *ptr; ptr 319 arch/mips/sgi-ip22/ip22-gio.c ptr = (void *)CKSEG1ADDR(addr + HQ2_MYSTERY_OFFS); ptr 320 arch/mips/sgi-ip22/ip22-gio.c if (!get_dbe(tmp, ptr)) { ptr 35 arch/mips/sgi-ip22/ip22-nvram.c #define eeprom_cs_on(ptr) ({ \ ptr 36 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) & ~EEPROM_DATO, ptr); \ ptr 37 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) & ~EEPROM_ECLK, ptr); \ ptr 38 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) & ~EEPROM_EPROT, ptr); \ ptr 40 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) | EEPROM_CSEL, ptr); \ ptr 41 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) | EEPROM_ECLK, ptr); }) ptr 44 arch/mips/sgi-ip22/ip22-nvram.c #define eeprom_cs_off(ptr) ({ \ ptr 45 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) & ~EEPROM_ECLK, ptr); \ ptr 46 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) & ~EEPROM_CSEL, ptr); \ ptr 47 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) | EEPROM_EPROT, ptr); \ ptr 48 arch/mips/sgi-ip22/ip22-nvram.c __raw_writel(__raw_readl(ptr) | EEPROM_ECLK, ptr); }) ptr 167 arch/mips/sgi-ip22/ip22-reset.c void *ptr) ptr 112 arch/mips/sgi-ip32/ip32-reset.c void *ptr) ptr 289 arch/mips/sibyte/common/cfe.c char *ptr; ptr 292 arch/mips/sibyte/common/cfe.c for (ptr = arcs_cmdline; *ptr; ptr++) { ptr 293 arch/mips/sibyte/common/cfe.c while (*ptr == ' ') { ptr 294 arch/mips/sibyte/common/cfe.c ptr++; ptr 296 arch/mips/sibyte/common/cfe.c if (!strncmp(ptr, "initrd=", 7)) { ptr 297 arch/mips/sibyte/common/cfe.c initrd_setup(ptr+7); ptr 300 arch/mips/sibyte/common/cfe.c while (*ptr && (*ptr != ' ')) { ptr 301 arch/mips/sibyte/common/cfe.c ptr++; ptr 333 arch/mips/txx9/generic/setup_tx4939.c void *ptr) ptr 335 arch/mips/txx9/generic/setup_tx4939.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 62 arch/nds32/include/asm/highmem.h extern struct page *kmap_atomic_to_page(void *ptr); ptr 319 arch/nds32/include/asm/pgtable.h unsigned long ptr = (unsigned long)ptep; ptr 327 arch/nds32/include/asm/pgtable.h pmd_val(pmd) = __virt_to_phys(ptr) | prot; ptr 16 arch/nds32/include/asm/string.h extern void *memzero(void *ptr, __kernel_size_t n); ptr 76 arch/nds32/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 79 arch/nds32/include/asm/uaccess.h __get_user_check((x), (ptr), __gu_err); \ ptr 83 arch/nds32/include/asm/uaccess.h #define __get_user_error(x, ptr, err) \ ptr 85 arch/nds32/include/asm/uaccess.h __get_user_check((x), (ptr), (err)); \ ptr 89 arch/nds32/include/asm/uaccess.h #define __get_user_check(x, ptr, err) \ ptr 91 arch/nds32/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__p = (ptr); \ ptr 100 arch/nds32/include/asm/uaccess.h #define __get_user_err(x, ptr, err) \ ptr 103 arch/nds32/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 104 arch/nds32/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 106 arch/nds32/include/asm/uaccess.h __get_user_asm("lbi", __gu_val, (ptr), (err)); \ ptr 109 arch/nds32/include/asm/uaccess.h __get_user_asm("lhi", __gu_val, (ptr), (err)); \ ptr 112 arch/nds32/include/asm/uaccess.h __get_user_asm("lwi", __gu_val, (ptr), (err)); \ ptr 115 arch/nds32/include/asm/uaccess.h __get_user_asm_dword(__gu_val, (ptr), (err)); \ ptr 121 arch/nds32/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 171 arch/nds32/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 174 arch/nds32/include/asm/uaccess.h __put_user_err((x), (ptr), __pu_err); \ ptr 178 arch/nds32/include/asm/uaccess.h #define __put_user_error(x, ptr, err) \ ptr 180 arch/nds32/include/asm/uaccess.h __put_user_err((x), (ptr), (err)); \ ptr 184 arch/nds32/include/asm/uaccess.h #define __put_user_check(x, ptr, err) \ ptr 186 arch/nds32/include/asm/uaccess.h __typeof__(*(ptr)) __user *__p = (ptr); \ ptr 195 arch/nds32/include/asm/uaccess.h #define __put_user_err(x, ptr, err) \ ptr 197 arch/nds32/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = (x); \ ptr 198 arch/nds32/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 199 arch/nds32/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 201 arch/nds32/include/asm/uaccess.h __put_user_asm("sbi", __pu_val, (ptr), (err)); \ ptr 204 arch/nds32/include/asm/uaccess.h __put_user_asm("shi", __pu_val, (ptr), (err)); \ ptr 207 arch/nds32/include/asm/uaccess.h __put_user_asm("swi", __pu_val, (ptr), (err)); \ ptr 210 arch/nds32/include/asm/uaccess.h __put_user_asm_dword(__pu_val, (ptr), (err)); \ ptr 86 arch/nds32/mm/alignment.c unsigned int err = 0, *ptr = addr ; \ ptr 103 arch/nds32/mm/alignment.c : "=r" (err), "+r" (ptr), "+r" (val) \ ptr 112 arch/nds32/mm/alignment.c unsigned int err = 0, *ptr = addr ; \ ptr 135 arch/nds32/mm/alignment.c : "=r" (err), "+r" (ptr), "+r" (val) \ ptr 104 arch/nios2/include/asm/uaccess.h #define __get_user_unknown(val, size, ptr, err) do { \ ptr 106 arch/nios2/include/asm/uaccess.h if (__copy_from_user(&(val), ptr, size)) { \ ptr 111 arch/nios2/include/asm/uaccess.h #define __get_user_common(val, size, ptr, err) \ ptr 115 arch/nios2/include/asm/uaccess.h __get_user_asm(val, "ldbu", ptr, err); \ ptr 118 arch/nios2/include/asm/uaccess.h __get_user_asm(val, "ldhu", ptr, err); \ ptr 121 arch/nios2/include/asm/uaccess.h __get_user_asm(val, "ldw", ptr, err); \ ptr 124 arch/nios2/include/asm/uaccess.h __get_user_unknown(val, size, ptr, err); \ ptr 129 arch/nios2/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 132 arch/nios2/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 134 arch/nios2/include/asm/uaccess.h __get_user_common(__gu_val, sizeof(*(ptr)), __gu_ptr, __gu_err);\ ptr 139 arch/nios2/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 142 arch/nios2/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 151 arch/nios2/include/asm/uaccess.h #define __put_user_asm(val, insn, ptr, err) \ ptr 162 arch/nios2/include/asm/uaccess.h : "r" (val), "r" (ptr), "i" (-EFAULT)); \ ptr 165 arch/nios2/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 168 arch/nios2/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_ptr = (ptr); \ ptr 169 arch/nios2/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = (__typeof(*ptr))(x); \ ptr 193 arch/nios2/include/asm/uaccess.h #define __put_user(x, ptr) put_user(x, ptr) ptr 113 arch/nios2/kernel/kgdb.c char *ptr; ptr 120 arch/nios2/kernel/kgdb.c ptr = &remcom_in_buffer[1]; ptr 121 arch/nios2/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 70 arch/nios2/mm/dma-mapping.c void *uncached_kernel_address(void *ptr) ptr 72 arch/nios2/mm/dma-mapping.c unsigned long addr = (unsigned long)ptr; ptr 76 arch/nios2/mm/dma-mapping.c return (void *)ptr; ptr 79 arch/nios2/mm/dma-mapping.c void *cached_kernel_address(void *ptr) ptr 81 arch/nios2/mm/dma-mapping.c unsigned long addr = (unsigned long)ptr; ptr 86 arch/nios2/mm/dma-mapping.c return (void *)ptr; ptr 25 arch/openrisc/include/asm/cmpxchg.h static inline unsigned long cmpxchg_u32(volatile void *ptr, ptr 38 arch/openrisc/include/asm/cmpxchg.h : "r"(ptr), "r"(old), "r"(new) ptr 44 arch/openrisc/include/asm/cmpxchg.h static inline unsigned long xchg_u32(volatile void *ptr, ptr 53 arch/openrisc/include/asm/cmpxchg.h : "r"(ptr), "r"(val) ptr 59 arch/openrisc/include/asm/cmpxchg.h static inline u32 cmpxchg_small(volatile void *ptr, u32 old, u32 new, ptr 62 arch/openrisc/include/asm/cmpxchg.h int off = (unsigned long)ptr % sizeof(u32); ptr 63 arch/openrisc/include/asm/cmpxchg.h volatile u32 *p = ptr - off; ptr 92 arch/openrisc/include/asm/cmpxchg.h static inline u32 xchg_small(volatile void *ptr, u32 x, int size) ptr 94 arch/openrisc/include/asm/cmpxchg.h int off = (unsigned long)ptr % sizeof(u32); ptr 95 arch/openrisc/include/asm/cmpxchg.h volatile u32 *p = ptr - off; ptr 121 arch/openrisc/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, ptr 127 arch/openrisc/include/asm/cmpxchg.h return cmpxchg_small(ptr, old, new, size); ptr 129 arch/openrisc/include/asm/cmpxchg.h return cmpxchg_u32(ptr, old, new); ptr 135 arch/openrisc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 137 arch/openrisc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg((ptr), \ ptr 140 arch/openrisc/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 150 arch/openrisc/include/asm/cmpxchg.h static inline unsigned long __xchg(volatile void *ptr, unsigned long with, ptr 156 arch/openrisc/include/asm/cmpxchg.h return xchg_small(ptr, with, size); ptr 158 arch/openrisc/include/asm/cmpxchg.h return xchg_u32(ptr, with); ptr 164 arch/openrisc/include/asm/cmpxchg.h #define xchg(ptr, with) \ ptr 166 arch/openrisc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg((ptr), \ ptr 168 arch/openrisc/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 81 arch/openrisc/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 82 arch/openrisc/include/asm/uaccess.h __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 83 arch/openrisc/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 84 arch/openrisc/include/asm/uaccess.h __put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 86 arch/openrisc/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 87 arch/openrisc/include/asm/uaccess.h __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 88 arch/openrisc/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 89 arch/openrisc/include/asm/uaccess.h __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 93 arch/openrisc/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 96 arch/openrisc/include/asm/uaccess.h __put_user_size((x), (ptr), (size), __pu_err); \ ptr 100 arch/openrisc/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 103 arch/openrisc/include/asm/uaccess.h __typeof__(*(ptr)) *__pu_addr = (ptr); \ ptr 109 arch/openrisc/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ ptr 113 arch/openrisc/include/asm/uaccess.h case 1: __put_user_asm(x, ptr, retval, "l.sb"); break; \ ptr 114 arch/openrisc/include/asm/uaccess.h case 2: __put_user_asm(x, ptr, retval, "l.sh"); break; \ ptr 115 arch/openrisc/include/asm/uaccess.h case 4: __put_user_asm(x, ptr, retval, "l.sw"); break; \ ptr 116 arch/openrisc/include/asm/uaccess.h case 8: __put_user_asm2(x, ptr, retval); break; \ ptr 165 arch/openrisc/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 168 arch/openrisc/include/asm/uaccess.h __get_user_size(__gu_val, (ptr), (size), __gu_err); \ ptr 169 arch/openrisc/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 173 arch/openrisc/include/asm/uaccess.h #define __get_user_check(x, ptr, size) \ ptr 176 arch/openrisc/include/asm/uaccess.h const __typeof__(*(ptr)) * __gu_addr = (ptr); \ ptr 179 arch/openrisc/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 185 arch/openrisc/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ ptr 189 arch/openrisc/include/asm/uaccess.h case 1: __get_user_asm(x, ptr, retval, "l.lbz"); break; \ ptr 190 arch/openrisc/include/asm/uaccess.h case 2: __get_user_asm(x, ptr, retval, "l.lhz"); break; \ ptr 191 arch/openrisc/include/asm/uaccess.h case 4: __get_user_asm(x, ptr, retval, "l.lwz"); break; \ ptr 192 arch/openrisc/include/asm/uaccess.h case 8: __get_user_asm2(x, ptr, retval); break; \ ptr 213 arch/parisc/boot/compressed/misc.c void free(void *ptr) ptr 215 arch/parisc/boot/compressed/misc.c return free_gzip(ptr); ptr 25 arch/parisc/include/asm/cmpxchg.h __xchg(unsigned long x, __volatile__ void *ptr, int size) ptr 29 arch/parisc/include/asm/cmpxchg.h case 8: return __xchg64(x, (unsigned long *) ptr); ptr 31 arch/parisc/include/asm/cmpxchg.h case 4: return __xchg32((int) x, (int *) ptr); ptr 32 arch/parisc/include/asm/cmpxchg.h case 1: return __xchg8((char) x, (char *) ptr); ptr 47 arch/parisc/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 49 arch/parisc/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 50 arch/parisc/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 51 arch/parisc/include/asm/cmpxchg.h __ret = (__typeof__(*(ptr))) \ ptr 52 arch/parisc/include/asm/cmpxchg.h __xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \ ptr 62 arch/parisc/include/asm/cmpxchg.h extern u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new_); ptr 66 arch/parisc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) ptr 70 arch/parisc/include/asm/cmpxchg.h case 8: return __cmpxchg_u64((u64 *)ptr, old, new_); ptr 72 arch/parisc/include/asm/cmpxchg.h case 4: return __cmpxchg_u32((unsigned int *)ptr, ptr 79 arch/parisc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 81 arch/parisc/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 82 arch/parisc/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 83 arch/parisc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ ptr 84 arch/parisc/include/asm/cmpxchg.h (unsigned long)_n_, sizeof(*(ptr))); \ ptr 89 arch/parisc/include/asm/cmpxchg.h static inline unsigned long __cmpxchg_local(volatile void *ptr, ptr 95 arch/parisc/include/asm/cmpxchg.h case 8: return __cmpxchg_u64((u64 *)ptr, old, new_); ptr 97 arch/parisc/include/asm/cmpxchg.h case 4: return __cmpxchg_u32(ptr, old, new_); ptr 99 arch/parisc/include/asm/cmpxchg.h return __cmpxchg_local_generic(ptr, old, new_, size); ptr 107 arch/parisc/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 108 arch/parisc/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o), \ ptr 109 arch/parisc/include/asm/cmpxchg.h (unsigned long)(n), sizeof(*(ptr)))) ptr 111 arch/parisc/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) \ ptr 113 arch/parisc/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 114 arch/parisc/include/asm/cmpxchg.h cmpxchg_local((ptr), (o), (n)); \ ptr 117 arch/parisc/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 120 arch/parisc/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) __cmpxchg_u64(ptr, o, n) ptr 36 arch/parisc/include/asm/uaccess.h #define LDD_USER(val, ptr) __get_user_asm64(val, ptr) ptr 37 arch/parisc/include/asm/uaccess.h #define STD_USER(x, ptr) __put_user_asm64(x, ptr) ptr 39 arch/parisc/include/asm/uaccess.h #define LDD_USER(val, ptr) __get_user_asm(val, "ldd", ptr) ptr 40 arch/parisc/include/asm/uaccess.h #define STD_USER(x, ptr) __put_user_asm("std", x, ptr) ptr 83 arch/parisc/include/asm/uaccess.h #define __get_user_internal(val, ptr) \ ptr 87 arch/parisc/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 88 arch/parisc/include/asm/uaccess.h case 1: __get_user_asm(val, "ldb", ptr); break; \ ptr 89 arch/parisc/include/asm/uaccess.h case 2: __get_user_asm(val, "ldh", ptr); break; \ ptr 90 arch/parisc/include/asm/uaccess.h case 4: __get_user_asm(val, "ldw", ptr); break; \ ptr 91 arch/parisc/include/asm/uaccess.h case 8: LDD_USER(val, ptr); break; \ ptr 98 arch/parisc/include/asm/uaccess.h #define __get_user(val, ptr) \ ptr 101 arch/parisc/include/asm/uaccess.h __get_user_internal(val, ptr); \ ptr 104 arch/parisc/include/asm/uaccess.h #define __get_user_asm(val, ldx, ptr) \ ptr 112 arch/parisc/include/asm/uaccess.h : "r"(ptr), "1"(__gu_err)); \ ptr 114 arch/parisc/include/asm/uaccess.h (val) = (__force __typeof__(*(ptr))) __gu_val; \ ptr 119 arch/parisc/include/asm/uaccess.h #define __get_user_asm64(val, ptr) \ ptr 123 arch/parisc/include/asm/uaccess.h __typeof__(*(ptr)) t; \ ptr 133 arch/parisc/include/asm/uaccess.h : "r"(ptr), "1"(__gu_err)); \ ptr 141 arch/parisc/include/asm/uaccess.h #define __put_user_internal(x, ptr) \ ptr 144 arch/parisc/include/asm/uaccess.h __typeof__(*(ptr)) __x = (__typeof__(*(ptr)))(x); \ ptr 146 arch/parisc/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 147 arch/parisc/include/asm/uaccess.h case 1: __put_user_asm("stb", __x, ptr); break; \ ptr 148 arch/parisc/include/asm/uaccess.h case 2: __put_user_asm("sth", __x, ptr); break; \ ptr 149 arch/parisc/include/asm/uaccess.h case 4: __put_user_asm("stw", __x, ptr); break; \ ptr 150 arch/parisc/include/asm/uaccess.h case 8: STD_USER(__x, ptr); break; \ ptr 157 arch/parisc/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 160 arch/parisc/include/asm/uaccess.h __put_user_internal(x, ptr); \ ptr 173 arch/parisc/include/asm/uaccess.h #define __put_user_asm(stx, x, ptr) \ ptr 179 arch/parisc/include/asm/uaccess.h : "r"(ptr), "r"(x), "0"(__pu_err)) ptr 184 arch/parisc/include/asm/uaccess.h #define __put_user_asm64(__val, ptr) do { \ ptr 192 arch/parisc/include/asm/uaccess.h : "r"(ptr), "r"(__val), "0"(__pu_err)); \ ptr 1365 arch/parisc/kernel/hardware.c struct hp_cpu_type_mask *ptr; ptr 1368 arch/parisc/kernel/hardware.c for (ptr = hp_cpu_type_mask_list; 0 != ptr->mask; ptr++) { ptr 1369 arch/parisc/kernel/hardware.c if (ptr->model == (model & ptr->mask)) ptr 1370 arch/parisc/kernel/hardware.c return ptr->cpu; ptr 35 arch/parisc/kernel/kgdb.c unsigned long cmd, void *ptr) ptr 41 arch/parisc/kernel/kgdb.c ret = __kgdb_notify(ptr, cmd); ptr 975 arch/parisc/kernel/module.c void *dereference_module_function_descriptor(struct module *mod, void *ptr) ptr 982 arch/parisc/kernel/module.c if (ptr < (void *)start_opd || ptr >= (void *)end_opd) ptr 983 arch/parisc/kernel/module.c return ptr; ptr 985 arch/parisc/kernel/module.c return dereference_function_descriptor(ptr); ptr 87 arch/parisc/kernel/pdc_chassis.c unsigned long event, void *ptr) ptr 107 arch/parisc/kernel/pdc_chassis.c unsigned long event, void *ptr) ptr 291 arch/parisc/kernel/process.c void *dereference_function_descriptor(void *ptr) ptr 293 arch/parisc/kernel/process.c Elf64_Fdesc *desc = ptr; ptr 297 arch/parisc/kernel/process.c ptr = p; ptr 298 arch/parisc/kernel/process.c return ptr; ptr 301 arch/parisc/kernel/process.c void *dereference_kernel_function_descriptor(void *ptr) ptr 303 arch/parisc/kernel/process.c if (ptr < (void *)__start_opd || ptr 304 arch/parisc/kernel/process.c ptr >= (void *)__end_opd) ptr 305 arch/parisc/kernel/process.c return ptr; ptr 307 arch/parisc/kernel/process.c return dereference_function_descriptor(ptr); ptr 21 arch/parisc/lib/bitops.c unsigned long __xchg64(unsigned long x, unsigned long *ptr) ptr 25 arch/parisc/lib/bitops.c _atomic_spin_lock_irqsave(ptr, flags); ptr 26 arch/parisc/lib/bitops.c temp = *ptr; ptr 27 arch/parisc/lib/bitops.c *ptr = x; ptr 28 arch/parisc/lib/bitops.c _atomic_spin_unlock_irqrestore(ptr, flags); ptr 33 arch/parisc/lib/bitops.c unsigned long __xchg32(int x, int *ptr) ptr 38 arch/parisc/lib/bitops.c _atomic_spin_lock_irqsave(ptr, flags); ptr 39 arch/parisc/lib/bitops.c temp = (long) *ptr; /* XXX - sign extension wanted? */ ptr 40 arch/parisc/lib/bitops.c *ptr = x; ptr 41 arch/parisc/lib/bitops.c _atomic_spin_unlock_irqrestore(ptr, flags); ptr 46 arch/parisc/lib/bitops.c unsigned long __xchg8(char x, char *ptr) ptr 51 arch/parisc/lib/bitops.c _atomic_spin_lock_irqsave(ptr, flags); ptr 52 arch/parisc/lib/bitops.c temp = (long) *ptr; /* XXX - sign extension wanted? */ ptr 53 arch/parisc/lib/bitops.c *ptr = x; ptr 54 arch/parisc/lib/bitops.c _atomic_spin_unlock_irqrestore(ptr, flags); ptr 59 arch/parisc/lib/bitops.c u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new) ptr 64 arch/parisc/lib/bitops.c _atomic_spin_lock_irqsave(ptr, flags); ptr 65 arch/parisc/lib/bitops.c if ((prev = *ptr) == old) ptr 66 arch/parisc/lib/bitops.c *ptr = new; ptr 67 arch/parisc/lib/bitops.c _atomic_spin_unlock_irqrestore(ptr, flags); ptr 71 arch/parisc/lib/bitops.c unsigned long __cmpxchg_u32(volatile unsigned int *ptr, unsigned int old, unsigned int new) ptr 76 arch/parisc/lib/bitops.c _atomic_spin_lock_irqsave(ptr, flags); ptr 77 arch/parisc/lib/bitops.c if ((prev = *ptr) == old) ptr 78 arch/parisc/lib/bitops.c *ptr = new; ptr 79 arch/parisc/lib/bitops.c _atomic_spin_unlock_irqrestore(ptr, flags); ptr 29 arch/powerpc/boot/ops.h void (*free)(void *ptr); ptr 30 arch/powerpc/boot/ops.h void * (*realloc)(void *ptr, unsigned long size); ptr 223 arch/powerpc/boot/ops.h static inline void free(void *ptr) ptr 226 arch/powerpc/boot/ops.h platform_ops.free(ptr); ptr 68 arch/powerpc/boot/simple_alloc.c static struct alloc_info *simple_find_entry(void *ptr) ptr 77 arch/powerpc/boot/simple_alloc.c (p->base == (unsigned long)ptr)) ptr 83 arch/powerpc/boot/simple_alloc.c static void simple_free(void *ptr) ptr 85 arch/powerpc/boot/simple_alloc.c struct alloc_info *p = simple_find_entry(ptr); ptr 97 arch/powerpc/boot/simple_alloc.c static void *simple_realloc(void *ptr, unsigned long size) ptr 103 arch/powerpc/boot/simple_alloc.c simple_free(ptr); ptr 107 arch/powerpc/boot/simple_alloc.c if (ptr == NULL) ptr 110 arch/powerpc/boot/simple_alloc.c p = simple_find_entry(ptr); ptr 114 arch/powerpc/boot/simple_alloc.c return ptr; ptr 117 arch/powerpc/boot/simple_alloc.c memcpy(new, ptr, p->size); ptr 118 arch/powerpc/boot/simple_alloc.c simple_free(ptr); ptr 13 arch/powerpc/boot/stdlib.c unsigned long long int strtoull(const char *ptr, char **end, int base) ptr 20 arch/powerpc/boot/stdlib.c while (*ptr) { ptr 23 arch/powerpc/boot/stdlib.c if (*ptr >= '0' && *ptr <= '9' && *ptr < '0' + base) ptr 24 arch/powerpc/boot/stdlib.c digit = *ptr - '0'; ptr 25 arch/powerpc/boot/stdlib.c else if (*ptr >= 'A' && *ptr < 'A' + base - 10) ptr 26 arch/powerpc/boot/stdlib.c digit = *ptr - 'A' + 10; ptr 27 arch/powerpc/boot/stdlib.c else if (*ptr >= 'a' && *ptr < 'a' + base - 10) ptr 28 arch/powerpc/boot/stdlib.c digit = *ptr - 'a' + 10; ptr 34 arch/powerpc/boot/stdlib.c ptr++; ptr 39 arch/powerpc/boot/stdlib.c *end = (char *)ptr; ptr 5 arch/powerpc/boot/stdlib.h unsigned long long int strtoull(const char *ptr, char **end, int base); ptr 24 arch/powerpc/crypto/md5-glue.c u32 *ptr = (u32 *)sctx; ptr 28 arch/powerpc/crypto/md5-glue.c do { *ptr++ = 0; } while (--count); ptr 52 arch/powerpc/crypto/sha1-spe-glue.c u32 *ptr = (u32 *)sctx; ptr 56 arch/powerpc/crypto/sha1-spe-glue.c do { *ptr++ = 0; } while (--count); ptr 53 arch/powerpc/crypto/sha256-spe-glue.c u32 *ptr = (u32 *)sctx; ptr 57 arch/powerpc/crypto/sha256-spe-glue.c do { *ptr++ = 0; } while (--count); ptr 995 arch/powerpc/include/asm/book3s/64/pgtable.h #define __pgtable_ptr_val(ptr) __pa(ptr) ptr 123 arch/powerpc/include/asm/checksum.h const u32 *ptr = (const u32 *)iph + 1; ptr 128 arch/powerpc/include/asm/checksum.h for (i = 0; i < ihl - 1; i++, ptr++) ptr 129 arch/powerpc/include/asm/checksum.h s += *ptr; ptr 140 arch/powerpc/include/asm/checksum.h : "=r" (sum), "=r" (tmp), "+b" (ptr) ptr 141 arch/powerpc/include/asm/checksum.h : "r" (ihl - 2), "r" (*(const u32 *)iph), "r" (*ptr) ptr 159 arch/powerpc/include/asm/cmpxchg.h __xchg_local(void *ptr, unsigned long x, unsigned int size) ptr 163 arch/powerpc/include/asm/cmpxchg.h return __xchg_u8_local(ptr, x); ptr 165 arch/powerpc/include/asm/cmpxchg.h return __xchg_u16_local(ptr, x); ptr 167 arch/powerpc/include/asm/cmpxchg.h return __xchg_u32_local(ptr, x); ptr 170 arch/powerpc/include/asm/cmpxchg.h return __xchg_u64_local(ptr, x); ptr 178 arch/powerpc/include/asm/cmpxchg.h __xchg_relaxed(void *ptr, unsigned long x, unsigned int size) ptr 182 arch/powerpc/include/asm/cmpxchg.h return __xchg_u8_relaxed(ptr, x); ptr 184 arch/powerpc/include/asm/cmpxchg.h return __xchg_u16_relaxed(ptr, x); ptr 186 arch/powerpc/include/asm/cmpxchg.h return __xchg_u32_relaxed(ptr, x); ptr 189 arch/powerpc/include/asm/cmpxchg.h return __xchg_u64_relaxed(ptr, x); ptr 195 arch/powerpc/include/asm/cmpxchg.h #define xchg_local(ptr,x) \ ptr 197 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 198 arch/powerpc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg_local((ptr), \ ptr 199 arch/powerpc/include/asm/cmpxchg.h (unsigned long)_x_, sizeof(*(ptr))); \ ptr 202 arch/powerpc/include/asm/cmpxchg.h #define xchg_relaxed(ptr, x) \ ptr 204 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 205 arch/powerpc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg_relaxed((ptr), \ ptr 206 arch/powerpc/include/asm/cmpxchg.h (unsigned long)_x_, sizeof(*(ptr))); \ ptr 403 arch/powerpc/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, ptr 408 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u8(ptr, old, new); ptr 410 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u16(ptr, old, new); ptr 412 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u32(ptr, old, new); ptr 415 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u64(ptr, old, new); ptr 423 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_local(void *ptr, unsigned long old, unsigned long new, ptr 428 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u8_local(ptr, old, new); ptr 430 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u16_local(ptr, old, new); ptr 432 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u32_local(ptr, old, new); ptr 435 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u64_local(ptr, old, new); ptr 443 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_relaxed(void *ptr, unsigned long old, unsigned long new, ptr 448 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u8_relaxed(ptr, old, new); ptr 450 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u16_relaxed(ptr, old, new); ptr 452 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u32_relaxed(ptr, old, new); ptr 455 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u64_relaxed(ptr, old, new); ptr 463 arch/powerpc/include/asm/cmpxchg.h __cmpxchg_acquire(void *ptr, unsigned long old, unsigned long new, ptr 468 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u8_acquire(ptr, old, new); ptr 470 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u16_acquire(ptr, old, new); ptr 472 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u32_acquire(ptr, old, new); ptr 475 arch/powerpc/include/asm/cmpxchg.h return __cmpxchg_u64_acquire(ptr, old, new); ptr 481 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 483 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 484 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 485 arch/powerpc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ ptr 486 arch/powerpc/include/asm/cmpxchg.h (unsigned long)_n_, sizeof(*(ptr))); \ ptr 490 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 492 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 493 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 494 arch/powerpc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \ ptr 495 arch/powerpc/include/asm/cmpxchg.h (unsigned long)_n_, sizeof(*(ptr))); \ ptr 498 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg_relaxed(ptr, o, n) \ ptr 500 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 501 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 502 arch/powerpc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_relaxed((ptr), \ ptr 504 arch/powerpc/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 507 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg_acquire(ptr, o, n) \ ptr 509 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 510 arch/powerpc/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 511 arch/powerpc/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_acquire((ptr), \ ptr 513 arch/powerpc/include/asm/cmpxchg.h sizeof(*(ptr))); \ ptr 516 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) \ ptr 518 arch/powerpc/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 519 arch/powerpc/include/asm/cmpxchg.h cmpxchg((ptr), (o), (n)); \ ptr 521 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) \ ptr 523 arch/powerpc/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 524 arch/powerpc/include/asm/cmpxchg.h cmpxchg_local((ptr), (o), (n)); \ ptr 526 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg64_relaxed(ptr, o, n) \ ptr 528 arch/powerpc/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 529 arch/powerpc/include/asm/cmpxchg.h cmpxchg_relaxed((ptr), (o), (n)); \ ptr 531 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg64_acquire(ptr, o, n) \ ptr 533 arch/powerpc/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 534 arch/powerpc/include/asm/cmpxchg.h cmpxchg_acquire((ptr), (o), (n)); \ ptr 538 arch/powerpc/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 26 arch/powerpc/include/asm/cputime.h #define cmpxchg_cputime(ptr, old, new) cmpxchg(ptr, old, new) ptr 31 arch/powerpc/include/asm/fsl_85xx_cache_sram.h extern void mpc85xx_cache_sram_free(void *ptr); ptr 228 arch/powerpc/include/asm/kvm_book3s.h extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, bool data); ptr 89 arch/powerpc/include/asm/kvm_ppc.h extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, ptr 91 arch/powerpc/include/asm/kvm_ppc.h extern int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, ptr 320 arch/powerpc/include/asm/kvm_ppc.h int (*load_from_eaddr)(struct kvm_vcpu *vcpu, ulong *eaddr, void *ptr, ptr 322 arch/powerpc/include/asm/kvm_ppc.h int (*store_to_eaddr)(struct kvm_vcpu *vcpu, ulong *eaddr, void *ptr, ptr 26 arch/powerpc/include/asm/ppc_asm.h #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) ptr 27 arch/powerpc/include/asm/ppc_asm.h #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) ptr 30 arch/powerpc/include/asm/ppc_asm.h #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) \ ptr 32 arch/powerpc/include/asm/ppc_asm.h PPC_LL rb, ACCOUNT_STARTTIME_USER(ptr); \ ptr 33 arch/powerpc/include/asm/ppc_asm.h PPC_STL ra, ACCOUNT_STARTTIME(ptr); \ ptr 35 arch/powerpc/include/asm/ppc_asm.h PPC_LL ra, ACCOUNT_USER_TIME(ptr); \ ptr 37 arch/powerpc/include/asm/ppc_asm.h PPC_STL ra, ACCOUNT_USER_TIME(ptr); \ ptr 39 arch/powerpc/include/asm/ppc_asm.h #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) \ ptr 41 arch/powerpc/include/asm/ppc_asm.h PPC_LL rb, ACCOUNT_STARTTIME(ptr); \ ptr 42 arch/powerpc/include/asm/ppc_asm.h PPC_STL ra, ACCOUNT_STARTTIME_USER(ptr); \ ptr 44 arch/powerpc/include/asm/ppc_asm.h PPC_LL ra, ACCOUNT_SYSTEM_TIME(ptr); \ ptr 46 arch/powerpc/include/asm/ppc_asm.h PPC_STL ra, ACCOUNT_SYSTEM_TIME(ptr) ptr 83 arch/powerpc/include/asm/sections.h static inline void *dereference_function_descriptor(void *ptr) ptr 85 arch/powerpc/include/asm/sections.h struct ppc64_opd_entry *desc = ptr; ptr 89 arch/powerpc/include/asm/sections.h ptr = p; ptr 90 arch/powerpc/include/asm/sections.h return ptr; ptr 94 arch/powerpc/include/asm/sections.h static inline void *dereference_kernel_function_descriptor(void *ptr) ptr 96 arch/powerpc/include/asm/sections.h if (ptr < (void *)__start_opd || ptr >= (void *)__end_opd) ptr 97 arch/powerpc/include/asm/sections.h return ptr; ptr 99 arch/powerpc/include/asm/sections.h return dereference_function_descriptor(ptr); ptr 88 arch/powerpc/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 89 arch/powerpc/include/asm/uaccess.h __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 90 arch/powerpc/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 91 arch/powerpc/include/asm/uaccess.h __put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 93 arch/powerpc/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 94 arch/powerpc/include/asm/uaccess.h __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 95 arch/powerpc/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 96 arch/powerpc/include/asm/uaccess.h __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 98 arch/powerpc/include/asm/uaccess.h #define __get_user_inatomic(x, ptr) \ ptr 99 arch/powerpc/include/asm/uaccess.h __get_user_nosleep((x), (ptr), sizeof(*(ptr))) ptr 100 arch/powerpc/include/asm/uaccess.h #define __put_user_inatomic(x, ptr) \ ptr 101 arch/powerpc/include/asm/uaccess.h __put_user_nosleep((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 123 arch/powerpc/include/asm/uaccess.h #define __put_user_asm2(x, ptr, retval) \ ptr 124 arch/powerpc/include/asm/uaccess.h __put_user_asm(x, ptr, retval, "std") ptr 141 arch/powerpc/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ ptr 144 arch/powerpc/include/asm/uaccess.h allow_write_to_user(ptr, size); \ ptr 146 arch/powerpc/include/asm/uaccess.h case 1: __put_user_asm(x, ptr, retval, "stb"); break; \ ptr 147 arch/powerpc/include/asm/uaccess.h case 2: __put_user_asm(x, ptr, retval, "sth"); break; \ ptr 148 arch/powerpc/include/asm/uaccess.h case 4: __put_user_asm(x, ptr, retval, "stw"); break; \ ptr 149 arch/powerpc/include/asm/uaccess.h case 8: __put_user_asm2(x, ptr, retval); break; \ ptr 152 arch/powerpc/include/asm/uaccess.h prevent_write_to_user(ptr, size); \ ptr 155 arch/powerpc/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 158 arch/powerpc/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 161 arch/powerpc/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 166 arch/powerpc/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 169 arch/powerpc/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 176 arch/powerpc/include/asm/uaccess.h #define __put_user_nosleep(x, ptr, size) \ ptr 179 arch/powerpc/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 180 arch/powerpc/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 239 arch/powerpc/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ ptr 242 arch/powerpc/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 245 arch/powerpc/include/asm/uaccess.h allow_read_from_user(ptr, size); \ ptr 247 arch/powerpc/include/asm/uaccess.h case 1: __get_user_asm(x, ptr, retval, "lbz"); break; \ ptr 248 arch/powerpc/include/asm/uaccess.h case 2: __get_user_asm(x, ptr, retval, "lhz"); break; \ ptr 249 arch/powerpc/include/asm/uaccess.h case 4: __get_user_asm(x, ptr, retval, "lwz"); break; \ ptr 250 arch/powerpc/include/asm/uaccess.h case 8: __get_user_asm2(x, ptr, retval); break; \ ptr 253 arch/powerpc/include/asm/uaccess.h prevent_read_from_user(ptr, size); \ ptr 263 arch/powerpc/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 266 arch/powerpc/include/asm/uaccess.h __long_type(*(ptr)) __gu_val; \ ptr 267 arch/powerpc/include/asm/uaccess.h __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ ptr 268 arch/powerpc/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 273 arch/powerpc/include/asm/uaccess.h (x) = (__typeof__(*(ptr)))__gu_val; \ ptr 277 arch/powerpc/include/asm/uaccess.h #define __get_user_check(x, ptr, size) \ ptr 280 arch/powerpc/include/asm/uaccess.h __long_type(*(ptr)) __gu_val = 0; \ ptr 281 arch/powerpc/include/asm/uaccess.h __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ ptr 287 arch/powerpc/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 291 arch/powerpc/include/asm/uaccess.h #define __get_user_nosleep(x, ptr, size) \ ptr 294 arch/powerpc/include/asm/uaccess.h __long_type(*(ptr)) __gu_val; \ ptr 295 arch/powerpc/include/asm/uaccess.h __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ ptr 296 arch/powerpc/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 299 arch/powerpc/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 312 arch/powerpc/kernel/btext.c unsigned int *ptr = base; ptr 314 arch/powerpc/kernel/btext.c *(ptr++) = 0; ptr 329 arch/powerpc/kernel/btext.c unsigned int *ptr = base; ptr 331 arch/powerpc/kernel/btext.c __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); ptr 332 arch/powerpc/kernel/btext.c ptr += 8; ptr 348 arch/powerpc/kernel/btext.c unsigned int *ptr = base; ptr 350 arch/powerpc/kernel/btext.c __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); ptr 351 arch/powerpc/kernel/btext.c ptr += 8; ptr 184 arch/powerpc/kernel/kgdb.c #define PACK64(ptr, src) do { *(ptr++) = (src); } while (0) ptr 186 arch/powerpc/kernel/kgdb.c #define PACK32(ptr, src) do { \ ptr 188 arch/powerpc/kernel/kgdb.c ptr32 = (u32 *)ptr; \ ptr 190 arch/powerpc/kernel/kgdb.c ptr = (unsigned long *)ptr32; \ ptr 197 arch/powerpc/kernel/kgdb.c unsigned long *ptr = gdb_regs; ptr 204 arch/powerpc/kernel/kgdb.c PACK64(ptr, regs->gpr[reg]); ptr 207 arch/powerpc/kernel/kgdb.c ptr += 11; ptr 211 arch/powerpc/kernel/kgdb.c PACK64(ptr, regs->gpr[reg]); ptr 216 arch/powerpc/kernel/kgdb.c PACK64(ptr, p->thread.evr[reg]); ptr 218 arch/powerpc/kernel/kgdb.c ptr += 32; ptr 222 arch/powerpc/kernel/kgdb.c ptr += 32 * 8 / sizeof(long); ptr 225 arch/powerpc/kernel/kgdb.c PACK64(ptr, regs->nip); ptr 226 arch/powerpc/kernel/kgdb.c PACK64(ptr, regs->msr); ptr 227 arch/powerpc/kernel/kgdb.c PACK32(ptr, regs->ccr); ptr 228 arch/powerpc/kernel/kgdb.c PACK64(ptr, regs->link); ptr 229 arch/powerpc/kernel/kgdb.c PACK64(ptr, regs->ctr); ptr 230 arch/powerpc/kernel/kgdb.c PACK32(ptr, regs->xer); ptr 232 arch/powerpc/kernel/kgdb.c BUG_ON((unsigned long)ptr > ptr 384 arch/powerpc/kernel/kgdb.c char *ptr = &remcom_in_buffer[1]; ptr 395 arch/powerpc/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 78 arch/powerpc/kernel/machine_kexec_64.c unsigned long *ptr; ptr 88 arch/powerpc/kernel/machine_kexec_64.c ptr = NULL; ptr 91 arch/powerpc/kernel/machine_kexec_64.c for (entry = ind; !(entry & IND_DONE); entry = *ptr++) { ptr 99 arch/powerpc/kernel/machine_kexec_64.c ptr = addr; ptr 85 arch/powerpc/kernel/module_64.c void *dereference_module_function_descriptor(struct module *mod, void *ptr) ptr 87 arch/powerpc/kernel/module_64.c if (ptr < (void *)mod->arch.start_opd || ptr 88 arch/powerpc/kernel/module_64.c ptr >= (void *)mod->arch.end_opd) ptr 89 arch/powerpc/kernel/module_64.c return ptr; ptr 91 arch/powerpc/kernel/module_64.c return dereference_function_descriptor(ptr); ptr 29 arch/powerpc/kernel/paca.c void *ptr; ptr 44 arch/powerpc/kernel/paca.c ptr = memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, ptr 46 arch/powerpc/kernel/paca.c if (!ptr) ptr 52 arch/powerpc/kernel/paca.c return ptr; ptr 65 arch/powerpc/kernel/paca.c void *ptr; ptr 82 arch/powerpc/kernel/paca.c ptr = shared_lppaca + shared_lppaca_size; ptr 91 arch/powerpc/kernel/paca.c return ptr; ptr 727 arch/powerpc/kernel/prom_init.c static unsigned long prom_memparse(const char *ptr, const char **retptr) ptr 729 arch/powerpc/kernel/prom_init.c unsigned long ret = prom_strtoul(ptr, retptr); ptr 695 arch/powerpc/kernel/setup-common.c unsigned long event, void *ptr) ptr 707 arch/powerpc/kernel/setup-common.c crash_fadump(NULL, ptr); ptr 709 arch/powerpc/kernel/setup-common.c ppc_md.panic(ptr); /* May not return */ ptr 140 arch/powerpc/kernel/setup_32.c void *ptr = memblock_alloc(THREAD_SIZE, THREAD_SIZE); ptr 142 arch/powerpc/kernel/setup_32.c if (!ptr) ptr 146 arch/powerpc/kernel/setup_32.c return ptr; ptr 451 arch/powerpc/kernel/setup_64.c unsigned long *ptr; ptr 465 arch/powerpc/kernel/setup_64.c ptr = (unsigned long *)((unsigned long)&__secondary_hold_spinloop ptr 467 arch/powerpc/kernel/setup_64.c *ptr = ppc_function_entry(generic_secondary_smp_init); ptr 663 arch/powerpc/kernel/setup_64.c void *ptr; ptr 667 arch/powerpc/kernel/setup_64.c ptr = memblock_alloc_try_nid(THREAD_SIZE, THREAD_SIZE, ptr 670 arch/powerpc/kernel/setup_64.c if (!ptr) ptr 673 arch/powerpc/kernel/setup_64.c return ptr; ptr 768 arch/powerpc/kernel/setup_64.c static void __init pcpu_fc_free(void *ptr, size_t size) ptr 770 arch/powerpc/kernel/setup_64.c memblock_free(__pa(ptr), size); ptr 126 arch/powerpc/kernel/trace/ftrace.c unsigned long entry, ptr, tramp; ptr 147 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { ptr 152 arch/powerpc/kernel/trace/ftrace.c pr_devel("trampoline target %lx", ptr); ptr 156 arch/powerpc/kernel/trace/ftrace.c if (ptr != entry) { ptr 157 arch/powerpc/kernel/trace/ftrace.c pr_err("addr %lx does not match expected %lx\n", ptr, entry); ptr 326 arch/powerpc/kernel/trace/ftrace.c unsigned long ptr; ptr 356 arch/powerpc/kernel/trace/ftrace.c ptr = find_bl_target(tramp, op); ptr 358 arch/powerpc/kernel/trace/ftrace.c if (ptr != ppc_global_function_entry((void *)_mcount)) { ptr 359 arch/powerpc/kernel/trace/ftrace.c pr_debug("Trampoline target %p is not _mcount\n", (void *)ptr); ptr 365 arch/powerpc/kernel/trace/ftrace.c ptr = ppc_global_function_entry((void *)ftrace_regs_caller); ptr 367 arch/powerpc/kernel/trace/ftrace.c ptr = ppc_global_function_entry((void *)ftrace_caller); ptr 369 arch/powerpc/kernel/trace/ftrace.c if (!create_branch((void *)tramp, ptr, 0)) { ptr 371 arch/powerpc/kernel/trace/ftrace.c (void *)ptr); ptr 375 arch/powerpc/kernel/trace/ftrace.c if (patch_branch((unsigned int *)tramp, ptr, 0)) { ptr 515 arch/powerpc/kernel/trace/ftrace.c unsigned long entry, ptr, tramp; ptr 545 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { ptr 550 arch/powerpc/kernel/trace/ftrace.c pr_devel("trampoline target %lx", ptr); ptr 554 arch/powerpc/kernel/trace/ftrace.c if (ptr != entry) { ptr 555 arch/powerpc/kernel/trace/ftrace.c pr_err("addr %lx does not match expected %lx\n", ptr, entry); ptr 618 arch/powerpc/kernel/trace/ftrace.c unsigned long tramp, entry, ptr; ptr 622 arch/powerpc/kernel/trace/ftrace.c ptr = ppc_global_function_entry((void *)addr); ptr 624 arch/powerpc/kernel/trace/ftrace.c if (ptr != entry) { ptr 627 arch/powerpc/kernel/trace/ftrace.c if (ptr != entry) { ptr 629 arch/powerpc/kernel/trace/ftrace.c pr_err("Unknown ftrace addr to patch: %ps\n", (void *)ptr); ptr 705 arch/powerpc/kernel/trace/ftrace.c unsigned long entry, ptr, tramp; ptr 734 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { ptr 739 arch/powerpc/kernel/trace/ftrace.c pr_devel("trampoline target %lx", ptr); ptr 742 arch/powerpc/kernel/trace/ftrace.c if (ptr != entry) { ptr 743 arch/powerpc/kernel/trace/ftrace.c pr_err("addr %lx does not match expected %lx\n", ptr, entry); ptr 764 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { ptr 769 arch/powerpc/kernel/trace/ftrace.c pr_devel("trampoline target %lx", ptr); ptr 773 arch/powerpc/kernel/trace/ftrace.c if (ptr != entry) { ptr 774 arch/powerpc/kernel/trace/ftrace.c pr_err("addr %lx does not match expected %lx\n", ptr, entry); ptr 5362 arch/powerpc/kvm/book3s_hv.c static int kvmhv_load_from_eaddr(struct kvm_vcpu *vcpu, ulong *eaddr, void *ptr, ptr 5368 arch/powerpc/kvm/book3s_hv.c rc = kvmhv_copy_from_guest_radix(vcpu, *eaddr, ptr, size); ptr 5381 arch/powerpc/kvm/book3s_hv.c static int kvmhv_store_to_eaddr(struct kvm_vcpu *vcpu, ulong *eaddr, void *ptr, ptr 5387 arch/powerpc/kvm/book3s_hv.c rc = kvmhv_copy_to_guest_radix(vcpu, *eaddr, ptr, size); ptr 128 arch/powerpc/kvm/mpic.c u32 *ptr, int idx); ptr 745 arch/powerpc/kvm/mpic.c static int openpic_gbl_read(void *opaque, gpa_t addr, u32 *ptr) ptr 803 arch/powerpc/kvm/mpic.c *ptr = retval; ptr 849 arch/powerpc/kvm/mpic.c static int openpic_tmr_read(void *opaque, gpa_t addr, u32 *ptr) ptr 883 arch/powerpc/kvm/mpic.c *ptr = retval; ptr 912 arch/powerpc/kvm/mpic.c static int openpic_src_read(void *opaque, gpa_t addr, u32 *ptr) ptr 937 arch/powerpc/kvm/mpic.c *ptr = retval; ptr 967 arch/powerpc/kvm/mpic.c static int openpic_msi_read(void *opaque, gpa_t addr, u32 *ptr) ptr 1000 arch/powerpc/kvm/mpic.c *ptr = r; ptr 1004 arch/powerpc/kvm/mpic.c static int openpic_summary_read(void *opaque, gpa_t addr, u32 *ptr) ptr 1012 arch/powerpc/kvm/mpic.c *ptr = r; ptr 1192 arch/powerpc/kvm/mpic.c u32 *ptr, int idx) ptr 1228 arch/powerpc/kvm/mpic.c *ptr = retval; ptr 1232 arch/powerpc/kvm/mpic.c static int openpic_cpu_read(void *opaque, gpa_t addr, u32 *ptr) ptr 1236 arch/powerpc/kvm/mpic.c return openpic_cpu_read_internal(opp, addr, ptr, ptr 1241 arch/powerpc/kvm/mpic.c int (*read)(void *opaque, gpa_t addr, u32 *ptr); ptr 1340 arch/powerpc/kvm/mpic.c static int kvm_mpic_read_internal(struct openpic *opp, gpa_t addr, u32 *ptr) ptr 1350 arch/powerpc/kvm/mpic.c return mr->read(opp, addr - mr->start_addr, ptr); ptr 1374 arch/powerpc/kvm/mpic.c gpa_t addr, int len, void *ptr) ptr 1399 arch/powerpc/kvm/mpic.c *(u32 *)ptr = u.val; ptr 1403 arch/powerpc/kvm/mpic.c *(u8 *)ptr = u.bytes[addr & 3]; ptr 1416 arch/powerpc/kvm/mpic.c gpa_t addr, int len, const void *ptr) ptr 1432 arch/powerpc/kvm/mpic.c *(const u32 *)ptr); ptr 1436 arch/powerpc/kvm/mpic.c __func__, addr, ret, *(const u32 *)ptr); ptr 323 arch/powerpc/kvm/powerpc.c int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, ptr 333 arch/powerpc/kvm/powerpc.c r = vcpu->kvm->arch.kvm_ops->store_to_eaddr(vcpu, eaddr, ptr, ptr 355 arch/powerpc/kvm/powerpc.c memcpy(magic, ptr, size); ptr 359 arch/powerpc/kvm/powerpc.c if (kvm_write_guest(vcpu->kvm, pte.raddr, ptr, size)) ptr 366 arch/powerpc/kvm/powerpc.c int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr, ptr 376 arch/powerpc/kvm/powerpc.c rc = vcpu->kvm->arch.kvm_ops->load_from_eaddr(vcpu, eaddr, ptr, ptr 401 arch/powerpc/kvm/powerpc.c memcpy(ptr, magic, size); ptr 405 arch/powerpc/kvm/powerpc.c if (kvm_read_guest(vcpu->kvm, pte.raddr, ptr, size)) ptr 218 arch/powerpc/lib/sstep.c static nokprobe_inline void do_byte_reverse(void *ptr, int nb) ptr 222 arch/powerpc/lib/sstep.c *(u16 *)ptr = byterev_2(*(u16 *)ptr); ptr 225 arch/powerpc/lib/sstep.c *(u32 *)ptr = byterev_4(*(u32 *)ptr); ptr 229 arch/powerpc/lib/sstep.c *(unsigned long *)ptr = byterev_8(*(unsigned long *)ptr); ptr 232 arch/powerpc/lib/sstep.c unsigned long *up = (unsigned long *)ptr; ptr 42 arch/powerpc/mm/book3s64/radix_pgtable.c void *ptr; ptr 49 arch/powerpc/mm/book3s64/radix_pgtable.c ptr = memblock_alloc_try_nid(size, size, min_addr, max_addr, nid); ptr 51 arch/powerpc/mm/book3s64/radix_pgtable.c if (!ptr) ptr 55 arch/powerpc/mm/book3s64/radix_pgtable.c return ptr; ptr 56 arch/powerpc/mm/nohash/book3e_pgtable.c void *ptr; ptr 58 arch/powerpc/mm/nohash/book3e_pgtable.c ptr = memblock_alloc_try_nid(size, size, MEMBLOCK_LOW_LIMIT, ptr 61 arch/powerpc/mm/nohash/book3e_pgtable.c if (!ptr) ptr 65 arch/powerpc/mm/nohash/book3e_pgtable.c return ptr; ptr 39 arch/powerpc/mm/pgtable_32.c void *ptr = memblock_alloc(size, size); ptr 41 arch/powerpc/mm/pgtable_32.c if (!ptr) ptr 45 arch/powerpc/mm/pgtable_32.c return ptr; ptr 470 arch/powerpc/mm/ptdump/hashpagetable.c struct vmemmap_backing *ptr = vmemmap_list; ptr 478 arch/powerpc/mm/ptdump/hashpagetable.c while (ptr->list) { ptr 479 arch/powerpc/mm/ptdump/hashpagetable.c hpte_find(st, ptr->virt_addr, mmu_vmemmap_psize); ptr 480 arch/powerpc/mm/ptdump/hashpagetable.c ptr = ptr->list; ptr 111 arch/powerpc/perf/callchain.c static int read_user_stack_slow(void __user *ptr, void *buf, int nb) ptr 117 arch/powerpc/perf/callchain.c unsigned long addr = (unsigned long) ptr; ptr 152 arch/powerpc/perf/callchain.c static int read_user_stack_64(unsigned long __user *ptr, unsigned long *ret) ptr 154 arch/powerpc/perf/callchain.c if ((unsigned long)ptr > TASK_SIZE - sizeof(unsigned long) || ptr 155 arch/powerpc/perf/callchain.c ((unsigned long)ptr & 7)) ptr 159 arch/powerpc/perf/callchain.c if (!__get_user_inatomic(*ret, ptr)) { ptr 165 arch/powerpc/perf/callchain.c return read_user_stack_slow(ptr, ret, 8); ptr 168 arch/powerpc/perf/callchain.c static int read_user_stack_32(unsigned int __user *ptr, unsigned int *ret) ptr 170 arch/powerpc/perf/callchain.c if ((unsigned long)ptr > TASK_SIZE - sizeof(unsigned int) || ptr 171 arch/powerpc/perf/callchain.c ((unsigned long)ptr & 3)) ptr 175 arch/powerpc/perf/callchain.c if (!__get_user_inatomic(*ret, ptr)) { ptr 181 arch/powerpc/perf/callchain.c return read_user_stack_slow(ptr, ret, 4); ptr 304 arch/powerpc/perf/callchain.c static int read_user_stack_32(unsigned int __user *ptr, unsigned int *ret) ptr 308 arch/powerpc/perf/callchain.c if ((unsigned long)ptr > TASK_SIZE - sizeof(unsigned int) || ptr 309 arch/powerpc/perf/callchain.c ((unsigned long)ptr & 3)) ptr 313 arch/powerpc/perf/callchain.c rc = __get_user_inatomic(*ret, ptr); ptr 1416 arch/powerpc/perf/imc-pmu.c struct imc_mem_info *ptr = core_imc_pmu->mem_info; ptr 1421 arch/powerpc/perf/imc-pmu.c if (ptr[i].vbase) ptr 1422 arch/powerpc/perf/imc-pmu.c free_pages((u64)ptr[i].vbase, get_order(size)); ptr 1425 arch/powerpc/perf/imc-pmu.c kfree(ptr); ptr 467 arch/powerpc/platforms/powermac/bootx_init.c unsigned long ptr; ptr 491 arch/powerpc/platforms/powermac/bootx_init.c ptr = (unsigned long)bi->logicalDisplayBase; ptr 492 arch/powerpc/platforms/powermac/bootx_init.c ptr += bi->dispDeviceRect[1] * bi->dispDeviceRowBytes; ptr 493 arch/powerpc/platforms/powermac/bootx_init.c ptr += bi->dispDeviceRect[0] * ((bi->dispDeviceDepth + 7) / 8); ptr 570 arch/powerpc/platforms/powermac/bootx_init.c for (ptr = ((unsigned long) &_stext) & PAGE_MASK; ptr 571 arch/powerpc/platforms/powermac/bootx_init.c ptr < (unsigned long)bi + space; ptr += PAGE_SIZE) ptr 572 arch/powerpc/platforms/powermac/bootx_init.c x = *(volatile unsigned long *)ptr; ptr 230 arch/powerpc/platforms/powermac/nvram.c u8 *ptr; ptr 232 arch/powerpc/platforms/powermac/nvram.c for (ptr = (u8 *)&hdr->len; ptr < hdr->data; ptr++) ptr 233 arch/powerpc/platforms/powermac/nvram.c sum += *ptr; ptr 58 arch/powerpc/platforms/powernv/opal-imc.c struct imc_mem_info *ptr = pmu_ptr->mem_info; ptr 68 arch/powerpc/platforms/powernv/opal-imc.c while (ptr->vbase != NULL) { ptr 69 arch/powerpc/platforms/powernv/opal-imc.c loc = (u64)(ptr->vbase) + cb_offset; ptr 71 arch/powerpc/platforms/powernv/opal-imc.c sprintf(mode, "imc_mode_%d", (u32)(ptr->id)); ptr 77 arch/powerpc/platforms/powernv/opal-imc.c sprintf(cmd, "imc_cmd_%d", (u32)(ptr->id)); ptr 81 arch/powerpc/platforms/powernv/opal-imc.c ptr++; ptr 118 arch/powerpc/platforms/powernv/opal-lpc.c u8 *ptr = b; ptr 121 arch/powerpc/platforms/powernv/opal-lpc.c *(ptr++) = opal_lpc_inb(p); ptr 126 arch/powerpc/platforms/powernv/opal-lpc.c __le16 *ptr = b; ptr 129 arch/powerpc/platforms/powernv/opal-lpc.c *(ptr++) = __opal_lpc_inw(p); ptr 134 arch/powerpc/platforms/powernv/opal-lpc.c __le32 *ptr = b; ptr 137 arch/powerpc/platforms/powernv/opal-lpc.c *(ptr++) = __opal_lpc_inl(p); ptr 142 arch/powerpc/platforms/powernv/opal-lpc.c const u8 *ptr = b; ptr 145 arch/powerpc/platforms/powernv/opal-lpc.c opal_lpc_outb(*(ptr++), p); ptr 150 arch/powerpc/platforms/powernv/opal-lpc.c const __le16 *ptr = b; ptr 153 arch/powerpc/platforms/powernv/opal-lpc.c __opal_lpc_outw(*(ptr++), p); ptr 158 arch/powerpc/platforms/powernv/opal-lpc.c const __le32 *ptr = b; ptr 161 arch/powerpc/platforms/powernv/opal-lpc.c __opal_lpc_outl(*(ptr++), p); ptr 567 arch/powerpc/platforms/ps3/system-bus.c void *ptr = page_address(page) + offset; ptr 569 arch/powerpc/platforms/ps3/system-bus.c result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size, ptr 591 arch/powerpc/platforms/ps3/system-bus.c void *ptr = page_address(page) + offset; ptr 608 arch/powerpc/platforms/ps3/system-bus.c result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size, ptr 852 arch/powerpc/platforms/pseries/setup.c char *ptr, *key, *value, *end; ptr 873 arch/powerpc/platforms/pseries/setup.c ptr = rtas_data_buf + 2; /* step over strlen value */ ptr 874 arch/powerpc/platforms/pseries/setup.c key = value = ptr; ptr 876 arch/powerpc/platforms/pseries/setup.c while (*ptr && (ptr <= end)) { ptr 880 arch/powerpc/platforms/pseries/setup.c if (ptr[0] == '=') { ptr 881 arch/powerpc/platforms/pseries/setup.c ptr[0] = '\0'; ptr 882 arch/powerpc/platforms/pseries/setup.c value = ptr + 1; ptr 883 arch/powerpc/platforms/pseries/setup.c } else if (ptr[0] == '\0' || ptr[0] == ',') { ptr 885 arch/powerpc/platforms/pseries/setup.c ptr[0] = '\0'; ptr 899 arch/powerpc/platforms/pseries/setup.c value = key = ptr + 1; ptr 901 arch/powerpc/platforms/pseries/setup.c ptr++; ptr 59 arch/powerpc/sysdev/fsl_85xx_cache_sram.c void mpc85xx_cache_sram_free(void *ptr) ptr 62 arch/powerpc/sysdev/fsl_85xx_cache_sram.c BUG_ON(!ptr); ptr 65 arch/powerpc/sysdev/fsl_85xx_cache_sram.c rh_free(cache_sram->rh, ptr - cache_sram->base_virt); ptr 38 arch/powerpc/xmon/nonstdio.c static int xmon_write(const char *ptr, int nb) ptr 41 arch/powerpc/xmon/nonstdio.c const char *p = ptr, *q; ptr 80 arch/powerpc/xmon/nonstdio.c return rv + udbg_write(p, nb - (p - ptr)); ptr 3474 arch/powerpc/xmon/xmon.c void __percpu *ptr = NULL; ptr 3503 arch/powerpc/xmon/xmon.c ptr = (void __percpu *)kallsyms_lookup_name(tmp); ptr 3507 arch/powerpc/xmon/xmon.c if (ptr && ptr 3508 arch/powerpc/xmon/xmon.c ptr >= (void __percpu *)__per_cpu_start && ptr 3509 arch/powerpc/xmon/xmon.c ptr < (void __percpu *)__per_cpu_end) ptr 3512 arch/powerpc/xmon/xmon.c addr = (unsigned long)per_cpu_ptr(ptr, cpu); ptr 3515 arch/powerpc/xmon/xmon.c addr = (unsigned long)this_cpu_ptr(ptr); ptr 14 arch/riscv/include/asm/cmpxchg.h #define __xchg_relaxed(ptr, new, size) \ ptr 16 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 18 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 40 arch/riscv/include/asm/cmpxchg.h #define xchg_relaxed(ptr, x) \ ptr 42 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 43 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg_relaxed((ptr), \ ptr 44 arch/riscv/include/asm/cmpxchg.h _x_, sizeof(*(ptr))); \ ptr 47 arch/riscv/include/asm/cmpxchg.h #define __xchg_acquire(ptr, new, size) \ ptr 49 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 51 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 75 arch/riscv/include/asm/cmpxchg.h #define xchg_acquire(ptr, x) \ ptr 77 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 78 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg_acquire((ptr), \ ptr 79 arch/riscv/include/asm/cmpxchg.h _x_, sizeof(*(ptr))); \ ptr 82 arch/riscv/include/asm/cmpxchg.h #define __xchg_release(ptr, new, size) \ ptr 84 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 86 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 110 arch/riscv/include/asm/cmpxchg.h #define xchg_release(ptr, x) \ ptr 112 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 113 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg_release((ptr), \ ptr 114 arch/riscv/include/asm/cmpxchg.h _x_, sizeof(*(ptr))); \ ptr 117 arch/riscv/include/asm/cmpxchg.h #define __xchg(ptr, new, size) \ ptr 119 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 121 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 143 arch/riscv/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 145 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _x_ = (x); \ ptr 146 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __xchg((ptr), _x_, sizeof(*(ptr))); \ ptr 149 arch/riscv/include/asm/cmpxchg.h #define xchg32(ptr, x) \ ptr 151 arch/riscv/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 4); \ ptr 152 arch/riscv/include/asm/cmpxchg.h xchg((ptr), (x)); \ ptr 155 arch/riscv/include/asm/cmpxchg.h #define xchg64(ptr, x) \ ptr 157 arch/riscv/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 158 arch/riscv/include/asm/cmpxchg.h xchg((ptr), (x)); \ ptr 166 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg_relaxed(ptr, old, new, size) \ ptr 168 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 169 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 170 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 171 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 202 arch/riscv/include/asm/cmpxchg.h #define cmpxchg_relaxed(ptr, o, n) \ ptr 204 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 205 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 206 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_relaxed((ptr), \ ptr 207 arch/riscv/include/asm/cmpxchg.h _o_, _n_, sizeof(*(ptr))); \ ptr 210 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg_acquire(ptr, old, new, size) \ ptr 212 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 213 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 214 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 215 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 248 arch/riscv/include/asm/cmpxchg.h #define cmpxchg_acquire(ptr, o, n) \ ptr 250 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 251 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 252 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_acquire((ptr), \ ptr 253 arch/riscv/include/asm/cmpxchg.h _o_, _n_, sizeof(*(ptr))); \ ptr 256 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg_release(ptr, old, new, size) \ ptr 258 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 259 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 260 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 261 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 294 arch/riscv/include/asm/cmpxchg.h #define cmpxchg_release(ptr, o, n) \ ptr 296 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 297 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 298 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg_release((ptr), \ ptr 299 arch/riscv/include/asm/cmpxchg.h _o_, _n_, sizeof(*(ptr))); \ ptr 302 arch/riscv/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size) \ ptr 304 arch/riscv/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 305 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 306 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 307 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 340 arch/riscv/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 342 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 343 arch/riscv/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 344 arch/riscv/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg((ptr), \ ptr 345 arch/riscv/include/asm/cmpxchg.h _o_, _n_, sizeof(*(ptr))); \ ptr 348 arch/riscv/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 349 arch/riscv/include/asm/cmpxchg.h (__cmpxchg_relaxed((ptr), (o), (n), sizeof(*(ptr)))) ptr 351 arch/riscv/include/asm/cmpxchg.h #define cmpxchg32(ptr, o, n) \ ptr 353 arch/riscv/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 4); \ ptr 354 arch/riscv/include/asm/cmpxchg.h cmpxchg((ptr), (o), (n)); \ ptr 357 arch/riscv/include/asm/cmpxchg.h #define cmpxchg32_local(ptr, o, n) \ ptr 359 arch/riscv/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 4); \ ptr 360 arch/riscv/include/asm/cmpxchg.h cmpxchg_relaxed((ptr), (o), (n)) \ ptr 363 arch/riscv/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) \ ptr 365 arch/riscv/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 366 arch/riscv/include/asm/cmpxchg.h cmpxchg((ptr), (o), (n)); \ ptr 369 arch/riscv/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) \ ptr 371 arch/riscv/include/asm/cmpxchg.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 372 arch/riscv/include/asm/cmpxchg.h cmpxchg_relaxed((ptr), (o), (n)); \ ptr 105 arch/riscv/include/asm/uaccess.h #define __get_user_asm(insn, x, ptr, err) \ ptr 126 arch/riscv/include/asm/uaccess.h : "m" (*(ptr)), "i" (-EFAULT)); \ ptr 132 arch/riscv/include/asm/uaccess.h #define __get_user_8(x, ptr, err) \ ptr 133 arch/riscv/include/asm/uaccess.h __get_user_asm("ld", x, ptr, err) ptr 135 arch/riscv/include/asm/uaccess.h #define __get_user_8(x, ptr, err) \ ptr 137 arch/riscv/include/asm/uaccess.h u32 __user *__ptr = (u32 __user *)(ptr); \ ptr 191 arch/riscv/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 194 arch/riscv/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 232 arch/riscv/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 234 arch/riscv/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__p = (ptr); \ ptr 241 arch/riscv/include/asm/uaccess.h #define __put_user_asm(insn, x, ptr, err) \ ptr 244 arch/riscv/include/asm/uaccess.h __typeof__(*(ptr)) __x = x; \ ptr 260 arch/riscv/include/asm/uaccess.h : "+r" (err), "=r" (__tmp), "=m" (*(ptr)) \ ptr 266 arch/riscv/include/asm/uaccess.h #define __put_user_8(x, ptr, err) \ ptr 267 arch/riscv/include/asm/uaccess.h __put_user_asm("sd", x, ptr, err) ptr 269 arch/riscv/include/asm/uaccess.h #define __put_user_8(x, ptr, err) \ ptr 271 arch/riscv/include/asm/uaccess.h u32 __user *__ptr = (u32 __user *)(ptr); \ ptr 320 arch/riscv/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 323 arch/riscv/include/asm/uaccess.h __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \ ptr 360 arch/riscv/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 362 arch/riscv/include/asm/uaccess.h __typeof__(*(ptr)) __user *__p = (ptr); \ ptr 408 arch/riscv/include/asm/uaccess.h #define __cmpxchg_user(ptr, old, new, err, size, lrb, scb) \ ptr 410 arch/riscv/include/asm/uaccess.h __typeof__(ptr) __ptr = (ptr); \ ptr 411 arch/riscv/include/asm/uaccess.h __typeof__(*(ptr)) __old = (old); \ ptr 412 arch/riscv/include/asm/uaccess.h __typeof__(*(ptr)) __new = (new); \ ptr 413 arch/riscv/include/asm/uaccess.h __typeof__(*(ptr)) __ret; \ ptr 438 arch/riscv/include/asm/uaccess.h [ptr] "+A" (*__ptr), \ ptr 464 arch/riscv/include/asm/uaccess.h [ptr] "+A" (*__ptr), \ ptr 78 arch/s390/boot/ipl_report.c struct ipl_rb_component_entry *comp, *ptr; ptr 80 arch/s390/boot/ipl_report.c ptr = (struct ipl_rb_component_entry *) early_ipl_comp_list_addr; ptr 82 arch/s390/boot/ipl_report.c memcpy(ptr++, comp, sizeof(*ptr)); ptr 88 arch/s390/boot/ipl_report.c void *ptr; ptr 90 arch/s390/boot/ipl_report.c ptr = (void *) ipl_cert_list_addr; ptr 92 arch/s390/boot/ipl_report.c *(unsigned int *) ptr = cert->len; ptr 93 arch/s390/boot/ipl_report.c ptr += sizeof(unsigned int); ptr 94 arch/s390/boot/ipl_report.c memcpy(ptr, (void *) cert->addr, cert->len); ptr 95 arch/s390/boot/ipl_report.c ptr += cert->len; ptr 67 arch/s390/crypto/aes_s390.c u8 *ptr; ptr 875 arch/s390/crypto/aes_s390.c gw->ptr = gw->buf; ptr 881 arch/s390/crypto/aes_s390.c gw->ptr = NULL; ptr 887 arch/s390/crypto/aes_s390.c gw->ptr = NULL; ptr 893 arch/s390/crypto/aes_s390.c gw->ptr = gw->walk_ptr; ptr 904 arch/s390/crypto/aes_s390.c gw->ptr = gw->buf; ptr 909 arch/s390/crypto/aes_s390.c gw->ptr = NULL; ptr 922 arch/s390/crypto/aes_s390.c gw->ptr = NULL; ptr 928 arch/s390/crypto/aes_s390.c gw->ptr = NULL; ptr 934 arch/s390/crypto/aes_s390.c gw->ptr = gw->walk_ptr; ptr 942 arch/s390/crypto/aes_s390.c gw->ptr = gw->buf; ptr 951 arch/s390/crypto/aes_s390.c if (gw->ptr == NULL) ptr 954 arch/s390/crypto/aes_s390.c if (gw->ptr == gw->buf) { ptr 971 arch/s390/crypto/aes_s390.c if (gw->ptr == NULL) ptr 974 arch/s390/crypto/aes_s390.c if (gw->ptr == gw->buf) { ptr 1062 arch/s390/crypto/aes_s390.c memcpy(gw_out.ptr, gw_in.ptr, aad_bytes); ptr 1065 arch/s390/crypto/aes_s390.c gw_out.ptr + aad_bytes, ptr 1066 arch/s390/crypto/aes_s390.c gw_in.ptr + aad_bytes, pc_bytes, ptr 1067 arch/s390/crypto/aes_s390.c gw_in.ptr, aad_bytes); ptr 234 arch/s390/hypfs/hypfs_diag.c static void *page_align_ptr(void *ptr) ptr 236 arch/s390/hypfs/hypfs_diag.c return (void *) PAGE_ALIGN((unsigned long) ptr); ptr 574 arch/s390/hypfs/hypfs_diag.c void *buffer, *ptr; ptr 596 arch/s390/hypfs/hypfs_diag.c ptr = hypfs_create_phys_files(root, part_hdr); ptr 597 arch/s390/hypfs/hypfs_diag.c if (IS_ERR(ptr)) { ptr 598 arch/s390/hypfs/hypfs_diag.c rc = PTR_ERR(ptr); ptr 607 arch/s390/hypfs/hypfs_diag.c ptr = hypfs_create_str(hyp_dir, "type", "LPAR Hypervisor"); ptr 608 arch/s390/hypfs/hypfs_diag.c if (IS_ERR(ptr)) { ptr 609 arch/s390/hypfs/hypfs_diag.c rc = PTR_ERR(ptr); ptr 36 arch/s390/include/asm/airq.h unsigned long *ptr; /* Pointer associated with each bit */ ptr 97 arch/s390/include/asm/airq.h unsigned long ptr) ptr 99 arch/s390/include/asm/airq.h iv->ptr[bit] = ptr; ptr 105 arch/s390/include/asm/airq.h return iv->ptr[bit]; ptr 14 arch/s390/include/asm/atomic_ops.h static inline op_type op_name(op_type val, op_type *ptr) \ ptr 21 arch/s390/include/asm/atomic_ops.h : [old] "=d" (old), [ptr] "+Q" (*ptr) \ ptr 44 arch/s390/include/asm/atomic_ops.h static __always_inline void op_name(op_type val, op_type *ptr) \ ptr 49 arch/s390/include/asm/atomic_ops.h : [ptr] "+Q" (*ptr) : [val] "i" (val) : "cc", "memory");\ ptr 65 arch/s390/include/asm/atomic_ops.h static inline int op_name(int val, int *ptr) \ ptr 74 arch/s390/include/asm/atomic_ops.h : [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\ ptr 75 arch/s390/include/asm/atomic_ops.h : [val] "d" (val), "0" (*ptr) : "cc", "memory"); \ ptr 91 arch/s390/include/asm/atomic_ops.h static inline long op_name(long val, long *ptr) \ ptr 100 arch/s390/include/asm/atomic_ops.h : [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\ ptr 101 arch/s390/include/asm/atomic_ops.h : [val] "d" (val), "0" (*ptr) : "cc", "memory"); \ ptr 116 arch/s390/include/asm/atomic_ops.h #define __atomic_add_const(val, ptr) __atomic_add(val, ptr) ptr 117 arch/s390/include/asm/atomic_ops.h #define __atomic_add_const_barrier(val, ptr) __atomic_add(val, ptr) ptr 118 arch/s390/include/asm/atomic_ops.h #define __atomic64_add_const(val, ptr) __atomic64_add(val, ptr) ptr 119 arch/s390/include/asm/atomic_ops.h #define __atomic64_add_const_barrier(val, ptr) __atomic64_add(val, ptr) ptr 123 arch/s390/include/asm/atomic_ops.h static inline int __atomic_cmpxchg(int *ptr, int old, int new) ptr 125 arch/s390/include/asm/atomic_ops.h return __sync_val_compare_and_swap(ptr, old, new); ptr 128 arch/s390/include/asm/atomic_ops.h static inline int __atomic_cmpxchg_bool(int *ptr, int old, int new) ptr 130 arch/s390/include/asm/atomic_ops.h return __sync_bool_compare_and_swap(ptr, old, new); ptr 133 arch/s390/include/asm/atomic_ops.h static inline long __atomic64_cmpxchg(long *ptr, long old, long new) ptr 135 arch/s390/include/asm/atomic_ops.h return __sync_val_compare_and_swap(ptr, old, new); ptr 138 arch/s390/include/asm/atomic_ops.h static inline long __atomic64_cmpxchg_bool(long *ptr, long old, long new) ptr 140 arch/s390/include/asm/atomic_ops.h return __sync_bool_compare_and_swap(ptr, old, new); ptr 45 arch/s390/include/asm/bitops.h __bitops_word(unsigned long nr, volatile unsigned long *ptr) ptr 49 arch/s390/include/asm/bitops.h addr = (unsigned long)ptr + ((nr ^ (nr & (BITS_PER_LONG - 1))) >> 3); ptr 54 arch/s390/include/asm/bitops.h __bitops_byte(unsigned long nr, volatile unsigned long *ptr) ptr 56 arch/s390/include/asm/bitops.h return ((unsigned char *)ptr) + ((nr ^ (BITS_PER_LONG - 8)) >> 3); ptr 59 arch/s390/include/asm/bitops.h static __always_inline void arch_set_bit(unsigned long nr, volatile unsigned long *ptr) ptr 61 arch/s390/include/asm/bitops.h unsigned long *addr = __bitops_word(nr, ptr); ptr 66 arch/s390/include/asm/bitops.h unsigned char *caddr = __bitops_byte(nr, ptr); ptr 80 arch/s390/include/asm/bitops.h static __always_inline void arch_clear_bit(unsigned long nr, volatile unsigned long *ptr) ptr 82 arch/s390/include/asm/bitops.h unsigned long *addr = __bitops_word(nr, ptr); ptr 87 arch/s390/include/asm/bitops.h unsigned char *caddr = __bitops_byte(nr, ptr); ptr 102 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 104 arch/s390/include/asm/bitops.h unsigned long *addr = __bitops_word(nr, ptr); ptr 109 arch/s390/include/asm/bitops.h unsigned char *caddr = __bitops_byte(nr, ptr); ptr 124 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 126 arch/s390/include/asm/bitops.h unsigned long *addr = __bitops_word(nr, ptr); ptr 135 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 137 arch/s390/include/asm/bitops.h unsigned long *addr = __bitops_word(nr, ptr); ptr 146 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 148 arch/s390/include/asm/bitops.h unsigned long *addr = __bitops_word(nr, ptr); ptr 156 arch/s390/include/asm/bitops.h static inline void arch___set_bit(unsigned long nr, volatile unsigned long *ptr) ptr 158 arch/s390/include/asm/bitops.h unsigned char *addr = __bitops_byte(nr, ptr); ptr 164 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 166 arch/s390/include/asm/bitops.h unsigned char *addr = __bitops_byte(nr, ptr); ptr 172 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 174 arch/s390/include/asm/bitops.h unsigned char *addr = __bitops_byte(nr, ptr); ptr 180 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 182 arch/s390/include/asm/bitops.h unsigned char *addr = __bitops_byte(nr, ptr); ptr 191 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 193 arch/s390/include/asm/bitops.h unsigned char *addr = __bitops_byte(nr, ptr); ptr 202 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 204 arch/s390/include/asm/bitops.h unsigned char *addr = __bitops_byte(nr, ptr); ptr 213 arch/s390/include/asm/bitops.h const volatile unsigned long *ptr) ptr 217 arch/s390/include/asm/bitops.h addr = ((const volatile unsigned char *)ptr); ptr 223 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 225 arch/s390/include/asm/bitops.h if (arch_test_bit(nr, ptr)) ptr 227 arch/s390/include/asm/bitops.h return arch_test_and_set_bit(nr, ptr); ptr 231 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 234 arch/s390/include/asm/bitops.h arch_clear_bit(nr, ptr); ptr 238 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 241 arch/s390/include/asm/bitops.h arch___clear_bit(nr, ptr); ptr 260 arch/s390/include/asm/bitops.h static inline void set_bit_inv(unsigned long nr, volatile unsigned long *ptr) ptr 262 arch/s390/include/asm/bitops.h return set_bit(nr ^ (BITS_PER_LONG - 1), ptr); ptr 265 arch/s390/include/asm/bitops.h static inline void clear_bit_inv(unsigned long nr, volatile unsigned long *ptr) ptr 267 arch/s390/include/asm/bitops.h return clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); ptr 271 arch/s390/include/asm/bitops.h volatile unsigned long *ptr) ptr 273 arch/s390/include/asm/bitops.h return test_and_clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); ptr 276 arch/s390/include/asm/bitops.h static inline void __set_bit_inv(unsigned long nr, volatile unsigned long *ptr) ptr 278 arch/s390/include/asm/bitops.h return __set_bit(nr ^ (BITS_PER_LONG - 1), ptr); ptr 281 arch/s390/include/asm/bitops.h static inline void __clear_bit_inv(unsigned long nr, volatile unsigned long *ptr) ptr 283 arch/s390/include/asm/bitops.h return __clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); ptr 287 arch/s390/include/asm/bitops.h const volatile unsigned long *ptr) ptr 289 arch/s390/include/asm/bitops.h return test_bit(nr ^ (BITS_PER_LONG - 1), ptr); ptr 15 arch/s390/include/asm/cmpxchg.h #define cmpxchg(ptr, o, n) \ ptr 17 arch/s390/include/asm/cmpxchg.h __typeof__(*(ptr)) __o = (o); \ ptr 18 arch/s390/include/asm/cmpxchg.h __typeof__(*(ptr)) __n = (n); \ ptr 19 arch/s390/include/asm/cmpxchg.h (__typeof__(*(ptr))) __sync_val_compare_and_swap((ptr),__o,__n);\ ptr 26 arch/s390/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 28 arch/s390/include/asm/cmpxchg.h __typeof__(ptr) __ptr = (ptr); \ ptr 29 arch/s390/include/asm/cmpxchg.h __typeof__(*(ptr)) __old; \ ptr 49 arch/s390/include/asm/cmpxchg.h [ptr] "Q" (*(p1)), "Q" (*(p2)) \ ptr 19 arch/s390/include/asm/cputime.h #define cmpxchg_cputime(ptr, old, new) cmpxchg64(ptr, old, new) ptr 309 arch/s390/include/asm/diag.h int diag224(void *ptr); ptr 20 arch/s390/include/asm/facility.h unsigned char *ptr = (unsigned char *) facilities; ptr 24 arch/s390/include/asm/facility.h ptr[nr >> 3] |= 0x80 >> (nr & 7); ptr 29 arch/s390/include/asm/facility.h unsigned char *ptr = (unsigned char *) facilities; ptr 33 arch/s390/include/asm/facility.h ptr[nr >> 3] &= ~(0x80 >> (nr & 7)); ptr 38 arch/s390/include/asm/facility.h unsigned char *ptr; ptr 42 arch/s390/include/asm/facility.h ptr = (unsigned char *) facilities + (nr >> 3); ptr 43 arch/s390/include/asm/facility.h return (*ptr & (0x80 >> (nr & 7))) != 0; ptr 36 arch/s390/include/asm/os_info.h void os_info_entry_add(int nr, void *ptr, u64 len); ptr 85 arch/s390/include/asm/pci_dma.h static inline unsigned int calc_rtx(dma_addr_t ptr) ptr 87 arch/s390/include/asm/pci_dma.h return ((unsigned long) ptr >> ZPCI_RT_SHIFT) & ZPCI_INDEX_MASK; ptr 90 arch/s390/include/asm/pci_dma.h static inline unsigned int calc_sx(dma_addr_t ptr) ptr 92 arch/s390/include/asm/pci_dma.h return ((unsigned long) ptr >> ZPCI_ST_SHIFT) & ZPCI_INDEX_MASK; ptr 95 arch/s390/include/asm/pci_dma.h static inline unsigned int calc_px(dma_addr_t ptr) ptr 97 arch/s390/include/asm/pci_dma.h return ((unsigned long) ptr >> PAGE_SHIFT) & ZPCI_PT_MASK; ptr 548 arch/s390/include/asm/pgtable.h static inline void csp(unsigned int *ptr, unsigned int old, unsigned int new) ptr 552 arch/s390/include/asm/pgtable.h unsigned long address = (unsigned long)ptr | 1; ptr 556 arch/s390/include/asm/pgtable.h : "+d" (reg2), "+m" (*ptr) ptr 561 arch/s390/include/asm/pgtable.h static inline void cspg(unsigned long *ptr, unsigned long old, unsigned long new) ptr 565 arch/s390/include/asm/pgtable.h unsigned long address = (unsigned long)ptr | 1; ptr 569 arch/s390/include/asm/pgtable.h : "+d" (reg2), "+m" (*ptr) ptr 77 arch/s390/include/asm/processor.h static inline void get_cpu_id(struct cpuid *ptr) ptr 79 arch/s390/include/asm/processor.h asm volatile("stidp %0" : "=Q" (*ptr)); ptr 83 arch/s390/include/asm/timex.h unsigned char *ptr; ptr 85 arch/s390/include/asm/timex.h ptr = ptff_function_mask + (nr >> 3); ptr 86 arch/s390/include/asm/timex.h return (*ptr & (0x80 >> (nr & 7))) != 0; ptr 61 arch/s390/include/asm/trace/zcrypt.h TP_PROTO(void *ptr, u32 type), ptr 62 arch/s390/include/asm/trace/zcrypt.h TP_ARGS(ptr, type), ptr 64 arch/s390/include/asm/trace/zcrypt.h __field(void *, ptr) ptr 67 arch/s390/include/asm/trace/zcrypt.h __entry->ptr = ptr; ptr 70 arch/s390/include/asm/trace/zcrypt.h __entry->ptr, ptr 91 arch/s390/include/asm/trace/zcrypt.h TP_PROTO(void *ptr, u32 fc, u32 rc, u16 dev, u16 dom), ptr 92 arch/s390/include/asm/trace/zcrypt.h TP_ARGS(ptr, fc, rc, dev, dom), ptr 94 arch/s390/include/asm/trace/zcrypt.h __field(void *, ptr) ptr 100 arch/s390/include/asm/trace/zcrypt.h __entry->ptr = ptr; ptr 106 arch/s390/include/asm/trace/zcrypt.h __entry->ptr, ptr 86 arch/s390/include/asm/uaccess.h static __always_inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) ptr 93 arch/s390/include/asm/uaccess.h rc = __put_get_user_asm((unsigned char __user *)ptr, ptr 98 arch/s390/include/asm/uaccess.h rc = __put_get_user_asm((unsigned short __user *)ptr, ptr 103 arch/s390/include/asm/uaccess.h rc = __put_get_user_asm((unsigned int __user *)ptr, ptr 108 arch/s390/include/asm/uaccess.h rc = __put_get_user_asm((unsigned long __user *)ptr, ptr 116 arch/s390/include/asm/uaccess.h static __always_inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) ptr 124 arch/s390/include/asm/uaccess.h (unsigned char __user *)ptr, ptr 129 arch/s390/include/asm/uaccess.h (unsigned short __user *)ptr, ptr 134 arch/s390/include/asm/uaccess.h (unsigned int __user *)ptr, ptr 139 arch/s390/include/asm/uaccess.h (unsigned long __user *)ptr, ptr 148 arch/s390/include/asm/uaccess.h static inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) ptr 150 arch/s390/include/asm/uaccess.h size = raw_copy_to_user(ptr, x, size); ptr 154 arch/s390/include/asm/uaccess.h static inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) ptr 156 arch/s390/include/asm/uaccess.h size = raw_copy_from_user(x, ptr, size); ptr 166 arch/s390/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 168 arch/s390/include/asm/uaccess.h __typeof__(*(ptr)) __x = (x); \ ptr 170 arch/s390/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 171 arch/s390/include/asm/uaccess.h switch (sizeof (*(ptr))) { \ ptr 176 arch/s390/include/asm/uaccess.h __pu_err = __put_user_fn(&__x, ptr, \ ptr 177 arch/s390/include/asm/uaccess.h sizeof(*(ptr))); \ ptr 186 arch/s390/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 189 arch/s390/include/asm/uaccess.h __put_user(x, ptr); \ ptr 195 arch/s390/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 198 arch/s390/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 199 arch/s390/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 202 arch/s390/include/asm/uaccess.h __gu_err = __get_user_fn(&__x, ptr, \ ptr 203 arch/s390/include/asm/uaccess.h sizeof(*(ptr))); \ ptr 204 arch/s390/include/asm/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 209 arch/s390/include/asm/uaccess.h __gu_err = __get_user_fn(&__x, ptr, \ ptr 210 arch/s390/include/asm/uaccess.h sizeof(*(ptr))); \ ptr 211 arch/s390/include/asm/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 216 arch/s390/include/asm/uaccess.h __gu_err = __get_user_fn(&__x, ptr, \ ptr 217 arch/s390/include/asm/uaccess.h sizeof(*(ptr))); \ ptr 218 arch/s390/include/asm/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 223 arch/s390/include/asm/uaccess.h __gu_err = __get_user_fn(&__x, ptr, \ ptr 224 arch/s390/include/asm/uaccess.h sizeof(*(ptr))); \ ptr 225 arch/s390/include/asm/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 235 arch/s390/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 238 arch/s390/include/asm/uaccess.h __get_user(x, ptr); \ ptr 114 arch/s390/include/uapi/asm/qeth.h __u64 ptr; ptr 62 arch/s390/kernel/compat_linux.c compat_ulong_t, third, compat_uptr_t, ptr) ptr 66 arch/s390/kernel/compat_linux.c return compat_ksys_ipc(call, first, second, third, ptr, third); ptr 358 arch/s390/kernel/crash_dump.c static void *fill_cpu_elf_notes(void *ptr, int cpu, struct save_area *sa) ptr 374 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_PRSTATUS, &nt_prstatus, sizeof(nt_prstatus)); ptr 375 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_PRFPREG, &nt_fpregset, sizeof(nt_fpregset)); ptr 376 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_TIMER, &sa->timer, sizeof(sa->timer)); ptr 377 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_TODCMP, &sa->todcmp, sizeof(sa->todcmp)); ptr 378 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_TODPREG, &sa->todpreg, sizeof(sa->todpreg)); ptr 379 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_CTRS, &sa->ctrs, sizeof(sa->ctrs)); ptr 380 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_PREFIX, &sa->prefix, sizeof(sa->prefix)); ptr 382 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_VXRS_HIGH, ptr 384 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_VXRS_LOW, ptr 387 arch/s390/kernel/crash_dump.c return ptr; ptr 416 arch/s390/kernel/crash_dump.c static void *nt_prpsinfo(void *ptr) ptr 423 arch/s390/kernel/crash_dump.c return nt_init(ptr, NT_PRPSINFO, &prpsinfo, sizeof(prpsinfo)); ptr 459 arch/s390/kernel/crash_dump.c static void *nt_vmcoreinfo(void *ptr) ptr 467 arch/s390/kernel/crash_dump.c return nt_init_name(ptr, 0, vmcoreinfo, size, name); ptr 471 arch/s390/kernel/crash_dump.c return ptr; ptr 472 arch/s390/kernel/crash_dump.c ptr = nt_init_name(ptr, 0, vmcoreinfo, size, name); ptr 474 arch/s390/kernel/crash_dump.c return ptr; ptr 498 arch/s390/kernel/crash_dump.c static void *nt_final(void *ptr) ptr 502 arch/s390/kernel/crash_dump.c note = (Elf64_Nhdr *) ptr; ptr 506 arch/s390/kernel/crash_dump.c return PTR_ADD(ptr, sizeof(Elf64_Nhdr)); ptr 583 arch/s390/kernel/crash_dump.c static void *notes_init(Elf64_Phdr *phdr, void *ptr, u64 notes_offset) ptr 586 arch/s390/kernel/crash_dump.c void *ptr_start = ptr; ptr 589 arch/s390/kernel/crash_dump.c ptr = nt_prpsinfo(ptr); ptr 594 arch/s390/kernel/crash_dump.c ptr = fill_cpu_elf_notes(ptr, cpu++, sa); ptr 595 arch/s390/kernel/crash_dump.c ptr = nt_vmcoreinfo(ptr); ptr 596 arch/s390/kernel/crash_dump.c ptr = nt_final(ptr); ptr 600 arch/s390/kernel/crash_dump.c phdr->p_filesz = (unsigned long) PTR_SUB(ptr, ptr_start); ptr 602 arch/s390/kernel/crash_dump.c return ptr; ptr 633 arch/s390/kernel/crash_dump.c void *ptr, *hdr; ptr 665 arch/s390/kernel/crash_dump.c ptr = ehdr_init(hdr, mem_chunk_cnt); ptr 667 arch/s390/kernel/crash_dump.c phdr_notes = ptr; ptr 668 arch/s390/kernel/crash_dump.c ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr)); ptr 669 arch/s390/kernel/crash_dump.c phdr_loads = ptr; ptr 670 arch/s390/kernel/crash_dump.c ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); ptr 672 arch/s390/kernel/crash_dump.c hdr_off = PTR_DIFF(ptr, hdr); ptr 673 arch/s390/kernel/crash_dump.c ptr = notes_init(phdr_notes, ptr, ((unsigned long) hdr) + hdr_off); ptr 675 arch/s390/kernel/crash_dump.c hdr_off = PTR_DIFF(ptr, hdr); ptr 199 arch/s390/kernel/diag.c int diag224(void *ptr) ptr 209 arch/s390/kernel/diag.c : "+d" (rc) :"d" (0), "d" (ptr) : "memory"); ptr 428 arch/s390/kernel/dis.c char *ptr; ptr 431 arch/s390/kernel/dis.c ptr = buffer; ptr 435 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%.7s\t", ptr 438 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%.5s\t", insn->name); ptr 453 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%c", separator); ptr 455 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%%r%i", value); ptr 457 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%%f%i", value); ptr 459 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%%a%i", value); ptr 461 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%%c%i", value); ptr 463 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%%v%i", value); ptr 467 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%px", pcrel); ptr 469 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%i", value); ptr 471 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%u", value); ptr 475 arch/s390/kernel/dis.c ptr += sprintf(ptr, ")"); ptr 481 arch/s390/kernel/dis.c ptr += sprintf(ptr, "unknown"); ptr 482 arch/s390/kernel/dis.c return (int) (ptr - buffer); ptr 489 arch/s390/kernel/dis.c char buffer[128], *ptr; ptr 528 arch/s390/kernel/dis.c ptr = buffer; ptr 529 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%s Code:", mode); ptr 534 arch/s390/kernel/dis.c *ptr++ = '#'; ptr 536 arch/s390/kernel/dis.c *ptr++ = '>'; ptr 538 arch/s390/kernel/dis.c *ptr++ = ' '; ptr 540 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%px: ", (void *)addr); ptr 544 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%02x", code[start + i]); ptr 545 arch/s390/kernel/dis.c *ptr++ = '\t'; ptr 547 arch/s390/kernel/dis.c *ptr++ = '\t'; ptr 548 arch/s390/kernel/dis.c ptr += print_insn(ptr, code + start, addr); ptr 551 arch/s390/kernel/dis.c ptr = buffer; ptr 552 arch/s390/kernel/dis.c ptr += sprintf(ptr, "\n "); ptr 560 arch/s390/kernel/dis.c char buffer[64], *ptr; ptr 564 arch/s390/kernel/dis.c ptr = buffer; ptr 568 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%px: ", code); ptr 570 arch/s390/kernel/dis.c ptr += sprintf(ptr, "%02x", code[i]); ptr 571 arch/s390/kernel/dis.c *ptr++ = '\t'; ptr 573 arch/s390/kernel/dis.c *ptr++ = '\t'; ptr 574 arch/s390/kernel/dis.c ptr += print_insn(ptr, code, (unsigned long) code); ptr 575 arch/s390/kernel/dis.c *ptr++ = '\n'; ptr 576 arch/s390/kernel/dis.c *ptr++ = 0; ptr 1782 arch/s390/kernel/ipl.c void *buf, *ptr; ptr 1787 arch/s390/kernel/ipl.c ptr = buf; ptr 1789 arch/s390/kernel/ipl.c memcpy(ptr, report->ipib, report->ipib->hdr.len); ptr 1790 arch/s390/kernel/ipl.c ipib = ptr; ptr 1794 arch/s390/kernel/ipl.c ptr += report->ipib->hdr.len; ptr 1795 arch/s390/kernel/ipl.c ptr = PTR_ALIGN(ptr, 8); ptr 1797 arch/s390/kernel/ipl.c rl_hdr = ptr; ptr 1798 arch/s390/kernel/ipl.c ptr += sizeof(*rl_hdr); ptr 1800 arch/s390/kernel/ipl.c comps = ptr; ptr 1802 arch/s390/kernel/ipl.c ptr += sizeof(*comps); ptr 1804 arch/s390/kernel/ipl.c memcpy(ptr, &comp->entry, sizeof(comp->entry)); ptr 1805 arch/s390/kernel/ipl.c ptr += sizeof(comp->entry); ptr 1807 arch/s390/kernel/ipl.c comps->len = ptr - (void *)comps; ptr 1809 arch/s390/kernel/ipl.c certs = ptr; ptr 1811 arch/s390/kernel/ipl.c ptr += sizeof(*certs); ptr 1813 arch/s390/kernel/ipl.c memcpy(ptr, &cert->entry, sizeof(cert->entry)); ptr 1814 arch/s390/kernel/ipl.c ptr += sizeof(cert->entry); ptr 1816 arch/s390/kernel/ipl.c certs->len = ptr - (void *)certs; ptr 1817 arch/s390/kernel/ipl.c rl_hdr->len = ptr - (void *)rl_hdr; ptr 1820 arch/s390/kernel/ipl.c memcpy(ptr, cert->key, cert->entry.len); ptr 1821 arch/s390/kernel/ipl.c ptr += cert->entry.len; ptr 1824 arch/s390/kernel/ipl.c BUG_ON(ptr > buf + report->size); ptr 45 arch/s390/kernel/machine_kexec.c void *ptr) ptr 172 arch/s390/kernel/machine_kexec_file.c void *ptr, *end; ptr 181 arch/s390/kernel/machine_kexec_file.c ptr = (void *)ipl_cert_list_addr; ptr 182 arch/s390/kernel/machine_kexec_file.c end = ptr + ipl_cert_list_size; ptr 184 arch/s390/kernel/machine_kexec_file.c while (ptr < end) { ptr 186 arch/s390/kernel/machine_kexec_file.c len = *(unsigned int *)ptr; ptr 187 arch/s390/kernel/machine_kexec_file.c ptr += sizeof(len); ptr 188 arch/s390/kernel/machine_kexec_file.c ptr += len; ptr 193 arch/s390/kernel/machine_kexec_file.c ptr = (void *)ipl_cert_list_addr; ptr 194 arch/s390/kernel/machine_kexec_file.c while (ptr < end) { ptr 195 arch/s390/kernel/machine_kexec_file.c len = *(unsigned int *)ptr; ptr 196 arch/s390/kernel/machine_kexec_file.c ptr += sizeof(len); ptr 197 arch/s390/kernel/machine_kexec_file.c ipl_report_add_certificate(data->report, ptr, addr, len); ptr 199 arch/s390/kernel/machine_kexec_file.c ptr += len; ptr 46 arch/s390/kernel/os_info.c void os_info_entry_add(int nr, void *ptr, u64 size) ptr 48 arch/s390/kernel/os_info.c os_info.entry[nr].addr = (u64)(unsigned long)ptr; ptr 50 arch/s390/kernel/os_info.c os_info.entry[nr].csum = (__force u32)csum_partial(ptr, size, 0); ptr 59 arch/s390/kernel/os_info.c void *ptr = &os_info; ptr 65 arch/s390/kernel/os_info.c mem_assign_absolute(S390_lowcore.os_info, (unsigned long) ptr); ptr 193 arch/s390/kernel/setup.c char *ptr; ptr 198 arch/s390/kernel/setup.c ptr = strstr(query_buffer, "SUBCHANNEL ="); ptr 199 arch/s390/kernel/setup.c console_irq = simple_strtoul(ptr + 13, NULL, 16); ptr 201 arch/s390/kernel/setup.c ptr = strstr(query_buffer, "CONMODE"); ptr 210 arch/s390/kernel/setup.c if (ptr == NULL) { ptr 216 arch/s390/kernel/setup.c if (str_has_prefix(ptr + 8, "3270")) { ptr 224 arch/s390/kernel/setup.c } else if (str_has_prefix(ptr + 8, "3215")) { ptr 1060 arch/s390/kernel/setup.c struct ipl_rb_component_entry *ptr, *end; ptr 1069 arch/s390/kernel/setup.c ptr = (void *) early_ipl_comp_list_addr; ptr 1070 arch/s390/kernel/setup.c end = (void *) ptr + early_ipl_comp_list_size; ptr 1072 arch/s390/kernel/setup.c while (ptr < end) { ptr 1073 arch/s390/kernel/setup.c if (ptr->flags & IPL_RB_COMPONENT_FLAG_SIGNED) { ptr 1074 arch/s390/kernel/setup.c if (ptr->flags & IPL_RB_COMPONENT_FLAG_VERIFIED) ptr 1082 arch/s390/kernel/setup.c ptr->addr, ptr->addr + ptr->len, str); ptr 1083 arch/s390/kernel/setup.c ptr++; ptr 176 arch/s390/kernel/suspend.c void *ptr) ptr 66 arch/s390/kernel/sys_s390.c unsigned long, third, void __user *, ptr) ptr 78 arch/s390/kernel/sys_s390.c return ksys_ipc(call, first, second, third, ptr, third); ptr 317 arch/s390/kernel/sysinfo.c struct service_level *ptr; ptr 320 arch/s390/kernel/sysinfo.c list_for_each_entry(ptr, &service_level_list, list) ptr 321 arch/s390/kernel/sysinfo.c if (ptr == slr) { ptr 333 arch/s390/kernel/sysinfo.c struct service_level *ptr, *next; ptr 337 arch/s390/kernel/sysinfo.c list_for_each_entry_safe(ptr, next, &service_level_list, list) { ptr 338 arch/s390/kernel/sysinfo.c if (ptr != slr) ptr 340 arch/s390/kernel/sysinfo.c list_del(&ptr->list); ptr 173 arch/s390/kernel/uprobes.c #define emu_load_ril(ptr, output) \ ptr 175 arch/s390/kernel/uprobes.c unsigned int mask = sizeof(*(ptr)) - 1; \ ptr 176 arch/s390/kernel/uprobes.c __typeof__(*(ptr)) input; \ ptr 181 arch/s390/kernel/uprobes.c else if ((u64 __force)ptr & mask) \ ptr 183 arch/s390/kernel/uprobes.c else if (get_user(input, ptr)) \ ptr 190 arch/s390/kernel/uprobes.c #define emu_store_ril(regs, ptr, input) \ ptr 192 arch/s390/kernel/uprobes.c unsigned int mask = sizeof(*(ptr)) - 1; \ ptr 193 arch/s390/kernel/uprobes.c __typeof__(ptr) __ptr = (ptr); \ ptr 209 arch/s390/kernel/uprobes.c #define emu_cmp_ril(regs, ptr, cmp) \ ptr 211 arch/s390/kernel/uprobes.c unsigned int mask = sizeof(*(ptr)) - 1; \ ptr 212 arch/s390/kernel/uprobes.c __typeof__(*(ptr)) input; \ ptr 217 arch/s390/kernel/uprobes.c else if ((u64 __force)ptr & mask) \ ptr 219 arch/s390/kernel/uprobes.c else if (get_user(input, ptr)) \ ptr 624 arch/s390/kvm/gaccess.c unsigned long ptr; ptr 633 arch/s390/kvm/gaccess.c ptr = asce.origin * PAGE_SIZE; ptr 638 arch/s390/kvm/gaccess.c ptr += vaddr.rfx * 8; ptr 645 arch/s390/kvm/gaccess.c ptr += vaddr.rsx * 8; ptr 652 arch/s390/kvm/gaccess.c ptr += vaddr.rtx * 8; ptr 659 arch/s390/kvm/gaccess.c ptr += vaddr.sx * 8; ptr 666 arch/s390/kvm/gaccess.c if (kvm_is_error_gpa(vcpu->kvm, ptr)) ptr 668 arch/s390/kvm/gaccess.c if (deref_table(vcpu->kvm, ptr, &rfte.val)) ptr 678 arch/s390/kvm/gaccess.c ptr = rfte.rto * PAGE_SIZE + vaddr.rsx * 8; ptr 684 arch/s390/kvm/gaccess.c if (kvm_is_error_gpa(vcpu->kvm, ptr)) ptr 686 arch/s390/kvm/gaccess.c if (deref_table(vcpu->kvm, ptr, &rste.val)) ptr 696 arch/s390/kvm/gaccess.c ptr = rste.rto * PAGE_SIZE + vaddr.rtx * 8; ptr 702 arch/s390/kvm/gaccess.c if (kvm_is_error_gpa(vcpu->kvm, ptr)) ptr 704 arch/s390/kvm/gaccess.c if (deref_table(vcpu->kvm, ptr, &rtte.val)) ptr 724 arch/s390/kvm/gaccess.c ptr = rtte.fc0.sto * PAGE_SIZE + vaddr.sx * 8; ptr 730 arch/s390/kvm/gaccess.c if (kvm_is_error_gpa(vcpu->kvm, ptr)) ptr 732 arch/s390/kvm/gaccess.c if (deref_table(vcpu->kvm, ptr, &ste.val)) ptr 747 arch/s390/kvm/gaccess.c ptr = ste.fc0.pto * (PAGE_SIZE / 2) + vaddr.px * 8; ptr 750 arch/s390/kvm/gaccess.c if (kvm_is_error_gpa(vcpu->kvm, ptr)) ptr 752 arch/s390/kvm/gaccess.c if (deref_table(vcpu->kvm, ptr, &pte.val)) ptr 989 arch/s390/kvm/gaccess.c unsigned long ptr; ptr 997 arch/s390/kvm/gaccess.c ptr = asce.origin * PAGE_SIZE; ptr 1000 arch/s390/kvm/gaccess.c ptr = 0; ptr 1033 arch/s390/kvm/gaccess.c ptr += vaddr.rfx * _REGION1_SIZE; ptr 1034 arch/s390/kvm/gaccess.c rfte.val = ptr; ptr 1037 arch/s390/kvm/gaccess.c rc = gmap_read_table(parent, ptr + vaddr.rfx * 8, &rfte.val); ptr 1048 arch/s390/kvm/gaccess.c ptr = rfte.rto * PAGE_SIZE; ptr 1058 arch/s390/kvm/gaccess.c ptr += vaddr.rsx * _REGION2_SIZE; ptr 1059 arch/s390/kvm/gaccess.c rste.val = ptr; ptr 1062 arch/s390/kvm/gaccess.c rc = gmap_read_table(parent, ptr + vaddr.rsx * 8, &rste.val); ptr 1073 arch/s390/kvm/gaccess.c ptr = rste.rto * PAGE_SIZE; ptr 1084 arch/s390/kvm/gaccess.c ptr += vaddr.rtx * _REGION3_SIZE; ptr 1085 arch/s390/kvm/gaccess.c rtte.val = ptr; ptr 1088 arch/s390/kvm/gaccess.c rc = gmap_read_table(parent, ptr + vaddr.rtx * 8, &rtte.val); ptr 1100 arch/s390/kvm/gaccess.c ptr = rtte.fc1.rfaa * _REGION3_SIZE; ptr 1101 arch/s390/kvm/gaccess.c rtte.val = ptr; ptr 1108 arch/s390/kvm/gaccess.c ptr = rtte.fc0.sto * PAGE_SIZE; ptr 1119 arch/s390/kvm/gaccess.c ptr += vaddr.sx * _SEGMENT_SIZE; ptr 1120 arch/s390/kvm/gaccess.c ste.val = ptr; ptr 1123 arch/s390/kvm/gaccess.c rc = gmap_read_table(parent, ptr + vaddr.sx * 8, &ste.val); ptr 1135 arch/s390/kvm/gaccess.c ptr = ste.fc1.sfaa * _SEGMENT_SIZE; ptr 1136 arch/s390/kvm/gaccess.c ste.val = ptr; ptr 1139 arch/s390/kvm/gaccess.c ptr = ste.fc0.pto * (PAGE_SIZE / 2); ptr 1148 arch/s390/kvm/gaccess.c *pgt = ptr; ptr 178 arch/s390/kvm/kvm-s390.h unsigned char *ptr; ptr 182 arch/s390/kvm/kvm-s390.h ptr = (unsigned char *) fac_list + (nr >> 3); ptr 183 arch/s390/kvm/kvm-s390.h *ptr |= (0x80UL >> (nr & 7)); ptr 104 arch/s390/lib/uaccess.c static inline unsigned long copy_from_user_mvcos(void *x, const void __user *ptr, ptr 129 arch/s390/lib/uaccess.c : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) ptr 134 arch/s390/lib/uaccess.c static inline unsigned long copy_from_user_mvcp(void *x, const void __user *ptr, ptr 165 arch/s390/lib/uaccess.c : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) ptr 179 arch/s390/lib/uaccess.c static inline unsigned long copy_to_user_mvcos(void __user *ptr, const void *x, ptr 204 arch/s390/lib/uaccess.c : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) ptr 209 arch/s390/lib/uaccess.c static inline unsigned long copy_to_user_mvcs(void __user *ptr, const void *x, ptr 240 arch/s390/lib/uaccess.c : "+a" (size), "+a" (ptr), "+a" (x), "+a" (tmp1), "=a" (tmp2) ptr 409 arch/s390/mm/cmm.c unsigned long event, void *ptr) ptr 200 arch/s390/numa/toptree.c struct toptree *stack_target, *real_insert_point, *ptr, *tmp; ptr 209 arch/s390/numa/toptree.c ptr = cand; ptr 214 arch/s390/numa/toptree.c stack_target = toptree_alloc(ptr->level + 1, ptr 215 arch/s390/numa/toptree.c ptr->parent->id); ptr 219 arch/s390/numa/toptree.c ptr = ptr->parent; ptr 92 arch/s390/pci/pci_clp.c static void clp_free_block(void *ptr) ptr 94 arch/s390/pci/pci_clp.c free_pages((unsigned long) ptr, get_order(CLP_BLK_SIZE)); ptr 17 arch/s390/purgatory/purgatory.c struct kexec_sha_region *ptr, *end; ptr 24 arch/s390/purgatory/purgatory.c for (ptr = purgatory_sha_regions; ptr < end; ptr++) ptr 25 arch/s390/purgatory/purgatory.c sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); ptr 135 arch/s390/tools/gen_opcode_table.c char *base_format, **ptr; ptr 142 arch/s390/tools/gen_opcode_table.c ptr = insn_type_table[i].format; ptr 143 arch/s390/tools/gen_opcode_table.c while (*ptr) { ptr 144 arch/s390/tools/gen_opcode_table.c if (!strcmp(base_format, *ptr)) ptr 146 arch/s390/tools/gen_opcode_table.c ptr++; ptr 18 arch/sh/include/asm/cmpxchg-xchg.h static inline u32 __xchg_cmpxchg(volatile void *ptr, u32 x, int size) ptr 20 arch/sh/include/asm/cmpxchg-xchg.h int off = (unsigned long)ptr % sizeof(u32); ptr 21 arch/sh/include/asm/cmpxchg-xchg.h volatile u32 *p = ptr - off; ptr 25 arch/sh/include/asm/cmpxchg.h #define __xchg(ptr, x, size) \ ptr 28 arch/sh/include/asm/cmpxchg.h volatile void *__xchg_ptr = (ptr); \ ptr 48 arch/sh/include/asm/cmpxchg.h #define xchg(ptr,x) \ ptr 49 arch/sh/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr)))) ptr 55 arch/sh/include/asm/cmpxchg.h static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, ptr 60 arch/sh/include/asm/cmpxchg.h return __cmpxchg_u32(ptr, old, new); ptr 66 arch/sh/include/asm/cmpxchg.h #define cmpxchg(ptr,o,n) \ ptr 68 arch/sh/include/asm/cmpxchg.h __typeof__(*(ptr)) _o_ = (o); \ ptr 69 arch/sh/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 70 arch/sh/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ ptr 71 arch/sh/include/asm/cmpxchg.h (unsigned long)_n_, sizeof(*(ptr))); \ ptr 42 arch/sh/include/asm/uaccess.h #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) ptr 43 arch/sh/include/asm/uaccess.h #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 50 arch/sh/include/asm/uaccess.h #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 51 arch/sh/include/asm/uaccess.h #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 56 arch/sh/include/asm/uaccess.h #define __get_user_nocheck(x,ptr,size) \ ptr 60 arch/sh/include/asm/uaccess.h const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \ ptr 61 arch/sh/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 63 arch/sh/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 67 arch/sh/include/asm/uaccess.h #define __get_user_check(x,ptr,size) \ ptr 71 arch/sh/include/asm/uaccess.h const __typeof__(*(ptr)) *__gu_addr = (ptr); \ ptr 74 arch/sh/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 78 arch/sh/include/asm/uaccess.h #define __put_user_nocheck(x,ptr,size) \ ptr 81 arch/sh/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 82 arch/sh/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = x; \ ptr 83 arch/sh/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 88 arch/sh/include/asm/uaccess.h #define __put_user_check(x,ptr,size) \ ptr 91 arch/sh/include/asm/uaccess.h __typeof__(*(ptr)) __user *__pu_addr = (ptr); \ ptr 92 arch/sh/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = x; \ ptr 16 arch/sh/include/asm/uaccess_32.h #define __get_user_size(x,ptr,size,retval) \ ptr 21 arch/sh/include/asm/uaccess_32.h __get_user_asm(x, ptr, retval, "b"); \ ptr 24 arch/sh/include/asm/uaccess_32.h __get_user_asm(x, ptr, retval, "w"); \ ptr 27 arch/sh/include/asm/uaccess_32.h __get_user_asm(x, ptr, retval, "l"); \ ptr 69 arch/sh/include/asm/uaccess_32.h #define __put_user_size(x,ptr,size,retval) \ ptr 74 arch/sh/include/asm/uaccess_32.h __put_user_asm(x, ptr, retval, "b"); \ ptr 77 arch/sh/include/asm/uaccess_32.h __put_user_asm(x, ptr, retval, "w"); \ ptr 80 arch/sh/include/asm/uaccess_32.h __put_user_asm(x, ptr, retval, "l"); \ ptr 83 arch/sh/include/asm/uaccess_32.h __put_user_u64(x, ptr, retval); \ ptr 21 arch/sh/include/asm/uaccess_64.h #define __get_user_size(x,ptr,size,retval) \ ptr 28 arch/sh/include/asm/uaccess_64.h (long)ptr); \ ptr 32 arch/sh/include/asm/uaccess_64.h (long)ptr); \ ptr 36 arch/sh/include/asm/uaccess_64.h (long)ptr); \ ptr 40 arch/sh/include/asm/uaccess_64.h (long)ptr); \ ptr 54 arch/sh/include/asm/uaccess_64.h #define __put_user_size(x,ptr,size,retval) \ ptr 60 arch/sh/include/asm/uaccess_64.h (__force long)ptr); \ ptr 64 arch/sh/include/asm/uaccess_64.h (__force long)ptr); \ ptr 68 arch/sh/include/asm/uaccess_64.h (__force long)ptr); \ ptr 72 arch/sh/include/asm/uaccess_64.h (__force long)ptr); \ ptr 257 arch/sh/kernel/kgdb.c char *ptr; ptr 266 arch/sh/kernel/kgdb.c ptr = &remcomInBuffer[1]; ptr 267 arch/sh/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 339 arch/sh/kernel/kgdb.c kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) ptr 345 arch/sh/kernel/kgdb.c ret = __kgdb_notify(ptr, cmd); ptr 77 arch/sh/kernel/machine_kexec.c unsigned long *ptr; ptr 85 arch/sh/kernel/machine_kexec.c for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); ptr 86 arch/sh/kernel/machine_kexec.c ptr = (entry & IND_INDIRECTION) ? ptr 87 arch/sh/kernel/machine_kexec.c phys_to_virt(entry & PAGE_MASK) : ptr + 1) { ptr 88 arch/sh/kernel/machine_kexec.c if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION || ptr 89 arch/sh/kernel/machine_kexec.c *ptr & IND_DESTINATION) ptr 90 arch/sh/kernel/machine_kexec.c *ptr = (unsigned long) phys_to_virt(*ptr); ptr 130 arch/sh/kernel/machine_kexec.c for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); ptr 131 arch/sh/kernel/machine_kexec.c ptr = (*ptr & IND_INDIRECTION) ? ptr 132 arch/sh/kernel/machine_kexec.c phys_to_virt(*ptr & PAGE_MASK) : ptr + 1) { ptr 133 arch/sh/kernel/machine_kexec.c if (*ptr & IND_SOURCE || *ptr & IND_INDIRECTION || ptr 134 arch/sh/kernel/machine_kexec.c *ptr & IND_DESTINATION) ptr 135 arch/sh/kernel/machine_kexec.c *ptr = virt_to_phys(*ptr); ptr 18 arch/sparc/include/asm/cmpxchg_32.h static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) ptr 22 arch/sparc/include/asm/cmpxchg_32.h return __xchg_u32(ptr, x); ptr 28 arch/sparc/include/asm/cmpxchg_32.h #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ptr 46 arch/sparc/include/asm/cmpxchg_32.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) ptr 50 arch/sparc/include/asm/cmpxchg_32.h return __cmpxchg_u32((u32 *)ptr, (u32)old, (u32)new_); ptr 58 arch/sparc/include/asm/cmpxchg_32.h #define cmpxchg(ptr, o, n) \ ptr 60 arch/sparc/include/asm/cmpxchg_32.h __typeof__(*(ptr)) _o_ = (o); \ ptr 61 arch/sparc/include/asm/cmpxchg_32.h __typeof__(*(ptr)) _n_ = (n); \ ptr 62 arch/sparc/include/asm/cmpxchg_32.h (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ ptr 63 arch/sparc/include/asm/cmpxchg_32.h (unsigned long)_n_, sizeof(*(ptr))); \ ptr 66 arch/sparc/include/asm/cmpxchg_32.h u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new); ptr 67 arch/sparc/include/asm/cmpxchg_32.h #define cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) ptr 75 arch/sparc/include/asm/cmpxchg_32.h #define cmpxchg_local(ptr, o, n) \ ptr 76 arch/sparc/include/asm/cmpxchg_32.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ ptr 77 arch/sparc/include/asm/cmpxchg_32.h (unsigned long)(n), sizeof(*(ptr)))) ptr 78 arch/sparc/include/asm/cmpxchg_32.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 55 arch/sparc/include/asm/cmpxchg_64.h #define xchg(ptr,x) \ ptr 56 arch/sparc/include/asm/cmpxchg_64.h ({ __typeof__(*(ptr)) __ret; \ ptr 57 arch/sparc/include/asm/cmpxchg_64.h __ret = (__typeof__(*(ptr))) \ ptr 58 arch/sparc/include/asm/cmpxchg_64.h __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ ptr 75 arch/sparc/include/asm/cmpxchg_64.h unsigned int *ptr = (unsigned int *) (maddr & ~2); ptr 79 arch/sparc/include/asm/cmpxchg_64.h load32 = *ptr; ptr 84 arch/sparc/include/asm/cmpxchg_64.h load32 = __cmpxchg_u32(ptr, old32, new32); ptr 90 arch/sparc/include/asm/cmpxchg_64.h static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, ptr 95 arch/sparc/include/asm/cmpxchg_64.h return xchg16(ptr, x); ptr 97 arch/sparc/include/asm/cmpxchg_64.h return xchg32(ptr, x); ptr 99 arch/sparc/include/asm/cmpxchg_64.h return xchg64(ptr, x); ptr 136 arch/sparc/include/asm/cmpxchg_64.h unsigned int *ptr = (unsigned int *) (maddr & ~3); ptr 138 arch/sparc/include/asm/cmpxchg_64.h unsigned int load32 = *ptr; ptr 143 arch/sparc/include/asm/cmpxchg_64.h load32 = __cmpxchg_u32(ptr, old32, new32); ptr 157 arch/sparc/include/asm/cmpxchg_64.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) ptr 161 arch/sparc/include/asm/cmpxchg_64.h return __cmpxchg_u8(ptr, old, new); ptr 163 arch/sparc/include/asm/cmpxchg_64.h return __cmpxchg_u32(ptr, old, new); ptr 165 arch/sparc/include/asm/cmpxchg_64.h return __cmpxchg_u64(ptr, old, new); ptr 171 arch/sparc/include/asm/cmpxchg_64.h #define cmpxchg(ptr,o,n) \ ptr 173 arch/sparc/include/asm/cmpxchg_64.h __typeof__(*(ptr)) _o_ = (o); \ ptr 174 arch/sparc/include/asm/cmpxchg_64.h __typeof__(*(ptr)) _n_ = (n); \ ptr 175 arch/sparc/include/asm/cmpxchg_64.h (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ ptr 176 arch/sparc/include/asm/cmpxchg_64.h (unsigned long)_n_, sizeof(*(ptr))); \ ptr 184 arch/sparc/include/asm/cmpxchg_64.h static inline unsigned long __cmpxchg_local(volatile void *ptr, ptr 190 arch/sparc/include/asm/cmpxchg_64.h case 8: return __cmpxchg(ptr, old, new, size); ptr 192 arch/sparc/include/asm/cmpxchg_64.h return __cmpxchg_local_generic(ptr, old, new, size); ptr 198 arch/sparc/include/asm/cmpxchg_64.h #define cmpxchg_local(ptr, o, n) \ ptr 199 arch/sparc/include/asm/cmpxchg_64.h ((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o), \ ptr 200 arch/sparc/include/asm/cmpxchg_64.h (unsigned long)(n), sizeof(*(ptr)))) ptr 201 arch/sparc/include/asm/cmpxchg_64.h #define cmpxchg64_local(ptr, o, n) \ ptr 203 arch/sparc/include/asm/cmpxchg_64.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 204 arch/sparc/include/asm/cmpxchg_64.h cmpxchg_local((ptr), (o), (n)); \ ptr 206 arch/sparc/include/asm/cmpxchg_64.h #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) ptr 82 arch/sparc/include/asm/uaccess_32.h #define put_user(x, ptr) ({ \ ptr 83 arch/sparc/include/asm/uaccess_32.h unsigned long __pu_addr = (unsigned long)(ptr); \ ptr 84 arch/sparc/include/asm/uaccess_32.h __chk_user_ptr(ptr); \ ptr 85 arch/sparc/include/asm/uaccess_32.h __put_user_check((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr))); \ ptr 88 arch/sparc/include/asm/uaccess_32.h #define get_user(x, ptr) ({ \ ptr 89 arch/sparc/include/asm/uaccess_32.h unsigned long __gu_addr = (unsigned long)(ptr); \ ptr 90 arch/sparc/include/asm/uaccess_32.h __chk_user_ptr(ptr); \ ptr 91 arch/sparc/include/asm/uaccess_32.h __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \ ptr 99 arch/sparc/include/asm/uaccess_32.h #define __put_user(x, ptr) \ ptr 100 arch/sparc/include/asm/uaccess_32.h __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 101 arch/sparc/include/asm/uaccess_32.h #define __get_user(x, ptr) \ ptr 102 arch/sparc/include/asm/uaccess_32.h __get_user_nocheck((x), (ptr), sizeof(*(ptr)), __typeof__(*(ptr))) ptr 86 arch/sparc/include/asm/uaccess_64.h #define put_user(x, ptr) ({ \ ptr 87 arch/sparc/include/asm/uaccess_64.h unsigned long __pu_addr = (unsigned long)(ptr); \ ptr 88 arch/sparc/include/asm/uaccess_64.h __chk_user_ptr(ptr); \ ptr 89 arch/sparc/include/asm/uaccess_64.h __put_user_nocheck((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr)));\ ptr 92 arch/sparc/include/asm/uaccess_64.h #define get_user(x, ptr) ({ \ ptr 93 arch/sparc/include/asm/uaccess_64.h unsigned long __gu_addr = (unsigned long)(ptr); \ ptr 94 arch/sparc/include/asm/uaccess_64.h __chk_user_ptr(ptr); \ ptr 95 arch/sparc/include/asm/uaccess_64.h __get_user_nocheck((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr)));\ ptr 98 arch/sparc/include/asm/uaccess_64.h #define __put_user(x, ptr) put_user(x, ptr) ptr 99 arch/sparc/include/asm/uaccess_64.h #define __get_user(x, ptr) get_user(x, ptr) ptr 106 arch/sparc/kernel/btext.c unsigned int *ptr = base; ptr 108 arch/sparc/kernel/btext.c *(ptr++) = 0; ptr 74 arch/sparc/kernel/idprom.c unsigned char cksum, i, *ptr = (unsigned char *)idprom; ptr 77 arch/sparc/kernel/idprom.c cksum ^= *ptr++; ptr 115 arch/sparc/kernel/kgdb_32.c char *ptr; ptr 120 arch/sparc/kernel/kgdb_32.c ptr = &remcomInBuffer[1]; ptr 121 arch/sparc/kernel/kgdb_32.c if (kgdb_hex2long(&ptr, &addr)) { ptr 141 arch/sparc/kernel/kgdb_64.c char *ptr; ptr 146 arch/sparc/kernel/kgdb_64.c ptr = &remcomInBuffer[1]; ptr 147 arch/sparc/kernel/kgdb_64.c if (kgdb_hex2long(&ptr, &addr)) { ptr 64 arch/sparc/kernel/leon_smp.c static inline unsigned long do_swap(volatile unsigned long *ptr, ptr 68 arch/sparc/kernel/leon_smp.c : "0"(val), "r"(ptr), "i"(ASI_LEON_DCACHE_MISS) ptr 1588 arch/sparc/kernel/smp_64.c void *ptr; ptr 1591 arch/sparc/kernel/smp_64.c ptr = memblock_alloc_from(size, align, goal); ptr 1595 arch/sparc/kernel/smp_64.c cpu, size, __pa(ptr)); ptr 1597 arch/sparc/kernel/smp_64.c ptr = memblock_alloc_try_nid(size, align, goal, ptr 1600 arch/sparc/kernel/smp_64.c "%016lx\n", cpu, size, node, __pa(ptr)); ptr 1602 arch/sparc/kernel/smp_64.c return ptr; ptr 1608 arch/sparc/kernel/smp_64.c static void __init pcpu_free_bootmem(void *ptr, size_t size) ptr 1610 arch/sparc/kernel/smp_64.c memblock_free(__pa(ptr), size); ptr 78 arch/sparc/kernel/sstate.c static int sstate_panic_event(struct notifier_block *n, unsigned long event, void *ptr) ptr 33 arch/sparc/kernel/sun4d_smp.c static inline unsigned long sun4d_swap(volatile unsigned long *ptr, unsigned long val) ptr 36 arch/sparc/kernel/sun4d_smp.c "=&r" (val), "=&r" (ptr) : ptr 37 arch/sparc/kernel/sun4d_smp.c "0" (val), "1" (ptr)); ptr 30 arch/sparc/kernel/sun4m_smp.c swap_ulong(volatile unsigned long *ptr, unsigned long val) ptr 33 arch/sparc/kernel/sun4m_smp.c "=&r" (val), "=&r" (ptr) : ptr 34 arch/sparc/kernel/sun4m_smp.c "0" (val), "1" (ptr)); ptr 335 arch/sparc/kernel/sys_sparc_64.c unsigned long, third, void __user *, ptr, long, fifth) ptr 346 arch/sparc/kernel/sys_sparc_64.c err = ksys_semtimedop(first, ptr, ptr 350 arch/sparc/kernel/sys_sparc_64.c err = ksys_semtimedop(first, ptr, (unsigned int)second, ptr 360 arch/sparc/kernel/sys_sparc_64.c (unsigned long) ptr); ptr 371 arch/sparc/kernel/sys_sparc_64.c err = ksys_msgsnd(first, ptr, (size_t)second, ptr 375 arch/sparc/kernel/sys_sparc_64.c err = ksys_msgrcv(first, ptr, (size_t)second, fifth, ptr 382 arch/sparc/kernel/sys_sparc_64.c err = ksys_old_msgctl(first, (int)second | IPC_64, ptr); ptr 393 arch/sparc/kernel/sys_sparc_64.c err = do_shmat(first, ptr, (int)second, &raddr, SHMLBA); ptr 402 arch/sparc/kernel/sys_sparc_64.c err = ksys_shmdt(ptr); ptr 408 arch/sparc/kernel/sys_sparc_64.c err = ksys_old_shmctl(first, (int)second | IPC_64, ptr); ptr 36 arch/sparc/kernel/systbls.h void __user *ptr, long fifth); ptr 162 arch/sparc/lib/atomic32.c unsigned long __cmpxchg_u32(volatile u32 *ptr, u32 old, u32 new) ptr 167 arch/sparc/lib/atomic32.c spin_lock_irqsave(ATOMIC_HASH(ptr), flags); ptr 168 arch/sparc/lib/atomic32.c if ((prev = *ptr) == old) ptr 169 arch/sparc/lib/atomic32.c *ptr = new; ptr 170 arch/sparc/lib/atomic32.c spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); ptr 176 arch/sparc/lib/atomic32.c u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new) ptr 181 arch/sparc/lib/atomic32.c spin_lock_irqsave(ATOMIC_HASH(ptr), flags); ptr 182 arch/sparc/lib/atomic32.c if ((prev = *ptr) == old) ptr 183 arch/sparc/lib/atomic32.c *ptr = new; ptr 184 arch/sparc/lib/atomic32.c spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); ptr 190 arch/sparc/lib/atomic32.c unsigned long __xchg_u32(volatile u32 *ptr, u32 new) ptr 195 arch/sparc/lib/atomic32.c spin_lock_irqsave(ATOMIC_HASH(ptr), flags); ptr 196 arch/sparc/lib/atomic32.c prev = *ptr; ptr 197 arch/sparc/lib/atomic32.c *ptr = new; ptr 198 arch/sparc/lib/atomic32.c spin_unlock_irqrestore(ATOMIC_HASH(ptr), flags); ptr 41 arch/sparc/mm/leon_mm.c unsigned int ptr; ptr 88 arch/sparc/mm/leon_mm.c ptr = (pgd & SRMMU_PTD_PMASK) << 4; ptr 89 arch/sparc/mm/leon_mm.c ptr += ((((vaddr) >> LEON_PGD_SH) & LEON_PGD_M) * 4); ptr 90 arch/sparc/mm/leon_mm.c if (!_pfn_valid(PFN(ptr))) ptr 93 arch/sparc/mm/leon_mm.c pmd = LEON_BYPASS_LOAD_PA(ptr); ptr 111 arch/sparc/mm/leon_mm.c ptr = (pmd & SRMMU_PTD_PMASK) << 4; ptr 112 arch/sparc/mm/leon_mm.c ptr += (((vaddr >> LEON_PMD_SH) & LEON_PMD_M) * 4); ptr 113 arch/sparc/mm/leon_mm.c if (!_pfn_valid(PFN(ptr))) { ptr 116 arch/sparc/mm/leon_mm.c PFN(ptr)); ptr 120 arch/sparc/mm/leon_mm.c ped = LEON_BYPASS_LOAD_PA(ptr); ptr 139 arch/sparc/mm/leon_mm.c ptr = (ped & SRMMU_PTD_PMASK) << 4; ptr 140 arch/sparc/mm/leon_mm.c ptr += (((vaddr >> LEON_PTE_SH) & LEON_PTE_M) * 4); ptr 141 arch/sparc/mm/leon_mm.c if (!_pfn_valid(PFN(ptr))) ptr 144 arch/sparc/mm/leon_mm.c ptr = LEON_BYPASS_LOAD_PA(ptr); ptr 145 arch/sparc/mm/leon_mm.c if (((ptr & SRMMU_ET_MASK) == SRMMU_ET_PTE)) { ptr 149 arch/sparc/mm/leon_mm.c pte = ptr; ptr 150 arch/sparc/mm/leon_mm.c paddrbase = ptr & _SRMMU_PTE_PMASK_LEON; ptr 1449 arch/sparc/net/bpf_jit_comp_64.c u32 *ptr; ptr 1451 arch/sparc/net/bpf_jit_comp_64.c for (ptr = area; size >= sizeof(u32); size -= sizeof(u32)) ptr 1452 arch/sparc/net/bpf_jit_comp_64.c *ptr++ = 0x91d02005; /* ta 5 */ ptr 14 arch/um/drivers/cow_sys.h static inline void cow_free(void *ptr) ptr 16 arch/um/drivers/cow_sys.h kfree(ptr); ptr 115 arch/um/drivers/mconsole_kern.c char *ptr = req->request.data; ptr 117 arch/um/drivers/mconsole_kern.c ptr += strlen("log "); ptr 119 arch/um/drivers/mconsole_kern.c len = req->len - (ptr - req->request.data); ptr 120 arch/um/drivers/mconsole_kern.c printk(KERN_WARNING "%.*s", len, ptr); ptr 131 arch/um/drivers/mconsole_kern.c char *ptr = req->request.data; ptr 134 arch/um/drivers/mconsole_kern.c ptr += strlen("proc"); ptr 135 arch/um/drivers/mconsole_kern.c ptr = skip_spaces(ptr); ptr 137 arch/um/drivers/mconsole_kern.c file = file_open_root(mnt->mnt_root, mnt, ptr, O_RDONLY, 0); ptr 140 arch/um/drivers/mconsole_kern.c printk(KERN_ERR "open /proc/%s: %ld\n", ptr, PTR_ERR(file)); ptr 468 arch/um/drivers/mconsole_kern.c char *ptr = req->request.data, *name, *error_string = ""; ptr 471 arch/um/drivers/mconsole_kern.c ptr += strlen("config"); ptr 472 arch/um/drivers/mconsole_kern.c ptr = skip_spaces(ptr); ptr 473 arch/um/drivers/mconsole_kern.c dev = mconsole_find_dev(ptr); ptr 479 arch/um/drivers/mconsole_kern.c name = &ptr[strlen(dev->name)]; ptr 480 arch/um/drivers/mconsole_kern.c ptr = name; ptr 481 arch/um/drivers/mconsole_kern.c while ((*ptr != '=') && (*ptr != '\0')) ptr 482 arch/um/drivers/mconsole_kern.c ptr++; ptr 484 arch/um/drivers/mconsole_kern.c if (*ptr == '=') { ptr 494 arch/um/drivers/mconsole_kern.c char *ptr = req->request.data, *err_msg = ""; ptr 498 arch/um/drivers/mconsole_kern.c ptr += strlen("remove"); ptr 499 arch/um/drivers/mconsole_kern.c ptr = skip_spaces(ptr); ptr 500 arch/um/drivers/mconsole_kern.c dev = mconsole_find_dev(ptr); ptr 506 arch/um/drivers/mconsole_kern.c ptr = &ptr[strlen(dev->name)]; ptr 509 arch/um/drivers/mconsole_kern.c n = (*dev->id)(&ptr, &start, &end); ptr 620 arch/um/drivers/mconsole_kern.c char *ptr = req->request.data; ptr 622 arch/um/drivers/mconsole_kern.c ptr += strlen("sysrq"); ptr 623 arch/um/drivers/mconsole_kern.c ptr = skip_spaces(ptr); ptr 629 arch/um/drivers/mconsole_kern.c if (*ptr == 'b') ptr 632 arch/um/drivers/mconsole_kern.c with_console(req, sysrq_proc, ptr); ptr 656 arch/um/drivers/mconsole_kern.c char *ptr = req->request.data; ptr 666 arch/um/drivers/mconsole_kern.c ptr += strlen("stack"); ptr 667 arch/um/drivers/mconsole_kern.c ptr = skip_spaces(ptr); ptr 673 arch/um/drivers/mconsole_kern.c if (sscanf(ptr, "%d", &pid_requested) == 0) { ptr 813 arch/um/drivers/mconsole_kern.c void *ptr) ptr 815 arch/um/drivers/mconsole_kern.c char *message = ptr; ptr 738 arch/um/drivers/net_kern.c void *ptr) ptr 740 arch/um/drivers/net_kern.c struct in_ifaddr *ifa = ptr; ptr 49 arch/um/drivers/slip_common.h unsigned char *ptr = d; ptr 58 arch/um/drivers/slip_common.h *ptr++ = SLIP_END; ptr 68 arch/um/drivers/slip_common.h *ptr++ = SLIP_ESC; ptr 69 arch/um/drivers/slip_common.h *ptr++ = SLIP_ESC_END; ptr 72 arch/um/drivers/slip_common.h *ptr++ = SLIP_ESC; ptr 73 arch/um/drivers/slip_common.h *ptr++ = SLIP_ESC_ESC; ptr 76 arch/um/drivers/slip_common.h *ptr++ = c; ptr 80 arch/um/drivers/slip_common.h *ptr++ = SLIP_END; ptr 81 arch/um/drivers/slip_common.h return (ptr - d); ptr 240 arch/um/drivers/ubd_kern.c static int parse_unit(char **ptr) ptr 242 arch/um/drivers/ubd_kern.c char *str = *ptr, *end; ptr 249 arch/um/drivers/ubd_kern.c *ptr = end; ptr 254 arch/um/drivers/ubd_kern.c *ptr = str; ptr 1640 arch/um/drivers/vector_kern.c void *ptr) ptr 12 arch/um/include/shared/um_malloc.h extern void kfree(const void *ptr); ptr 15 arch/um/include/shared/um_malloc.h extern void vfree(void *ptr); ptr 190 arch/um/kernel/skas/uaccess.c char *ptr = dst; ptr 198 arch/um/kernel/skas/uaccess.c &ptr); ptr 31 arch/um/os-Linux/irq.c return epoll_events[index].data.ptr; ptr 97 arch/um/os-Linux/irq.c event.data.ptr = data; ptr 115 arch/um/os-Linux/irq.c event.data.ptr = data; ptr 210 arch/um/os-Linux/main.c void *ptr = __wrap_malloc(n * size); ptr 212 arch/um/os-Linux/main.c if (ptr == NULL) ptr 214 arch/um/os-Linux/main.c memset(ptr, 0, n * size); ptr 215 arch/um/os-Linux/main.c return ptr; ptr 222 arch/um/os-Linux/main.c void __wrap_free(void *ptr) ptr 224 arch/um/os-Linux/main.c unsigned long addr = (unsigned long) ptr; ptr 247 arch/um/os-Linux/main.c kfree(ptr); ptr 251 arch/um/os-Linux/main.c vfree(ptr); ptr 253 arch/um/os-Linux/main.c else __real_free(ptr); ptr 97 arch/unicore32/include/asm/assembler.h .macro usracc, instr, reg, ptr, inc, cond, rept, abort ptr 116 arch/unicore32/include/asm/assembler.h .macro strusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f ptr 120 arch/unicore32/include/asm/assembler.h .macro ldrusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f ptr 16 arch/unicore32/include/asm/cmpxchg.h static inline unsigned long __xchg(unsigned long x, volatile void *ptr, ptr 25 arch/unicore32/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 31 arch/unicore32/include/asm/cmpxchg.h : "r" (x), "r" (ptr) ptr 41 arch/unicore32/include/asm/cmpxchg.h #define xchg(ptr, x) \ ptr 42 arch/unicore32/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) ptr 50 arch/unicore32/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 51 arch/unicore32/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), \ ptr 52 arch/unicore32/include/asm/cmpxchg.h (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr)))) ptr 53 arch/unicore32/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) \ ptr 54 arch/unicore32/include/asm/cmpxchg.h __cmpxchg64_local_generic((ptr), (o), (n)) ptr 19 arch/unicore32/include/mach/uncompress.h static void arch_decomp_puts(const char *ptr) ptr 23 arch/unicore32/include/mach/uncompress.h while ((c = *ptr++) != '\0') { ptr 65 arch/x86/boot/compressed/kaslr.c unsigned long *ptr = (unsigned long *)area; ptr 70 arch/x86/boot/compressed/kaslr.c hash ^= ptr[i]; ptr 375 arch/x86/boot/compressed/kaslr.c char *ptr; ptr 399 arch/x86/boot/compressed/kaslr.c ptr = (char *)(unsigned long)cmd_line; ptr 400 arch/x86/boot/compressed/kaslr.c for (cmd_line_size = 0; ptr[cmd_line_size++];) ptr 435 arch/x86/boot/compressed/kaslr.c struct setup_data *ptr; ptr 449 arch/x86/boot/compressed/kaslr.c ptr = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; ptr 450 arch/x86/boot/compressed/kaslr.c while (ptr) { ptr 453 arch/x86/boot/compressed/kaslr.c avoid.start = (unsigned long)ptr; ptr 454 arch/x86/boot/compressed/kaslr.c avoid.size = sizeof(*ptr) + ptr->len; ptr 462 arch/x86/boot/compressed/kaslr.c ptr = (struct setup_data *)(unsigned long)ptr->next; ptr 179 arch/x86/boot/compressed/misc.c unsigned long delta, map, ptr; ptr 235 arch/x86/boot/compressed/misc.c ptr = (unsigned long)extended; ptr 236 arch/x86/boot/compressed/misc.c if (ptr < min_addr || ptr > max_addr) ptr 239 arch/x86/boot/compressed/misc.c *(uint32_t *)ptr += delta; ptr 246 arch/x86/boot/compressed/misc.c ptr = (unsigned long)extended; ptr 247 arch/x86/boot/compressed/misc.c if (ptr < min_addr || ptr > max_addr) ptr 250 arch/x86/boot/compressed/misc.c *(int32_t *)ptr -= delta; ptr 256 arch/x86/boot/compressed/misc.c ptr = (unsigned long)extended; ptr 257 arch/x86/boot/compressed/misc.c if (ptr < min_addr || ptr > max_addr) ptr 260 arch/x86/boot/compressed/misc.c *(uint64_t *)ptr += delta; ptr 61 arch/x86/boot/pm.c u32 ptr; ptr 85 arch/x86/boot/pm.c gdt.ptr = (u32)&boot_gdt + (ds() << 4); ptr 99 arch/x86/entry/vsyscall/vsyscall_64.c static bool write_ok_or_segv(unsigned long ptr, size_t size) ptr 106 arch/x86/entry/vsyscall/vsyscall_64.c if (!access_ok((void __user *)ptr, size)) { ptr 110 arch/x86/entry/vsyscall/vsyscall_64.c thread->cr2 = ptr; ptr 113 arch/x86/entry/vsyscall/vsyscall_64.c force_sig_fault(SIGSEGV, SEGV_MAPERR, (void __user *)ptr); ptr 42 arch/x86/include/asm/cmpxchg.h #define __xchg_op(ptr, arg, op, lock) \ ptr 44 arch/x86/include/asm/cmpxchg.h __typeof__ (*(ptr)) __ret = (arg); \ ptr 45 arch/x86/include/asm/cmpxchg.h switch (sizeof(*(ptr))) { \ ptr 48 arch/x86/include/asm/cmpxchg.h : "+q" (__ret), "+m" (*(ptr)) \ ptr 53 arch/x86/include/asm/cmpxchg.h : "+r" (__ret), "+m" (*(ptr)) \ ptr 58 arch/x86/include/asm/cmpxchg.h : "+r" (__ret), "+m" (*(ptr)) \ ptr 63 arch/x86/include/asm/cmpxchg.h : "+r" (__ret), "+m" (*(ptr)) \ ptr 78 arch/x86/include/asm/cmpxchg.h #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") ptr 85 arch/x86/include/asm/cmpxchg.h #define __raw_cmpxchg(ptr, old, new, size, lock) \ ptr 87 arch/x86/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 88 arch/x86/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 89 arch/x86/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 93 arch/x86/include/asm/cmpxchg.h volatile u8 *__ptr = (volatile u8 *)(ptr); \ ptr 102 arch/x86/include/asm/cmpxchg.h volatile u16 *__ptr = (volatile u16 *)(ptr); \ ptr 111 arch/x86/include/asm/cmpxchg.h volatile u32 *__ptr = (volatile u32 *)(ptr); \ ptr 120 arch/x86/include/asm/cmpxchg.h volatile u64 *__ptr = (volatile u64 *)(ptr); \ ptr 133 arch/x86/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size) \ ptr 134 arch/x86/include/asm/cmpxchg.h __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX) ptr 136 arch/x86/include/asm/cmpxchg.h #define __sync_cmpxchg(ptr, old, new, size) \ ptr 137 arch/x86/include/asm/cmpxchg.h __raw_cmpxchg((ptr), (old), (new), (size), "lock; ") ptr 139 arch/x86/include/asm/cmpxchg.h #define __cmpxchg_local(ptr, old, new, size) \ ptr 140 arch/x86/include/asm/cmpxchg.h __raw_cmpxchg((ptr), (old), (new), (size), "") ptr 148 arch/x86/include/asm/cmpxchg.h #define arch_cmpxchg(ptr, old, new) \ ptr 149 arch/x86/include/asm/cmpxchg.h __cmpxchg(ptr, old, new, sizeof(*(ptr))) ptr 151 arch/x86/include/asm/cmpxchg.h #define arch_sync_cmpxchg(ptr, old, new) \ ptr 152 arch/x86/include/asm/cmpxchg.h __sync_cmpxchg(ptr, old, new, sizeof(*(ptr))) ptr 154 arch/x86/include/asm/cmpxchg.h #define arch_cmpxchg_local(ptr, old, new) \ ptr 155 arch/x86/include/asm/cmpxchg.h __cmpxchg_local(ptr, old, new, sizeof(*(ptr))) ptr 171 arch/x86/include/asm/cmpxchg.h [ptr] "+m" (*__ptr), \ ptr 183 arch/x86/include/asm/cmpxchg.h [ptr] "+m" (*__ptr), \ ptr 195 arch/x86/include/asm/cmpxchg.h [ptr] "+m" (*__ptr), \ ptr 207 arch/x86/include/asm/cmpxchg.h [ptr] "+m" (*__ptr), \ ptr 221 arch/x86/include/asm/cmpxchg.h #define __try_cmpxchg(ptr, pold, new, size) \ ptr 222 arch/x86/include/asm/cmpxchg.h __raw_try_cmpxchg((ptr), (pold), (new), (size), LOCK_PREFIX) ptr 224 arch/x86/include/asm/cmpxchg.h #define try_cmpxchg(ptr, pold, new) \ ptr 225 arch/x86/include/asm/cmpxchg.h __try_cmpxchg((ptr), (pold), (new), sizeof(*(ptr))) ptr 233 arch/x86/include/asm/cmpxchg.h #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) ptr 234 arch/x86/include/asm/cmpxchg.h #define xadd(ptr, inc) __xadd((ptr), (inc), LOCK_PREFIX) ptr 24 arch/x86/include/asm/cmpxchg_32.h static inline void set_64bit(volatile u64 *ptr, u64 value) ptr 28 arch/x86/include/asm/cmpxchg_32.h u64 prev = *ptr; ptr 33 arch/x86/include/asm/cmpxchg_32.h : "=m" (*ptr), "+A" (prev) ptr 39 arch/x86/include/asm/cmpxchg_32.h #define arch_cmpxchg64(ptr, o, n) \ ptr 40 arch/x86/include/asm/cmpxchg_32.h ((__typeof__(*(ptr)))__cmpxchg64((ptr), (unsigned long long)(o), \ ptr 42 arch/x86/include/asm/cmpxchg_32.h #define arch_cmpxchg64_local(ptr, o, n) \ ptr 43 arch/x86/include/asm/cmpxchg_32.h ((__typeof__(*(ptr)))__cmpxchg64_local((ptr), (unsigned long long)(o), \ ptr 47 arch/x86/include/asm/cmpxchg_32.h static inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) ptr 52 arch/x86/include/asm/cmpxchg_32.h "+m" (*ptr) ptr 60 arch/x86/include/asm/cmpxchg_32.h static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) ptr 65 arch/x86/include/asm/cmpxchg_32.h "+m" (*ptr) ptr 79 arch/x86/include/asm/cmpxchg_32.h #define arch_cmpxchg64(ptr, o, n) \ ptr 81 arch/x86/include/asm/cmpxchg_32.h __typeof__(*(ptr)) __ret; \ ptr 82 arch/x86/include/asm/cmpxchg_32.h __typeof__(*(ptr)) __old = (o); \ ptr 83 arch/x86/include/asm/cmpxchg_32.h __typeof__(*(ptr)) __new = (n); \ ptr 89 arch/x86/include/asm/cmpxchg_32.h "S" ((ptr)), "0" (__old), \ ptr 96 arch/x86/include/asm/cmpxchg_32.h #define arch_cmpxchg64_local(ptr, o, n) \ ptr 98 arch/x86/include/asm/cmpxchg_32.h __typeof__(*(ptr)) __ret; \ ptr 99 arch/x86/include/asm/cmpxchg_32.h __typeof__(*(ptr)) __old = (o); \ ptr 100 arch/x86/include/asm/cmpxchg_32.h __typeof__(*(ptr)) __new = (n); \ ptr 105 arch/x86/include/asm/cmpxchg_32.h "S" ((ptr)), "0" (__old), \ ptr 5 arch/x86/include/asm/cmpxchg_64.h static inline void set_64bit(volatile u64 *ptr, u64 val) ptr 7 arch/x86/include/asm/cmpxchg_64.h *ptr = val; ptr 10 arch/x86/include/asm/cmpxchg_64.h #define arch_cmpxchg64(ptr, o, n) \ ptr 12 arch/x86/include/asm/cmpxchg_64.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 13 arch/x86/include/asm/cmpxchg_64.h arch_cmpxchg((ptr), (o), (n)); \ ptr 16 arch/x86/include/asm/cmpxchg_64.h #define arch_cmpxchg64_local(ptr, o, n) \ ptr 18 arch/x86/include/asm/cmpxchg_64.h BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ ptr 19 arch/x86/include/asm/cmpxchg_64.h arch_cmpxchg_local((ptr), (o), (n)); \ ptr 104 arch/x86/include/asm/desc.h static inline int desc_empty(const void *ptr) ptr 106 arch/x86/include/asm/desc.h const u32 *desc = ptr; ptr 267 arch/x86/include/asm/kvm_emulate.h u8 *ptr; ptr 650 arch/x86/include/asm/paravirt.h static __always_inline void pv_wait(u8 *ptr, u8 val) ptr 652 arch/x86/include/asm/paravirt.h PVOP_VCALL2(lock.wait, ptr, val); ptr 317 arch/x86/include/asm/paravirt_types.h void (*wait)(u8 *ptr, u8 val); ptr 56 arch/x86/include/asm/percpu.h #define arch_raw_cpu_ptr(ptr) \ ptr 61 arch/x86/include/asm/percpu.h : "m" (this_cpu_off), "0" (ptr)); \ ptr 62 arch/x86/include/asm/percpu.h (typeof(*(ptr)) __kernel __force *)tcp_ptr__; \ ptr 200 arch/x86/include/asm/pgtable-3level.h union split_pmd old, new, *ptr; ptr 202 arch/x86/include/asm/pgtable-3level.h ptr = (union split_pmd *)pmdp; ptr 207 arch/x86/include/asm/pgtable-3level.h old.pmd_low = xchg(&ptr->pmd_low, new.pmd_low); ptr 208 arch/x86/include/asm/pgtable-3level.h old.pmd_high = ptr->pmd_high; ptr 209 arch/x86/include/asm/pgtable-3level.h ptr->pmd_high = new.pmd_high; ptr 1235 arch/x86/include/asm/pgtable.h unsigned long ptr = (unsigned long)__ptr; ptr 1237 arch/x86/include/asm/pgtable.h return (((ptr & ~PAGE_MASK) / sizeof(pgd_t)) < PGD_KERNEL_START); ptr 1255 arch/x86/include/asm/pgtable.h static inline void *ptr_set_bit(void *ptr, int bit) ptr 1257 arch/x86/include/asm/pgtable.h unsigned long __ptr = (unsigned long)ptr; ptr 1262 arch/x86/include/asm/pgtable.h static inline void *ptr_clear_bit(void *ptr, int bit) ptr 1264 arch/x86/include/asm/pgtable.h unsigned long __ptr = (unsigned long)ptr; ptr 166 arch/x86/include/asm/uaccess.h #define get_user(x, ptr) \ ptr 169 arch/x86/include/asm/uaccess.h register __inttype(*(ptr)) __val_gu asm("%"_ASM_DX); \ ptr 170 arch/x86/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 175 arch/x86/include/asm/uaccess.h : "0" (ptr), "i" (sizeof(*(ptr)))); \ ptr 176 arch/x86/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr))) __val_gu; \ ptr 180 arch/x86/include/asm/uaccess.h #define __put_user_x(size, x, ptr, __ret_pu) \ ptr 182 arch/x86/include/asm/uaccess.h : "0" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx") ptr 205 arch/x86/include/asm/uaccess.h #define __put_user_x8(x, ptr, __ret_pu) \ ptr 207 arch/x86/include/asm/uaccess.h : "A" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx") ptr 209 arch/x86/include/asm/uaccess.h #define __put_user_goto_u64(x, ptr, label) \ ptr 210 arch/x86/include/asm/uaccess.h __put_user_goto(x, ptr, "q", "", "er", label) ptr 213 arch/x86/include/asm/uaccess.h #define __put_user_x8(x, ptr, __ret_pu) __put_user_x(8, x, ptr, __ret_pu) ptr 244 arch/x86/include/asm/uaccess.h #define put_user(x, ptr) \ ptr 247 arch/x86/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val; \ ptr 248 arch/x86/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 251 arch/x86/include/asm/uaccess.h switch (sizeof(*(ptr))) { \ ptr 253 arch/x86/include/asm/uaccess.h __put_user_x(1, __pu_val, ptr, __ret_pu); \ ptr 256 arch/x86/include/asm/uaccess.h __put_user_x(2, __pu_val, ptr, __ret_pu); \ ptr 259 arch/x86/include/asm/uaccess.h __put_user_x(4, __pu_val, ptr, __ret_pu); \ ptr 262 arch/x86/include/asm/uaccess.h __put_user_x8(__pu_val, ptr, __ret_pu); \ ptr 265 arch/x86/include/asm/uaccess.h __put_user_x(X, __pu_val, ptr, __ret_pu); \ ptr 271 arch/x86/include/asm/uaccess.h #define __put_user_size(x, ptr, size, label) \ ptr 273 arch/x86/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 276 arch/x86/include/asm/uaccess.h __put_user_goto(x, ptr, "b", "b", "iq", label); \ ptr 279 arch/x86/include/asm/uaccess.h __put_user_goto(x, ptr, "w", "w", "ir", label); \ ptr 282 arch/x86/include/asm/uaccess.h __put_user_goto(x, ptr, "l", "k", "ir", label); \ ptr 285 arch/x86/include/asm/uaccess.h __put_user_goto_u64(x, ptr, label); \ ptr 296 arch/x86/include/asm/uaccess.h #define __put_user_size_ex(x, ptr, size) \ ptr 298 arch/x86/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 301 arch/x86/include/asm/uaccess.h __put_user_asm_ex(x, ptr, "b", "b", "iq"); \ ptr 304 arch/x86/include/asm/uaccess.h __put_user_asm_ex(x, ptr, "w", "w", "ir"); \ ptr 307 arch/x86/include/asm/uaccess.h __put_user_asm_ex(x, ptr, "l", "k", "ir"); \ ptr 310 arch/x86/include/asm/uaccess.h __put_user_asm_ex_u64((__typeof__(*ptr))(x), ptr); \ ptr 318 arch/x86/include/asm/uaccess.h #define __get_user_asm_u64(x, ptr, retval, errret) \ ptr 320 arch/x86/include/asm/uaccess.h __typeof__(ptr) __ptr = (ptr); \ ptr 338 arch/x86/include/asm/uaccess.h #define __get_user_asm_ex_u64(x, ptr) (x) = __get_user_bad() ptr 340 arch/x86/include/asm/uaccess.h #define __get_user_asm_u64(x, ptr, retval, errret) \ ptr 341 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "q", "", "=r", errret) ptr 342 arch/x86/include/asm/uaccess.h #define __get_user_asm_ex_u64(x, ptr) \ ptr 343 arch/x86/include/asm/uaccess.h __get_user_asm_ex(x, ptr, "q", "", "=r") ptr 346 arch/x86/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval, errret) \ ptr 349 arch/x86/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 352 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "b", "b", "=q", errret); \ ptr 355 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "w", "w", "=r", errret); \ ptr 358 arch/x86/include/asm/uaccess.h __get_user_asm(x, ptr, retval, "l", "k", "=r", errret); \ ptr 361 arch/x86/include/asm/uaccess.h __get_user_asm_u64(x, ptr, retval, errret); \ ptr 397 arch/x86/include/asm/uaccess.h #define __get_user_size_ex(x, ptr, size) \ ptr 399 arch/x86/include/asm/uaccess.h __chk_user_ptr(ptr); \ ptr 402 arch/x86/include/asm/uaccess.h __get_user_asm_ex(x, ptr, "b", "b", "=q"); \ ptr 405 arch/x86/include/asm/uaccess.h __get_user_asm_ex(x, ptr, "w", "w", "=r"); \ ptr 408 arch/x86/include/asm/uaccess.h __get_user_asm_ex(x, ptr, "l", "k", "=r"); \ ptr 411 arch/x86/include/asm/uaccess.h __get_user_asm_ex_u64(x, ptr); \ ptr 428 arch/x86/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 432 arch/x86/include/asm/uaccess.h __typeof__(*(ptr)) __pu_val = (x); \ ptr 433 arch/x86/include/asm/uaccess.h __typeof__(ptr) __pu_ptr = (ptr); \ ptr 443 arch/x86/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 446 arch/x86/include/asm/uaccess.h __inttype(*(ptr)) __gu_val; \ ptr 447 arch/x86/include/asm/uaccess.h __typeof__(ptr) __gu_ptr = (ptr); \ ptr 452 arch/x86/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 528 arch/x86/include/asm/uaccess.h #define __get_user(x, ptr) \ ptr 529 arch/x86/include/asm/uaccess.h __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 552 arch/x86/include/asm/uaccess.h #define __put_user(x, ptr) \ ptr 553 arch/x86/include/asm/uaccess.h __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 565 arch/x86/include/asm/uaccess.h #define get_user_ex(x, ptr) do { \ ptr 567 arch/x86/include/asm/uaccess.h __get_user_size_ex((__gue_val), (ptr), (sizeof(*(ptr)))); \ ptr 568 arch/x86/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gue_val; \ ptr 574 arch/x86/include/asm/uaccess.h #define put_user_ex(x, ptr) \ ptr 575 arch/x86/include/asm/uaccess.h __put_user_size_ex((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) ptr 590 arch/x86/include/asm/uaccess.h #define __user_atomic_cmpxchg_inatomic(uval, ptr, old, new, size) \ ptr 593 arch/x86/include/asm/uaccess.h __typeof__(*(ptr)) __old = (old); \ ptr 594 arch/x86/include/asm/uaccess.h __typeof__(*(ptr)) __new = (new); \ ptr 607 arch/x86/include/asm/uaccess.h : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \ ptr 623 arch/x86/include/asm/uaccess.h : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \ ptr 639 arch/x86/include/asm/uaccess.h : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \ ptr 658 arch/x86/include/asm/uaccess.h : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \ ptr 672 arch/x86/include/asm/uaccess.h #define user_atomic_cmpxchg_inatomic(uval, ptr, old, new) \ ptr 674 arch/x86/include/asm/uaccess.h access_ok((ptr), sizeof(*(ptr))) ? \ ptr 675 arch/x86/include/asm/uaccess.h __user_atomic_cmpxchg_inatomic((uval), (ptr), \ ptr 676 arch/x86/include/asm/uaccess.h (old), (new), sizeof(*(ptr))) : \ ptr 712 arch/x86/include/asm/uaccess.h static __must_check __always_inline bool user_access_begin(const void __user *ptr, size_t len) ptr 714 arch/x86/include/asm/uaccess.h if (unlikely(!access_ok(ptr,len))) ptr 725 arch/x86/include/asm/uaccess.h #define unsafe_put_user(x, ptr, label) \ ptr 726 arch/x86/include/asm/uaccess.h __put_user_size((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr)), label) ptr 728 arch/x86/include/asm/uaccess.h #define unsafe_get_user(x, ptr, err_label) \ ptr 731 arch/x86/include/asm/uaccess.h __inttype(*(ptr)) __gu_val; \ ptr 732 arch/x86/include/asm/uaccess.h __get_user_size(__gu_val, (ptr), sizeof(*(ptr)), __gu_err, -EFAULT); \ ptr 733 arch/x86/include/asm/uaccess.h (x) = (__force __typeof__(*(ptr)))__gu_val; \ ptr 24 arch/x86/include/asm/xen/events.h #define xchg_xen_ulong(ptr, val) xchg((ptr), (val)) ptr 105 arch/x86/include/asm/xen/page.h : [ret] "+r" (ret), [ptr] "=m" (*addr) ptr 125 arch/x86/include/asm/xen/page.h : [ptr] "m" (*addr)); ptr 446 arch/x86/kernel/alternative.c u8 *ptr = (u8 *)poff + *poff; ptr 448 arch/x86/kernel/alternative.c if (!*poff || ptr < text || ptr >= text_end) ptr 451 arch/x86/kernel/alternative.c if (*ptr == 0x3e) ptr 452 arch/x86/kernel/alternative.c text_poke(ptr, ((unsigned char []){0xf0}), 1); ptr 462 arch/x86/kernel/alternative.c u8 *ptr = (u8 *)poff + *poff; ptr 464 arch/x86/kernel/alternative.c if (!*poff || ptr < text || ptr >= text_end) ptr 467 arch/x86/kernel/alternative.c if (*ptr == 0xf0) ptr 468 arch/x86/kernel/alternative.c text_poke(ptr, ((unsigned char []){0x3E}), 1); ptr 581 arch/x86/kernel/alternative.c const u8 *ptr = (const u8 *)poff + *poff; ptr 583 arch/x86/kernel/alternative.c if (text_start <= ptr && text_end > ptr) ptr 634 arch/x86/kernel/alternative.c extern void int3_magic(unsigned int *ptr); /* defined in asm */ ptr 381 arch/x86/kernel/apic/x2apic_uv_x.c static int __init parse_mem_block_size(char *ptr) ptr 383 arch/x86/kernel/apic/x2apic_uv_x.c unsigned long size = memparse(ptr, NULL); ptr 1185 arch/x86/kernel/apic/x2apic_uv_x.c static void __init decode_gam_params(unsigned long ptr) ptr 1187 arch/x86/kernel/apic/x2apic_uv_x.c uv_gp_table = (struct uv_gam_parameters *)ptr; ptr 1196 arch/x86/kernel/apic/x2apic_uv_x.c static void __init decode_gam_rng_tbl(unsigned long ptr) ptr 1198 arch/x86/kernel/apic/x2apic_uv_x.c struct uv_gam_range_entry *gre = (struct uv_gam_range_entry *)ptr; ptr 1273 arch/x86/kernel/apic/x2apic_uv_x.c unsigned long ptr = st->entry[i].offset; ptr 1275 arch/x86/kernel/apic/x2apic_uv_x.c if (!ptr) ptr 1278 arch/x86/kernel/apic/x2apic_uv_x.c ptr = ptr + (unsigned long)st; ptr 1282 arch/x86/kernel/apic/x2apic_uv_x.c decode_gam_params(ptr); ptr 1286 arch/x86/kernel/apic/x2apic_uv_x.c decode_gam_rng_tbl(ptr); ptr 99 arch/x86/kernel/cpu/mtrr/if.c char *ptr; ptr 115 arch/x86/kernel/cpu/mtrr/if.c ptr = line + linelen - 1; ptr 116 arch/x86/kernel/cpu/mtrr/if.c if (linelen && *ptr == '\n') ptr 117 arch/x86/kernel/cpu/mtrr/if.c *ptr = '\0'; ptr 120 arch/x86/kernel/cpu/mtrr/if.c reg = simple_strtoul(line + 8, &ptr, 0); ptr 130 arch/x86/kernel/cpu/mtrr/if.c base = simple_strtoull(line + 5, &ptr, 0); ptr 131 arch/x86/kernel/cpu/mtrr/if.c ptr = skip_spaces(ptr); ptr 133 arch/x86/kernel/cpu/mtrr/if.c if (strncmp(ptr, "size=", 5)) ptr 136 arch/x86/kernel/cpu/mtrr/if.c size = simple_strtoull(ptr + 5, &ptr, 0); ptr 139 arch/x86/kernel/cpu/mtrr/if.c ptr = skip_spaces(ptr); ptr 141 arch/x86/kernel/cpu/mtrr/if.c if (strncmp(ptr, "type=", 5)) ptr 143 arch/x86/kernel/cpu/mtrr/if.c ptr = skip_spaces(ptr + 5); ptr 145 arch/x86/kernel/cpu/mtrr/if.c i = match_string(mtrr_strings, MTRR_NUM_TYPES, ptr); ptr 754 arch/x86/kernel/ftrace.c unsigned long *ptr; ptr 807 arch/x86/kernel/ftrace.c ptr = (unsigned long *)(trampoline + size + RET_SIZE); ptr 808 arch/x86/kernel/ftrace.c *ptr = (unsigned long)ops; ptr 818 arch/x86/kernel/ftrace.c offset = (unsigned long)ptr; ptr 902 arch/x86/kernel/ftrace.c static void *addr_from_call(void *ptr) ptr 907 arch/x86/kernel/ftrace.c ret = probe_kernel_read(&calc, ptr, MCOUNT_INSN_SIZE); ptr 917 arch/x86/kernel/ftrace.c return ptr + MCOUNT_INSN_SIZE + calc.offset; ptr 931 arch/x86/kernel/ftrace.c void *ptr; ptr 948 arch/x86/kernel/ftrace.c ptr = (void *)FTRACE_REGS_ADDR + offset; ptr 950 arch/x86/kernel/ftrace.c ptr = (void *)FTRACE_ADDR + offset; ptr 952 arch/x86/kernel/ftrace.c return addr_from_call(ptr); ptr 80 arch/x86/kernel/head32.c unsigned long *ptr; ptr 112 arch/x86/kernel/head32.c ptr = (unsigned long *)__pa(&max_pfn_mapped); ptr 114 arch/x86/kernel/head32.c *ptr = (pte.pte & PTE_PFN_MASK) >> PAGE_SHIFT; ptr 116 arch/x86/kernel/head32.c ptr = (unsigned long *)__pa(&_brk_end); ptr 117 arch/x86/kernel/head32.c *ptr = (unsigned long)ptep + PAGE_OFFSET; ptr 66 arch/x86/kernel/head64.c static void __head *fixup_pointer(void *ptr, unsigned long physaddr) ptr 68 arch/x86/kernel/head64.c return ptr - (void *)_text + (void *)physaddr; ptr 71 arch/x86/kernel/head64.c static unsigned long __head *fixup_long(void *ptr, unsigned long physaddr) ptr 73 arch/x86/kernel/head64.c return fixup_pointer(ptr, physaddr); ptr 77 arch/x86/kernel/head64.c static unsigned int __head *fixup_int(void *ptr, unsigned long physaddr) ptr 79 arch/x86/kernel/head64.c return fixup_pointer(ptr, physaddr); ptr 444 arch/x86/kernel/kgdb.c char *ptr; ptr 450 arch/x86/kernel/kgdb.c ptr = &remcomInBuffer[1]; ptr 451 arch/x86/kernel/kgdb.c if (kgdb_hex2long(&ptr, &addr)) ptr 575 arch/x86/kernel/kgdb.c kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) ptr 581 arch/x86/kernel/kgdb.c ret = __kgdb_notify(ptr, cmd); ptr 404 arch/x86/kernel/kvm.c static inline void __set_percpu_decrypted(void *ptr, unsigned long size) ptr 406 arch/x86/kernel/kvm.c early_set_memory_decrypted((unsigned long) ptr, size); ptr 770 arch/x86/kernel/kvm.c static void kvm_wait(u8 *ptr, u8 val) ptr 779 arch/x86/kernel/kvm.c if (READ_ONCE(*ptr) != val) ptr 410 arch/x86/kernel/ldt.c static int read_ldt(void __user *ptr, unsigned long bytecount) ptr 430 arch/x86/kernel/ldt.c if (copy_to_user(ptr, mm->context.ldt->entries, entries_size)) { ptr 437 arch/x86/kernel/ldt.c if (clear_user(ptr + entries_size, bytecount - entries_size)) { ptr 449 arch/x86/kernel/ldt.c static int read_default_ldt(void __user *ptr, unsigned long bytecount) ptr 459 arch/x86/kernel/ldt.c if (clear_user(ptr, bytecount)) ptr 464 arch/x86/kernel/ldt.c static int write_ldt(void __user *ptr, unsigned long bytecount, int oldmode) ptr 477 arch/x86/kernel/ldt.c if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info))) ptr 553 arch/x86/kernel/ldt.c SYSCALL_DEFINE3(modify_ldt, int , func , void __user * , ptr , ptr 560 arch/x86/kernel/ldt.c ret = read_ldt(ptr, bytecount); ptr 563 arch/x86/kernel/ldt.c ret = write_ldt(ptr, bytecount, 1); ptr 566 arch/x86/kernel/ldt.c ret = read_default_ldt(ptr, bytecount); ptr 569 arch/x86/kernel/ldt.c ret = write_ldt(ptr, bytecount, 0); ptr 186 arch/x86/kernel/mpparse.c static void skip_entry(unsigned char **ptr, int *count, int size) ptr 188 arch/x86/kernel/mpparse.c *ptr += size; ptr 1220 arch/x86/kernel/pci-calgary_64.c unsigned long ptr; ptr 1249 arch/x86/kernel/pci-calgary_64.c ptr = ((unsigned long)rio_table_hdr) + 3; ptr 1250 arch/x86/kernel/pci-calgary_64.c for (i = 0; i < numnodes; i++, ptr += scal_detail_size) ptr 1251 arch/x86/kernel/pci-calgary_64.c scal_devs[i] = (struct scal_detail *)ptr; ptr 1254 arch/x86/kernel/pci-calgary_64.c i++, ptr += rio_detail_size) ptr 1255 arch/x86/kernel/pci-calgary_64.c rio_devs[i] = (struct rio_detail *)ptr; ptr 1358 arch/x86/kernel/pci-calgary_64.c unsigned long ptr; ptr 1377 arch/x86/kernel/pci-calgary_64.c ptr = (unsigned long)phys_to_virt(get_bios_ebda()); ptr 1388 arch/x86/kernel/pci-calgary_64.c if (*((unsigned short *)(ptr + offset + 2)) == 0x4752){ ptr 1390 arch/x86/kernel/pci-calgary_64.c rio_table_hdr = (struct rio_table_hdr *)(ptr + offset + 4); ptr 1394 arch/x86/kernel/pci-calgary_64.c offset = *((unsigned short *)(ptr + offset)); ptr 183 arch/x86/kernel/probe_roms.c const unsigned short * const ptr = (const unsigned short *)rom; ptr 186 arch/x86/kernel/probe_roms.c return probe_kernel_address(ptr, sig) == 0 && sig == ROMSIGNATURE; ptr 106 arch/x86/kernel/setup_percpu.c void *ptr; ptr 109 arch/x86/kernel/setup_percpu.c ptr = memblock_alloc_from(size, align, goal); ptr 113 arch/x86/kernel/setup_percpu.c cpu, size, __pa(ptr)); ptr 115 arch/x86/kernel/setup_percpu.c ptr = memblock_alloc_try_nid(size, align, goal, ptr 120 arch/x86/kernel/setup_percpu.c cpu, size, node, __pa(ptr)); ptr 122 arch/x86/kernel/setup_percpu.c return ptr; ptr 136 arch/x86/kernel/setup_percpu.c static void __init pcpu_fc_free(void *ptr, size_t size) ptr 138 arch/x86/kernel/setup_percpu.c memblock_free(__pa(ptr), size); ptr 457 arch/x86/kernel/vm86_32.c #define pushb(base, ptr, val, err_label) \ ptr 460 arch/x86/kernel/vm86_32.c ptr--; \ ptr 461 arch/x86/kernel/vm86_32.c if (put_user(__val, base + ptr) < 0) \ ptr 465 arch/x86/kernel/vm86_32.c #define pushw(base, ptr, val, err_label) \ ptr 468 arch/x86/kernel/vm86_32.c ptr--; \ ptr 469 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 1), base + ptr) < 0) \ ptr 471 arch/x86/kernel/vm86_32.c ptr--; \ ptr 472 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 0), base + ptr) < 0) \ ptr 476 arch/x86/kernel/vm86_32.c #define pushl(base, ptr, val, err_label) \ ptr 479 arch/x86/kernel/vm86_32.c ptr--; \ ptr 480 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 3), base + ptr) < 0) \ ptr 482 arch/x86/kernel/vm86_32.c ptr--; \ ptr 483 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 2), base + ptr) < 0) \ ptr 485 arch/x86/kernel/vm86_32.c ptr--; \ ptr 486 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 1), base + ptr) < 0) \ ptr 488 arch/x86/kernel/vm86_32.c ptr--; \ ptr 489 arch/x86/kernel/vm86_32.c if (put_user(val_byte(__val, 0), base + ptr) < 0) \ ptr 493 arch/x86/kernel/vm86_32.c #define popb(base, ptr, err_label) \ ptr 496 arch/x86/kernel/vm86_32.c if (get_user(__res, base + ptr) < 0) \ ptr 498 arch/x86/kernel/vm86_32.c ptr++; \ ptr 502 arch/x86/kernel/vm86_32.c #define popw(base, ptr, err_label) \ ptr 505 arch/x86/kernel/vm86_32.c if (get_user(val_byte(__res, 0), base + ptr) < 0) \ ptr 507 arch/x86/kernel/vm86_32.c ptr++; \ ptr 508 arch/x86/kernel/vm86_32.c if (get_user(val_byte(__res, 1), base + ptr) < 0) \ ptr 510 arch/x86/kernel/vm86_32.c ptr++; \ ptr 514 arch/x86/kernel/vm86_32.c #define popl(base, ptr, err_label) \ ptr 517 arch/x86/kernel/vm86_32.c if (get_user(val_byte(__res, 0), base + ptr) < 0) \ ptr 519 arch/x86/kernel/vm86_32.c ptr++; \ ptr 520 arch/x86/kernel/vm86_32.c if (get_user(val_byte(__res, 1), base + ptr) < 0) \ ptr 522 arch/x86/kernel/vm86_32.c ptr++; \ ptr 523 arch/x86/kernel/vm86_32.c if (get_user(val_byte(__res, 2), base + ptr) < 0) \ ptr 525 arch/x86/kernel/vm86_32.c ptr++; \ ptr 526 arch/x86/kernel/vm86_32.c if (get_user(val_byte(__res, 3), base + ptr) < 0) \ ptr 528 arch/x86/kernel/vm86_32.c ptr++; \ ptr 924 arch/x86/kvm/emulate.c unsigned done_size = ctxt->fetch.end - ctxt->fetch.ptr; ptr 940 arch/x86/kvm/emulate.c memcpy(&_x, ctxt->fetch.ptr, sizeof(_type)); \ ptr 941 arch/x86/kvm/emulate.c ctxt->fetch.ptr += sizeof(_type); \ ptr 951 arch/x86/kvm/emulate.c memcpy(_arr, ctxt->fetch.ptr, _size); \ ptr 952 arch/x86/kvm/emulate.c ctxt->fetch.ptr += (_size); \ ptr 3847 arch/x86/kvm/emulate.c struct desc_ptr *ptr)) ptr 5197 arch/x86/kvm/emulate.c ctxt->fetch.ptr = ctxt->fetch.data; ptr 748 arch/x86/kvm/trace.h __entry->len = vcpu->arch.emulate_ctxt.fetch.ptr ptr 5819 arch/x86/kvm/x86.c #define CMPXCHG_TYPE(t, ptr, old, new) \ ptr 5820 arch/x86/kvm/x86.c (cmpxchg((t *)(ptr), *(t *)(old), *(t *)(new)) == *(t *)(old)) ptr 5823 arch/x86/kvm/x86.c # define CMPXCHG64(ptr, old, new) CMPXCHG_TYPE(u64, ptr, old, new) ptr 5825 arch/x86/kvm/x86.c # define CMPXCHG64(ptr, old, new) \ ptr 5826 arch/x86/kvm/x86.c (cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old)) ptr 184 arch/x86/math-emu/fpu_emu.h #define isdenormal(ptr) (exponent(ptr) == EXP_BIAS+EXP_UNDER) ptr 74 arch/x86/math-emu/fpu_proto.h extern int FPU_Special(FPU_REG const *ptr); ptr 75 arch/x86/math-emu/fpu_proto.h extern int isNaN(FPU_REG const *ptr); ptr 150 arch/x86/math-emu/fpu_proto.h extern int FPU_tagof(FPU_REG *ptr); ptr 62 arch/x86/math-emu/fpu_tags.c int FPU_Special(FPU_REG const *ptr) ptr 64 arch/x86/math-emu/fpu_tags.c int exp = exponent(ptr); ptr 70 arch/x86/math-emu/fpu_tags.c else if ((ptr->sigh == 0x80000000) && (ptr->sigl == 0)) ptr 75 arch/x86/math-emu/fpu_tags.c int isNaN(FPU_REG const *ptr) ptr 77 arch/x86/math-emu/fpu_tags.c return ((exponent(ptr) == EXP_BIAS + EXP_OVER) ptr 78 arch/x86/math-emu/fpu_tags.c && !((ptr->sigh == 0x80000000) && (ptr->sigl == 0))); ptr 53 arch/x86/math-emu/reg_ld_str.c int FPU_tagof(FPU_REG *ptr) ptr 57 arch/x86/math-emu/reg_ld_str.c exp = exponent16(ptr) & 0x7fff; ptr 59 arch/x86/math-emu/reg_ld_str.c if (!(ptr->sigh | ptr->sigl)) { ptr 71 arch/x86/math-emu/reg_ld_str.c if (!(ptr->sigh & 0x80000000)) { ptr 49 arch/x86/mm/cpu_entry_area.c cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) ptr 51 arch/x86/mm/cpu_entry_area.c for ( ; pages; pages--, cea_vaddr+= PAGE_SIZE, ptr += PAGE_SIZE) ptr 52 arch/x86/mm/cpu_entry_area.c cea_set_pte(cea_vaddr, per_cpu_ptr_to_phys(ptr), prot); ptr 226 arch/x86/mm/init_64.c void *ptr; ptr 229 arch/x86/mm/init_64.c ptr = (void *) get_zeroed_page(GFP_ATOMIC); ptr 231 arch/x86/mm/init_64.c ptr = memblock_alloc(PAGE_SIZE, PAGE_SIZE); ptr 233 arch/x86/mm/init_64.c if (!ptr || ((unsigned long)ptr & ~PAGE_MASK)) { ptr 238 arch/x86/mm/init_64.c pr_debug("spp_getpage %p\n", ptr); ptr 240 arch/x86/mm/init_64.c return ptr; ptr 29 arch/x86/mm/kasan_init_64.c void *ptr = memblock_alloc_try_nid(size, size, ptr 32 arch/x86/mm/kasan_init_64.c if (!ptr && should_panic) ptr 36 arch/x86/mm/kasan_init_64.c return ptr; ptr 321 arch/x86/mm/kasan_init_64.c void *ptr; ptr 323 arch/x86/mm/kasan_init_64.c ptr = (void *)pgd_page_vaddr(*pgd_offset_k(KASAN_SHADOW_END)); ptr 324 arch/x86/mm/kasan_init_64.c memcpy(tmp_p4d_table, (void *)ptr, sizeof(tmp_p4d_table)); ptr 16 arch/x86/net/bpf_jit_comp.c static u8 *emit_code(u8 *ptr, u32 bytes, unsigned int len) ptr 19 arch/x86/net/bpf_jit_comp.c *ptr = bytes; ptr 21 arch/x86/net/bpf_jit_comp.c *(u16 *)ptr = bytes; ptr 23 arch/x86/net/bpf_jit_comp.c *(u32 *)ptr = bytes; ptr 26 arch/x86/net/bpf_jit_comp.c return ptr + len; ptr 50 arch/x86/net/bpf_jit_comp32.c static u8 *emit_code(u8 *ptr, u32 bytes, unsigned int len) ptr 53 arch/x86/net/bpf_jit_comp32.c *ptr = bytes; ptr 55 arch/x86/net/bpf_jit_comp32.c *(u16 *)ptr = bytes; ptr 57 arch/x86/net/bpf_jit_comp32.c *(u32 *)ptr = bytes; ptr 60 arch/x86/net/bpf_jit_comp32.c return ptr + len; ptr 39 arch/x86/platform/pvh/enlighten.c void __init __weak mem_map_via_hcall(struct boot_params *ptr __maybe_unused) ptr 370 arch/x86/platform/uv/tlb_uv.c static void do_reset(void *ptr) ptr 374 arch/x86/platform/uv/tlb_uv.c struct reset_args *rap = (struct reset_args *)ptr; ptr 332 arch/x86/power/cpu.c void *ptr) ptr 41 arch/x86/purgatory/purgatory.c struct kexec_sha_region *ptr, *end; ptr 48 arch/x86/purgatory/purgatory.c for (ptr = purgatory_sha_regions; ptr < end; ptr++) ptr 49 arch/x86/purgatory/purgatory.c sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); ptr 80 arch/x86/realmode/init.c u32 *ptr = (u32 *) (base + *rel++); ptr 81 arch/x86/realmode/init.c *ptr += phys_base; ptr 16 arch/x86/um/ldt.c static inline int modify_ldt (int func, void *ptr, unsigned long bytecount) ptr 18 arch/x86/um/ldt.c return syscall(__NR_modify_ldt, func, ptr, bytecount); ptr 54 arch/x86/um/ldt.c static int read_ldt(void __user * ptr, unsigned long bytecount) ptr 71 arch/x86/um/ldt.c if (copy_to_user(ptr, ldt->u.entries, size)) ptr 74 arch/x86/um/ldt.c ptr += size; ptr 82 arch/x86/um/ldt.c if (copy_to_user(ptr, ldt->u.pages[i], size)) { ptr 87 arch/x86/um/ldt.c ptr += size; ptr 95 arch/x86/um/ldt.c if (clear_user(ptr, bytecount)) ptr 102 arch/x86/um/ldt.c static int read_default_ldt(void __user * ptr, unsigned long bytecount) ptr 115 arch/x86/um/ldt.c if (clear_user(ptr, bytecount)) ptr 121 arch/x86/um/ldt.c static int write_ldt(void __user * ptr, unsigned long bytecount, int func) ptr 134 arch/x86/um/ldt.c if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info))) ptr 207 arch/x86/um/ldt.c static long do_modify_ldt_skas(int func, void __user *ptr, ptr 214 arch/x86/um/ldt.c ret = read_ldt(ptr, bytecount); ptr 218 arch/x86/um/ldt.c ret = write_ldt(ptr, bytecount, func); ptr 221 arch/x86/um/ldt.c ret = read_default_ldt(ptr, bytecount); ptr 373 arch/x86/um/ldt.c SYSCALL_DEFINE3(modify_ldt, int , func , void __user * , ptr , ptr 377 arch/x86/um/ldt.c return (unsigned int)do_modify_ldt_skas(func, ptr, bytecount); ptr 18 arch/x86/um/syscalls_64.c unsigned long *ptr = arg2, tmp; ptr 52 arch/x86/um/syscalls_64.c ptr = &tmp; ptr 55 arch/x86/um/syscalls_64.c ret = os_arch_prctl(pid, option, ptr); ptr 61 arch/x86/um/syscalls_64.c current->thread.arch.fs = (unsigned long) ptr; ptr 280 arch/x86/xen/enlighten.c xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 582 arch/x86/xen/enlighten_pv.c const void *ptr) ptr 585 arch/x86/xen/enlighten_pv.c u64 entry = *(u64 *)ptr; ptr 173 arch/x86/xen/mmu_pv.c static bool xen_page_pinned(void *ptr) ptr 176 arch/x86/xen/mmu_pv.c struct page *page = virt_to_page(ptr); ptr 219 arch/x86/xen/mmu_pv.c static void xen_set_pmd_hyper(pmd_t *ptr, pmd_t val) ptr 228 arch/x86/xen/mmu_pv.c u.ptr = arbitrary_virt_to_machine(ptr).maddr; ptr 237 arch/x86/xen/mmu_pv.c static void xen_set_pmd(pmd_t *ptr, pmd_t val) ptr 239 arch/x86/xen/mmu_pv.c trace_xen_mmu_set_pmd(ptr, val); ptr 243 arch/x86/xen/mmu_pv.c if (!xen_page_pinned(ptr)) { ptr 244 arch/x86/xen/mmu_pv.c *ptr = val; ptr 248 arch/x86/xen/mmu_pv.c xen_set_pmd_hyper(ptr, val); ptr 269 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE; ptr 290 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE; ptr 325 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptep).maddr | MMU_PT_UPDATE_PRESERVE_AD; ptr 410 arch/x86/xen/mmu_pv.c static void xen_set_pud_hyper(pud_t *ptr, pud_t val) ptr 419 arch/x86/xen/mmu_pv.c u.ptr = arbitrary_virt_to_machine(ptr).maddr; ptr 428 arch/x86/xen/mmu_pv.c static void xen_set_pud(pud_t *ptr, pud_t val) ptr 430 arch/x86/xen/mmu_pv.c trace_xen_mmu_set_pud(ptr, val); ptr 434 arch/x86/xen/mmu_pv.c if (!xen_page_pinned(ptr)) { ptr 435 arch/x86/xen/mmu_pv.c *ptr = val; ptr 439 arch/x86/xen/mmu_pv.c xen_set_pud_hyper(ptr, val); ptr 500 arch/x86/xen/mmu_pv.c static void __xen_set_p4d_hyper(p4d_t *ptr, p4d_t val) ptr 504 arch/x86/xen/mmu_pv.c u.ptr = virt_to_machine(ptr).maddr; ptr 516 arch/x86/xen/mmu_pv.c static void __init xen_set_p4d_hyper(p4d_t *ptr, p4d_t val) ptr 522 arch/x86/xen/mmu_pv.c __xen_set_p4d_hyper(ptr, val); ptr 529 arch/x86/xen/mmu_pv.c static void xen_set_p4d(p4d_t *ptr, p4d_t val) ptr 531 arch/x86/xen/mmu_pv.c pgd_t *user_ptr = xen_get_user_pgd((pgd_t *)ptr); ptr 534 arch/x86/xen/mmu_pv.c trace_xen_mmu_set_p4d(ptr, (p4d_t *)user_ptr, val); ptr 538 arch/x86/xen/mmu_pv.c if (!xen_page_pinned(ptr)) { ptr 539 arch/x86/xen/mmu_pv.c *ptr = val; ptr 552 arch/x86/xen/mmu_pv.c __xen_set_p4d_hyper(ptr, val); ptr 2705 arch/x86/xen/mmu_pv.c rmd->mmu_update->ptr = virt_to_machine(ptep).maddr; ptr 2706 arch/x86/xen/mmu_pv.c rmd->mmu_update->ptr |= rmd->no_translate ? ptr 185 arch/x86/xen/p2m.c void *ptr = memblock_alloc(PAGE_SIZE, PAGE_SIZE); ptr 187 arch/x86/xen/p2m.c if (!ptr) ptr 191 arch/x86/xen/p2m.c return ptr; ptr 291 arch/x86/xen/setup.c .ptr = ((uint64_t)mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE, ptr 575 arch/x86/xen/time.c static int __init parse_xen_timer_slop(char *ptr) ptr 577 arch/x86/xen/time.c unsigned long slop = memparse(ptr, NULL); ptr 74 arch/xtensa/include/asm/cmpxchg.h __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) ptr 77 arch/xtensa/include/asm/cmpxchg.h case 4: return __cmpxchg_u32(ptr, old, new); ptr 83 arch/xtensa/include/asm/cmpxchg.h #define cmpxchg(ptr,o,n) \ ptr 84 arch/xtensa/include/asm/cmpxchg.h ({ __typeof__(*(ptr)) _o_ = (o); \ ptr 85 arch/xtensa/include/asm/cmpxchg.h __typeof__(*(ptr)) _n_ = (n); \ ptr 86 arch/xtensa/include/asm/cmpxchg.h (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ ptr 87 arch/xtensa/include/asm/cmpxchg.h (unsigned long)_n_, sizeof (*(ptr))); \ ptr 92 arch/xtensa/include/asm/cmpxchg.h static inline unsigned long __cmpxchg_local(volatile void *ptr, ptr 98 arch/xtensa/include/asm/cmpxchg.h return __cmpxchg_u32(ptr, old, new); ptr 100 arch/xtensa/include/asm/cmpxchg.h return __cmpxchg_local_generic(ptr, old, new, size); ptr 110 arch/xtensa/include/asm/cmpxchg.h #define cmpxchg_local(ptr, o, n) \ ptr 111 arch/xtensa/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ ptr 112 arch/xtensa/include/asm/cmpxchg.h (unsigned long)(n), sizeof(*(ptr)))) ptr 113 arch/xtensa/include/asm/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 114 arch/xtensa/include/asm/cmpxchg.h #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) ptr 171 arch/xtensa/include/asm/cmpxchg.h #define xchg(ptr,x) \ ptr 172 arch/xtensa/include/asm/cmpxchg.h ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ptr 174 arch/xtensa/include/asm/cmpxchg.h static inline u32 xchg_small(volatile void *ptr, u32 x, int size) ptr 176 arch/xtensa/include/asm/cmpxchg.h int off = (unsigned long)ptr % sizeof(u32); ptr 177 arch/xtensa/include/asm/cmpxchg.h volatile u32 *p = ptr - off; ptr 205 arch/xtensa/include/asm/cmpxchg.h __xchg(unsigned long x, volatile void * ptr, int size) ptr 209 arch/xtensa/include/asm/cmpxchg.h return xchg_small(ptr, x, 1); ptr 211 arch/xtensa/include/asm/cmpxchg.h return xchg_small(ptr, x, 2); ptr 213 arch/xtensa/include/asm/cmpxchg.h return xchg_u32(ptr, x); ptr 27 arch/xtensa/include/asm/coprocessor.h .macro xchal_sa_align ptr minofs maxofs ofsalign totalign ptr 36 arch/xtensa/include/asm/coprocessor.h .macro save_xtregs_opt ptr clb at1 at2 at3 at4 offset ptr 43 arch/xtensa/include/asm/coprocessor.h .macro load_xtregs_opt ptr clb at1 at2 at3 at4 offset ptr 55 arch/xtensa/include/asm/coprocessor.h .macro save_xtregs_user ptr clb at1 at2 at3 at4 offset ptr 62 arch/xtensa/include/asm/coprocessor.h .macro load_xtregs_user ptr clb at1 at2 at3 at4 offset ptr 62 arch/xtensa/include/asm/uaccess.h #define put_user(x, ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) ptr 63 arch/xtensa/include/asm/uaccess.h #define get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) ptr 71 arch/xtensa/include/asm/uaccess.h #define __put_user(x, ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 72 arch/xtensa/include/asm/uaccess.h #define __get_user(x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) ptr 77 arch/xtensa/include/asm/uaccess.h #define __put_user_nocheck(x, ptr, size) \ ptr 80 arch/xtensa/include/asm/uaccess.h __put_user_size((x), (ptr), (size), __pu_err); \ ptr 84 arch/xtensa/include/asm/uaccess.h #define __put_user_check(x, ptr, size) \ ptr 87 arch/xtensa/include/asm/uaccess.h __typeof__(*(ptr)) *__pu_addr = (ptr); \ ptr 93 arch/xtensa/include/asm/uaccess.h #define __put_user_size(x, ptr, size, retval) \ ptr 98 arch/xtensa/include/asm/uaccess.h case 1: __put_user_asm(x, ptr, retval, 1, "s8i", __cb); break; \ ptr 99 arch/xtensa/include/asm/uaccess.h case 2: __put_user_asm(x, ptr, retval, 2, "s16i", __cb); break; \ ptr 100 arch/xtensa/include/asm/uaccess.h case 4: __put_user_asm(x, ptr, retval, 4, "s32i", __cb); break; \ ptr 102 arch/xtensa/include/asm/uaccess.h __typeof__(*ptr) __v64 = x; \ ptr 103 arch/xtensa/include/asm/uaccess.h retval = __copy_to_user(ptr, &__v64, 8) ? -EFAULT : 0; \ ptr 173 arch/xtensa/include/asm/uaccess.h #define __get_user_nocheck(x, ptr, size) \ ptr 176 arch/xtensa/include/asm/uaccess.h __get_user_size((x), (ptr), (size), __gu_err); \ ptr 180 arch/xtensa/include/asm/uaccess.h #define __get_user_check(x, ptr, size) \ ptr 183 arch/xtensa/include/asm/uaccess.h const __typeof__(*(ptr)) *__gu_addr = (ptr); \ ptr 193 arch/xtensa/include/asm/uaccess.h #define __get_user_size(x, ptr, size, retval) \ ptr 198 arch/xtensa/include/asm/uaccess.h case 1: __get_user_asm(x, ptr, retval, 1, "l8ui", __cb); break;\ ptr 199 arch/xtensa/include/asm/uaccess.h case 2: __get_user_asm(x, ptr, retval, 2, "l16ui", __cb); break;\ ptr 200 arch/xtensa/include/asm/uaccess.h case 4: __get_user_asm(x, ptr, retval, 4, "l32i", __cb); break;\ ptr 203 arch/xtensa/include/asm/uaccess.h if (unlikely(__copy_from_user(&__x, ptr, 8))) { \ ptr 207 arch/xtensa/include/asm/uaccess.h (x) = *(__force __typeof__((ptr)))&__x; \ ptr 64 arch/xtensa/platforms/iss/setup.c iss_panic_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 76 arch/xtensa/variants/csp/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 142 arch/xtensa/variants/csp/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 37 arch/xtensa/variants/dc232b/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 78 arch/xtensa/variants/dc232b/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 77 arch/xtensa/variants/dc233c/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 141 arch/xtensa/variants/dc233c/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 76 arch/xtensa/variants/de212/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 130 arch/xtensa/variants/de212/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 37 arch/xtensa/variants/fsf/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 52 arch/xtensa/variants/fsf/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 76 arch/xtensa/variants/test_kc705_be/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 142 arch/xtensa/variants/test_kc705_be/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 201 arch/xtensa/variants/test_kc705_be/include/variant/tie-asm.h .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 249 arch/xtensa/variants/test_kc705_be/include/variant/tie-asm.h .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 77 arch/xtensa/variants/test_kc705_hifi/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 143 arch/xtensa/variants/test_kc705_hifi/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 205 arch/xtensa/variants/test_kc705_hifi/include/variant/tie-asm.h .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 262 arch/xtensa/variants/test_kc705_hifi/include/variant/tie-asm.h .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 ptr 36 arch/xtensa/variants/test_mmuhifi_c3/include/variant/tie-asm.h .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 63 arch/xtensa/variants/test_mmuhifi_c3/include/variant/tie-asm.h .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 97 arch/xtensa/variants/test_mmuhifi_c3/include/variant/tie-asm.h .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 133 arch/xtensa/variants/test_mmuhifi_c3/include/variant/tie-asm.h .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL ptr 31 block/partitions/ibm.c static sector_t cchh2blk(struct vtoc_cchh *ptr, struct hd_geometry *geo) ptr 37 block/partitions/ibm.c cyl = ptr->hh & 0xFFF0; ptr 39 block/partitions/ibm.c cyl |= ptr->cc; ptr 40 block/partitions/ibm.c head = ptr->hh & 0x000F; ptr 49 block/partitions/ibm.c static sector_t cchhb2blk(struct vtoc_cchhb *ptr, struct hd_geometry *geo) ptr 55 block/partitions/ibm.c cyl = ptr->hh & 0xFFF0; ptr 57 block/partitions/ibm.c cyl |= ptr->cc; ptr 58 block/partitions/ibm.c head = ptr->hh & 0x000F; ptr 61 block/partitions/ibm.c ptr->b; ptr 259 block/sed-opal.c static void print_buffer(const u8 *ptr, u32 length) ptr 262 block/sed-opal.c print_hex_dump_bytes("OPAL: ", DUMP_PREFIX_OFFSET, ptr, length); ptr 183 crypto/ansi_cprng.c unsigned char *ptr = buf; ptr 230 crypto/ansi_cprng.c *ptr = ctx->rand_data[ctx->rand_data_valid]; ptr 231 crypto/ansi_cprng.c ptr++; ptr 252 crypto/ansi_cprng.c memcpy(ptr, ctx->rand_data, DEFAULT_BLK_SZ); ptr 254 crypto/ansi_cprng.c ptr += DEFAULT_BLK_SZ; ptr 109 crypto/asymmetric_keys/public_key.c u8 *key, *ptr; ptr 127 crypto/asymmetric_keys/public_key.c ptr = key + pkey->keylen; ptr 128 crypto/asymmetric_keys/public_key.c ptr = pkey_pack_u32(ptr, pkey->algo); ptr 129 crypto/asymmetric_keys/public_key.c ptr = pkey_pack_u32(ptr, pkey->paramlen); ptr 130 crypto/asymmetric_keys/public_key.c memcpy(ptr, pkey->params, pkey->paramlen); ptr 172 crypto/asymmetric_keys/public_key.c char *key, *ptr; ptr 198 crypto/asymmetric_keys/public_key.c ptr = key + pkey->keylen; ptr 199 crypto/asymmetric_keys/public_key.c ptr = pkey_pack_u32(ptr, pkey->algo); ptr 200 crypto/asymmetric_keys/public_key.c ptr = pkey_pack_u32(ptr, pkey->paramlen); ptr 201 crypto/asymmetric_keys/public_key.c memcpy(ptr, pkey->params, pkey->paramlen); ptr 259 crypto/asymmetric_keys/public_key.c char *key, *ptr; ptr 289 crypto/asymmetric_keys/public_key.c ptr = key + pkey->keylen; ptr 290 crypto/asymmetric_keys/public_key.c ptr = pkey_pack_u32(ptr, pkey->algo); ptr 291 crypto/asymmetric_keys/public_key.c ptr = pkey_pack_u32(ptr, pkey->paramlen); ptr 292 crypto/asymmetric_keys/public_key.c memcpy(ptr, pkey->params, pkey->paramlen); ptr 42 crypto/dh_helper.c u8 *ptr = buf; ptr 43 crypto/dh_helper.c u8 * const end = ptr + len; ptr 52 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, &secret, sizeof(secret)); ptr 53 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, ¶ms->key_size, ptr 55 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, ¶ms->p_size, sizeof(params->p_size)); ptr 56 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, ¶ms->q_size, sizeof(params->q_size)); ptr 57 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, ¶ms->g_size, sizeof(params->g_size)); ptr 58 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, params->key, params->key_size); ptr 59 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, params->p, params->p_size); ptr 60 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, params->q, params->q_size); ptr 61 crypto/dh_helper.c ptr = dh_pack_data(ptr, end, params->g, params->g_size); ptr 62 crypto/dh_helper.c if (ptr != end) ptr 70 crypto/dh_helper.c const u8 *ptr = buf; ptr 76 crypto/dh_helper.c ptr = dh_unpack_data(&secret, ptr, sizeof(secret)); ptr 80 crypto/dh_helper.c ptr = dh_unpack_data(¶ms->key_size, ptr, sizeof(params->key_size)); ptr 81 crypto/dh_helper.c ptr = dh_unpack_data(¶ms->p_size, ptr, sizeof(params->p_size)); ptr 82 crypto/dh_helper.c ptr = dh_unpack_data(¶ms->q_size, ptr, sizeof(params->q_size)); ptr 83 crypto/dh_helper.c ptr = dh_unpack_data(¶ms->g_size, ptr, sizeof(params->g_size)); ptr 98 crypto/dh_helper.c params->key = (void *)ptr; ptr 99 crypto/dh_helper.c params->p = (void *)(ptr + params->key_size); ptr 100 crypto/dh_helper.c params->q = (void *)(ptr + params->key_size + params->p_size); ptr 101 crypto/dh_helper.c params->g = (void *)(ptr + params->key_size + params->p_size + ptr 36 crypto/ecdh_helper.c u8 *ptr = buf; ptr 48 crypto/ecdh_helper.c ptr = ecdh_pack_data(ptr, &secret, sizeof(secret)); ptr 49 crypto/ecdh_helper.c ptr = ecdh_pack_data(ptr, ¶ms->curve_id, sizeof(params->curve_id)); ptr 50 crypto/ecdh_helper.c ptr = ecdh_pack_data(ptr, ¶ms->key_size, sizeof(params->key_size)); ptr 51 crypto/ecdh_helper.c ecdh_pack_data(ptr, params->key, params->key_size); ptr 60 crypto/ecdh_helper.c const u8 *ptr = buf; ptr 66 crypto/ecdh_helper.c ptr = ecdh_unpack_data(&secret, ptr, sizeof(secret)); ptr 70 crypto/ecdh_helper.c ptr = ecdh_unpack_data(¶ms->curve_id, ptr, sizeof(params->curve_id)); ptr 71 crypto/ecdh_helper.c ptr = ecdh_unpack_data(¶ms->key_size, ptr, sizeof(params->key_size)); ptr 78 crypto/ecdh_helper.c params->key = (void *)ptr; ptr 64 crypto/jitterentropy-kcapi.c void jent_zfree(void *ptr) ptr 66 crypto/jitterentropy-kcapi.c kzfree(ptr); ptr 108 crypto/jitterentropy.c void jent_zfree(void *ptr); ptr 20 crypto/rsa_helper.c const u8 *ptr = value; ptr 28 crypto/rsa_helper.c while (n_sz && !*ptr) { ptr 29 crypto/rsa_helper.c ptr++; ptr 3671 crypto/testmgr.c u8 *key, *ptr; ptr 3687 crypto/testmgr.c ptr = key + vecs->key_len; ptr 3688 crypto/testmgr.c ptr = test_pack_u32(ptr, vecs->algo); ptr 3689 crypto/testmgr.c ptr = test_pack_u32(ptr, vecs->param_len); ptr 3690 crypto/testmgr.c memcpy(ptr, vecs->params, vecs->param_len); ptr 18 drivers/acpi/acpica/acmacros.h #define ACPI_CAST8(ptr) ACPI_CAST_PTR (u8, (ptr)) ptr 19 drivers/acpi/acpica/acmacros.h #define ACPI_CAST16(ptr) ACPI_CAST_PTR (u16, (ptr)) ptr 20 drivers/acpi/acpica/acmacros.h #define ACPI_CAST32(ptr) ACPI_CAST_PTR (u32, (ptr)) ptr 21 drivers/acpi/acpica/acmacros.h #define ACPI_CAST64(ptr) ACPI_CAST_PTR (u64, (ptr)) ptr 22 drivers/acpi/acpica/acmacros.h #define ACPI_GET8(ptr) (*ACPI_CAST8 (ptr)) ptr 23 drivers/acpi/acpica/acmacros.h #define ACPI_GET16(ptr) (*ACPI_CAST16 (ptr)) ptr 24 drivers/acpi/acpica/acmacros.h #define ACPI_GET32(ptr) (*ACPI_CAST32 (ptr)) ptr 25 drivers/acpi/acpica/acmacros.h #define ACPI_GET64(ptr) (*ACPI_CAST64 (ptr)) ptr 26 drivers/acpi/acpica/acmacros.h #define ACPI_SET8(ptr, val) (*ACPI_CAST8 (ptr) = (u8) (val)) ptr 27 drivers/acpi/acpica/acmacros.h #define ACPI_SET16(ptr, val) (*ACPI_CAST16 (ptr) = (u16) (val)) ptr 28 drivers/acpi/acpica/acmacros.h #define ACPI_SET32(ptr, val) (*ACPI_CAST32 (ptr) = (u32) (val)) ptr 29 drivers/acpi/acpica/acmacros.h #define ACPI_SET64(ptr, val) (*ACPI_CAST64 (ptr) = (u64) (val)) ptr 322 drivers/acpi/acpica/acutils.h const char *module_name, u32 component_id, u8 *ptr); ptr 526 drivers/acpi/acpica/utdebug.c const char *module_name, u32 component_id, u8 *ptr) ptr 535 drivers/acpi/acpica/utdebug.c acpi_gbl_function_exit_prefix, ptr); ptr 458 drivers/acpi/battery.c u8 *ptr = (u8 *)battery + offsets[i].offset; ptr 461 drivers/acpi/battery.c strncpy(ptr, element->string.pointer, 32); ptr 463 drivers/acpi/battery.c strncpy(ptr, (u8 *)&element->integer.value, ptr 465 drivers/acpi/battery.c ptr[sizeof(u64)] = 0; ptr 467 drivers/acpi/battery.c *ptr = 0; /* don't have value */ ptr 805 drivers/acpi/battery.c struct acpi_battery_hook *ptr; ptr 811 drivers/acpi/battery.c list_for_each_entry_safe(hook, ptr, &battery_hook_list, list) { ptr 320 drivers/android/binder.c binder_uintptr_t ptr; ptr 1065 drivers/android/binder.c binder_uintptr_t ptr) ptr 1075 drivers/android/binder.c if (ptr < node->ptr) ptr 1077 drivers/android/binder.c else if (ptr > node->ptr) ptr 1093 drivers/android/binder.c binder_uintptr_t ptr) ptr 1098 drivers/android/binder.c node = binder_get_node_ilocked(proc, ptr); ptr 1111 drivers/android/binder.c binder_uintptr_t ptr = fp ? fp->binder : 0; ptr 1122 drivers/android/binder.c if (ptr < node->ptr) ptr 1124 drivers/android/binder.c else if (ptr > node->ptr) ptr 1143 drivers/android/binder.c node->ptr = ptr; ptr 1155 drivers/android/binder.c (u64)node->ptr, (u64)node->cookie); ptr 2315 drivers/android/binder.c node->debug_id, (u64)node->ptr); ptr 2482 drivers/android/binder.c node->debug_id, (u64)node->ptr, ptr 2517 drivers/android/binder.c fp->binder = node->ptr; ptr 2534 drivers/android/binder.c (u64)node->ptr); ptr 3085 drivers/android/binder.c (u64)tr->data.ptr.buffer, ptr 3086 drivers/android/binder.c (u64)tr->data.ptr.offsets, ptr 3094 drivers/android/binder.c (u64)tr->data.ptr.buffer, ptr 3095 drivers/android/binder.c (u64)tr->data.ptr.offsets, ptr 3176 drivers/android/binder.c (uintptr_t)tr->data.ptr.buffer, ptr 3190 drivers/android/binder.c (uintptr_t)tr->data.ptr.offsets, ptr 3605 drivers/android/binder.c void __user *ptr = buffer + *consumed; ptr 3608 drivers/android/binder.c while (ptr < end && thread->return_error.cmd == BR_OK) { ptr 3611 drivers/android/binder.c if (get_user(cmd, (uint32_t __user *)ptr)) ptr 3613 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 3631 drivers/android/binder.c if (get_user(target, (uint32_t __user *)ptr)) ptr 3634 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 3690 drivers/android/binder.c if (get_user(node_ptr, (binder_uintptr_t __user *)ptr)) ptr 3692 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 3693 drivers/android/binder.c if (get_user(cookie, (binder_uintptr_t __user *)ptr)) ptr 3695 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 3762 drivers/android/binder.c if (get_user(data_ptr, (binder_uintptr_t __user *)ptr)) ptr 3764 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 3795 drivers/android/binder.c if (copy_from_user(&tr, ptr, sizeof(tr))) ptr 3797 drivers/android/binder.c ptr += sizeof(tr); ptr 3806 drivers/android/binder.c if (copy_from_user(&tr, ptr, sizeof(tr))) ptr 3808 drivers/android/binder.c ptr += sizeof(tr); ptr 3859 drivers/android/binder.c if (get_user(target, (uint32_t __user *)ptr)) ptr 3861 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 3862 drivers/android/binder.c if (get_user(cookie, (binder_uintptr_t __user *)ptr)) ptr 3864 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 3981 drivers/android/binder.c if (get_user(cookie, (binder_uintptr_t __user *)ptr)) ptr 3984 drivers/android/binder.c ptr += sizeof(cookie); ptr 4031 drivers/android/binder.c *consumed = ptr - buffer; ptr 4055 drivers/android/binder.c void __user *ptr = *ptrp; ptr 4057 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) ptr 4059 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4061 drivers/android/binder.c if (put_user(node_ptr, (binder_uintptr_t __user *)ptr)) ptr 4063 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 4065 drivers/android/binder.c if (put_user(node_cookie, (binder_uintptr_t __user *)ptr)) ptr 4067 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 4074 drivers/android/binder.c *ptrp = ptr; ptr 4181 drivers/android/binder.c void __user *ptr = buffer + *consumed; ptr 4188 drivers/android/binder.c if (put_user(BR_NOOP, (uint32_t __user *)ptr)) ptr 4190 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4246 drivers/android/binder.c if (ptr - buffer == 4 && !thread->looper_need_return) ptr 4251 drivers/android/binder.c if (end - ptr < sizeof(tr) + 4) { ptr 4270 drivers/android/binder.c if (put_user(e->cmd, (uint32_t __user *)ptr)) ptr 4274 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4283 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) ptr 4285 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4295 drivers/android/binder.c binder_uintptr_t node_ptr = node->ptr; ptr 4300 drivers/android/binder.c void __user *orig_ptr = ptr; ptr 4351 drivers/android/binder.c proc, thread, &ptr, node_ptr, ptr 4356 drivers/android/binder.c proc, thread, &ptr, node_ptr, ptr 4361 drivers/android/binder.c proc, thread, &ptr, node_ptr, ptr 4366 drivers/android/binder.c proc, thread, &ptr, node_ptr, ptr 4369 drivers/android/binder.c if (orig_ptr == ptr) ptr 4409 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) ptr 4411 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4413 drivers/android/binder.c (binder_uintptr_t __user *)ptr)) ptr 4415 drivers/android/binder.c ptr += sizeof(binder_uintptr_t); ptr 4434 drivers/android/binder.c trd->target.ptr = target_node->ptr; ptr 4445 drivers/android/binder.c trd->target.ptr = 0; ptr 4484 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) ptr 4486 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4494 drivers/android/binder.c trd->data.ptr.buffer = (uintptr_t)t->buffer->user_data; ptr 4495 drivers/android/binder.c trd->data.ptr.offsets = trd->data.ptr.buffer + ptr 4504 drivers/android/binder.c if (put_user(cmd, (uint32_t __user *)ptr)) { ptr 4513 drivers/android/binder.c ptr += sizeof(uint32_t); ptr 4514 drivers/android/binder.c if (copy_to_user(ptr, &tr, trsize)) { ptr 4523 drivers/android/binder.c ptr += trsize; ptr 4536 drivers/android/binder.c (u64)trd->data.ptr.buffer, ptr 4537 drivers/android/binder.c (u64)trd->data.ptr.offsets); ptr 4556 drivers/android/binder.c *consumed = ptr - buffer; ptr 4978 drivers/android/binder.c binder_uintptr_t ptr = info->ptr; ptr 4986 drivers/android/binder.c if (node->ptr > ptr) { ptr 4987 drivers/android/binder.c info->ptr = node->ptr; ptr 5610 drivers/android/binder.c (u64)node->ptr, (u64)node->cookie); ptr 5677 drivers/android/binder.c node->debug_id, (u64)node->ptr, (u64)node->cookie, ptr 1137 drivers/android/binder_alloc.c void *ptr, ptr 1157 drivers/android/binder_alloc.c memcpy(tmpptr, ptr, size); ptr 1159 drivers/android/binder_alloc.c memcpy(ptr, tmpptr, size); ptr 1167 drivers/android/binder_alloc.c ptr = ptr + size; ptr 154 drivers/android/binder_trace.h __entry->node_ptr = node->ptr; ptr 181 drivers/android/binder_trace.h __entry->node_ptr = node->ptr; ptr 248 drivers/ata/sata_rcar.c u16 *ptr = buffer; ptr 253 drivers/ata/sata_rcar.c *ptr++ = data; ptr 259 drivers/ata/sata_rcar.c const u16 *ptr = buffer; ptr 262 drivers/ata/sata_rcar.c iowrite32(*ptr++, reg); ptr 624 drivers/atm/ambassador.c PRINTD (DBG_TX, "TX in slot %p", txq->in.ptr); ptr 626 drivers/atm/ambassador.c *txq->in.ptr = *tx; ptr 628 drivers/atm/ambassador.c txq->in.ptr = NEXTQ (txq->in.ptr, txq->in.start, txq->in.limit); ptr 630 drivers/atm/ambassador.c wr_mem (dev, offsetof(amb_mem, mb.adapter.tx_address), virt_to_bus (txq->in.ptr)); ptr 652 drivers/atm/ambassador.c if (txq->pending && txq->out.ptr->handle) { ptr 654 drivers/atm/ambassador.c tx_complete (dev, txq->out.ptr); ptr 656 drivers/atm/ambassador.c txq->out.ptr->handle = 0; ptr 659 drivers/atm/ambassador.c txq->out.ptr = NEXTQ (txq->out.ptr, txq->out.start, txq->out.limit); ptr 681 drivers/atm/ambassador.c PRINTD (DBG_RX, "RX in slot %p", rxq->in.ptr); ptr 683 drivers/atm/ambassador.c *rxq->in.ptr = *rx; ptr 685 drivers/atm/ambassador.c rxq->in.ptr = NEXTQ (rxq->in.ptr, rxq->in.start, rxq->in.limit); ptr 687 drivers/atm/ambassador.c wr_mem (dev, offsetof(amb_mem, mb.adapter.rx_address[pool]), virt_to_bus (rxq->in.ptr)); ptr 705 drivers/atm/ambassador.c if (rxq->pending && (rxq->out.ptr->status || rxq->out.ptr->length)) { ptr 707 drivers/atm/ambassador.c rx_complete (dev, rxq->out.ptr); ptr 709 drivers/atm/ambassador.c rxq->out.ptr->status = 0; ptr 710 drivers/atm/ambassador.c rxq->out.ptr->length = 0; ptr 713 drivers/atm/ambassador.c rxq->out.ptr = NEXTQ (rxq->out.ptr, rxq->out.start, rxq->out.limit); ptr 1557 drivers/atm/ambassador.c txq->in.ptr = in; ptr 1564 drivers/atm/ambassador.c txq->out.ptr = out; ptr 1586 drivers/atm/ambassador.c rxq->in.ptr = in; ptr 1593 drivers/atm/ambassador.c rxq->out.ptr = out; ptr 552 drivers/atm/ambassador.h tx_in * ptr; ptr 557 drivers/atm/ambassador.h tx_out * ptr; ptr 570 drivers/atm/ambassador.h rx_in * ptr; ptr 575 drivers/atm/ambassador.h rx_out * ptr; ptr 335 drivers/atm/firestream.c unsigned char *ptr = addr; ptr 338 drivers/atm/firestream.c printk ("%p ", ptr); ptr 340 drivers/atm/firestream.c printk ("%02x %s", ptr[j], (j==7)?" ":""); ptr 346 drivers/atm/firestream.c ch = ptr[j]; ptr 350 drivers/atm/firestream.c ptr += 16; ptr 198 drivers/atm/lanai.c u32 *ptr; /* Pointer to current host location */ ptr 352 drivers/atm/lanai.c buf->ptr = buf->start; ptr 374 drivers/atm/lanai.c buf->start = buf->end = buf->ptr = NULL; ptr 1138 drivers/atm/lanai.c r -= ((unsigned long) lvcc->tx.buf.ptr) - ptr 1163 drivers/atm/lanai.c APRINTK((((unsigned long) lvcc->tx.buf.ptr) & 15) == 0, ptr 1164 drivers/atm/lanai.c "vcc_tx_add_aal5_descriptor: bad ptr=%p\n", lvcc->tx.buf.ptr); ptr 1165 drivers/atm/lanai.c lvcc->tx.buf.ptr += 4; /* Hope the values REALLY don't matter */ ptr 1166 drivers/atm/lanai.c pos = ((unsigned char *) lvcc->tx.buf.ptr) - ptr 1171 drivers/atm/lanai.c lvcc->tx.buf.start, lvcc->tx.buf.ptr, lvcc->tx.buf.end); ptr 1176 drivers/atm/lanai.c lvcc->tx.buf.start, lvcc->tx.buf.ptr, lvcc->tx.buf.end); ptr 1177 drivers/atm/lanai.c lvcc->tx.buf.ptr[-1] = ptr 1181 drivers/atm/lanai.c if (lvcc->tx.buf.ptr >= lvcc->tx.buf.end) ptr 1182 drivers/atm/lanai.c lvcc->tx.buf.ptr = lvcc->tx.buf.start; ptr 1189 drivers/atm/lanai.c APRINTK((((unsigned long) lvcc->tx.buf.ptr) & 15) == 8, ptr 1190 drivers/atm/lanai.c "vcc_tx_add_aal5_trailer: bad ptr=%p\n", lvcc->tx.buf.ptr); ptr 1191 drivers/atm/lanai.c lvcc->tx.buf.ptr += 2; ptr 1192 drivers/atm/lanai.c lvcc->tx.buf.ptr[-2] = cpu_to_be32((uu << 24) | (cpi << 16) | len); ptr 1193 drivers/atm/lanai.c if (lvcc->tx.buf.ptr >= lvcc->tx.buf.end) ptr 1194 drivers/atm/lanai.c lvcc->tx.buf.ptr = lvcc->tx.buf.start; ptr 1202 drivers/atm/lanai.c e = ((unsigned char *) lvcc->tx.buf.ptr) + n; ptr 1206 drivers/atm/lanai.c memcpy(lvcc->tx.buf.ptr, src, n - m); ptr 1211 drivers/atm/lanai.c lvcc->tx.buf.ptr = (u32 *) e; ptr 1220 drivers/atm/lanai.c e = ((unsigned char *) lvcc->tx.buf.ptr) + n; ptr 1224 drivers/atm/lanai.c memset(lvcc->tx.buf.ptr, 0, n - m); ptr 1229 drivers/atm/lanai.c lvcc->tx.buf.ptr = (u32 *) e; ptr 1236 drivers/atm/lanai.c int i, ptr = ((unsigned char *) lvcc->tx.buf.ptr) - ptr 1238 drivers/atm/lanai.c APRINTK((ptr & ~0x0001FFF0) == 0, ptr 1240 drivers/atm/lanai.c ptr, lvcc->vci, lvcc->tx.buf.start, lvcc->tx.buf.ptr, ptr 1270 drivers/atm/lanai.c reg_write(lanai, (ptr << 12) | lvcc->vci, Butt_Reg); ptr 1367 drivers/atm/lanai.c int m = ((const unsigned char *) lvcc->rx.buf.ptr) + n - ptr 1371 drivers/atm/lanai.c memcpy(dest, lvcc->rx.buf.ptr, n - m); ptr 1384 drivers/atm/lanai.c int n = ((unsigned long) end) - ((unsigned long) lvcc->rx.buf.ptr); ptr 1419 drivers/atm/lanai.c lvcc->rx.buf.ptr = end; ptr 1673 drivers/atm/lanai.c (((unsigned long) lvcc->rx.buf.ptr) - ptr 1692 drivers/atm/lanai.c lvcc->rx.buf.ptr = &lvcc->rx.buf.start[SERVICE_GET_END(s) * 4]; ptr 1715 drivers/atm/lanai.c while (lanai->service.ptr != end) { ptr 1717 drivers/atm/lanai.c le32_to_cpup(lanai->service.ptr++)); ptr 1718 drivers/atm/lanai.c if (lanai->service.ptr >= lanai->service.end) ptr 1719 drivers/atm/lanai.c lanai->service.ptr = lanai->service.start; ptr 638 drivers/base/power/domain.c unsigned long val, void *ptr) ptr 898 drivers/base/regmap/regmap-irq.c struct regmap_irq_chip_data **ptr, *d; ptr 901 drivers/base/regmap/regmap-irq.c ptr = devres_alloc(devm_regmap_irq_chip_release, sizeof(*ptr), ptr 903 drivers/base/regmap/regmap-irq.c if (!ptr) ptr 909 drivers/base/regmap/regmap-irq.c devres_free(ptr); ptr 913 drivers/base/regmap/regmap-irq.c *ptr = d; ptr 914 drivers/base/regmap/regmap-irq.c devres_add(dev, ptr); ptr 1186 drivers/base/regmap/regmap.c struct regmap **ptr, *regmap; ptr 1188 drivers/base/regmap/regmap.c ptr = devres_alloc(devm_regmap_release, sizeof(*ptr), GFP_KERNEL); ptr 1189 drivers/base/regmap/regmap.c if (!ptr) ptr 1195 drivers/base/regmap/regmap.c *ptr = regmap; ptr 1196 drivers/base/regmap/regmap.c devres_add(dev, ptr); ptr 1198 drivers/base/regmap/regmap.c devres_free(ptr); ptr 781 drivers/block/amiflop.c ushort *ptr = (ushort *)raw, *endp = (ushort *)end; ptr 783 drivers/block/amiflop.c while (ptr < endp && *ptr++ != 0x4489) ptr 785 drivers/block/amiflop.c if (ptr < endp) { ptr 786 drivers/block/amiflop.c while (*ptr == 0x4489 && ptr < endp) ptr 787 drivers/block/amiflop.c ptr++; ptr 788 drivers/block/amiflop.c return (ulong)ptr; ptr 968 drivers/block/amiflop.c unsigned long *ptr = (unsigned long *)raw_buf; ptr 973 drivers/block/amiflop.c *ptr++ = 0xaaaaaaaa; ptr 977 drivers/block/amiflop.c ptr = putsec (disk, ptr, cnt); ptr 978 drivers/block/amiflop.c *(ushort *)ptr = (ptr[-1]&1) ? 0x2AA8 : 0xAAA8; ptr 1142 drivers/block/amiflop.c static void dbg(unsigned long ptr) ptr 1144 drivers/block/amiflop.c printk("raw data @%08lx: %08lx, %08lx ,%08lx, %08lx\n", ptr, ptr 1145 drivers/block/amiflop.c ((ulong *)ptr)[0], ((ulong *)ptr)[1], ptr 1146 drivers/block/amiflop.c ((ulong *)ptr)[2], ((ulong *)ptr)[3]); ptr 1326 drivers/block/amiflop.c unsigned long *ptr=(unsigned long *)raw; ptr 1331 drivers/block/amiflop.c *ptr++=0x92549254; ptr 1336 drivers/block/amiflop.c *ptr++=0x92549254; ptr 1340 drivers/block/amiflop.c *ptr++=0x92549254; ptr 1342 drivers/block/amiflop.c *ptr++=0xaaaaaaaa; ptr 1343 drivers/block/amiflop.c *ptr++=0x52245224; ptr 1344 drivers/block/amiflop.c *ptr++=0x52245552; ptr 1346 drivers/block/amiflop.c *ptr++=0x92549254; ptr 1350 drivers/block/amiflop.c ptr=ms_putsec(disk,ptr,cnt); ptr 1352 drivers/block/amiflop.c *(ushort *)ptr = 0xaaa8; /* MFM word before is always 0x9254 */ ptr 370 drivers/block/drbd/drbd_bitmap.c static inline void bm_vk_free(void *ptr) ptr 372 drivers/block/drbd/drbd_bitmap.c kvfree(ptr); ptr 3068 drivers/block/floppy.c struct floppy_raw_cmd *ptr) ptr 3072 drivers/block/floppy.c while (ptr) { ptr 3073 drivers/block/floppy.c struct floppy_raw_cmd cmd = *ptr; ptr 3080 drivers/block/floppy.c if ((ptr->flags & FD_RAW_READ) && ptr->buffer_length) { ptr 3081 drivers/block/floppy.c if (ptr->length >= 0 && ptr 3082 drivers/block/floppy.c ptr->length <= ptr->buffer_length) { ptr 3083 drivers/block/floppy.c long length = ptr->buffer_length - ptr->length; ptr 3084 drivers/block/floppy.c ret = fd_copyout(ptr->data, ptr->kernel_data, ptr 3090 drivers/block/floppy.c ptr = ptr->next; ptr 3096 drivers/block/floppy.c static void raw_cmd_free(struct floppy_raw_cmd **ptr) ptr 3101 drivers/block/floppy.c this = *ptr; ptr 3102 drivers/block/floppy.c *ptr = NULL; ptr 3118 drivers/block/floppy.c struct floppy_raw_cmd *ptr; ptr 3125 drivers/block/floppy.c ptr = kmalloc(sizeof(struct floppy_raw_cmd), GFP_KERNEL); ptr 3126 drivers/block/floppy.c if (!ptr) ptr 3128 drivers/block/floppy.c *rcmd = ptr; ptr 3129 drivers/block/floppy.c ret = copy_from_user(ptr, param, sizeof(*ptr)); ptr 3130 drivers/block/floppy.c ptr->next = NULL; ptr 3131 drivers/block/floppy.c ptr->buffer_length = 0; ptr 3132 drivers/block/floppy.c ptr->kernel_data = NULL; ptr 3136 drivers/block/floppy.c if (ptr->cmd_count > 33) ptr 3148 drivers/block/floppy.c ptr->reply[i] = 0; ptr 3149 drivers/block/floppy.c ptr->resultcode = 0; ptr 3151 drivers/block/floppy.c if (ptr->flags & (FD_RAW_READ | FD_RAW_WRITE)) { ptr 3152 drivers/block/floppy.c if (ptr->length <= 0) ptr 3154 drivers/block/floppy.c ptr->kernel_data = (char *)fd_dma_mem_alloc(ptr->length); ptr 3155 drivers/block/floppy.c fallback_on_nodma_alloc(&ptr->kernel_data, ptr->length); ptr 3156 drivers/block/floppy.c if (!ptr->kernel_data) ptr 3158 drivers/block/floppy.c ptr->buffer_length = ptr->length; ptr 3160 drivers/block/floppy.c if (ptr->flags & FD_RAW_WRITE) { ptr 3161 drivers/block/floppy.c ret = fd_copyin(ptr->data, ptr->kernel_data, ptr->length); ptr 3166 drivers/block/floppy.c if (ptr->flags & FD_RAW_MORE) { ptr 3167 drivers/block/floppy.c rcmd = &(ptr->next); ptr 3168 drivers/block/floppy.c ptr->rate &= 0x43; ptr 4929 drivers/block/floppy.c char *ptr; ptr 4932 drivers/block/floppy.c ptr = cfg; ptr 4939 drivers/block/floppy.c if (*ptr) ptr 4940 drivers/block/floppy.c floppy_setup(ptr); ptr 1893 drivers/block/loop.c static int unregister_transfer_cb(int id, void *ptr, void *data) ptr 1895 drivers/block/loop.c struct loop_device *lo = ptr; ptr 2116 drivers/block/loop.c static int find_free_cb(int id, void *ptr, void *data) ptr 2118 drivers/block/loop.c struct loop_device *lo = ptr; ptr 2314 drivers/block/loop.c static int loop_exit_cb(int id, void *ptr, void *data) ptr 2316 drivers/block/loop.c struct loop_device *lo = ptr; ptr 1747 drivers/block/nbd.c static int find_free_cb(int id, void *ptr, void *data) ptr 1749 drivers/block/nbd.c struct nbd_device *nbd = ptr; ptr 2234 drivers/block/nbd.c static int status_cb(int id, void *ptr, void *data) ptr 2236 drivers/block/nbd.c struct nbd_device *nbd = ptr; ptr 2398 drivers/block/nbd.c static int nbd_exit_cb(int id, void *ptr, void *data) ptr 2401 drivers/block/nbd.c struct nbd_device *nbd = ptr; ptr 551 drivers/block/ps3vram.c char *ptr = page_address(bvec.bv_page) + bvec.bv_offset; ptr 557 drivers/block/ps3vram.c error = ps3vram_write(dev, offset, len, &retlen, ptr); ptr 559 drivers/block/ps3vram.c error = ps3vram_read(dev, offset, len, &retlen, ptr); ptr 1683 drivers/block/skd_main.c skd_isr(int irq, void *ptr) ptr 1685 drivers/block/skd_main.c struct skd_device *skdev = ptr; ptr 1084 drivers/block/xen-blkfront.c static char *encode_disk_name(char *ptr, unsigned int n) ptr 1087 drivers/block/xen-blkfront.c ptr = encode_disk_name(ptr, n / 26 - 1); ptr 1088 drivers/block/xen-blkfront.c *ptr = 'a' + n % 26; ptr 1089 drivers/block/xen-blkfront.c return ptr + 1; ptr 1103 drivers/block/xen-blkfront.c char *ptr; ptr 1147 drivers/block/xen-blkfront.c ptr = encode_disk_name(gd->disk_name + sizeof(DEV_NAME) - 1, offset); ptr 1148 drivers/block/xen-blkfront.c BUG_ON(ptr >= gd->disk_name + DISK_NAME_LEN); ptr 1150 drivers/block/xen-blkfront.c *ptr = 0; ptr 1152 drivers/block/xen-blkfront.c snprintf(ptr, gd->disk_name + DISK_NAME_LEN - ptr, ptr 371 drivers/block/xsysace.c const char *ptr = base; ptr 379 drivers/block/xsysace.c printk("%.2x", ptr[i + j]); ptr 383 drivers/block/xsysace.c printk("%c", isprint(ptr[i + j]) ? ptr[i + j] : '.'); ptr 201 drivers/block/zram/zram_drv.c static inline void zram_fill_page(void *ptr, unsigned long len, ptr 205 drivers/block/zram/zram_drv.c memset_l(ptr, value, len / sizeof(unsigned long)); ptr 208 drivers/block/zram/zram_drv.c static bool page_same_filled(void *ptr, unsigned long *element) ptr 214 drivers/block/zram/zram_drv.c page = (unsigned long *)ptr; ptr 2072 drivers/block/zram/zram_drv.c static int zram_remove_cb(int id, void *ptr, void *data) ptr 2074 drivers/block/zram/zram_drv.c zram_remove(ptr); ptr 449 drivers/bluetooth/bt3c_cs.c char *ptr = (char *) firmware; ptr 469 drivers/bluetooth/bt3c_cs.c if (ptr[0] != 'S') { ptr 476 drivers/bluetooth/bt3c_cs.c memcpy(b, ptr + 2, 2); ptr 481 drivers/bluetooth/bt3c_cs.c memcpy(b, ptr + 4, 8); ptr 486 drivers/bluetooth/bt3c_cs.c memcpy(b, ptr + (size * 2) + 2, 2); ptr 492 drivers/bluetooth/bt3c_cs.c memcpy(b, ptr + (i * 2) + 2, 2); ptr 504 drivers/bluetooth/bt3c_cs.c if (ptr[1] == '3') { ptr 509 drivers/bluetooth/bt3c_cs.c memcpy(b, ptr + (i * 4) + 12, 4); ptr 516 drivers/bluetooth/bt3c_cs.c ptr += (size * 2) + 6; ptr 1290 drivers/bluetooth/btmrvl_sdio.c char buf[256], *ptr; ptr 1299 drivers/bluetooth/btmrvl_sdio.c ptr = buf; ptr 1312 drivers/bluetooth/btmrvl_sdio.c ptr += sprintf(ptr, "SDIO Func%d (%#x-%#x): ", ptr 1321 drivers/bluetooth/btmrvl_sdio.c ptr += sprintf(ptr, "%02x ", data); ptr 1323 drivers/bluetooth/btmrvl_sdio.c ptr += sprintf(ptr, "ERR"); ptr 2006 drivers/bluetooth/btusb.c static void btusb_intel_bootup(struct btusb_data *data, const void *ptr, ptr 2009 drivers/bluetooth/btusb.c const struct intel_bootup *evt = ptr; ptr 2019 drivers/bluetooth/btusb.c const void *ptr, unsigned int len) ptr 2021 drivers/bluetooth/btusb.c const struct intel_secure_send_result *evt = ptr; ptr 2043 drivers/bluetooth/btusb.c const void *ptr = skb->data + HCI_EVENT_HDR_SIZE + 1; ptr 2052 drivers/bluetooth/btusb.c btusb_intel_bootup(data, ptr, len); ptr 2060 drivers/bluetooth/btusb.c btusb_intel_secure_send_result(data, ptr, len); ptr 583 drivers/bluetooth/hci_bcsp.c const unsigned char *ptr; ptr 588 drivers/bluetooth/hci_bcsp.c ptr = data; ptr 591 drivers/bluetooth/hci_bcsp.c if (*ptr == 0xc0) { ptr 598 drivers/bluetooth/hci_bcsp.c bcsp_unslip_one_byte(bcsp, *ptr); ptr 600 drivers/bluetooth/hci_bcsp.c ptr++; count--; ptr 645 drivers/bluetooth/hci_bcsp.c switch (*ptr) { ptr 653 drivers/bluetooth/hci_bcsp.c ptr++; count--; ptr 657 drivers/bluetooth/hci_bcsp.c switch (*ptr) { ptr 659 drivers/bluetooth/hci_bcsp.c ptr++; count--; ptr 542 drivers/bluetooth/hci_h5.c const unsigned char *ptr = data; ptr 551 drivers/bluetooth/hci_h5.c if (*ptr == SLIP_DELIMITER) { ptr 557 drivers/bluetooth/hci_h5.c h5_unslip_one_byte(h5, *ptr); ptr 559 drivers/bluetooth/hci_h5.c ptr++; count--; ptr 563 drivers/bluetooth/hci_h5.c processed = h5->rx_func(hu, *ptr); ptr 567 drivers/bluetooth/hci_h5.c ptr += processed; ptr 521 drivers/bluetooth/hci_ll.c unsigned char *ptr, *action_ptr; ptr 546 drivers/bluetooth/hci_ll.c ptr = (void *)fw->data; ptr 551 drivers/bluetooth/hci_ll.c ptr += sizeof(struct bts_header); ptr 554 drivers/bluetooth/hci_ll.c while (len > 0 && ptr) { ptr 556 drivers/bluetooth/hci_ll.c ((struct bts_action *)ptr)->size, ptr 557 drivers/bluetooth/hci_ll.c ((struct bts_action *)ptr)->type); ptr 559 drivers/bluetooth/hci_ll.c action_ptr = &(((struct bts_action *)ptr)->data[0]); ptr 561 drivers/bluetooth/hci_ll.c switch (((struct bts_action *)ptr)->type) { ptr 579 drivers/bluetooth/hci_ll.c ((struct bts_action *)ptr)->size); ptr 580 drivers/bluetooth/hci_ll.c ptr += sizeof(struct bts_action) + ptr 581 drivers/bluetooth/hci_ll.c ((struct bts_action *)ptr)->size; ptr 219 drivers/bluetooth/hci_vhci.c char __user *ptr = buf; ptr 224 drivers/bluetooth/hci_vhci.c if (copy_to_user(ptr, skb->data, len)) ptr 539 drivers/char/applicom.c static ssize_t ac_read (struct file *filp, char __user *buf, size_t count, loff_t *ptr) ptr 220 drivers/char/ds1620.c ds1620_read(struct file *file, char __user *buf, size_t count, loff_t *ptr) ptr 560 drivers/char/hw_random/core.c struct hwrng **ptr; ptr 563 drivers/char/hw_random/core.c ptr = devres_alloc(devm_hwrng_release, sizeof(*ptr), GFP_KERNEL); ptr 564 drivers/char/hw_random/core.c if (!ptr) ptr 569 drivers/char/hw_random/core.c devres_free(ptr); ptr 573 drivers/char/hw_random/core.c *ptr = rng; ptr 574 drivers/char/hw_random/core.c devres_add(dev, ptr); ptr 54 drivers/char/hw_random/omap3-rom-rng.c u32 ptr; ptr 71 drivers/char/hw_random/omap3-rom-rng.c ptr = virt_to_phys(buf); ptr 72 drivers/char/hw_random/omap3-rom-rng.c r = omap3_rom_rng_call(ptr, count, RNG_GEN_HW); ptr 5067 drivers/char/ipmi/ipmi_msghandler.c void *ptr) ptr 5113 drivers/char/ipmi/ipmi_msghandler.c send_panic_events(intf, ptr); ptr 116 drivers/char/mem.c void *ptr; ptr 166 drivers/char/mem.c ptr = xlate_dev_mem_ptr(p); ptr 167 drivers/char/mem.c if (!ptr) ptr 170 drivers/char/mem.c probe = probe_kernel_read(bounce, ptr, sz); ptr 171 drivers/char/mem.c unxlate_dev_mem_ptr(p, ptr); ptr 204 drivers/char/mem.c void *ptr; ptr 242 drivers/char/mem.c ptr = xlate_dev_mem_ptr(p); ptr 243 drivers/char/mem.c if (!ptr) { ptr 249 drivers/char/mem.c copied = copy_from_user(ptr, buf, sz); ptr 250 drivers/char/mem.c unxlate_dev_mem_ptr(p, ptr); ptr 540 drivers/char/mem.c void *ptr; ptr 549 drivers/char/mem.c ptr = xlate_dev_kmem_ptr((void *)p); ptr 550 drivers/char/mem.c if (!virt_addr_valid(ptr)) ptr 553 drivers/char/mem.c copied = copy_from_user(ptr, buf, sz); ptr 1295 drivers/char/random.c __u32 *ptr = (__u32 *) regs; ptr 1303 drivers/char/random.c ptr += idx++; ptr 1305 drivers/char/random.c return *ptr; ptr 58 drivers/char/xillybus/xillybus_of.c static void xilly_of_unmap(void *ptr) ptr 60 drivers/char/xillybus/xillybus_of.c struct xilly_mapping *data = ptr; ptr 65 drivers/char/xillybus/xillybus_of.c kfree(ptr); ptr 69 drivers/char/xillybus/xillybus_of.c void *ptr, ptr 82 drivers/char/xillybus/xillybus_of.c addr = dma_map_single(ep->dev, ptr, size, direction); ptr 70 drivers/char/xillybus/xillybus_pcie.c static void xilly_pci_unmap(void *ptr) ptr 72 drivers/char/xillybus/xillybus_pcie.c struct xilly_mapping *data = ptr; ptr 77 drivers/char/xillybus/xillybus_pcie.c kfree(ptr); ptr 87 drivers/char/xillybus/xillybus_pcie.c void *ptr, ptr 103 drivers/char/xillybus/xillybus_pcie.c addr = pci_map_single(ep->pdev, ptr, size, pci_direction); ptr 14 drivers/clk/clk-devres.c struct clk **ptr, *clk; ptr 16 drivers/clk/clk-devres.c ptr = devres_alloc(devm_clk_release, sizeof(*ptr), GFP_KERNEL); ptr 17 drivers/clk/clk-devres.c if (!ptr) ptr 22 drivers/clk/clk-devres.c *ptr = clk; ptr 23 drivers/clk/clk-devres.c devres_add(dev, ptr); ptr 25 drivers/clk/clk-devres.c devres_free(ptr); ptr 142 drivers/clk/clk-devres.c struct clk **ptr, *clk; ptr 144 drivers/clk/clk-devres.c ptr = devres_alloc(devm_clk_release, sizeof(*ptr), GFP_KERNEL); ptr 145 drivers/clk/clk-devres.c if (!ptr) ptr 150 drivers/clk/clk-devres.c *ptr = clk; ptr 151 drivers/clk/clk-devres.c devres_add(dev, ptr); ptr 153 drivers/clk/clk-devres.c devres_free(ptr); ptr 4419 drivers/clk/clk.c struct device_node **ptr, *np; ptr 4422 drivers/clk/clk.c ptr = devres_alloc(devm_of_clk_release_provider, sizeof(*ptr), ptr 4424 drivers/clk/clk.c if (!ptr) ptr 4430 drivers/clk/clk.c *ptr = np; ptr 4431 drivers/clk/clk.c devres_add(dev, ptr); ptr 4433 drivers/clk/clk.c devres_free(ptr); ptr 52 drivers/clk/ti/clk.c if (reg->ptr) ptr 53 drivers/clk/ti/clk.c writel_relaxed(val, reg->ptr); ptr 60 drivers/clk/ti/clk.c static void _clk_rmw(u32 val, u32 mask, void __iomem *ptr) ptr 64 drivers/clk/ti/clk.c v = readl_relaxed(ptr); ptr 67 drivers/clk/ti/clk.c writel_relaxed(v, ptr); ptr 74 drivers/clk/ti/clk.c if (reg->ptr) { ptr 75 drivers/clk/ti/clk.c _clk_rmw(val, mask, reg->ptr); ptr 88 drivers/clk/ti/clk.c if (reg->ptr) ptr 89 drivers/clk/ti/clk.c val = readl_relaxed(reg->ptr); ptr 138 drivers/clk/ti/clk.c char *ptr; ptr 151 drivers/clk/ti/clk.c ptr = buf; ptr 155 drivers/clk/ti/clk.c while (*ptr) { ptr 156 drivers/clk/ti/clk.c if (*ptr == ':') { ptr 162 drivers/clk/ti/clk.c tags[num_args++] = ptr + 1; ptr 163 drivers/clk/ti/clk.c *ptr = 0; ptr 165 drivers/clk/ti/clk.c ptr++; ptr 287 drivers/clk/ti/clk.c reg->ptr = NULL; ptr 318 drivers/clk/ti/clkctrl.c clk_hw->enable_reg.ptr = reg; ptr 353 drivers/clk/ti/clkctrl.c mux->reg.ptr = reg; ptr 375 drivers/clk/ti/clkctrl.c div->reg.ptr = reg; ptr 590 drivers/clk/ti/clkctrl.c hw->enable_reg.ptr = provider->base + reg_data->offset; ptr 593 drivers/clk/ti/clkctrl.c hw->enable_reg.ptr); ptr 1503 drivers/counter/counter.c struct counter_device **ptr; ptr 1506 drivers/counter/counter.c ptr = devres_alloc(devm_counter_unreg, sizeof(*ptr), GFP_KERNEL); ptr 1507 drivers/counter/counter.c if (!ptr) ptr 1512 drivers/counter/counter.c *ptr = counter; ptr 1513 drivers/counter/counter.c devres_add(dev, ptr); ptr 1515 drivers/counter/counter.c devres_free(ptr); ptr 186 drivers/cpufreq/brcmstb-avs-cpufreq.c void __iomem *ptr; ptr 192 drivers/cpufreq/brcmstb-avs-cpufreq.c ptr = of_iomap(np, 0); ptr 195 drivers/cpufreq/brcmstb-avs-cpufreq.c return ptr; ptr 303 drivers/cpufreq/s3c2416-cpufreq.c unsigned long event, void *ptr) ptr 555 drivers/cpufreq/s5pv210-cpufreq.c unsigned long event, void *ptr) ptr 372 drivers/crypto/amcc/crypto4xx_core.c dev->sdr[i].ptr = dev->scatter_buffer_pa + ptr 845 drivers/crypto/amcc/crypto4xx_core.c gd->ptr = dma_map_page(dev->core_dev->device, ptr 224 drivers/crypto/amcc/crypto4xx_reg_def.h u32 ptr; ptr 235 drivers/crypto/amcc/crypto4xx_reg_def.h u32 ptr; ptr 632 drivers/crypto/axis/artpec6_crypto.c void *ptr, size_t size, ptr 636 drivers/crypto/axis/artpec6_crypto.c struct page *page = virt_to_page(ptr); ptr 637 drivers/crypto/axis/artpec6_crypto.c size_t offset = (uintptr_t)ptr & ~PAGE_MASK; ptr 22 drivers/crypto/bcm/spu.c u8 *ptr = buf; ptr 44 drivers/crypto/bcm/spu.c packet_log(" MH 0x%08x\n", be32_to_cpu(*((u32 *)ptr))); ptr 59 drivers/crypto/bcm/spu.c ptr += sizeof(spuh->mh) + sizeof(spuh->emh); /* skip emh. unused */ ptr 104 drivers/crypto/bcm/spu.c ptr += sizeof(struct SCTX); ptr 144 drivers/crypto/bcm/spu.c packet_dump(" KEY: ", ptr, hash_key_len); ptr 145 drivers/crypto/bcm/spu.c ptr += hash_key_len; ptr 166 drivers/crypto/bcm/spu.c packet_dump(" KEY: ", ptr, hash_key_len); ptr 167 drivers/crypto/bcm/spu.c ptr += hash_key_len; ptr 209 drivers/crypto/bcm/spu.c packet_dump(" State: ", ptr, hash_state_len); ptr 210 drivers/crypto/bcm/spu.c ptr += hash_state_len; ptr 254 drivers/crypto/bcm/spu.c packet_dump(" KEY2: ", ptr, cipher_key_len); ptr 255 drivers/crypto/bcm/spu.c ptr += cipher_key_len; ptr 256 drivers/crypto/bcm/spu.c packet_dump(" KEY1: ", ptr, cipher_key_len); ptr 257 drivers/crypto/bcm/spu.c ptr += cipher_key_len; ptr 261 drivers/crypto/bcm/spu.c packet_dump(" KEY: ", ptr, cipher_key_len); ptr 262 drivers/crypto/bcm/spu.c ptr += cipher_key_len; ptr 272 drivers/crypto/bcm/spu.c packet_dump(" IV: ", ptr, iv_len); ptr 273 drivers/crypto/bcm/spu.c ptr += iv_len; ptr 281 drivers/crypto/bcm/spu.c struct BDESC_HEADER *bdesc = (struct BDESC_HEADER *)ptr; ptr 283 drivers/crypto/bcm/spu.c packet_log(" BDESC[0] 0x%08x\n", be32_to_cpu(*((u32 *)ptr))); ptr 287 drivers/crypto/bcm/spu.c ptr += sizeof(u32); ptr 289 drivers/crypto/bcm/spu.c packet_log(" BDESC[1] 0x%08x\n", be32_to_cpu(*((u32 *)ptr))); ptr 293 drivers/crypto/bcm/spu.c ptr += sizeof(u32); ptr 295 drivers/crypto/bcm/spu.c packet_log(" BDESC[2] 0x%08x\n", be32_to_cpu(*((u32 *)ptr))); ptr 299 drivers/crypto/bcm/spu.c ptr += sizeof(u32); ptr 305 drivers/crypto/bcm/spu.c struct BD_HEADER *bd = (struct BD_HEADER *)ptr; ptr 307 drivers/crypto/bcm/spu.c packet_log(" BD[0] 0x%08x\n", be32_to_cpu(*((u32 *)ptr))); ptr 310 drivers/crypto/bcm/spu.c ptr += 4; ptr 314 drivers/crypto/bcm/spu.c if (buf + buf_len != ptr) { ptr 317 drivers/crypto/bcm/spu.c buf, buf_len, buf + buf_len, ptr); ptr 603 drivers/crypto/bcm/spu.c u8 *ptr; ptr 672 drivers/crypto/bcm/spu.c ptr = spu_hdr; ptr 673 drivers/crypto/bcm/spu.c memset(ptr, 0, sizeof(struct SPUHEADER)); ptr 677 drivers/crypto/bcm/spu.c spuh = (struct SPUHEADER *)ptr; ptr 678 drivers/crypto/bcm/spu.c ptr += sizeof(struct SPUHEADER); ptr 710 drivers/crypto/bcm/spu.c memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); ptr 711 drivers/crypto/bcm/spu.c ptr += hash_parms->key_len; ptr 744 drivers/crypto/bcm/spu.c memcpy(ptr, cipher_parms->key_buf, ptr 746 drivers/crypto/bcm/spu.c ptr += cipher_parms->key_len; ptr 760 drivers/crypto/bcm/spu.c memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); ptr 762 drivers/crypto/bcm/spu.c ptr += cipher_parms->iv_len; ptr 790 drivers/crypto/bcm/spu.c bdesc = (struct BDESC_HEADER *)ptr; ptr 807 drivers/crypto/bcm/spu.c ptr += sizeof(struct BDESC_HEADER); ptr 815 drivers/crypto/bcm/spu.c bd = (struct BD_HEADER *)ptr; ptr 819 drivers/crypto/bcm/spu.c ptr += sizeof(struct BD_HEADER); ptr 845 drivers/crypto/bcm/spu.c u8 *ptr = spu_hdr; ptr 856 drivers/crypto/bcm/spu.c ptr += sizeof(struct SPUHEADER); ptr 871 drivers/crypto/bcm/spu.c ptr += cipher_parms->key_len; ptr 882 drivers/crypto/bcm/spu.c ptr += cipher_parms->iv_len; ptr 1055 drivers/crypto/bcm/spu.c u8 *ptr = pad_start; ptr 1061 drivers/crypto/bcm/spu.c memset(ptr, 0, gcm_ccm_padding); ptr 1062 drivers/crypto/bcm/spu.c ptr += gcm_ccm_padding; ptr 1067 drivers/crypto/bcm/spu.c memset(ptr, 0, hash_pad_len); ptr 1072 drivers/crypto/bcm/spu.c ptr += hash_pad_len; ptr 1075 drivers/crypto/bcm/spu.c *ptr = 0x80; ptr 1076 drivers/crypto/bcm/spu.c ptr += (hash_pad_len - sizeof(u64)); ptr 1080 drivers/crypto/bcm/spu.c *(u64 *)ptr = cpu_to_le64((u64)total_sent * 8); ptr 1082 drivers/crypto/bcm/spu.c *(u64 *)ptr = cpu_to_be64((u64)total_sent * 8); ptr 1083 drivers/crypto/bcm/spu.c ptr += sizeof(u64); ptr 1092 drivers/crypto/bcm/spu.c memset(ptr, 0, status_padding); ptr 1093 drivers/crypto/bcm/spu.c ptr += status_padding; ptr 479 drivers/crypto/bcm/spu2.c u8 *ptr = omd; ptr 485 drivers/crypto/bcm/spu2.c packet_dump(" KEY: ", ptr, hash_key_len); ptr 486 drivers/crypto/bcm/spu2.c ptr += hash_key_len; ptr 491 drivers/crypto/bcm/spu2.c packet_dump(" KEY: ", ptr, ciph_key_len); ptr 492 drivers/crypto/bcm/spu2.c ptr += ciph_key_len; ptr 497 drivers/crypto/bcm/spu2.c packet_dump(" hash IV: ", ptr, hash_iv_len); ptr 498 drivers/crypto/bcm/spu2.c ptr += ciph_key_len; ptr 503 drivers/crypto/bcm/spu2.c packet_dump(" cipher IV: ", ptr, ciph_iv_len); ptr 947 drivers/crypto/bcm/spu2.c u8 *ptr; ptr 1084 drivers/crypto/bcm/spu2.c ptr = (u8 *)(fmd + 1); ptr 1089 drivers/crypto/bcm/spu2.c memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); ptr 1090 drivers/crypto/bcm/spu2.c ptr += hash_parms->key_len; ptr 1094 drivers/crypto/bcm/spu2.c memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len); ptr 1095 drivers/crypto/bcm/spu2.c ptr += cipher_parms->key_len; ptr 1099 drivers/crypto/bcm/spu2.c memcpy(ptr, cipher_parms->iv_buf, cipher_parms->iv_len); ptr 1100 drivers/crypto/bcm/spu2.c ptr += cipher_parms->iv_len; ptr 1256 drivers/crypto/bcm/spu2.c u8 *ptr = pad_start; ptr 1262 drivers/crypto/bcm/spu2.c memset(ptr, 0, gcm_padding); ptr 1263 drivers/crypto/bcm/spu2.c ptr += gcm_padding; ptr 1268 drivers/crypto/bcm/spu2.c memset(ptr, 0, hash_pad_len); ptr 1271 drivers/crypto/bcm/spu2.c *ptr = 0x80; ptr 1272 drivers/crypto/bcm/spu2.c ptr += (hash_pad_len - sizeof(u64)); ptr 1276 drivers/crypto/bcm/spu2.c *(u64 *)ptr = cpu_to_le64((u64)total_sent * 8); ptr 1278 drivers/crypto/bcm/spu2.c *(u64 *)ptr = cpu_to_be64((u64)total_sent * 8); ptr 1279 drivers/crypto/bcm/spu2.c ptr += sizeof(u64); ptr 1287 drivers/crypto/bcm/spu2.c memset(ptr, 0, status_padding); ptr 1288 drivers/crypto/bcm/spu2.c ptr += status_padding; ptr 1099 drivers/crypto/caam/caamalg.c dma_addr_t ptr; ptr 1103 drivers/crypto/caam/caamalg.c ptr = encrypt ? ctx->sh_desc_enc_dma : ctx->sh_desc_dec_dma; ptr 1106 drivers/crypto/caam/caamalg.c init_job_desc_shared(desc, ptr, len, HDR_SHARE_DEFER | HDR_REVERSE); ptr 1276 drivers/crypto/caam/caamalg.c dma_addr_t src_dma, dst_dma, ptr; ptr 1289 drivers/crypto/caam/caamalg.c ptr = encrypt ? ctx->sh_desc_enc_dma : ctx->sh_desc_dec_dma; ptr 1292 drivers/crypto/caam/caamalg.c init_job_desc_shared(desc, ptr, len, HDR_SHARE_DEFER | HDR_REVERSE); ptr 807 drivers/crypto/caam/caampkc.c static void caam_rsa_drop_leading_zeros(const u8 **ptr, size_t *nbytes) ptr 809 drivers/crypto/caam/caampkc.c while (!**ptr && *nbytes) { ptr 810 drivers/crypto/caam/caampkc.c (*ptr)++; ptr 826 drivers/crypto/caam/caampkc.c static u8 *caam_read_rsa_crt(const u8 *ptr, size_t nbytes, size_t dstlen) ptr 830 drivers/crypto/caam/caampkc.c caam_rsa_drop_leading_zeros(&ptr, &nbytes); ptr 838 drivers/crypto/caam/caampkc.c memcpy(dst + (dstlen - nbytes), ptr, nbytes); ptr 137 drivers/crypto/caam/desc_constr.h static inline void append_ptr(u32 * const desc, dma_addr_t ptr) ptr 142 drivers/crypto/caam/desc_constr.h *offset = cpu_to_caam_dma(ptr); ptr 146 drivers/crypto/caam/desc_constr.h *offset = cpu_to_caam_dma(ptr); ptr 153 drivers/crypto/caam/desc_constr.h static inline void init_job_desc_shared(u32 * const desc, dma_addr_t ptr, ptr 159 drivers/crypto/caam/desc_constr.h append_ptr(desc, ptr); ptr 208 drivers/crypto/caam/desc_constr.h static inline void append_cmd_ptr(u32 * const desc, dma_addr_t ptr, int len, ptr 212 drivers/crypto/caam/desc_constr.h append_ptr(desc, ptr); ptr 216 drivers/crypto/caam/desc_constr.h static inline void append_cmd_ptr_extlen(u32 * const desc, dma_addr_t ptr, ptr 221 drivers/crypto/caam/desc_constr.h append_ptr(desc, ptr); ptr 281 drivers/crypto/caam/desc_constr.h static inline void append_##cmd(u32 * const desc, dma_addr_t ptr, \ ptr 285 drivers/crypto/caam/desc_constr.h append_cmd_ptr(desc, ptr, len, CMD_##op | options); \ ptr 292 drivers/crypto/caam/desc_constr.h static inline void append_store(u32 * const desc, dma_addr_t ptr, ptr 306 drivers/crypto/caam/desc_constr.h append_ptr(desc, ptr); ptr 311 drivers/crypto/caam/desc_constr.h dma_addr_t ptr, \ ptr 319 drivers/crypto/caam/desc_constr.h append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \ ptr 335 drivers/crypto/caam/desc_constr.h static inline void append_##cmd##_extlen(u32 * const desc, dma_addr_t ptr, \ ptr 339 drivers/crypto/caam/desc_constr.h append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \ ptr 349 drivers/crypto/caam/desc_constr.h static inline void append_##cmd(u32 * const desc, dma_addr_t ptr, \ ptr 354 drivers/crypto/caam/desc_constr.h append_##cmd##_extlen(desc, ptr, len, options); \ ptr 356 drivers/crypto/caam/desc_constr.h append_##cmd##_intlen(desc, ptr, len, options); \ ptr 18 drivers/crypto/caam/sg_sw_sec4.h u64 ptr; ptr 33 drivers/crypto/caam/sg_sw_sec4.h sec4_sg_ptr->ptr = cpu_to_caam_dma64(dma); ptr 339 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 ptr:43; ptr 343 drivers/crypto/cavium/cpt/cpt_hw_types.h u64 ptr:43; ptr 66 drivers/crypto/cavium/cpt/cptvf_algs.c u8 *ptr = sg_virt(inp_sg); ptr 68 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].vptr = (void *)ptr; ptr 85 drivers/crypto/cavium/cpt/cptvf_algs.c u8 *ptr = sg_virt(outp_sg); ptr 87 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->out[*argcnt].vptr = (void *)ptr; ptr 185 drivers/crypto/cavium/zip/zip_main.c que_sbuf_addr.s.ptr = (__pa(zip->iq[q].sw_head) >> ptr 189 drivers/crypto/cavium/zip/zip_main.c (u64)que_sbuf_addr.s.ptr); ptr 200 drivers/crypto/cavium/zip/zip_main.c zip_dbg("sw_head phy addr : 0x%lx", que_sbuf_addr.s.ptr); ptr 90 drivers/crypto/cavium/zip/zip_mem.c u8 *ptr; ptr 92 drivers/crypto/cavium/zip/zip_mem.c ptr = (u8 *)__get_free_pages((GFP_KERNEL | GFP_DMA), ptr 95 drivers/crypto/cavium/zip/zip_mem.c if (!ptr) ptr 98 drivers/crypto/cavium/zip/zip_mem.c memset(ptr, 0, size); ptr 101 drivers/crypto/cavium/zip/zip_mem.c return ptr; ptr 109 drivers/crypto/cavium/zip/zip_mem.c void zip_data_buf_free(u8 *ptr, u64 size) ptr 111 drivers/crypto/cavium/zip/zip_mem.c zip_dbg("Freeing data buffer 0x%lx\n", ptr); ptr 113 drivers/crypto/cavium/zip/zip_mem.c free_pages((u64)ptr, get_order(size)); ptr 76 drivers/crypto/cavium/zip/zip_mem.h void zip_data_buf_free(u8 *ptr, u64 size); ptr 1227 drivers/crypto/cavium/zip/zip_regs.h u64 ptr : 42; ptr 1231 drivers/crypto/cavium/zip/zip_regs.h u64 ptr : 42; ptr 48 drivers/crypto/inside-secure/safexcel_ring.c void *ptr = ring->write; ptr 59 drivers/crypto/inside-secure/safexcel_ring.c return ptr; ptr 65 drivers/crypto/inside-secure/safexcel_ring.c void *ptr = ring->read; ptr 75 drivers/crypto/inside-secure/safexcel_ring.c return ptr; ptr 789 drivers/crypto/ixp4xx_crypto.c void *ptr; ptr 792 drivers/crypto/ixp4xx_crypto.c ptr = sg_virt(sg); ptr 798 drivers/crypto/ixp4xx_crypto.c sg_dma_address(sg) = dma_map_single(dev, ptr, len, dir); ptr 152 drivers/crypto/nx/nx-842-pseries.c __be64 ptr; /* Real address (use __pa()) */ ptr 179 drivers/crypto/nx/nx-842-pseries.c entry->ptr = cpu_to_be64(nx842_get_pa((void *)buf)); ptr 73 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_key_val *ptr = ptr 75 drivers/crypto/qat/qat_common/adf_cfg.c seq_printf(sfile, "%s = %s\n", ptr->key, ptr->val); ptr 197 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_key_val *ptr = ptr 200 drivers/crypto/qat/qat_common/adf_cfg.c kfree(ptr); ptr 206 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_section *ptr; ptr 210 drivers/crypto/qat/qat_common/adf_cfg.c ptr = list_entry(list, struct adf_cfg_section, list); ptr 211 drivers/crypto/qat/qat_common/adf_cfg.c adf_cfg_keyval_del_all(&ptr->param_head); ptr 213 drivers/crypto/qat/qat_common/adf_cfg.c kfree(ptr); ptr 223 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_key_val *ptr = ptr 225 drivers/crypto/qat/qat_common/adf_cfg.c if (!strcmp(ptr->key, key)) ptr 226 drivers/crypto/qat/qat_common/adf_cfg.c return ptr; ptr 238 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_section *ptr = ptr 240 drivers/crypto/qat/qat_common/adf_cfg.c if (!strcmp(ptr->name, sec_name)) ptr 241 drivers/crypto/qat/qat_common/adf_cfg.c return ptr; ptr 156 drivers/crypto/qat/qat_common/adf_ctl_drv.c long *ptr = (long *)key_val->val; ptr 157 drivers/crypto/qat/qat_common/adf_ctl_drv.c long val = *ptr; ptr 83 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct vf_id_map *ptr = ptr 86 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr->bdf == bdf) ptr 87 drivers/crypto/qat/qat_common/adf_dev_mgr.c return ptr; ptr 97 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct vf_id_map *ptr = ptr 99 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr->fake_id == fake) ptr 100 drivers/crypto/qat/qat_common/adf_dev_mgr.c return ptr->id; ptr 115 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct list_head *ptr, *tmp; ptr 118 drivers/crypto/qat/qat_common/adf_dev_mgr.c list_for_each_safe(ptr, tmp, &vfs_table) { ptr 119 drivers/crypto/qat/qat_common/adf_dev_mgr.c map = list_entry(ptr, struct vf_id_map, list); ptr 128 drivers/crypto/qat/qat_common/adf_dev_mgr.c list_del(ptr); ptr 148 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct adf_accel_dev *ptr = ptr 151 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr->hw_device->dev_class == class) ptr 152 drivers/crypto/qat/qat_common/adf_dev_mgr.c ptr->hw_device->instance_id = i++; ptr 203 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct adf_accel_dev *ptr = ptr 206 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr == accel_dev) { ptr 345 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct adf_accel_dev *ptr = ptr 348 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr->accel_pci_dev.pci_dev == pci_dev) { ptr 350 drivers/crypto/qat/qat_common/adf_dev_mgr.c return ptr; ptr 371 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct adf_accel_dev *ptr = ptr 373 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr->accel_id == id) { ptr 375 drivers/crypto/qat/qat_common/adf_dev_mgr.c return ptr; ptr 401 drivers/crypto/qat/qat_common/adf_dev_mgr.c struct vf_id_map *ptr = ptr 403 drivers/crypto/qat/qat_common/adf_dev_mgr.c if (ptr->bdf != ~0 && !ptr->attached) ptr 208 drivers/crypto/qat/qat_common/icp_qat_fw.h #define ICP_QAT_FW_COMN_FLAGS_BUILD(cdt, ptr) \ ptr 210 drivers/crypto/qat/qat_common/icp_qat_fw.h | (((ptr) & QAT_COMN_PTR_TYPE_MASK) << QAT_COMN_PTR_TYPE_BITPOS)) ptr 308 drivers/crypto/qat/qat_common/qat_algs.c void *ptr = &req_tmpl->cd_ctrl; ptr 309 drivers/crypto/qat/qat_common/qat_algs.c struct icp_qat_fw_cipher_cd_ctrl_hdr *cipher_cd_ctrl = ptr; ptr 310 drivers/crypto/qat/qat_common/qat_algs.c struct icp_qat_fw_auth_cd_ctrl_hdr *hash_cd_ctrl = ptr; ptr 390 drivers/crypto/qat/qat_common/qat_algs.c void *ptr = &req_tmpl->cd_ctrl; ptr 391 drivers/crypto/qat/qat_common/qat_algs.c struct icp_qat_fw_cipher_cd_ctrl_hdr *cipher_cd_ctrl = ptr; ptr 392 drivers/crypto/qat/qat_common/qat_algs.c struct icp_qat_fw_auth_cd_ctrl_hdr *hash_cd_ctrl = ptr; ptr 977 drivers/crypto/qat/qat_common/qat_asym_algs.c const char *ptr = value; ptr 980 drivers/crypto/qat/qat_common/qat_asym_algs.c while (!*ptr && vlen) { ptr 981 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr++; ptr 996 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->n, ptr, ctx->key_sz); ptr 1009 drivers/crypto/qat/qat_common/qat_asym_algs.c const char *ptr = value; ptr 1011 drivers/crypto/qat/qat_common/qat_asym_algs.c while (!*ptr && vlen) { ptr 1012 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr++; ptr 1025 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->e + (ctx->key_sz - vlen), ptr, vlen); ptr 1034 drivers/crypto/qat/qat_common/qat_asym_algs.c const char *ptr = value; ptr 1037 drivers/crypto/qat/qat_common/qat_asym_algs.c while (!*ptr && vlen) { ptr 1038 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr++; ptr 1051 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->d + (ctx->key_sz - vlen), ptr, vlen); ptr 1058 drivers/crypto/qat/qat_common/qat_asym_algs.c static void qat_rsa_drop_leading_zeros(const char **ptr, unsigned int *len) ptr 1060 drivers/crypto/qat/qat_common/qat_asym_algs.c while (!**ptr && *len) { ptr 1061 drivers/crypto/qat/qat_common/qat_asym_algs.c (*ptr)++; ptr 1070 drivers/crypto/qat/qat_common/qat_asym_algs.c const char *ptr; ptr 1075 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr = rsa_key->p; ptr 1077 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_rsa_drop_leading_zeros(&ptr, &len); ptr 1083 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->p + (half_key_sz - len), ptr, len); ptr 1086 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr = rsa_key->q; ptr 1088 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_rsa_drop_leading_zeros(&ptr, &len); ptr 1094 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->q + (half_key_sz - len), ptr, len); ptr 1097 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr = rsa_key->dp; ptr 1099 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_rsa_drop_leading_zeros(&ptr, &len); ptr 1106 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->dp + (half_key_sz - len), ptr, len); ptr 1109 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr = rsa_key->dq; ptr 1111 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_rsa_drop_leading_zeros(&ptr, &len); ptr 1118 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->dq + (half_key_sz - len), ptr, len); ptr 1121 drivers/crypto/qat/qat_common/qat_asym_algs.c ptr = rsa_key->qinv; ptr 1123 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_rsa_drop_leading_zeros(&ptr, &len); ptr 1130 drivers/crypto/qat/qat_common/qat_asym_algs.c memcpy(ctx->qinv + (half_key_sz - len), ptr, len); ptr 172 drivers/crypto/qat/qat_common/qat_uclo.c unsigned char *ptr = (unsigned char *)val; ptr 175 drivers/crypto/qat/qat_common/qat_uclo.c memcpy(&outval, ptr, 4); ptr 178 drivers/crypto/qat/qat_common/qat_uclo.c ptr += 4; ptr 189 drivers/crypto/qat/qat_common/qat_uclo.c unsigned char *ptr = (unsigned char *)val; ptr 194 drivers/crypto/qat/qat_common/qat_uclo.c memcpy(&outval, ptr, 4); ptr 197 drivers/crypto/qat/qat_common/qat_uclo.c ptr += 4; ptr 510 drivers/crypto/qat/qat_common/qat_uclo.c static unsigned int qat_uclo_calc_str_checksum(char *ptr, int num) ptr 514 drivers/crypto/qat/qat_common/qat_uclo.c if (ptr) ptr 516 drivers/crypto/qat/qat_common/qat_uclo.c chksum = qat_uclo_calc_checksum(chksum, *ptr++); ptr 1223 drivers/crypto/qat/qat_common/qat_uclo.c dma_addr_t ptr; ptr 1226 drivers/crypto/qat/qat_common/qat_uclo.c size, &ptr, GFP_KERNEL); ptr 1230 drivers/crypto/qat/qat_common/qat_uclo.c dram_desc->dram_bus_addr = ptr; ptr 45 drivers/crypto/talitos.c static void to_talitos_ptr(struct talitos_ptr *ptr, dma_addr_t dma_addr, ptr 48 drivers/crypto/talitos.c ptr->ptr = cpu_to_be32(lower_32_bits(dma_addr)); ptr 50 drivers/crypto/talitos.c ptr->len1 = cpu_to_be16(len); ptr 52 drivers/crypto/talitos.c ptr->len = cpu_to_be16(len); ptr 53 drivers/crypto/talitos.c ptr->eptr = upper_32_bits(dma_addr); ptr 60 drivers/crypto/talitos.c dst_ptr->ptr = src_ptr->ptr; ptr 69 drivers/crypto/talitos.c static unsigned short from_talitos_ptr_len(struct talitos_ptr *ptr, ptr 73 drivers/crypto/talitos.c return be16_to_cpu(ptr->len1); ptr 75 drivers/crypto/talitos.c return be16_to_cpu(ptr->len); ptr 78 drivers/crypto/talitos.c static void to_talitos_ptr_ext_set(struct talitos_ptr *ptr, u8 val, ptr 82 drivers/crypto/talitos.c ptr->j_extent = val; ptr 85 drivers/crypto/talitos.c static void to_talitos_ptr_ext_or(struct talitos_ptr *ptr, u8 val, bool is_sec1) ptr 88 drivers/crypto/talitos.c ptr->j_extent |= val; ptr 95 drivers/crypto/talitos.c struct talitos_ptr *ptr, ptr 104 drivers/crypto/talitos.c to_talitos_ptr(ptr, dma_addr, len, is_sec1); ptr 108 drivers/crypto/talitos.c struct talitos_ptr *ptr, ptr 112 drivers/crypto/talitos.c __map_single_talitos_ptr(dev, ptr, len, data, dir, 0); ptr 116 drivers/crypto/talitos.c struct talitos_ptr *ptr, ptr 120 drivers/crypto/talitos.c __map_single_talitos_ptr(dev, ptr, len, data, dir, ptr 128 drivers/crypto/talitos.c struct talitos_ptr *ptr, ptr 134 drivers/crypto/talitos.c dma_unmap_single(dev, be32_to_cpu(ptr->ptr), ptr 135 drivers/crypto/talitos.c from_talitos_ptr_len(ptr, is_sec1), dir); ptr 1001 drivers/crypto/talitos.c struct talitos_ptr *civ_ptr = &edesc->desc.ptr[is_ipsec_esp ? 2 : 3]; ptr 1004 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &edesc->desc.ptr[6], ptr 1149 drivers/crypto/talitos.c struct talitos_ptr *ptr, int sg_count, ptr 1157 drivers/crypto/talitos.c to_talitos_ptr(ptr, 0, 0, is_sec1); ptr 1160 drivers/crypto/talitos.c to_talitos_ptr_ext_set(ptr, elen, is_sec1); ptr 1162 drivers/crypto/talitos.c to_talitos_ptr(ptr, sg_dma_address(src) + offset, len, is_sec1); ptr 1166 drivers/crypto/talitos.c to_talitos_ptr(ptr, edesc->dma_link_tbl + offset, len, is_sec1); ptr 1173 drivers/crypto/talitos.c copy_talitos_ptr(ptr, &edesc->link_tbl[tbl_off], is_sec1); ptr 1176 drivers/crypto/talitos.c to_talitos_ptr(ptr, edesc->dma_link_tbl + ptr 1178 drivers/crypto/talitos.c to_talitos_ptr_ext_or(ptr, DESC_PTR_LNKTBL_JUMP, is_sec1); ptr 1185 drivers/crypto/talitos.c struct talitos_ptr *ptr, int sg_count, ptr 1188 drivers/crypto/talitos.c return talitos_sg_map_ext(dev, src, len, edesc, ptr, sg_count, offset, ptr 1215 drivers/crypto/talitos.c struct talitos_ptr *civ_ptr = &desc->ptr[is_ipsec_esp ? 2 : 3]; ptr 1216 drivers/crypto/talitos.c struct talitos_ptr *ckey_ptr = &desc->ptr[is_ipsec_esp ? 3 : 2]; ptr 1220 drivers/crypto/talitos.c to_talitos_ptr(&desc->ptr[0], ctx->dma_key, ctx->authkeylen, is_sec1); ptr 1233 drivers/crypto/talitos.c &desc->ptr[1], sg_count, 0, tbl_off); ptr 1256 drivers/crypto/talitos.c ret = talitos_sg_map_ext(dev, areq->src, cryptlen, edesc, &desc->ptr[4], ptr 1276 drivers/crypto/talitos.c ret = talitos_sg_map_ext(dev, areq->dst, cryptlen, edesc, &desc->ptr[5], ptr 1290 drivers/crypto/talitos.c to_talitos_ptr_ext_or(&desc->ptr[5], authsize, is_sec1); ptr 1293 drivers/crypto/talitos.c to_talitos_ptr(&desc->ptr[6], dma_icv, authsize, is_sec1); ptr 1296 drivers/crypto/talitos.c talitos_sg_map(dev, areq->dst, authsize, edesc, &desc->ptr[6], ptr 1302 drivers/crypto/talitos.c map_single_talitos_ptr(dev, &desc->ptr[6], ivsize, ctx->iv, ptr 1540 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &edesc->desc.ptr[5], DMA_FROM_DEVICE); ptr 1543 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &edesc->desc.ptr[1], DMA_TO_DEVICE); ptr 1590 drivers/crypto/talitos.c to_talitos_ptr(&desc->ptr[1], edesc->iv_dma, ivsize, is_sec1); ptr 1593 drivers/crypto/talitos.c to_talitos_ptr(&desc->ptr[2], ctx->dma_key, ctx->keylen, is_sec1); ptr 1607 drivers/crypto/talitos.c &desc->ptr[3], sg_count, 0, 0); ptr 1618 drivers/crypto/talitos.c ret = talitos_sg_map(dev, areq->dst, cryptlen, edesc, &desc->ptr[4], ptr 1624 drivers/crypto/talitos.c map_single_talitos_ptr(dev, &desc->ptr[5], ivsize, ctx->iv, ptr 1713 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &edesc->desc.ptr[5], DMA_FROM_DEVICE); ptr 1715 drivers/crypto/talitos.c desc->ptr[5].ptr != desc2->ptr[5].ptr) ptr 1716 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &desc2->ptr[5], DMA_FROM_DEVICE); ptr 1722 drivers/crypto/talitos.c if (from_talitos_ptr_len(&edesc->desc.ptr[1], is_sec1)) ptr 1723 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &edesc->desc.ptr[1], ptr 1726 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &desc2->ptr[1], ptr 1730 drivers/crypto/talitos.c unmap_single_talitos_ptr(dev, &desc->ptr[3], ptr 1769 drivers/crypto/talitos.c struct talitos_ptr *ptr) ptr 1780 drivers/crypto/talitos.c map_single_talitos_ptr(ctx->dev, ptr, sizeof(padded_hash), ptr 1805 drivers/crypto/talitos.c map_single_talitos_ptr_nosync(dev, &desc->ptr[1], ptr 1816 drivers/crypto/talitos.c to_talitos_ptr(&desc->ptr[2], ctx->dma_key, ctx->keylen, ptr 1832 drivers/crypto/talitos.c map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf, ptr 1837 drivers/crypto/talitos.c &desc->ptr[3], sg_count, 0, 0); ptr 1846 drivers/crypto/talitos.c map_single_talitos_ptr(dev, &desc->ptr[5], ptr 1850 drivers/crypto/talitos.c map_single_talitos_ptr_nosync(dev, &desc->ptr[5], ptr 1857 drivers/crypto/talitos.c if (is_sec1 && from_talitos_ptr_len(&desc->ptr[3], true) == 0) ptr 1858 drivers/crypto/talitos.c talitos_handle_buggy_hash(ctx, edesc, &desc->ptr[3]); ptr 1873 drivers/crypto/talitos.c if (desc->ptr[1].ptr) ptr 1874 drivers/crypto/talitos.c copy_talitos_ptr(&desc2->ptr[1], &desc->ptr[1], ptr 1877 drivers/crypto/talitos.c map_single_talitos_ptr_nosync(dev, &desc2->ptr[1], ptr 1881 drivers/crypto/talitos.c copy_talitos_ptr(&desc2->ptr[2], &desc->ptr[2], is_sec1); ptr 1883 drivers/crypto/talitos.c &desc2->ptr[3], sg_count, 0, 0); ptr 1886 drivers/crypto/talitos.c copy_talitos_ptr(&desc2->ptr[5], &desc->ptr[5], is_sec1); ptr 1888 drivers/crypto/talitos.c map_single_talitos_ptr_nosync(dev, &desc->ptr[5], ptr 29 drivers/crypto/talitos.h __be32 ptr; /* address */ ptr 39 drivers/crypto/talitos.h struct talitos_ptr ptr[7]; /* ptr/len pair array */ ptr 46 drivers/crypto/virtio/virtio_crypto_mgr.c struct virtio_crypto *ptr = ptr 49 drivers/crypto/virtio/virtio_crypto_mgr.c if (ptr == vcrypto_dev) { ptr 398 drivers/devfreq/devfreq-event.c struct devfreq_event_dev **ptr, *edev; ptr 400 drivers/devfreq/devfreq-event.c ptr = devres_alloc(devm_devfreq_event_release, sizeof(*ptr), ptr 402 drivers/devfreq/devfreq-event.c if (!ptr) ptr 407 drivers/devfreq/devfreq-event.c devres_free(ptr); ptr 411 drivers/devfreq/devfreq-event.c *ptr = edev; ptr 412 drivers/devfreq/devfreq-event.c devres_add(dev, ptr); ptr 803 drivers/devfreq/devfreq.c struct devfreq **ptr, *devfreq; ptr 805 drivers/devfreq/devfreq.c ptr = devres_alloc(devm_devfreq_dev_release, sizeof(*ptr), GFP_KERNEL); ptr 806 drivers/devfreq/devfreq.c if (!ptr) ptr 811 drivers/devfreq/devfreq.c devres_free(ptr); ptr 815 drivers/devfreq/devfreq.c *ptr = devfreq; ptr 816 drivers/devfreq/devfreq.c devres_add(dev, ptr); ptr 1571 drivers/devfreq/devfreq.c struct devfreq **ptr; ptr 1574 drivers/devfreq/devfreq.c ptr = devres_alloc(devm_devfreq_opp_release, sizeof(*ptr), GFP_KERNEL); ptr 1575 drivers/devfreq/devfreq.c if (!ptr) ptr 1580 drivers/devfreq/devfreq.c devres_free(ptr); ptr 1584 drivers/devfreq/devfreq.c *ptr = devfreq; ptr 1585 drivers/devfreq/devfreq.c devres_add(dev, ptr); ptr 1687 drivers/devfreq/devfreq.c struct devfreq_notifier_devres *ptr; ptr 1690 drivers/devfreq/devfreq.c ptr = devres_alloc(devm_devfreq_notifier_release, sizeof(*ptr), ptr 1692 drivers/devfreq/devfreq.c if (!ptr) ptr 1697 drivers/devfreq/devfreq.c devres_free(ptr); ptr 1701 drivers/devfreq/devfreq.c ptr->devfreq = devfreq; ptr 1702 drivers/devfreq/devfreq.c ptr->nb = nb; ptr 1703 drivers/devfreq/devfreq.c ptr->list = list; ptr 1704 drivers/devfreq/devfreq.c devres_add(dev, ptr); ptr 126 drivers/devfreq/governor_passive.c unsigned long event, void *ptr) ptr 132 drivers/devfreq/governor_passive.c struct devfreq_freqs *freqs = (struct devfreq_freqs *)ptr; ptr 358 drivers/devfreq/tegra30-devfreq.c unsigned long action, void *ptr) ptr 360 drivers/devfreq/tegra30-devfreq.c struct clk_notifier_data *data = ptr; ptr 1096 drivers/dma-buf/dma-buf.c void *ptr; ptr 1108 drivers/dma-buf/dma-buf.c ptr = dmabuf->vmap_ptr; ptr 1114 drivers/dma-buf/dma-buf.c ptr = dmabuf->ops->vmap(dmabuf); ptr 1115 drivers/dma-buf/dma-buf.c if (WARN_ON_ONCE(IS_ERR(ptr))) ptr 1116 drivers/dma-buf/dma-buf.c ptr = NULL; ptr 1117 drivers/dma-buf/dma-buf.c if (!ptr) ptr 1120 drivers/dma-buf/dma-buf.c dmabuf->vmap_ptr = ptr; ptr 1125 drivers/dma-buf/dma-buf.c return ptr; ptr 757 drivers/dma/altera-msgdma.c struct resource **res, void __iomem **ptr) ptr 775 drivers/dma/altera-msgdma.c *ptr = devm_ioremap_nocache(device, region->start, ptr 777 drivers/dma/altera-msgdma.c if (*ptr == NULL) { ptr 165 drivers/dma/bestcomm/sram.c void bcom_sram_free(void *ptr) ptr 169 drivers/dma/bestcomm/sram.c if (!ptr) ptr 172 drivers/dma/bestcomm/sram.c offset = ptr - bcom_sram->base_virt; ptr 60 drivers/dma/dw-edma/dw-edma-v0-debugfs.c void __iomem *ptr = ®s->type.legacy.ch; ptr 67 drivers/dma/dw-edma/dw-edma-v0-debugfs.c ptr += (reg - lim[0][ch].start); ptr 73 drivers/dma/dw-edma/dw-edma-v0-debugfs.c ptr += (reg - lim[1][ch].start); ptr 86 drivers/dma/dw-edma/dw-edma-v0-debugfs.c *val = readl(ptr); ptr 631 drivers/dma/fsl_raid.c u32 ptr; ptr 653 drivers/dma/fsl_raid.c rc = of_property_read_u32(np, "reg", &ptr); ptr 661 drivers/dma/fsl_raid.c off + ptr); ptr 829 drivers/dma/ioat/init.c u8 *ptr = page_address(xor_srcs[src_idx]); ptr 832 drivers/dma/ioat/init.c ptr[i] = (1 << src_idx); ptr 903 drivers/dma/ioat/init.c u32 *ptr = page_address(dest); ptr 905 drivers/dma/ioat/init.c if (ptr[i] != cmp_word) { ptr 943 drivers/dma/iop-adma.c u8 *ptr = page_address(xor_srcs[src_idx]); ptr 945 drivers/dma/iop-adma.c ptr[i] = (1 << src_idx); ptr 990 drivers/dma/iop-adma.c u32 *ptr = page_address(dest); ptr 991 drivers/dma/iop-adma.c if (ptr[i] != cmp_word) { ptr 169 drivers/dma/iop-adma.h void *ptr; ptr 381 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 415 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 632 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 651 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 699 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 756 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 765 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 772 drivers/dma/iop-adma.h union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, }; ptr 906 drivers/dma/mv_xor.c u8 *ptr = page_address(xor_srcs[src_idx]); ptr 908 drivers/dma/mv_xor.c ptr[i] = (1 << src_idx); ptr 988 drivers/dma/mv_xor.c u32 *ptr = page_address(dest); ptr 989 drivers/dma/mv_xor.c if (ptr[i] != cmp_word) { ptr 992 drivers/dma/mv_xor.c i, ptr[i], cmp_word); ptr 2128 drivers/edac/altera_edac.c unsigned long event, void *ptr) ptr 242 drivers/edac/edac_mc.c void *ptr = *p; ptr 264 drivers/edac/edac_mc.c return (char *)ptr; ptr 269 drivers/edac/edac_mc.c return (char *)ptr; ptr 273 drivers/edac/edac_mc.c return (void *)(((unsigned long)ptr) + align - r); ptr 319 drivers/edac/edac_mc.c void *pvt, *p, *ptr = NULL; ptr 344 drivers/edac/edac_mc.c mci = edac_align_ptr(&ptr, sizeof(*mci), 1); ptr 345 drivers/edac/edac_mc.c layer = edac_align_ptr(&ptr, sizeof(*layer), n_layers); ptr 349 drivers/edac/edac_mc.c ce_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count); ptr 350 drivers/edac/edac_mc.c ue_per_layer[i] = edac_align_ptr(&ptr, sizeof(u32), count); ptr 355 drivers/edac/edac_mc.c pvt = edac_align_ptr(&ptr, sz_pvt, 1); ptr 214 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_int_show(void *ptr, char *buffer) ptr 216 drivers/edac/edac_pci_sysfs.c int *value = ptr; ptr 220 drivers/edac/edac_pci_sysfs.c static ssize_t edac_pci_int_store(void *ptr, const char *buffer, size_t count) ptr 222 drivers/edac/edac_pci_sysfs.c int *value = ptr; ptr 39 drivers/edac/octeon_edac-pc.c unsigned long event, void *ptr) ptr 142 drivers/edac/pnd2_edac.c #define P2SB_READ(size, off, ptr) \ ptr 143 drivers/edac/pnd2_edac.c pci_bus_read_config_##size(p2sb_bus, P2SB_DEVFN, off, ptr) ptr 28 drivers/edac/sifive_edac.c int ecc_err_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 30 drivers/edac/sifive_edac.c const char *msg = (char *)ptr; ptr 68 drivers/extcon/devres.c struct extcon_dev **ptr, *edev; ptr 70 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_release, sizeof(*ptr), GFP_KERNEL); ptr 71 drivers/extcon/devres.c if (!ptr) ptr 76 drivers/extcon/devres.c devres_free(ptr); ptr 82 drivers/extcon/devres.c *ptr = edev; ptr 83 drivers/extcon/devres.c devres_add(dev, ptr); ptr 120 drivers/extcon/devres.c struct extcon_dev **ptr; ptr 123 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_unreg, sizeof(*ptr), GFP_KERNEL); ptr 124 drivers/extcon/devres.c if (!ptr) ptr 129 drivers/extcon/devres.c devres_free(ptr); ptr 133 drivers/extcon/devres.c *ptr = edev; ptr 134 drivers/extcon/devres.c devres_add(dev, ptr); ptr 175 drivers/extcon/devres.c struct extcon_dev_notifier_devres *ptr; ptr 178 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_notifier_unreg, sizeof(*ptr), ptr 180 drivers/extcon/devres.c if (!ptr) ptr 185 drivers/extcon/devres.c devres_free(ptr); ptr 189 drivers/extcon/devres.c ptr->edev = edev; ptr 190 drivers/extcon/devres.c ptr->id = id; ptr 191 drivers/extcon/devres.c ptr->nb = nb; ptr 192 drivers/extcon/devres.c devres_add(dev, ptr); ptr 231 drivers/extcon/devres.c struct extcon_dev_notifier_devres *ptr; ptr 234 drivers/extcon/devres.c ptr = devres_alloc(devm_extcon_dev_notifier_all_unreg, sizeof(*ptr), ptr 236 drivers/extcon/devres.c if (!ptr) ptr 241 drivers/extcon/devres.c devres_free(ptr); ptr 245 drivers/extcon/devres.c ptr->edev = edev; ptr 246 drivers/extcon/devres.c ptr->nb = nb; ptr 247 drivers/extcon/devres.c devres_add(dev, ptr); ptr 217 drivers/firewire/core-cdev.c static u64 uptr_to_u64(void __user *ptr) ptr 220 drivers/firewire/core-cdev.c return ptr_to_compat(ptr); ptr 222 drivers/firewire/core-cdev.c return (u64)(unsigned long)ptr; ptr 230 drivers/firewire/core-cdev.c static inline u64 uptr_to_u64(void __user *ptr) ptr 232 drivers/firewire/core-cdev.c return (u64)(unsigned long)ptr; ptr 1153 drivers/firewire/net.c void *ptr; ptr 1156 drivers/firewire/net.c ptr = kmap(dev->broadcast_rcv_buffer.pages[u]); ptr 1158 drivers/firewire/net.c *ptrptr++ = (void *) ((char *)ptr + v * max_receive); ptr 49 drivers/firmware/efi/apple-properties.c struct device *dev, void *ptr, ptr 55 drivers/firmware/efi/apple-properties.c int remaining = dev_header->len - (ptr - (void *)dev_header); ptr 62 drivers/firmware/efi/apple-properties.c key_len = *(typeof(key_len) *)ptr; ptr 65 drivers/firmware/efi/apple-properties.c *(efi_char16_t *)(ptr + sizeof(key_len)) == 0) { ptr 67 drivers/firmware/efi/apple-properties.c ptr - (void *)dev_header); ptr 71 drivers/firmware/efi/apple-properties.c val_len = *(typeof(val_len) *)(ptr + key_len); ptr 75 drivers/firmware/efi/apple-properties.c ptr - (void *)dev_header + key_len); ptr 85 drivers/firmware/efi/apple-properties.c ucs2_as_utf8(key, ptr + sizeof(key_len), ptr 92 drivers/firmware/efi/apple-properties.c entry[i].pointer.u8_data = ptr + key_len + sizeof(val_len); ptr 101 drivers/firmware/efi/apple-properties.c ptr += key_len + val_len; ptr 125 drivers/firmware/efi/apple-properties.c void *ptr; ptr 133 drivers/firmware/efi/apple-properties.c ptr = dev_header->path; ptr 136 drivers/firmware/efi/apple-properties.c dev = efi_get_device_by_path((struct efi_dev_path **)&ptr, &len); ptr 139 drivers/firmware/efi/apple-properties.c PTR_ERR(dev), ptr - (void *)dev_header); ptr 153 drivers/firmware/efi/apple-properties.c unmarshal_key_value_pairs(dev_header, dev, ptr, entry); ptr 492 drivers/firmware/efi/efi.c *(table_types[i].ptr) = table; ptr 87 drivers/firmware/google/coreboot_table.c static int coreboot_table_populate(struct device *dev, void *ptr) ptr 93 drivers/firmware/google/coreboot_table.c struct coreboot_table_header *header = ptr; ptr 95 drivers/firmware/google/coreboot_table.c ptr_entry = ptr + header->header_bytes; ptr 127 drivers/firmware/google/coreboot_table.c void *ptr; ptr 151 drivers/firmware/google/coreboot_table.c ptr = memremap(res->start, len, MEMREMAP_WB); ptr 152 drivers/firmware/google/coreboot_table.c if (!ptr) ptr 157 drivers/firmware/google/coreboot_table.c ret = coreboot_table_populate(dev, ptr); ptr 161 drivers/firmware/google/coreboot_table.c memunmap(ptr); ptr 744 drivers/firmware/iscsi_ibft.c void *ptr, *end; ptr 761 drivers/firmware/iscsi_ibft.c for (ptr = &control->initiator_off; ptr < end; ptr += sizeof(u16)) { ptr 762 drivers/firmware/iscsi_ibft.c offset = *(u16 *)ptr; ptr 452 drivers/firmware/qcom_scm.c void *ptr; ptr 462 drivers/firmware/qcom_scm.c ptr = dma_alloc_coherent(__scm->dev, ptr_sz, &ptr_dma, GFP_KERNEL); ptr 463 drivers/firmware/qcom_scm.c if (!ptr) ptr 468 drivers/firmware/qcom_scm.c src = ptr; ptr 474 drivers/firmware/qcom_scm.c mem_to_map = ptr + ALIGN(src_sz, SZ_64); ptr 481 drivers/firmware/qcom_scm.c destvm = ptr + ALIGN(mem_to_map_sz, SZ_64) + ALIGN(src_sz, SZ_64); ptr 493 drivers/firmware/qcom_scm.c dma_free_coherent(__scm->dev, ptr_sz, ptr, ptr_dma); ptr 3073 drivers/firmware/ti_sci.c const struct ti_sci_handle **ptr = res; ptr 3074 drivers/firmware/ti_sci.c const struct ti_sci_handle *handle = *ptr; ptr 3095 drivers/firmware/ti_sci.c const struct ti_sci_handle **ptr; ptr 3098 drivers/firmware/ti_sci.c ptr = devres_alloc(devm_ti_sci_release, sizeof(*ptr), GFP_KERNEL); ptr 3099 drivers/firmware/ti_sci.c if (!ptr) ptr 3104 drivers/firmware/ti_sci.c *ptr = handle; ptr 3105 drivers/firmware/ti_sci.c devres_add(dev, ptr); ptr 3107 drivers/firmware/ti_sci.c devres_free(ptr); ptr 3179 drivers/firmware/ti_sci.c const struct ti_sci_handle **ptr; ptr 3181 drivers/firmware/ti_sci.c ptr = devres_alloc(devm_ti_sci_release, sizeof(*ptr), GFP_KERNEL); ptr 3182 drivers/firmware/ti_sci.c if (!ptr) ptr 3187 drivers/firmware/ti_sci.c *ptr = handle; ptr 3188 drivers/firmware/ti_sci.c devres_add(dev, ptr); ptr 3190 drivers/firmware/ti_sci.c devres_free(ptr); ptr 148 drivers/firmware/xilinx/zynqmp-debug.c const char __user *ptr, size_t len, ptr 166 drivers/firmware/xilinx/zynqmp-debug.c kern_buff = memdup_user_nul(ptr, len); ptr 205 drivers/firmware/xilinx/zynqmp-debug.c static ssize_t zynqmp_pm_debugfs_api_read(struct file *file, char __user *ptr, ptr 208 drivers/firmware/xilinx/zynqmp-debug.c return simple_read_from_buffer(ptr, len, off, debugfs_buf, ptr 416 drivers/fpga/fpga-bridge.c struct fpga_bridge **ptr, *bridge; ptr 418 drivers/fpga/fpga-bridge.c ptr = devres_alloc(devm_fpga_bridge_release, sizeof(*ptr), GFP_KERNEL); ptr 419 drivers/fpga/fpga-bridge.c if (!ptr) ptr 424 drivers/fpga/fpga-bridge.c devres_free(ptr); ptr 426 drivers/fpga/fpga-bridge.c *ptr = bridge; ptr 427 drivers/fpga/fpga-bridge.c devres_add(dev, ptr); ptr 656 drivers/fpga/fpga-mgr.c struct fpga_manager **ptr, *mgr; ptr 658 drivers/fpga/fpga-mgr.c ptr = devres_alloc(devm_fpga_mgr_release, sizeof(*ptr), GFP_KERNEL); ptr 659 drivers/fpga/fpga-mgr.c if (!ptr) ptr 664 drivers/fpga/fpga-mgr.c devres_free(ptr); ptr 666 drivers/fpga/fpga-mgr.c *ptr = mgr; ptr 667 drivers/fpga/fpga-mgr.c devres_add(dev, ptr); ptr 275 drivers/fpga/fpga-region.c struct fpga_region **ptr, *region; ptr 277 drivers/fpga/fpga-region.c ptr = devres_alloc(devm_fpga_region_release, sizeof(*ptr), GFP_KERNEL); ptr 278 drivers/fpga/fpga-region.c if (!ptr) ptr 283 drivers/fpga/fpga-region.c devres_free(ptr); ptr 285 drivers/fpga/fpga-region.c *ptr = region; ptr 286 drivers/fpga/fpga-region.c devres_add(dev, ptr); ptr 52 drivers/gpio/gpio-amd-fch.c void __iomem *ptr = amd_fch_gpio_addr(priv, offset); ptr 55 drivers/gpio/gpio-amd-fch.c writel_relaxed(readl_relaxed(ptr) & ~AMD_FCH_GPIO_FLAG_DIRECTION, ptr); ptr 66 drivers/gpio/gpio-amd-fch.c void __iomem *ptr = amd_fch_gpio_addr(priv, gpio); ptr 71 drivers/gpio/gpio-amd-fch.c val = readl_relaxed(ptr); ptr 77 drivers/gpio/gpio-amd-fch.c writel_relaxed(val | AMD_FCH_GPIO_FLAG_DIRECTION, ptr); ptr 89 drivers/gpio/gpio-amd-fch.c void __iomem *ptr = amd_fch_gpio_addr(priv, gpio); ptr 92 drivers/gpio/gpio-amd-fch.c ret = (readl_relaxed(ptr) & AMD_FCH_GPIO_FLAG_DIRECTION); ptr 103 drivers/gpio/gpio-amd-fch.c void __iomem *ptr = amd_fch_gpio_addr(priv, gpio); ptr 108 drivers/gpio/gpio-amd-fch.c mask = readl_relaxed(ptr); ptr 113 drivers/gpio/gpio-amd-fch.c writel_relaxed(mask, ptr); ptr 124 drivers/gpio/gpio-amd-fch.c void __iomem *ptr = amd_fch_gpio_addr(priv, offset); ptr 127 drivers/gpio/gpio-amd-fch.c ret = (readl_relaxed(ptr) & AMD_FCH_GPIO_FLAG_READ); ptr 1568 drivers/gpio/gpiolib.c struct gpio_chip **ptr; ptr 1571 drivers/gpio/gpiolib.c ptr = devres_alloc(devm_gpio_chip_release, sizeof(*ptr), ptr 1573 drivers/gpio/gpiolib.c if (!ptr) ptr 1578 drivers/gpio/gpiolib.c devres_free(ptr); ptr 1582 drivers/gpio/gpiolib.c *ptr = chip; ptr 1583 drivers/gpio/gpiolib.c devres_add(dev, ptr); ptr 408 drivers/gpu/drm/amd/amdgpu/amdgpu.h uint32_t *ptr; ptr 492 drivers/gpu/drm/amd/amdgpu/amdgpu.h return p->job->ibs[ib_idx].ptr[idx]; ptr 499 drivers/gpu/drm/amd/amdgpu/amdgpu.h p->job->ibs[ib_idx].ptr[idx] = value; ptr 601 drivers/gpu/drm/amd/amdgpu/amdgpu.h volatile uint32_t *ptr; ptr 635 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c ib->ptr = ib_cmd; ptr 838 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c memcpy(ib->ptr, kptr, chunk_ib->ib_bytes); ptr 845 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c ib->ptr = (uint32_t *)kptr; ptr 41 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c void *ptr; ptr 45 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c NULL, &ptr); ptr 49 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c memset(ptr, 0, size); ptr 50 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c adev->virt.csa_cpu_addr = ptr; ptr 945 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct dma_fence *fence, **ptr; ptr 949 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c ptr = &drv->fences[last_seq]; ptr 951 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c fence = rcu_dereference_protected(*ptr, 1); ptr 952 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c RCU_INIT_POINTER(*ptr, NULL); ptr 995 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c struct dma_fence *fence, **ptr; ptr 1007 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c ptr = &drv->fences[preempt_seq]; ptr 1008 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c fence = rcu_dereference_protected(*ptr, 1); ptr 325 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return readl(adev->doorbell.ptr + index); ptr 345 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c writel(v, adev->doorbell.ptr + index); ptr 363 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return atomic64_read((atomic64_t *)(adev->doorbell.ptr + index)); ptr 383 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c atomic64_set((atomic64_t *)(adev->doorbell.ptr + index), v); ptr 511 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c (void **)&adev->vram_scratch.ptr); ptr 597 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->doorbell.ptr = NULL; ptr 624 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->doorbell.ptr = ioremap(adev->doorbell.base, ptr 627 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->doorbell.ptr == NULL) ptr 642 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c iounmap(adev->doorbell.ptr); ptr 643 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->doorbell.ptr = NULL; ptr 1867 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c memcpy(adev->reset_magic, adev->gart.ptr, AMDGPU_RESET_MAGIC_NUM); ptr 1882 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return !!memcmp(adev->gart.ptr, adev->reset_magic, ptr 31 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h u32 __iomem *ptr; ptr 141 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c struct dma_fence __rcu **ptr; ptr 158 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c ptr = &ring->fence_drv.fences[seq & ring->fence_drv.num_fences_mask]; ptr 159 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c if (unlikely(rcu_dereference_protected(*ptr, 1))) { ptr 163 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c old = dma_fence_get_rcu_safe(ptr); ptr 177 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c rcu_assign_pointer(*ptr, dma_fence_get(&fence->base)); ptr 257 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c struct dma_fence *fence, **ptr; ptr 261 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c ptr = &drv->fences[last_seq]; ptr 264 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c fence = rcu_dereference_protected(*ptr, 1); ptr 265 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c RCU_INIT_POINTER(*ptr, NULL); ptr 310 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c struct dma_fence *fence, **ptr; ptr 316 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c ptr = &ring->fence_drv.fences[seq & ring->fence_drv.num_fences_mask]; ptr 318 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c fence = rcu_dereference(*ptr); ptr 159 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c r = amdgpu_bo_kmap(adev->gart.bo, &adev->gart.ptr); ptr 186 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c adev->gart.ptr = NULL; ptr 243 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c if (!adev->gart.ptr) ptr 247 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c amdgpu_gmc_set_pte_pde(adev, adev->gart.ptr, ptr 331 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c if (!adev->gart.ptr) ptr 335 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c adev->gart.ptr); ptr 45 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h void *ptr; ptr 793 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c static int amdgpu_debugfs_gem_bo_info(int id, void *ptr, void *data) ptr 795 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_gem_object *gobj = ptr; ptr 99 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c void __iomem *ptr = (void *)cpu_pt_addr; ptr 107 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c writeq(value, ptr + (gpu_page_idx * 8)); ptr 77 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c ib->ptr = amdgpu_sa_bo_cpu_addr(ib->sa_bo); ptr 766 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr) ptr 776 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (ptr) ptr 777 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c *ptr = kptr; ptr 790 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (ptr) ptr 791 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c *ptr = amdgpu_bo_kptr(bo); ptr 245 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr); ptr 111 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c ib->ptr[ib->length_dw++] = ring->funcs->nop; ptr 1945 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c &job->ibs[0].ptr[num_dw]); ptr 2268 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c void *ptr; ptr 2275 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr = kmap(page); ptr 2276 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr += off; ptr 2278 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = copy_to_user(buf, ptr, cur_size); ptr 2327 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c void *ptr; ptr 2345 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr = kmap(p); ptr 2346 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = copy_to_user(buf, ptr + off, bytes); ptr 2382 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c void *ptr; ptr 2396 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ptr = kmap(p); ptr 2397 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = copy_from_user(ptr + off, buf, bytes); ptr 347 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c void *ptr; ptr 369 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ptr = adev->uvd.inst[j].cpu_addr; ptr 375 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c memcpy_fromio(adev->uvd.inst[j].saved_bo, ptr, size); ptr 383 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c void *ptr; ptr 393 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ptr = adev->uvd.inst[i].cpu_addr; ptr 396 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c memcpy_toio(ptr, adev->uvd.inst[i].saved_bo, size); ptr 409 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ptr += le32_to_cpu(hdr->ucode_size_bytes); ptr 411 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c memset_io(ptr, 0, size); ptr 715 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c void *ptr; ptr 724 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c r = amdgpu_bo_kmap(bo, &ptr); ptr 730 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c msg = ptr + offset; ptr 1063 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[0] = data[0]; ptr 1064 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[1] = addr; ptr 1065 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[2] = data[1]; ptr 1066 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[3] = addr >> 32; ptr 1067 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[4] = data[2]; ptr 1068 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[5] = 0; ptr 1070 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[i] = data[3]; ptr 1071 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c ib->ptr[i+1] = 0; ptr 452 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000c; /* len */ ptr 453 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */ ptr 454 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = handle; ptr 457 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000040; /* len */ ptr 459 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000030; /* len */ ptr 460 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x01000001; /* create cmd */ ptr 461 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 462 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000042; ptr 463 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000a; ptr 464 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; ptr 465 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000080; ptr 466 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000060; ptr 467 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000100; ptr 468 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000100; ptr 469 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000c; ptr 470 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 472 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 473 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 474 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 475 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 478 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000014; /* len */ ptr 479 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x05000005; /* feedback buffer */ ptr 480 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 481 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = addr; ptr 482 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; ptr 485 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[i] = 0x0; ptr 528 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x0000000c; /* len */ ptr 529 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */ ptr 530 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = handle; ptr 532 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000020; /* len */ ptr 533 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ ptr 534 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0xffffffff; /* next task info, set to 0xffffffff if no */ ptr 535 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000001; /* destroy session */ ptr 536 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 537 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 538 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0xffffffff; /* feedback is not needed, set to 0xffffffff and firmware will not output feedback */ ptr 539 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 541 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x00000008; /* len */ ptr 542 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[ib->length_dw++] = 0x02000001; /* destroy cmd */ ptr 545 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c ib->ptr[i] = 0x0; ptr 227 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c void *ptr; ptr 239 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ptr = adev->vcn.inst[i].cpu_addr; ptr 245 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c memcpy_fromio(adev->vcn.inst[i].saved_bo, ptr, size); ptr 253 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c void *ptr; ptr 263 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ptr = adev->vcn.inst[i].cpu_addr; ptr 266 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c memcpy_toio(ptr, adev->vcn.inst[i].saved_bo, size); ptr 279 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ptr += le32_to_cpu(hdr->ucode_size_bytes); ptr 281 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c memset_io(ptr, 0, size); ptr 424 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[0] = PACKET0(adev->vcn.internal.data0, 0); ptr 425 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[1] = addr; ptr 426 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[2] = PACKET0(adev->vcn.internal.data1, 0); ptr 427 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[3] = addr >> 32; ptr 428 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[4] = PACKET0(adev->vcn.internal.cmd, 0); ptr 429 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[5] = 0; ptr 431 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[i] = PACKET0(adev->vcn.internal.nop, 0); ptr 432 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[i+1] = 0; ptr 590 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000018; ptr 591 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ ptr 592 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = handle; ptr 593 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 594 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = addr; ptr 595 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000000b; ptr 597 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000014; ptr 598 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ ptr 599 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000001c; ptr 600 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 601 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 603 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000008; ptr 604 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */ ptr 607 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[i] = 0x0; ptr 643 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000018; ptr 644 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000001; ptr 645 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = handle; ptr 646 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 647 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = addr; ptr 648 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000000b; ptr 650 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000014; ptr 651 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000002; ptr 652 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x0000001c; ptr 653 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 654 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 656 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x00000008; ptr 657 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */ ptr 660 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[i] = 0x0; ptr 755 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[0] = PACKETJ(adev->vcn.internal.jpeg_pitch, 0, 0, PACKETJ_TYPE0); ptr 756 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[1] = 0xDEADBEEF; ptr 758 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[i] = PACKETJ(0, 0, 0, PACKETJ_TYPE6); ptr 759 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ib->ptr[i+1] = 0; ptr 385 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c char *ptr = buf; ptr 389 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c ptr = strchr(ptr, ':'); ptr 390 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (!ptr) ptr 392 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c ptr+=2; ptr 393 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (kstrtou32(ptr, 10, &clk)) ptr 248 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c pte = (uint64_t *)&(p->job->ibs->ptr[p->num_dw_left]); ptr 177 drivers/gpu/drm/amd/amdgpu/atom.c int *ptr, uint32_t *saved, int print) ptr 185 drivers/gpu/drm/amd/amdgpu/atom.c idx = U16(*ptr); ptr 186 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 217 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 218 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 226 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 227 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 263 drivers/gpu/drm/amd/amdgpu/atom.c idx = U16(*ptr); ptr 264 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 274 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 275 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 288 drivers/gpu/drm/amd/amdgpu/atom.c val = U32(*ptr); ptr 289 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 4; ptr 296 drivers/gpu/drm/amd/amdgpu/atom.c val = U16(*ptr); ptr 297 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 305 drivers/gpu/drm/amd/amdgpu/atom.c val = U8(*ptr); ptr 306 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 313 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 314 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 320 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 321 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 361 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) ptr 367 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 374 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 379 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 4; ptr 384 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 390 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 397 drivers/gpu/drm/amd/amdgpu/atom.c static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) ptr 399 drivers/gpu/drm/amd/amdgpu/atom.c return atom_get_src_int(ctx, attr, ptr, NULL, 1); ptr 402 drivers/gpu/drm/amd/amdgpu/atom.c static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) ptr 408 drivers/gpu/drm/amd/amdgpu/atom.c val = U32(*ptr); ptr 409 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 4; ptr 414 drivers/gpu/drm/amd/amdgpu/atom.c val = U16(*ptr); ptr 415 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 421 drivers/gpu/drm/amd/amdgpu/atom.c val = U8(*ptr); ptr 422 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 429 drivers/gpu/drm/amd/amdgpu/atom.c int *ptr, uint32_t *saved, int print) ptr 434 drivers/gpu/drm/amd/amdgpu/atom.c ptr, saved, print); ptr 437 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) ptr 441 drivers/gpu/drm/amd/amdgpu/atom.c 3] << 3, ptr); ptr 445 drivers/gpu/drm/amd/amdgpu/atom.c int *ptr, uint32_t val, uint32_t saved) ptr 458 drivers/gpu/drm/amd/amdgpu/atom.c idx = U16(*ptr); ptr 459 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 491 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 492 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 497 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 498 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 530 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 531 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 540 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 541 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 546 drivers/gpu/drm/amd/amdgpu/atom.c idx = U8(*ptr); ptr 547 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 580 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) ptr 582 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 584 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 586 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 588 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 594 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) ptr 596 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 598 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 600 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 602 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 608 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) ptr 613 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) ptr 615 drivers/gpu/drm/amd/amdgpu/atom.c int idx = U8((*ptr)++); ptr 629 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) ptr 631 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 633 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 636 drivers/gpu/drm/amd/amdgpu/atom.c atom_get_dst(ctx, arg, attr, ptr, &saved, 0); ptr 641 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) ptr 643 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 646 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 648 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 655 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) ptr 657 drivers/gpu/drm/amd/amdgpu/atom.c unsigned count = U8((*ptr)++); ptr 667 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) ptr 669 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 672 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 674 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 684 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_div32(atom_exec_context *ctx, int *ptr, int arg) ptr 687 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 690 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 692 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 705 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) ptr 710 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) ptr 712 drivers/gpu/drm/amd/amdgpu/atom.c int execute = 0, target = U16(*ptr); ptr 715 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 759 drivers/gpu/drm/amd/amdgpu/atom.c *ptr = ctx->start + target; ptr 763 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) ptr 765 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 767 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 769 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 770 drivers/gpu/drm/amd/amdgpu/atom.c mask = atom_get_src_direct(ctx, ((attr >> 3) & 7), ptr); ptr 773 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 780 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_move(atom_exec_context *ctx, int *ptr, int arg) ptr 782 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 784 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 786 drivers/gpu/drm/amd/amdgpu/atom.c atom_get_dst(ctx, arg, attr, ptr, &saved, 0); ptr 788 drivers/gpu/drm/amd/amdgpu/atom.c atom_skip_dst(ctx, arg, attr, ptr); ptr 792 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 797 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) ptr 799 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 802 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 804 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 808 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_mul32(atom_exec_context *ctx, int *ptr, int arg) ptr 811 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 814 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 816 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 822 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) ptr 827 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) ptr 829 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 831 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 833 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 835 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 841 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) ptr 843 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t val = U8((*ptr)++); ptr 847 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) ptr 852 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) ptr 857 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) ptr 862 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) ptr 864 drivers/gpu/drm/amd/amdgpu/atom.c int idx = U8(*ptr); ptr 865 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 876 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) ptr 878 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 880 drivers/gpu/drm/amd/amdgpu/atom.c ctx->ctx->fb_base = atom_get_src(ctx, attr, ptr); ptr 883 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) ptr 888 drivers/gpu/drm/amd/amdgpu/atom.c port = U16(*ptr); ptr 897 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 901 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 905 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 910 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) ptr 912 drivers/gpu/drm/amd/amdgpu/atom.c ctx->ctx->reg_block = U16(*ptr); ptr 913 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 917 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) ptr 919 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 921 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 925 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 926 drivers/gpu/drm/amd/amdgpu/atom.c shift = atom_get_src_direct(ctx, ATOM_SRC_BYTE0, ptr); ptr 933 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) ptr 935 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 937 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 941 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 942 drivers/gpu/drm/amd/amdgpu/atom.c shift = atom_get_src_direct(ctx, ATOM_SRC_BYTE0, ptr); ptr 949 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) ptr 951 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 953 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 956 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 959 drivers/gpu/drm/amd/amdgpu/atom.c shift = atom_get_src(ctx, attr, ptr); ptr 968 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) ptr 970 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 972 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 975 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 978 drivers/gpu/drm/amd/amdgpu/atom.c shift = atom_get_src(ctx, attr, ptr); ptr 987 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) ptr 989 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 991 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 993 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 995 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 1001 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) ptr 1003 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 1006 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 1007 drivers/gpu/drm/amd/amdgpu/atom.c while (U16(*ptr) != ATOM_CASE_END) ptr 1008 drivers/gpu/drm/amd/amdgpu/atom.c if (U8(*ptr) == ATOM_CASE_MAGIC) { ptr 1009 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr)++; ptr 1013 drivers/gpu/drm/amd/amdgpu/atom.c ptr); ptr 1014 drivers/gpu/drm/amd/amdgpu/atom.c target = U16(*ptr); ptr 1017 drivers/gpu/drm/amd/amdgpu/atom.c *ptr = ctx->start + target; ptr 1020 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 1025 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += 2; ptr 1028 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_test(atom_exec_context *ctx, int *ptr, int arg) ptr 1030 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 1033 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 1035 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 1040 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) ptr 1042 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t attr = U8((*ptr)++); ptr 1044 drivers/gpu/drm/amd/amdgpu/atom.c int dptr = *ptr; ptr 1046 drivers/gpu/drm/amd/amdgpu/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 1048 drivers/gpu/drm/amd/amdgpu/atom.c src = atom_get_src(ctx, attr, ptr); ptr 1054 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) ptr 1056 drivers/gpu/drm/amd/amdgpu/atom.c uint8_t val = U8((*ptr)++); ptr 1060 drivers/gpu/drm/amd/amdgpu/atom.c static void atom_op_processds(atom_exec_context *ctx, int *ptr, int arg) ptr 1062 drivers/gpu/drm/amd/amdgpu/atom.c uint16_t val = U16(*ptr); ptr 1063 drivers/gpu/drm/amd/amdgpu/atom.c (*ptr) += val + 2; ptr 1204 drivers/gpu/drm/amd/amdgpu/atom.c int len, ws, ps, ptr; ptr 1215 drivers/gpu/drm/amd/amdgpu/atom.c ptr = base + ATOM_CT_CODE_PTR; ptr 1232 drivers/gpu/drm/amd/amdgpu/atom.c op = CU8(ptr++); ptr 1234 drivers/gpu/drm/amd/amdgpu/atom.c SDEBUG("%s @ 0x%04X\n", atom_op_names[op], ptr - 1); ptr 1236 drivers/gpu/drm/amd/amdgpu/atom.c SDEBUG("[%d] @ 0x%04X\n", op, ptr - 1); ptr 1239 drivers/gpu/drm/amd/amdgpu/atom.c base, len, ws, ps, ptr - 1); ptr 1245 drivers/gpu/drm/amd/amdgpu/atom.c opcode_table[op].func(&ectx, &ptr, ptr 686 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib.ptr[0] = SDMA_PACKET(SDMA_OPCODE_WRITE, ptr 688 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 689 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib.ptr[2] = upper_32_bits(gpu_addr); ptr 690 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib.ptr[3] = 1; ptr 691 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib.ptr[4] = 0xDEADBEEF; ptr 734 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY, ptr 736 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = bytes; ptr 737 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 738 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 739 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(src); ptr 740 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 741 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 761 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_WRITE, ptr 763 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 764 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 765 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = ndw; ptr 767 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(value); ptr 768 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 790 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_GENERATE_PTE_PDE, 0, 0); ptr 791 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ ptr 792 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 793 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ ptr 794 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); ptr 795 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ ptr 796 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 797 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 798 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = 0; ptr 799 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = count; /* number of entries */ ptr 817 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = ptr 821 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = ptr 1318 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY, SDMA_COPY_SUB_OPCODE_LINEAR, 0); ptr 1319 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = byte_count; ptr 1320 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 1321 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); ptr 1322 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); ptr 1323 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1324 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1342 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_CONSTANT_FILL, 0, 0); ptr 1343 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1344 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1345 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = src_data; ptr 1346 drivers/gpu/drm/amd/amdgpu/cik_sdma.c ib->ptr[ib->length_dw++] = byte_count; ptr 512 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ib.ptr[0] = PACKET3(PACKET3_SET_UCONFIG_REG, 1); ptr 513 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ib.ptr[1] = ((scratch - PACKET3_SET_UCONFIG_REG_START)); ptr 514 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c ib.ptr[2] = 0xDEADBEEF; ptr 2082 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c char *ptr = adev->gfx.rlc.rlc_autoload_ptr; ptr 2096 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memcpy(ptr + toc_offset, fw_data, fw_size); ptr 2099 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memset(ptr + toc_offset + fw_size, 0, toc_fw_size - fw_size); ptr 1922 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c ib.ptr[0] = PACKET3(PACKET3_SET_CONFIG_REG, 1); ptr 1923 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c ib.ptr[1] = ((scratch - PACKET3_SET_CONFIG_REG_START)); ptr 1924 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c ib.ptr[2] = 0xDEADBEEF; ptr 2371 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ib.ptr[0] = PACKET3(PACKET3_SET_UCONFIG_REG, 1); ptr 2372 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ib.ptr[1] = ((scratch - PACKET3_SET_UCONFIG_REG_START)); ptr 2373 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c ib.ptr[2] = 0xDEADBEEF; ptr 895 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[0] = PACKET3(PACKET3_WRITE_DATA, 3); ptr 896 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[1] = WRITE_DATA_DST_SEL(5) | WR_CONFIRM; ptr 897 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[2] = lower_32_bits(gpu_addr); ptr 898 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[3] = upper_32_bits(gpu_addr); ptr 899 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[4] = 0xDEADBEEF; ptr 1590 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[i + (vgpr_offset / 4)] = vgpr_init_compute_shader[i]; ptr 1593 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[i + (sgpr_offset / 4)] = sgpr_init_compute_shader[i]; ptr 1601 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); ptr 1602 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = vgpr_init_regs[i] - PACKET3_SET_SH_REG_START; ptr 1603 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = vgpr_init_regs[i + 1]; ptr 1607 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); ptr 1608 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = mmCOMPUTE_PGM_LO - PACKET3_SET_SH_REG_START; ptr 1609 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); ptr 1610 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); ptr 1613 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); ptr 1614 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 8; /* x */ ptr 1615 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* y */ ptr 1616 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* z */ ptr 1617 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = ptr 1621 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); ptr 1622 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); ptr 1627 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); ptr 1628 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr1_init_regs[i] - PACKET3_SET_SH_REG_START; ptr 1629 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr1_init_regs[i + 1]; ptr 1633 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); ptr 1634 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = mmCOMPUTE_PGM_LO - PACKET3_SET_SH_REG_START; ptr 1635 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); ptr 1636 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); ptr 1639 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); ptr 1640 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 8; /* x */ ptr 1641 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* y */ ptr 1642 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* z */ ptr 1643 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = ptr 1647 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); ptr 1648 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); ptr 1653 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); ptr 1654 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr2_init_regs[i] - PACKET3_SET_SH_REG_START; ptr 1655 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = sgpr2_init_regs[i + 1]; ptr 1659 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); ptr 1660 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = mmCOMPUTE_PGM_LO - PACKET3_SET_SH_REG_START; ptr 1661 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); ptr 1662 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); ptr 1665 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); ptr 1666 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 8; /* x */ ptr 1667 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* y */ ptr 1668 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = 1; /* z */ ptr 1669 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = ptr 1673 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); ptr 1674 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); ptr 898 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[0] = PACKET3(PACKET3_WRITE_DATA, 3); ptr 899 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[1] = WRITE_DATA_DST_SEL(5) | WR_CONFIRM; ptr 900 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[2] = lower_32_bits(gpu_addr); ptr 901 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[3] = upper_32_bits(gpu_addr); ptr 902 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[4] = 0xDEADBEEF; ptr 4300 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[i + (vgpr_offset / 4)] = vgpr_init_compute_shader[i]; ptr 4303 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[i + (sgpr_offset / 4)] = sgpr_init_compute_shader[i]; ptr 4311 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); ptr 4312 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_ENTRY_OFFSET(vgpr_init_regs[i]) ptr 4314 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = vgpr_init_regs[i].reg_value; ptr 4318 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); ptr 4319 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_OFFSET(GC, 0, mmCOMPUTE_PGM_LO) ptr 4321 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); ptr 4322 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); ptr 4325 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); ptr 4326 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 128; /* x */ ptr 4327 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* y */ ptr 4328 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* z */ ptr 4329 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = ptr 4333 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); ptr 4334 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); ptr 4339 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 1); ptr 4340 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_ENTRY_OFFSET(sgpr_init_regs[i]) ptr 4342 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = sgpr_init_regs[i].reg_value; ptr 4346 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_SET_SH_REG, 2); ptr 4347 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = SOC15_REG_OFFSET(GC, 0, mmCOMPUTE_PGM_LO) ptr 4349 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = lower_32_bits(gpu_addr); ptr 4350 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = upper_32_bits(gpu_addr); ptr 4353 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_DISPATCH_DIRECT, 3); ptr 4354 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 128; /* x */ ptr 4355 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* y */ ptr 4356 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = 1; /* z */ ptr 4357 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = ptr 4361 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = PACKET3(PACKET3_EVENT_WRITE, 0); ptr 4362 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); ptr 347 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c job->ibs->ptr[job->ibs->length_dw++] = ring->funcs->nop; ptr 621 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[0] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 623 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 624 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[2] = upper_32_bits(gpu_addr); ptr 625 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[3] = SDMA_PKT_WRITE_UNTILED_DW_3_COUNT(1); ptr 626 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[4] = 0xDEADBEEF; ptr 627 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[5] = SDMA_PKT_HEADER_OP(SDMA_OP_NOP); ptr 628 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[6] = SDMA_PKT_HEADER_OP(SDMA_OP_NOP); ptr 629 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib.ptr[7] = SDMA_PKT_HEADER_OP(SDMA_OP_NOP); ptr 673 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 675 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = bytes; ptr 676 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 677 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 678 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(src); ptr 679 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 680 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 700 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 702 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = pe; ptr 703 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 704 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = ndw; ptr 706 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(value); ptr 707 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 729 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_GEN_PTEPDE); ptr 730 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ ptr 731 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 732 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ ptr 733 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); ptr 734 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ ptr 735 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 736 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 737 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = 0; ptr 738 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = count; /* number of entries */ ptr 756 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = ptr 760 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = ptr 1205 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 1207 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = byte_count; ptr 1208 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 1209 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); ptr 1210 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); ptr 1211 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1212 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1230 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); ptr 1231 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1232 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1233 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = src_data; ptr 1234 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c ib->ptr[ib->length_dw++] = byte_count; ptr 893 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[0] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 895 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 896 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[2] = upper_32_bits(gpu_addr); ptr 897 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[3] = SDMA_PKT_WRITE_UNTILED_DW_3_COUNT(1); ptr 898 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[4] = 0xDEADBEEF; ptr 899 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[5] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 900 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[6] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 901 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib.ptr[7] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 944 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 946 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = bytes; ptr 947 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 948 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 949 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src); ptr 950 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 951 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 971 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 973 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 974 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 975 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = ndw; ptr 977 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(value); ptr 978 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 1000 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_GEN_PTEPDE); ptr 1001 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ ptr 1002 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1003 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ ptr 1004 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); ptr 1005 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ ptr 1006 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 1007 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 1008 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = 0; ptr 1009 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = count; /* number of entries */ ptr 1027 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = ptr 1031 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = ptr 1643 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 1645 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = byte_count; ptr 1646 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 1647 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); ptr 1648 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); ptr 1649 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1650 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1668 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); ptr 1669 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1670 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1671 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = src_data; ptr 1672 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c ib->ptr[ib->length_dw++] = byte_count; ptr 1446 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[0] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 1448 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 1449 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[2] = upper_32_bits(gpu_addr); ptr 1450 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[3] = SDMA_PKT_WRITE_UNTILED_DW_3_COUNT(0); ptr 1451 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[4] = 0xDEADBEEF; ptr 1452 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[5] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 1453 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[6] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 1454 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib.ptr[7] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 1499 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 1501 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = bytes - 1; ptr 1502 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 1503 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 1504 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src); ptr 1505 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 1506 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1528 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 1530 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 1531 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1532 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = ndw - 1; ptr 1534 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(value); ptr 1535 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 1558 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_PTEPDE); ptr 1559 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ ptr 1560 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1561 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ ptr 1562 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); ptr 1563 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ ptr 1564 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 1565 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 1566 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = 0; ptr 1567 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = count - 1; /* number of entries */ ptr 1585 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = ptr 1589 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = ptr 2465 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 2467 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = byte_count - 1; ptr 2468 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 2469 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); ptr 2470 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); ptr 2471 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 2472 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 2490 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); ptr 2491 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 2492 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 2493 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = src_data; ptr 2494 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ib->ptr[ib->length_dw++] = byte_count - 1; ptr 978 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[0] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 980 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 981 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[2] = upper_32_bits(gpu_addr); ptr 982 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[3] = SDMA_PKT_WRITE_UNTILED_DW_3_COUNT(0); ptr 983 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[4] = 0xDEADBEEF; ptr 984 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[5] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 985 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[6] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 986 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib.ptr[7] = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP); ptr 1036 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 1038 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = bytes - 1; ptr 1039 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 1040 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 1041 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src); ptr 1042 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 1043 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1065 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_WRITE) | ptr 1067 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 1068 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1069 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = ndw - 1; ptr 1071 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(value); ptr 1072 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 1095 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_PTEPDE); ptr 1096 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); /* dst addr */ ptr 1097 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 1098 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ ptr 1099 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); ptr 1100 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(addr); /* value */ ptr 1101 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 1102 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 1103 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = 0; ptr 1104 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = count - 1; /* number of entries */ ptr 1122 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = ptr 1126 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = ptr 1684 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_COPY) | ptr 1686 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = byte_count - 1; ptr 1687 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 1688 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); ptr 1689 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset); ptr 1690 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1691 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1709 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_CONST_FILL); ptr 1710 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 1711 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); ptr 1712 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = src_data; ptr 1713 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ib->ptr[ib->length_dw++] = byte_count - 1; ptr 274 drivers/gpu/drm/amd/amdgpu/si_dma.c ib.ptr[0] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, 1); ptr 275 drivers/gpu/drm/amd/amdgpu/si_dma.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 276 drivers/gpu/drm/amd/amdgpu/si_dma.c ib.ptr[2] = upper_32_bits(gpu_addr) & 0xff; ptr 277 drivers/gpu/drm/amd/amdgpu/si_dma.c ib.ptr[3] = 0xDEADBEEF; ptr 320 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, ptr 322 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 323 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 324 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 325 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff; ptr 345 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw); ptr 346 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 347 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 349 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(value); ptr 350 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 386 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); ptr 387 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ ptr 388 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 389 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(flags); /* mask */ ptr 390 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(flags); ptr 391 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = value; /* value */ ptr 392 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 393 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 394 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = 0; ptr 410 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0, 0); ptr 780 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, ptr 782 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 783 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src_offset); ptr 784 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) & 0xff; ptr 785 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src_offset) & 0xff; ptr 803 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_CONSTANT_FILL, ptr 805 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); ptr 806 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = src_data; ptr 807 drivers/gpu/drm/amd/amdgpu/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) << 16; ptr 227 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000018; ptr 228 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ ptr 229 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = handle; ptr 230 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00010000; ptr 231 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 232 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = addr; ptr 234 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000014; ptr 235 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ ptr 236 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x0000001c; ptr 237 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; ptr 238 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 240 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000008; ptr 241 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */ ptr 244 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[i] = 0x0; ptr 290 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000018; ptr 291 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ ptr 292 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = handle; ptr 293 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00010000; ptr 294 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 295 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = addr; ptr 297 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000014; ptr 298 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ ptr 299 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x0000001c; ptr 300 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000001; ptr 301 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 303 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x00000008; ptr 304 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */ ptr 307 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c ib->ptr[i] = 0x0; ptr 235 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000018; ptr 236 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000001; /* session info */ ptr 237 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = handle; ptr 238 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 239 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 240 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = addr; ptr 242 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000014; ptr 243 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000002; /* task info */ ptr 244 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x0000001c; ptr 245 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 246 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 248 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000008; ptr 249 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x08000001; /* op initialize */ ptr 252 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[i] = 0x0; ptr 297 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000018; ptr 298 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000001; ptr 299 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = handle; ptr 300 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 301 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = upper_32_bits(addr); ptr 302 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = addr; ptr 304 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000014; ptr 305 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000002; ptr 306 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x0000001c; ptr 307 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 308 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000000; ptr 310 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x00000008; ptr 311 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[ib->length_dw++] = 0x08000002; /* op close session */ ptr 314 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c ib->ptr[i] = 0x0; ptr 568 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c void *ptr = adev->vce.cpu_addr; ptr 570 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c memcpy_fromio(adev->vce.saved_bo, ptr, size); ptr 590 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c void *ptr = adev->vce.cpu_addr; ptr 592 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c memcpy_toio(ptr, adev->vce.saved_bo, size); ptr 50 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static void vcn_v1_0_jpeg_ring_set_patch_ring(struct amdgpu_ring *ring, uint32_t ptr); ptr 2012 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static void vcn_v1_0_jpeg_ring_patch_wreg(struct amdgpu_ring *ring, uint32_t *ptr, uint32_t reg_offset, uint32_t val) ptr 2015 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[(*ptr)++] = PACKETJ(SOC15_REG_OFFSET(UVD, 0, mmUVD_JRBC_EXTERNAL_REG_BASE), 0, 0, PACKETJ_TYPE0); ptr 2018 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[(*ptr)++] = 0; ptr 2019 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[(*ptr)++] = PACKETJ((reg_offset >> 2), 0, 0, PACKETJ_TYPE0); ptr 2021 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[(*ptr)++] = reg_offset; ptr 2022 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[(*ptr)++] = PACKETJ(0, 0, 0, PACKETJ_TYPE0); ptr 2024 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[(*ptr)++] = val; ptr 2027 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c static void vcn_v1_0_jpeg_ring_set_patch_ring(struct amdgpu_ring *ring, uint32_t ptr) ptr 2037 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_jpeg_ring_patch_wreg(ring, &ptr, reg_offset, val); ptr 2043 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_jpeg_ring_patch_wreg(ring, &ptr, reg_offset, val); ptr 2047 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ(0, 0, 0, PACKETJ_TYPE2); ptr 2048 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = 0; ptr 2055 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_jpeg_ring_patch_wreg(ring, &ptr, reg_offset, val); ptr 2061 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_jpeg_ring_patch_wreg(ring, &ptr, reg_offset, val); ptr 2069 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ(SOC15_REG_OFFSET(UVD, 0, mmUVD_JRBC_RB_COND_RD_TIMER), 0, 0, PACKETJ_TYPE0); ptr 2070 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = 0x01400200; ptr 2071 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ(SOC15_REG_OFFSET(UVD, 0, mmUVD_JRBC_RB_REF_DATA), 0, 0, PACKETJ_TYPE0); ptr 2072 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = val; ptr 2073 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ(SOC15_REG_OFFSET(UVD, 0, mmUVD_JRBC_EXTERNAL_REG_BASE), 0, 0, PACKETJ_TYPE0); ptr 2076 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = 0; ptr 2077 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ((reg_offset >> 2), 0, 0, PACKETJ_TYPE3); ptr 2079 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = reg_offset; ptr 2080 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ(0, 0, 0, PACKETJ_TYPE3); ptr 2082 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = mask; ptr 2086 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = PACKETJ(0, 0, 0, PACKETJ_TYPE6); ptr 2087 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c ring->ring[ptr++] = 0; ptr 2094 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_jpeg_ring_patch_wreg(ring, &ptr, reg_offset, val); ptr 2100 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_jpeg_ring_patch_wreg(ring, &ptr, reg_offset, val); ptr 2104 drivers/gpu/drm/amd/display/dc/core/dc_resource.c uint8_t *ptr; ptr 2108 drivers/gpu/drm/amd/display/dc/core/dc_resource.c ptr = &gamut_packet->sb[3]; ptr 2111 drivers/gpu/drm/amd/display/dc/core/dc_resource.c chk_sum += ptr[i]; ptr 45 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c #define FROM_AUX_ENGINE(ptr) \ ptr 46 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c container_of((ptr), struct aux_engine_dce110, base) ptr 48 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c #define FROM_ENGINE(ptr) \ ptr 49 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c FROM_AUX_ENGINE(container_of((ptr), struct dce_aux, base)) ptr 51 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c #define FROM_AUX_ENGINE_ENGINE(ptr) \ ptr 52 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c container_of((ptr), struct dce_aux, base) ptr 197 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c struct gpio_service **ptr) ptr 199 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c if (!ptr || !*ptr) { ptr 209 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c kfree((*ptr)->busyness[index_of_id]); ptr 215 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c kfree(*ptr); ptr 217 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c *ptr = NULL; ptr 357 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c struct hw_gpio_pin **ptr) ptr 361 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c if (!ptr) { ptr 366 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c pin = *ptr; ptr 373 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c *ptr = NULL; ptr 49 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h struct hw_gpio_pin **ptr); ptr 58 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c struct hw_gpio_pin **ptr) ptr 60 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c struct hw_ddc *pin = HW_DDC_FROM_BASE(*ptr); ptr 66 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c *ptr = NULL; ptr 70 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c struct hw_gpio_pin *ptr, ptr 73 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c struct hw_ddc *ddc = HW_DDC_FROM_BASE(ptr); ptr 65 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c struct hw_gpio_pin **ptr) ptr 67 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c struct hw_generic *generic = HW_GENERIC_FROM_BASE(*ptr); ptr 73 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c *ptr = NULL; ptr 77 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c struct hw_gpio_pin *ptr, ptr 80 drivers/gpu/drm/amd/display/dc/gpio/hw_generic.c struct hw_generic *generic = HW_GENERIC_FROM_BASE(ptr); ptr 61 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio_pin *ptr, ptr 64 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); ptr 68 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c ptr->opened = (dal_hw_gpio_config_mode(pin, mode) == GPIO_RESULT_OK); ptr 70 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c return ptr->opened; ptr 74 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c const struct hw_gpio_pin *ptr, ptr 77 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c const struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); ptr 81 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c switch (ptr->mode) { ptr 96 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c const struct hw_gpio_pin *ptr, ptr 99 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); ptr 105 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c switch (ptr->mode) { ptr 122 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio_pin *ptr, ptr 125 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); ptr 131 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio_pin *ptr) ptr 133 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); ptr 137 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c ptr->mode = GPIO_MODE_UNKNOWN; ptr 138 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.c ptr->opened = false; ptr 31 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h #define FROM_HW_GPIO_PIN(ptr) \ ptr 32 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h container_of((ptr), struct hw_gpio, base) ptr 50 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h struct hw_gpio_pin **ptr); ptr 134 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h const struct hw_gpio_pin *ptr, ptr 138 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h struct hw_gpio_pin *ptr, ptr 142 drivers/gpu/drm/amd/display/dc/gpio/hw_gpio.h struct hw_gpio_pin *ptr); ptr 72 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c struct hw_gpio_pin **ptr) ptr 74 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c struct hw_hpd *hpd = HW_HPD_FROM_BASE(*ptr); ptr 80 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c *ptr = NULL; ptr 84 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c const struct hw_gpio_pin *ptr, ptr 87 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c struct hw_hpd *hpd = HW_HPD_FROM_BASE(ptr); ptr 92 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c if (ptr->mode == GPIO_MODE_INTERRUPT) { ptr 103 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c return dal_hw_gpio_get_value(ptr, value); ptr 107 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c struct hw_gpio_pin *ptr, ptr 110 drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c struct hw_hpd *hpd = HW_HPD_FROM_BASE(ptr); ptr 144 drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h struct aux_engine **ptr); ptr 42 drivers/gpu/drm/amd/display/include/gpio_service_interface.h struct gpio **ptr); ptr 81 drivers/gpu/drm/amd/display/include/gpio_service_interface.h struct gpio_service **ptr); ptr 99 drivers/gpu/drm/amd/display/include/gpio_service_interface.h struct gpio **ptr); ptr 28 drivers/gpu/drm/amd/include/atom-bits.h static inline uint8_t get_u8(void *bios, int ptr) ptr 30 drivers/gpu/drm/amd/include/atom-bits.h return ((unsigned char *)bios)[ptr]; ptr 32 drivers/gpu/drm/amd/include/atom-bits.h #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) ptr 33 drivers/gpu/drm/amd/include/atom-bits.h #define CU8(ptr) get_u8(ctx->bios, (ptr)) ptr 34 drivers/gpu/drm/amd/include/atom-bits.h static inline uint16_t get_u16(void *bios, int ptr) ptr 36 drivers/gpu/drm/amd/include/atom-bits.h return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); ptr 38 drivers/gpu/drm/amd/include/atom-bits.h #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) ptr 39 drivers/gpu/drm/amd/include/atom-bits.h #define CU16(ptr) get_u16(ctx->bios, (ptr)) ptr 40 drivers/gpu/drm/amd/include/atom-bits.h static inline uint32_t get_u32(void *bios, int ptr) ptr 42 drivers/gpu/drm/amd/include/atom-bits.h return get_u16(bios, ptr)|(((uint32_t)get_u16(bios, ptr+2))<<16); ptr 44 drivers/gpu/drm/amd/include/atom-bits.h #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) ptr 45 drivers/gpu/drm/amd/include/atom-bits.h #define CU32(ptr) get_u32(ctx->bios, (ptr)) ptr 46 drivers/gpu/drm/amd/include/atom-bits.h #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) ptr 207 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c struct phm_ppm_table *ptr = kzalloc(sizeof(ATOM_Tonga_PPM_Table), GFP_KERNEL); ptr 211 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c if (NULL == ptr) ptr 214 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->ppm_design ptr 216 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->cpu_core_number ptr 218 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->platform_tdp ptr 220 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->small_ac_platform_tdp ptr 222 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->platform_tdc ptr 224 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->small_ac_platform_tdc ptr 226 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->apu_tdp ptr 228 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->dgpu_tdp ptr 230 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->dgpu_ulv_power ptr 232 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c ptr->tj_max ptr 235 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c pp_table_information->ppm_parameter_table = ptr; ptr 1435 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c struct phm_ppm_table *ptr = kzalloc(sizeof(struct phm_ppm_table), GFP_KERNEL); ptr 1437 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c if (NULL == ptr) ptr 1440 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->ppm_design = atom_ppm_table->ucPpmDesign; ptr 1441 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->cpu_core_number = le16_to_cpu(atom_ppm_table->usCpuCoreNumber); ptr 1442 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->platform_tdp = le32_to_cpu(atom_ppm_table->ulPlatformTDP); ptr 1443 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->small_ac_platform_tdp = le32_to_cpu(atom_ppm_table->ulSmallACPlatformTDP); ptr 1444 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->platform_tdc = le32_to_cpu(atom_ppm_table->ulPlatformTDC); ptr 1445 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->small_ac_platform_tdc = le32_to_cpu(atom_ppm_table->ulSmallACPlatformTDC); ptr 1446 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->apu_tdp = le32_to_cpu(atom_ppm_table->ulApuTDP); ptr 1447 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->dgpu_tdp = le32_to_cpu(atom_ppm_table->ulDGpuTDP); ptr 1448 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->dgpu_ulv_power = le32_to_cpu(atom_ppm_table->ulDGpuUlvPower); ptr 1449 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c ptr->tj_max = le32_to_cpu(atom_ppm_table->ulTjmax); ptr 1450 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c hwmgr->dyn_state.ppm_parameter_table = ptr; ptr 58 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h #define GET_FLEXIBLE_ARRAY_MEMBER_ADDR(type, member, ptr, n) \ ptr 59 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h (type *)((char *)&(ptr)->member + (sizeof(type) * (n))) ptr 64 drivers/gpu/drm/arm/malidp_hw.h u16 ptr; /* address offset for the pointer register */ ptr 719 drivers/gpu/drm/arm/malidp_planes.c u16 ptr; ptr 723 drivers/gpu/drm/arm/malidp_planes.c ptr = mp->layer->ptr + (plane_index << 4); ptr 745 drivers/gpu/drm/arm/malidp_planes.c malidp_hw_write(mp->hwdev, lower_32_bits(paddr), ptr); ptr 746 drivers/gpu/drm/arm/malidp_planes.c malidp_hw_write(mp->hwdev, upper_32_bits(paddr), ptr + 4); ptr 52 drivers/gpu/drm/armada/armada_debugfs.c const char __user *ptr, size_t len, loff_t *off) ptr 66 drivers/gpu/drm/armada/armada_debugfs.c ret = strncpy_from_user(buf, ptr, len); ptr 22 drivers/gpu/drm/armada/armada_drm.h armada_updatel(uint32_t val, uint32_t mask, void __iomem *ptr) ptr 26 drivers/gpu/drm/armada/armada_drm.h ov = v = readl_relaxed(ptr); ptr 29 drivers/gpu/drm/armada/armada_drm.h writel_relaxed(v, ptr); ptr 36 drivers/gpu/drm/armada/armada_fbdev.c void *ptr; ptr 58 drivers/gpu/drm/armada/armada_fbdev.c ptr = armada_gem_map_object(dev, obj); ptr 59 drivers/gpu/drm/armada/armada_fbdev.c if (!ptr) { ptr 85 drivers/gpu/drm/armada/armada_fbdev.c info->screen_base = ptr; ptr 134 drivers/gpu/drm/armada/armada_gem.c void __iomem *ptr; ptr 153 drivers/gpu/drm/armada/armada_gem.c ptr = ioremap_wc(obj->linear->start, size); ptr 154 drivers/gpu/drm/armada/armada_gem.c if (!ptr) { ptr 163 drivers/gpu/drm/armada/armada_gem.c memset_io(ptr, 0, size); ptr 164 drivers/gpu/drm/armada/armada_gem.c iounmap(ptr); ptr 328 drivers/gpu/drm/armada/armada_gem.c char __user *ptr; ptr 332 drivers/gpu/drm/armada/armada_gem.c args->handle, args->offset, args->size, args->ptr); ptr 337 drivers/gpu/drm/armada/armada_gem.c ptr = (char __user *)(uintptr_t)args->ptr; ptr 339 drivers/gpu/drm/armada/armada_gem.c if (!access_ok(ptr, args->size)) ptr 342 drivers/gpu/drm/armada/armada_gem.c ret = fault_in_pages_readable(ptr, args->size); ptr 361 drivers/gpu/drm/armada/armada_gem.c if (copy_from_user(dobj->addr + args->offset, ptr, args->size)) { ptr 226 drivers/gpu/drm/bridge/panel.c struct drm_bridge **ptr, *bridge; ptr 228 drivers/gpu/drm/bridge/panel.c ptr = devres_alloc(devm_drm_panel_bridge_release, sizeof(*ptr), ptr 230 drivers/gpu/drm/bridge/panel.c if (!ptr) ptr 235 drivers/gpu/drm/bridge/panel.c *ptr = bridge; ptr 236 drivers/gpu/drm/bridge/panel.c devres_add(dev, ptr); ptr 238 drivers/gpu/drm/bridge/panel.c devres_free(ptr); ptr 708 drivers/gpu/drm/bridge/sil-sii8620.c static u8 sii8620_checksum(void *ptr, int size) ptr 710 drivers/gpu/drm/bridge/sil-sii8620.c u8 *d = ptr, sum = 0; ptr 1061 drivers/gpu/drm/bridge/sil-sii8620.c u8 *ptr = buffer; ptr 1067 drivers/gpu/drm/bridge/sil-sii8620.c ptr[0] = HDMI_INFOFRAME_TYPE_VENDOR; ptr 1068 drivers/gpu/drm/bridge/sil-sii8620.c ptr[1] = frame->version; ptr 1069 drivers/gpu/drm/bridge/sil-sii8620.c ptr[2] = MHL3_INFOFRAME_SIZE; ptr 1070 drivers/gpu/drm/bridge/sil-sii8620.c ptr[4] = MHL3_IEEE_OUI & 0xff; ptr 1071 drivers/gpu/drm/bridge/sil-sii8620.c ptr[5] = (MHL3_IEEE_OUI >> 8) & 0xff; ptr 1072 drivers/gpu/drm/bridge/sil-sii8620.c ptr[6] = (MHL3_IEEE_OUI >> 16) & 0xff; ptr 1073 drivers/gpu/drm/bridge/sil-sii8620.c ptr[7] = frame->video_format & 0x3; ptr 1074 drivers/gpu/drm/bridge/sil-sii8620.c ptr[7] |= (frame->format_type & 0x7) << 2; ptr 1075 drivers/gpu/drm/bridge/sil-sii8620.c ptr[7] |= frame->sep_audio ? BIT(5) : 0; ptr 1077 drivers/gpu/drm/bridge/sil-sii8620.c ptr[9] = 1; ptr 1078 drivers/gpu/drm/bridge/sil-sii8620.c ptr[10] = (frame->hev_format >> 8) & 0xff; ptr 1079 drivers/gpu/drm/bridge/sil-sii8620.c ptr[11] = frame->hev_format & 0xff; ptr 1085 drivers/gpu/drm/bridge/sil-sii8620.c ptr[12] = (delay >> 16) & 0xf; ptr 1087 drivers/gpu/drm/bridge/sil-sii8620.c ptr[12] |= BIT(4); ptr 1088 drivers/gpu/drm/bridge/sil-sii8620.c ptr[13] = (delay >> 8) & 0xff; ptr 1089 drivers/gpu/drm/bridge/sil-sii8620.c ptr[14] = delay & 0xff; ptr 1091 drivers/gpu/drm/bridge/sil-sii8620.c ptr[3] -= sii8620_checksum(buffer, frm_len); ptr 2151 drivers/gpu/drm/bridge/sil-sii8620.c unsigned long event, void *ptr) ptr 135 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c static void dw_hdmi_writel(u32 val, void __iomem *ptr) ptr 137 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c writeb_relaxed(val, ptr); ptr 138 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c writeb_relaxed(val >> 8, ptr + 1); ptr 139 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c writeb_relaxed(val >> 16, ptr + 2); ptr 140 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c writeb_relaxed(val >> 24, ptr + 3); ptr 156 drivers/gpu/drm/drm_atomic.c struct drm_connector *connector = state->connectors[i].ptr; ptr 163 drivers/gpu/drm/drm_atomic.c state->connectors[i].ptr = NULL; ptr 171 drivers/gpu/drm/drm_atomic.c struct drm_crtc *crtc = state->crtcs[i].ptr; ptr 179 drivers/gpu/drm/drm_atomic.c state->crtcs[i].ptr = NULL; ptr 191 drivers/gpu/drm/drm_atomic.c struct drm_plane *plane = state->planes[i].ptr; ptr 198 drivers/gpu/drm/drm_atomic.c state->planes[i].ptr = NULL; ptr 205 drivers/gpu/drm/drm_atomic.c struct drm_private_obj *obj = state->private_objs[i].ptr; ptr 209 drivers/gpu/drm/drm_atomic.c state->private_objs[i].ptr = NULL; ptr 313 drivers/gpu/drm/drm_atomic.c state->crtcs[index].ptr = crtc; ptr 489 drivers/gpu/drm/drm_atomic.c state->planes[index].ptr = plane; ptr 775 drivers/gpu/drm/drm_atomic.c if (obj == state->private_objs[i].ptr) ptr 799 drivers/gpu/drm/drm_atomic.c state->private_objs[index].ptr = obj; ptr 826 drivers/gpu/drm/drm_atomic.c if (obj == state->private_objs[i].ptr) ptr 848 drivers/gpu/drm/drm_atomic.c if (obj == state->private_objs[i].ptr) ptr 981 drivers/gpu/drm/drm_atomic.c state->connectors[index].ptr = connector; ptr 1500 drivers/gpu/drm/drm_atomic_helper.c crtc = old_state->crtcs[i].ptr; ptr 112 drivers/gpu/drm/drm_debugfs.c static int drm_gem_one_name_info(int id, void *ptr, void *data) ptr 114 drivers/gpu/drm/drm_debugfs.c struct drm_gem_object *obj = ptr; ptr 1943 drivers/gpu/drm/drm_edid.c const struct drm_display_mode *ptr = &drm_dmt_modes[i]; ptr 1944 drivers/gpu/drm/drm_edid.c if (hsize != ptr->hdisplay) ptr 1946 drivers/gpu/drm/drm_edid.c if (vsize != ptr->vdisplay) ptr 1948 drivers/gpu/drm/drm_edid.c if (fresh != drm_mode_vrefresh(ptr)) ptr 1950 drivers/gpu/drm/drm_edid.c if (rb != mode_is_rb(ptr)) ptr 1953 drivers/gpu/drm/drm_edid.c return drm_mode_duplicate(dev, ptr); ptr 4945 drivers/gpu/drm/drm_edid.c const struct drm_display_mode *ptr = &drm_dmt_modes[i]; ptr 4952 drivers/gpu/drm/drm_edid.c if (ptr->hdisplay > hdisplay || ptr 4953 drivers/gpu/drm/drm_edid.c ptr->vdisplay > vdisplay) ptr 4956 drivers/gpu/drm/drm_edid.c if (drm_mode_vrefresh(ptr) > 61) ptr 4958 drivers/gpu/drm/drm_edid.c mode = drm_mode_duplicate(dev, ptr); ptr 247 drivers/gpu/drm/drm_gem.c drm_gem_object_release_handle(int id, void *ptr, void *data) ptr 250 drivers/gpu/drm/drm_gem.c struct drm_gem_object *obj = ptr; ptr 659 drivers/gpu/drm/drm_syncobj.c drm_syncobj_release_handle(int id, void *ptr, void *data) ptr 661 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj *syncobj = ptr; ptr 118 drivers/gpu/drm/etnaviv/etnaviv_buffer.c u32 *ptr = buf->vaddr + off; ptr 121 drivers/gpu/drm/etnaviv/etnaviv_buffer.c ptr, etnaviv_cmdbuf_get_va(buf, ptr 126 drivers/gpu/drm/etnaviv/etnaviv_buffer.c ptr, len * 4, 0); ptr 106 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c u32 *ptr, unsigned int state_offset, unsigned int num) ptr 112 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c buf_offset = (ptr - state->start + ptr 130 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c buf_offset = (ptr - state->start + num) * 4; ptr 163 drivers/gpu/drm/etnaviv/etnaviv_drv.c u32 *ptr = buf->vaddr; ptr 174 drivers/gpu/drm/etnaviv/etnaviv_drv.c seq_printf(m, "\t0x%p: ", ptr + i); ptr 175 drivers/gpu/drm/etnaviv/etnaviv_drv.c seq_printf(m, "%08x ", *(ptr + i)); ptr 70 drivers/gpu/drm/etnaviv/etnaviv_drv.h uintptr_t ptr, u32 size, u32 flags, u32 *handle); ptr 104 drivers/gpu/drm/etnaviv/etnaviv_dump.c void *ptr, size_t size, u64 iova) ptr 106 drivers/gpu/drm/etnaviv/etnaviv_dump.c memcpy(iter->data, ptr, size); ptr 675 drivers/gpu/drm/etnaviv/etnaviv_gem.c uint64_t ptr = userptr->ptr + pinned * PAGE_SIZE; ptr 678 drivers/gpu/drm/etnaviv/etnaviv_gem.c ret = get_user_pages_fast(ptr, num_pages, ptr 724 drivers/gpu/drm/etnaviv/etnaviv_gem.c uintptr_t ptr, u32 size, u32 flags, u32 *handle) ptr 736 drivers/gpu/drm/etnaviv/etnaviv_gem.c etnaviv_obj->userptr.ptr = ptr; ptr 18 drivers/gpu/drm/etnaviv/etnaviv_gem.h uintptr_t ptr; ptr 277 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c u32 *ptr = stream; ptr 313 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (r->reloc_offset > bo->obj->base.size - sizeof(*ptr)) { ptr 318 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ptr[off] = bo->mapping->iova + r->reloc_offset; ptr 155 drivers/gpu/drm/exynos/exynos_drm_ipp.c void __user *ptr = (void __user *)(unsigned long)resp->formats_ptr; ptr 178 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (copy_to_user(ptr, &tmp, sizeof(tmp))) ptr 180 drivers/gpu/drm/exynos/exynos_drm_ipp.c ptr += sizeof(tmp); ptr 221 drivers/gpu/drm/exynos/exynos_drm_ipp.c void __user *ptr = (void __user *)(unsigned long)resp->limits_ptr; ptr 243 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (copy_to_user((void __user *)ptr, format->limits, ptr 423 drivers/gpu/drm/exynos/exynos_drm_ipp.c static inline void __limit_set_val(unsigned int *ptr, unsigned int val) ptr 425 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!*ptr) ptr 426 drivers/gpu/drm/exynos/exynos_drm_ipp.c *ptr = val; ptr 271 drivers/gpu/drm/gma500/intel_bios.h struct bdb_lvds_lfp_data_ptr ptr[16]; ptr 385 drivers/gpu/drm/i915/display/dvo_ns2501.c #define NSPTR(d) ((NS2501Ptr)(d->DriverPrivate.ptr)) ptr 67 drivers/gpu/drm/i915/display/dvo_sil164.c #define SILPTR(d) ((SIL164Ptr)(d->DriverPrivate.ptr)) ptr 367 drivers/gpu/drm/i915/display/intel_atomic.c plane = drm_state->planes[i].ptr; ptr 173 drivers/gpu/drm/i915/display/intel_bios.c lvds_lfp_data_ptrs->ptr[1].dvo_timing_offset - ptr 174 drivers/gpu/drm/i915/display/intel_bios.c lvds_lfp_data_ptrs->ptr[0].dvo_timing_offset; ptr 176 drivers/gpu/drm/i915/display/intel_bios.c lvds_lfp_data_ptrs->ptr[0].dvo_timing_offset - ptr 177 drivers/gpu/drm/i915/display/intel_bios.c lvds_lfp_data_ptrs->ptr[0].fp_timing_offset; ptr 196 drivers/gpu/drm/i915/display/intel_bios.c if (index >= ARRAY_SIZE(ptrs->ptr)) ptr 198 drivers/gpu/drm/i915/display/intel_bios.c ofs = ptrs->ptr[index].fp_timing_offset; ptr 375 drivers/gpu/drm/i915/display/intel_display.h ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ ptr 383 drivers/gpu/drm/i915/display/intel_display.h ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ ptr 391 drivers/gpu/drm/i915/display/intel_display.h ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ ptr 399 drivers/gpu/drm/i915/display/intel_display.h ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ ptr 408 drivers/gpu/drm/i915/display/intel_display.h ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ ptr 720 drivers/gpu/drm/i915/display/intel_vbt_defs.h struct lvds_lfp_data_ptr ptr[16]; ptr 232 drivers/gpu/drm/i915/gem/i915_gem_object_types.h uintptr_t ptr; ptr 165 drivers/gpu/drm/i915/gem/i915_gem_pages.c void *ptr; ptr 167 drivers/gpu/drm/i915/gem/i915_gem_pages.c ptr = page_mask_bits(obj->mm.mapping); ptr 168 drivers/gpu/drm/i915/gem/i915_gem_pages.c if (is_vmalloc_addr(ptr)) ptr 169 drivers/gpu/drm/i915/gem/i915_gem_pages.c vunmap(ptr); ptr 171 drivers/gpu/drm/i915/gem/i915_gem_pages.c kunmap(kmap_to_page(ptr)); ptr 282 drivers/gpu/drm/i915/gem/i915_gem_pages.c void *ptr; ptr 310 drivers/gpu/drm/i915/gem/i915_gem_pages.c ptr = page_unpack_bits(obj->mm.mapping, &has_type); ptr 311 drivers/gpu/drm/i915/gem/i915_gem_pages.c if (ptr && has_type != type) { ptr 317 drivers/gpu/drm/i915/gem/i915_gem_pages.c if (is_vmalloc_addr(ptr)) ptr 318 drivers/gpu/drm/i915/gem/i915_gem_pages.c vunmap(ptr); ptr 320 drivers/gpu/drm/i915/gem/i915_gem_pages.c kunmap(kmap_to_page(ptr)); ptr 322 drivers/gpu/drm/i915/gem/i915_gem_pages.c ptr = obj->mm.mapping = NULL; ptr 325 drivers/gpu/drm/i915/gem/i915_gem_pages.c if (!ptr) { ptr 326 drivers/gpu/drm/i915/gem/i915_gem_pages.c ptr = i915_gem_object_map(obj, type); ptr 327 drivers/gpu/drm/i915/gem/i915_gem_pages.c if (!ptr) { ptr 332 drivers/gpu/drm/i915/gem/i915_gem_pages.c obj->mm.mapping = page_pack_bits(ptr, type); ptr 337 drivers/gpu/drm/i915/gem/i915_gem_pages.c return ptr; ptr 342 drivers/gpu/drm/i915/gem/i915_gem_pages.c ptr = ERR_PTR(err); ptr 351 drivers/gpu/drm/i915/gem/i915_gem_pages.c void *ptr; ptr 362 drivers/gpu/drm/i915/gem/i915_gem_pages.c ptr = page_unpack_bits(obj->mm.mapping, &has_type); ptr 366 drivers/gpu/drm/i915/gem/i915_gem_pages.c drm_clflush_virt_range(ptr + offset, size); ptr 382 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_shrinker_oom(struct notifier_block *nb, unsigned long event, void *ptr) ptr 417 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c *(unsigned long *)ptr += freed_pages; ptr 422 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr) ptr 458 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c *(unsigned long *)ptr += freed_pages; ptr 277 drivers/gpu/drm/i915/gem/i915_gem_userptr.c mo->it.start = obj->userptr.ptr; ptr 278 drivers/gpu/drm/i915/gem/i915_gem_userptr.c mo->it.last = obj->userptr.ptr + obj->base.size - 1; ptr 498 drivers/gpu/drm/i915/gem/i915_gem_userptr.c obj->userptr.ptr + pinned * PAGE_SIZE, ptr 631 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned = __get_user_pages_fast(obj->userptr.ptr, ptr 830 drivers/gpu/drm/i915/gem/i915_gem_userptr.c obj->userptr.ptr = args->user_ptr; ptr 911 drivers/gpu/drm/i915/gem/selftests/huge_pages.c u32 *ptr = kmap_atomic(i915_gem_object_get_page(obj, n)); ptr 914 drivers/gpu/drm/i915/gem/selftests/huge_pages.c drm_clflush_virt_range(ptr, PAGE_SIZE); ptr 916 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (ptr[dword] != val) { ptr 918 drivers/gpu/drm/i915/gem/selftests/huge_pages.c n, dword, ptr[dword], val); ptr 919 drivers/gpu/drm/i915/gem/selftests/huge_pages.c kunmap_atomic(ptr); ptr 924 drivers/gpu/drm/i915/gem/selftests/huge_pages.c kunmap_atomic(ptr); ptr 166 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c void *ptr; ptr 173 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_vmap(dmabuf); ptr 174 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (!ptr) { ptr 180 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c memset(ptr, 0xc5, PAGE_SIZE); ptr 181 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_vunmap(dmabuf, ptr); ptr 215 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c void *ptr; ptr 231 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_vmap(dmabuf); ptr 232 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (!ptr) { ptr 238 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (memchr_inv(ptr, 0, dmabuf->size)) { ptr 244 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c memset(ptr, 0xc5, dmabuf->size); ptr 247 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_vunmap(dmabuf, ptr); ptr 262 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c void *ptr; ptr 277 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_kmap(dmabuf, 0); ptr 278 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (!ptr) { ptr 284 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (memchr_inv(ptr, 0, PAGE_SIZE)) { ptr 285 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 0, ptr); ptr 291 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c memset(ptr, 0xc5, PAGE_SIZE); ptr 292 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 0, ptr); ptr 294 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = i915_gem_object_pin_map(obj, I915_MAP_WB); ptr 295 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (IS_ERR(ptr)) { ptr 296 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c err = PTR_ERR(ptr); ptr 300 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c memset(ptr + PAGE_SIZE, 0xaa, PAGE_SIZE); ptr 304 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_kmap(dmabuf, 1); ptr 305 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (!ptr) { ptr 311 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (memchr_inv(ptr, 0xaa, PAGE_SIZE)) { ptr 312 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 1, ptr); ptr 318 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c memset(ptr, 0xc5, PAGE_SIZE); ptr 319 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 1, ptr); ptr 321 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_kmap(dmabuf, 0); ptr 322 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (!ptr) { ptr 327 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (memchr_inv(ptr, 0xc5, PAGE_SIZE)) { ptr 328 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 0, ptr); ptr 333 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 0, ptr); ptr 335 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_kmap(dmabuf, 2); ptr 336 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (ptr) { ptr 338 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, 2, ptr); ptr 343 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c ptr = dma_buf_kmap(dmabuf, -1); ptr 344 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c if (ptr) { ptr 346 drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c dma_buf_kunmap(dmabuf, -1, ptr); ptr 15 drivers/gpu/drm/i915/gt/intel_timeline.c #define ptr_set_bit(ptr, bit) ((typeof(ptr))((unsigned long)(ptr) | BIT(bit))) ptr 16 drivers/gpu/drm/i915/gt/intel_timeline.c #define ptr_test_bit(ptr, bit) ((unsigned long)(ptr) & BIT(bit)) ptr 1166 drivers/gpu/drm/i915/i915_cmd_parser.c void *ptr; ptr 1182 drivers/gpu/drm/i915/i915_cmd_parser.c ptr = dst; ptr 1189 drivers/gpu/drm/i915/i915_cmd_parser.c memcpy(ptr, src + offset, len); ptr 1192 drivers/gpu/drm/i915/i915_cmd_parser.c ptr += len; ptr 1510 drivers/gpu/drm/i915/i915_cmd_parser.c void *ptr = page_mask_bits(shadow_batch_obj->mm.mapping); ptr 1512 drivers/gpu/drm/i915/i915_cmd_parser.c drm_clflush_virt_range(ptr, (void *)(cmd + 1) - ptr); ptr 240 drivers/gpu/drm/i915/i915_debugfs.c static int per_file_stats(int id, void *ptr, void *data) ptr 242 drivers/gpu/drm/i915/i915_debugfs.c struct drm_i915_gem_object *obj = ptr; ptr 386 drivers/gpu/drm/i915/i915_gpu_error.c void *ptr; ptr 388 drivers/gpu/drm/i915/i915_gpu_error.c ptr = pool_alloc(&c->pool, ALLOW_FAIL); ptr 389 drivers/gpu/drm/i915/i915_gpu_error.c if (!ptr) ptr 392 drivers/gpu/drm/i915/i915_gpu_error.c if (!i915_memcpy_from_wc(ptr, src, PAGE_SIZE)) ptr 393 drivers/gpu/drm/i915/i915_gpu_error.c memcpy(ptr, src, PAGE_SIZE); ptr 394 drivers/gpu/drm/i915/i915_gpu_error.c dst->pages[dst->page_count++] = ptr; ptr 145 drivers/gpu/drm/i915/i915_utils.h #define ptr_mask_bits(ptr, n) ({ \ ptr 146 drivers/gpu/drm/i915/i915_utils.h unsigned long __v = (unsigned long)(ptr); \ ptr 147 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v & -BIT(n)); \ ptr 150 drivers/gpu/drm/i915/i915_utils.h #define ptr_unmask_bits(ptr, n) ((unsigned long)(ptr) & (BIT(n) - 1)) ptr 152 drivers/gpu/drm/i915/i915_utils.h #define ptr_unpack_bits(ptr, bits, n) ({ \ ptr 153 drivers/gpu/drm/i915/i915_utils.h unsigned long __v = (unsigned long)(ptr); \ ptr 155 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v & -BIT(n)); \ ptr 158 drivers/gpu/drm/i915/i915_utils.h #define ptr_pack_bits(ptr, bits, n) ({ \ ptr 161 drivers/gpu/drm/i915/i915_utils.h ((typeof(ptr))((unsigned long)(ptr) | __bits)); \ ptr 164 drivers/gpu/drm/i915/i915_utils.h #define ptr_dec(ptr) ({ \ ptr 165 drivers/gpu/drm/i915/i915_utils.h unsigned long __v = (unsigned long)(ptr); \ ptr 166 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v - 1); \ ptr 169 drivers/gpu/drm/i915/i915_utils.h #define ptr_inc(ptr) ({ \ ptr 170 drivers/gpu/drm/i915/i915_utils.h unsigned long __v = (unsigned long)(ptr); \ ptr 171 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v + 1); \ ptr 174 drivers/gpu/drm/i915/i915_utils.h #define page_mask_bits(ptr) ptr_mask_bits(ptr, PAGE_SHIFT) ptr 175 drivers/gpu/drm/i915/i915_utils.h #define page_unmask_bits(ptr) ptr_unmask_bits(ptr, PAGE_SHIFT) ptr 176 drivers/gpu/drm/i915/i915_utils.h #define page_pack_bits(ptr, bits) ptr_pack_bits(ptr, bits, PAGE_SHIFT) ptr 177 drivers/gpu/drm/i915/i915_utils.h #define page_unpack_bits(ptr, bits) ptr_unpack_bits(ptr, bits, PAGE_SHIFT) ptr 181 drivers/gpu/drm/i915/i915_utils.h #define ptr_offset(ptr, member) offsetof(typeof(*(ptr)), member) ptr 183 drivers/gpu/drm/i915/i915_utils.h #define fetch_and_zero(ptr) ({ \ ptr 184 drivers/gpu/drm/i915/i915_utils.h typeof(*ptr) __T = *(ptr); \ ptr 185 drivers/gpu/drm/i915/i915_utils.h *(ptr) = (typeof(*ptr))0; \ ptr 195 drivers/gpu/drm/i915/i915_utils.h #define container_of_user(ptr, type, member) ({ \ ptr 196 drivers/gpu/drm/i915/i915_utils.h void __user *__mptr = (void __user *)(ptr); \ ptr 197 drivers/gpu/drm/i915/i915_utils.h BUILD_BUG_ON_MSG(!__same_type(*(ptr), struct_member(type, member)) && \ ptr 198 drivers/gpu/drm/i915/i915_utils.h !__same_type(*(ptr), void), \ ptr 220 drivers/gpu/drm/i915/i915_utils.h static inline u64 ptr_to_u64(const void *ptr) ptr 222 drivers/gpu/drm/i915/i915_utils.h return (uintptr_t)ptr; ptr 349 drivers/gpu/drm/i915/i915_vma.c void __iomem *ptr; ptr 364 drivers/gpu/drm/i915/i915_vma.c ptr = vma->iomap; ptr 365 drivers/gpu/drm/i915/i915_vma.c if (ptr == NULL) { ptr 366 drivers/gpu/drm/i915/i915_vma.c ptr = io_mapping_map_wc(&i915_vm_to_ggtt(vma->vm)->iomap, ptr 369 drivers/gpu/drm/i915/i915_vma.c if (ptr == NULL) { ptr 374 drivers/gpu/drm/i915/i915_vma.c vma->iomap = ptr; ptr 384 drivers/gpu/drm/i915/i915_vma.c return ptr; ptr 64 drivers/gpu/drm/msm/adreno/a2xx_gpu.c uint32_t *ptr, len; ptr 174 drivers/gpu/drm/msm/adreno/a2xx_gpu.c ptr = (uint32_t *)(adreno_gpu->fw[ADRENO_FW_PM4]->data); ptr 176 drivers/gpu/drm/msm/adreno/a2xx_gpu.c DBG("loading PM4 ucode version: %x", ptr[1]); ptr 182 drivers/gpu/drm/msm/adreno/a2xx_gpu.c gpu_write(gpu, REG_AXXX_CP_ME_RAM_DATA, ptr[i]); ptr 185 drivers/gpu/drm/msm/adreno/a2xx_gpu.c ptr = (uint32_t *)(adreno_gpu->fw[ADRENO_FW_PFP]->data); ptr 187 drivers/gpu/drm/msm/adreno/a2xx_gpu.c DBG("loading PFP ucode version: %x", ptr[5]); ptr 191 drivers/gpu/drm/msm/adreno/a2xx_gpu.c gpu_write(gpu, REG_A2XX_CP_PFP_UCODE_DATA, ptr[i]); ptr 66 drivers/gpu/drm/msm/adreno/a3xx_gpu.c uint32_t *ptr, len; ptr 249 drivers/gpu/drm/msm/adreno/a3xx_gpu.c ptr = (uint32_t *)(adreno_gpu->fw[ADRENO_FW_PM4]->data); ptr 251 drivers/gpu/drm/msm/adreno/a3xx_gpu.c DBG("loading PM4 ucode version: %x", ptr[1]); ptr 258 drivers/gpu/drm/msm/adreno/a3xx_gpu.c gpu_write(gpu, REG_AXXX_CP_ME_RAM_DATA, ptr[i]); ptr 261 drivers/gpu/drm/msm/adreno/a3xx_gpu.c ptr = (uint32_t *)(adreno_gpu->fw[ADRENO_FW_PFP]->data); ptr 263 drivers/gpu/drm/msm/adreno/a3xx_gpu.c DBG("loading PFP ucode version: %x", ptr[5]); ptr 267 drivers/gpu/drm/msm/adreno/a3xx_gpu.c gpu_write(gpu, REG_A3XX_CP_PFP_UCODE_DATA, ptr[i]); ptr 140 drivers/gpu/drm/msm/adreno/a4xx_gpu.c uint32_t *ptr, len; ptr 269 drivers/gpu/drm/msm/adreno/a4xx_gpu.c ptr = (uint32_t *)(adreno_gpu->fw[ADRENO_FW_PM4]->data); ptr 271 drivers/gpu/drm/msm/adreno/a4xx_gpu.c DBG("loading PM4 ucode version: %u", ptr[0]); ptr 274 drivers/gpu/drm/msm/adreno/a4xx_gpu.c gpu_write(gpu, REG_A4XX_CP_ME_RAM_DATA, ptr[i]); ptr 277 drivers/gpu/drm/msm/adreno/a4xx_gpu.c ptr = (uint32_t *)(adreno_gpu->fw[ADRENO_FW_PFP]->data); ptr 279 drivers/gpu/drm/msm/adreno/a4xx_gpu.c DBG("loading PFP ucode version: %u", ptr[0]); ptr 283 drivers/gpu/drm/msm/adreno/a4xx_gpu.c gpu_write(gpu, REG_A4XX_CP_PFP_UCODE_DATA, ptr[i]); ptr 52 drivers/gpu/drm/msm/adreno/a5xx_gpu.c uint32_t *ptr, dwords; ptr 68 drivers/gpu/drm/msm/adreno/a5xx_gpu.c ptr = msm_gem_get_vaddr(&obj->base); ptr 74 drivers/gpu/drm/msm/adreno/a5xx_gpu.c if (WARN_ON(!ptr)) ptr 85 drivers/gpu/drm/msm/adreno/a5xx_gpu.c OUT_RING(ring, ptr[i]); ptr 1136 drivers/gpu/drm/msm/adreno/a5xx_gpu.c void *ptr; ptr 1149 drivers/gpu/drm/msm/adreno/a5xx_gpu.c dumper->ptr = msm_gem_kernel_new_locked(gpu->dev, ptr 1153 drivers/gpu/drm/msm/adreno/a5xx_gpu.c if (!IS_ERR(dumper->ptr)) ptr 1156 drivers/gpu/drm/msm/adreno/a5xx_gpu.c return PTR_ERR_OR_ZERO(dumper->ptr); ptr 1164 drivers/gpu/drm/msm/adreno/a5xx_gpu.c if (IS_ERR_OR_NULL(dumper->ptr)) ptr 1208 drivers/gpu/drm/msm/adreno/a5xx_gpu.c u64 *ptr; ptr 1215 drivers/gpu/drm/msm/adreno/a5xx_gpu.c ptr = dumper.ptr; ptr 1234 drivers/gpu/drm/msm/adreno/a5xx_gpu.c *ptr++ = ((u64) type << 8); ptr 1235 drivers/gpu/drm/msm/adreno/a5xx_gpu.c *ptr++ = (((u64) REG_A5XX_HLSQ_DBG_READ_SEL) << 44) | ptr 1238 drivers/gpu/drm/msm/adreno/a5xx_gpu.c *ptr++ = offset; ptr 1239 drivers/gpu/drm/msm/adreno/a5xx_gpu.c *ptr++ = (((u64) REG_A5XX_HLSQ_DBG_AHB_READ_APERTURE) << 44) ptr 1246 drivers/gpu/drm/msm/adreno/a5xx_gpu.c *ptr++ = 0; ptr 1247 drivers/gpu/drm/msm/adreno/a5xx_gpu.c *ptr++ = 0; ptr 1256 drivers/gpu/drm/msm/adreno/a5xx_gpu.c memcpy(a5xx_state->hlsqregs, dumper.ptr + (256 * SZ_1K), ptr 326 drivers/gpu/drm/msm/adreno/a5xx_power.c unsigned int *data, *ptr, *cmds; ptr 358 drivers/gpu/drm/msm/adreno/a5xx_power.c ptr = msm_gem_kernel_new_locked(drm, bosize, ptr 361 drivers/gpu/drm/msm/adreno/a5xx_power.c if (IS_ERR(ptr)) ptr 371 drivers/gpu/drm/msm/adreno/a5xx_power.c ptr[dwords++] = PKT4(REG_A5XX_GPMU_INST_RAM_BASE + offset, ptr 375 drivers/gpu/drm/msm/adreno/a5xx_power.c ptr[dwords++] = *cmds++; ptr 228 drivers/gpu/drm/msm/adreno/a5xx_preempt.c struct a5xx_preempt_record *ptr; ptr 232 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr = msm_gem_kernel_new(gpu->dev, ptr 236 drivers/gpu/drm/msm/adreno/a5xx_preempt.c if (IS_ERR(ptr)) ptr 237 drivers/gpu/drm/msm/adreno/a5xx_preempt.c return PTR_ERR(ptr); ptr 243 drivers/gpu/drm/msm/adreno/a5xx_preempt.c a5xx_gpu->preempt[ring->id] = ptr; ptr 247 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr->magic = A5XX_PREEMPT_RECORD_MAGIC; ptr 248 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr->info = 0; ptr 249 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr->data = 0; ptr 250 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr->cntl = MSM_GPU_RB_CNTL_DEFAULT; ptr 251 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr->rptr_addr = rbmemptr(ring, rptr); ptr 252 drivers/gpu/drm/msm/adreno/a5xx_preempt.c ptr->counter = iova + A5XX_PREEMPT_RECORD_SIZE; ptr 426 drivers/gpu/drm/msm/adreno/a6xx_gmu.c static inline void pdc_write(void __iomem *ptr, u32 offset, u32 value) ptr 428 drivers/gpu/drm/msm/adreno/a6xx_gmu.c return msm_writel(value, ptr + (offset << 2)); ptr 73 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c void *ptr; ptr 115 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c dumper->ptr = msm_gem_kernel_new_locked(gpu->dev, ptr 119 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c if (!IS_ERR(dumper->ptr)) ptr 122 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c return PTR_ERR_OR_ZERO(dumper->ptr); ptr 133 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c if (IS_ERR_OR_NULL(dumper->ptr)) ptr 176 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c #define cxdbg_write(ptr, offset, val) \ ptr 177 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c msm_writel((val), (ptr) + ((offset) << 2)) ptr 179 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c #define cxdbg_read(ptr, offset) \ ptr 180 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c msm_readl((ptr) + ((offset) << 2)) ptr 232 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u32 clk, *ptr; ptr 255 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c ptr = obj->data; ptr 258 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c ptr += vbif_debugbus_read(gpu, ptr 261 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 1 << (i + 16), 16, ptr); ptr 264 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c ptr += vbif_debugbus_read(gpu, ptr 267 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 1 << i, 18, ptr); ptr 273 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c ptr += vbif_debugbus_read(gpu, ptr 276 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 1 << i, 12, ptr); ptr 288 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u32 *ptr; ptr 296 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c for (ptr = obj->data, i = 0; i < block->count; i++) ptr 297 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c ptr += debugbus_read(gpu, block->id, i, ptr); ptr 306 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u32 *ptr; ptr 314 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c for (ptr = obj->data, i = 0; i < block->count; i++) ptr 315 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c ptr += cx_debugbus_read(cxdbg, block->id, i, ptr); ptr 433 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; ptr 469 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data = state_kmemdup(a6xx_state, dumper->ptr + A6XX_CD_DATA_OFFSET, ptr 501 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; ptr 540 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data = state_kmemdup(a6xx_state, dumper->ptr + A6XX_CD_DATA_OFFSET, ptr 570 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; ptr 591 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data = state_kmemdup(a6xx_state, dumper->ptr + A6XX_CD_DATA_OFFSET, ptr 622 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; ptr 648 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data = state_kmemdup(a6xx_state, dumper->ptr + A6XX_CD_DATA_OFFSET, ptr 660 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; ptr 686 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data = state_kmemdup(a6xx_state, dumper->ptr + A6XX_CD_DATA_OFFSET, ptr 317 drivers/gpu/drm/msm/adreno/adreno_gpu.c void *ptr; ptr 319 drivers/gpu/drm/msm/adreno/adreno_gpu.c ptr = msm_gem_kernel_new_locked(gpu->dev, fw->size - 4, ptr 322 drivers/gpu/drm/msm/adreno/adreno_gpu.c if (IS_ERR(ptr)) ptr 323 drivers/gpu/drm/msm/adreno/adreno_gpu.c return ERR_CAST(ptr); ptr 325 drivers/gpu/drm/msm/adreno/adreno_gpu.c memcpy(ptr, &fw->data[4], fw->size - 4); ptr 654 drivers/gpu/drm/msm/adreno/adreno_gpu.c static void adreno_show_object(struct drm_printer *p, void **ptr, int len, ptr 657 drivers/gpu/drm/msm/adreno/adreno_gpu.c if (!*ptr || !len) ptr 662 drivers/gpu/drm/msm/adreno/adreno_gpu.c u32 *buf = *ptr; ptr 677 drivers/gpu/drm/msm/adreno/adreno_gpu.c *ptr = adreno_gpu_ascii85_encode(buf, datalen); ptr 684 drivers/gpu/drm/msm/adreno/adreno_gpu.c if (!*ptr) ptr 690 drivers/gpu/drm/msm/adreno/adreno_gpu.c drm_puts(p, *ptr); ptr 1531 drivers/gpu/drm/msm/dsi/dsi_host.c static irqreturn_t dsi_host_irq(int irq, void *ptr) ptr 1533 drivers/gpu/drm/msm/dsi/dsi_host.c struct msm_dsi_host *msm_host = ptr; ptr 127 drivers/gpu/drm/msm/msm_drv.c void __iomem *ptr; ptr 141 drivers/gpu/drm/msm/msm_drv.c ptr = devm_ioremap_nocache(&pdev->dev, res->start, size); ptr 142 drivers/gpu/drm/msm/msm_drv.c if (!ptr) { ptr 148 drivers/gpu/drm/msm/msm_drv.c printk(KERN_DEBUG "IO:region %s %p %08lx\n", dbgname, ptr, size); ptr 150 drivers/gpu/drm/msm/msm_drv.c return ptr; ptr 131 drivers/gpu/drm/msm/msm_gem.c void *ptr = ERR_CAST(msm_obj->sgt); ptr 135 drivers/gpu/drm/msm/msm_gem.c return ptr; ptr 96 drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr) ptr 123 drivers/gpu/drm/msm/msm_gem_shrinker.c *(unsigned long *)ptr += unmapped; ptr 306 drivers/gpu/drm/msm/msm_gem_submit.c uint32_t *ptr; ptr 320 drivers/gpu/drm/msm/msm_gem_submit.c ptr = msm_gem_get_vaddr(&obj->base); ptr 322 drivers/gpu/drm/msm/msm_gem_submit.c if (IS_ERR(ptr)) { ptr 323 drivers/gpu/drm/msm/msm_gem_submit.c ret = PTR_ERR(ptr); ptr 372 drivers/gpu/drm/msm/msm_gem_submit.c ptr[off] = iova | submit_reloc.or; ptr 316 drivers/gpu/drm/msm/msm_gpu.c void *ptr; ptr 322 drivers/gpu/drm/msm/msm_gpu.c ptr = msm_gem_get_vaddr_active(&obj->base); ptr 323 drivers/gpu/drm/msm/msm_gpu.c if (IS_ERR(ptr)) { ptr 329 drivers/gpu/drm/msm/msm_gpu.c memcpy(state_bo->data, ptr, obj->base.size); ptr 62 drivers/gpu/drm/msm/msm_perf.c char *ptr = perf->buf; ptr 68 drivers/gpu/drm/msm/msm_perf.c n = snprintf(ptr, rem, "%%BUSY"); ptr 69 drivers/gpu/drm/msm/msm_perf.c ptr += n; ptr 74 drivers/gpu/drm/msm/msm_perf.c n = snprintf(ptr, rem, "\t%s", perfcntr->name); ptr 75 drivers/gpu/drm/msm/msm_perf.c ptr += n; ptr 96 drivers/gpu/drm/msm/msm_perf.c n = snprintf(ptr, rem, "%3d.%d%%", val / 10, val % 10); ptr 97 drivers/gpu/drm/msm/msm_perf.c ptr += n; ptr 103 drivers/gpu/drm/msm/msm_perf.c n = snprintf(ptr, rem, "\t%5d.%02d", ptr 105 drivers/gpu/drm/msm/msm_perf.c ptr += n; ptr 110 drivers/gpu/drm/msm/msm_perf.c n = snprintf(ptr, rem, "\n"); ptr 111 drivers/gpu/drm/msm/msm_perf.c ptr += n; ptr 115 drivers/gpu/drm/msm/msm_perf.c perf->buftot = ptr - perf->buf; ptr 104 drivers/gpu/drm/msm/msm_rd.c const char *ptr = buf; ptr 119 drivers/gpu/drm/msm/msm_rd.c memcpy(fptr, ptr, n); ptr 123 drivers/gpu/drm/msm/msm_rd.c ptr += n; ptr 161 drivers/gpu/drm/nouveau/dispnv50/disp.c dmac->ptr = dmac->push.object.map.ptr; ptr 226 drivers/gpu/drm/nouveau/dispnv50/disp.c dmac->ptr[put] = 0x20000000; ptr 242 drivers/gpu/drm/nouveau/dispnv50/disp.c return dmac->ptr + put; ptr 252 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_wr32(&dmac->base.user, 0x0000, (push - dmac->ptr) << 2); ptr 60 drivers/gpu/drm/nouveau/dispnv50/disp.h u32 *ptr; ptr 36 drivers/gpu/drm/nouveau/dispnv50/lut.c void __iomem *mem = lut->mem[buffer].object.map.ptr; ptr 16 drivers/gpu/drm/nouveau/include/nvif/driver.h void (*unmap)(void *priv, void __iomem *ptr, u32 size); ptr 254 drivers/gpu/drm/nouveau/include/nvif/list.h #define container_of(ptr, type, member) \ ptr 255 drivers/gpu/drm/nouveau/include/nvif/list.h (type *)((char *)(ptr) - (char *) &((type *)0)->member) ptr 261 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_entry(ptr, type, member) \ ptr 262 drivers/gpu/drm/nouveau/include/nvif/list.h container_of(ptr, type, member) ptr 276 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_first_entry(ptr, type, member) \ ptr 277 drivers/gpu/drm/nouveau/include/nvif/list.h list_entry((ptr)->next, type, member) ptr 291 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_last_entry(ptr, type, member) \ ptr 292 drivers/gpu/drm/nouveau/include/nvif/list.h list_entry((ptr)->prev, type, member) ptr 294 drivers/gpu/drm/nouveau/include/nvif/list.h #define __container_of(ptr, sample, member) \ ptr 295 drivers/gpu/drm/nouveau/include/nvif/list.h (void *)container_of((ptr), typeof(*(sample)), member) ptr 19 drivers/gpu/drm/nouveau/include/nvif/object.h void __iomem *ptr; ptr 45 drivers/gpu/drm/nouveau/include/nvif/object.h if (likely(_object->map.ptr)) \ ptr 46 drivers/gpu/drm/nouveau/include/nvif/object.h _data = f((u8 __iomem *)_object->map.ptr + (c)); \ ptr 53 drivers/gpu/drm/nouveau/include/nvif/object.h if (likely(_object->map.ptr)) \ ptr 54 drivers/gpu/drm/nouveau/include/nvif/object.h f((d), (u8 __iomem *)_object->map.ptr + (c)); \ ptr 43 drivers/gpu/drm/nouveau/nouveau_nvif.c nvkm_client_unmap(void *priv, void __iomem *ptr, u32 size) ptr 45 drivers/gpu/drm/nouveau/nouveau_nvif.c iounmap(ptr); ptr 209 drivers/gpu/drm/nouveau/nvif/object.c if (object->map.ptr) { ptr 211 drivers/gpu/drm/nouveau/nvif/object.c client->driver->unmap(client, object->map.ptr, ptr 215 drivers/gpu/drm/nouveau/nvif/object.c object->map.ptr = NULL; ptr 228 drivers/gpu/drm/nouveau/nvif/object.c object->map.ptr = client->driver->map(client, ptr 231 drivers/gpu/drm/nouveau/nvif/object.c if (ret = -ENOMEM, object->map.ptr) { ptr 236 drivers/gpu/drm/nouveau/nvif/object.c object->map.ptr = (void *)(unsigned long)handle; ptr 275 drivers/gpu/drm/nouveau/nvif/object.c object->map.ptr = NULL; ptr 67 drivers/gpu/drm/nouveau/nvkm/core/object.c struct rb_node **ptr = &object->client->objroot.rb_node; ptr 70 drivers/gpu/drm/nouveau/nvkm/core/object.c while (*ptr) { ptr 71 drivers/gpu/drm/nouveau/nvkm/core/object.c struct nvkm_object *this = rb_entry(*ptr, typeof(*this), node); ptr 72 drivers/gpu/drm/nouveau/nvkm/core/object.c parent = *ptr; ptr 74 drivers/gpu/drm/nouveau/nvkm/core/object.c ptr = &parent->rb_left; ptr 77 drivers/gpu/drm/nouveau/nvkm/core/object.c ptr = &parent->rb_right; ptr 82 drivers/gpu/drm/nouveau/nvkm/core/object.c rb_link_node(&object->node, parent, ptr); ptr 145 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c int ptr; ptr 152 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c ptr = (get & 0x7ff) >> 2; ptr 155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c mthd = nvkm_rd32(device, NV04_PFIFO_CACHE1_METHOD(ptr)); ptr 156 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c data = nvkm_rd32(device, NV04_PFIFO_CACHE1_DATA(ptr)); ptr 158 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c mthd = nvkm_rd32(device, NV40_PFIFO_CACHE1_METHOD(ptr)); ptr 159 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c data = nvkm_rd32(device, NV40_PFIFO_CACHE1_DATA(ptr)); ptr 40 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c u8 *ptr = msg->buf; ptr 58 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c msg->addr, ptr, &cnt); ptr 68 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c ptr += cnt; ptr 190 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c u8 *ptr = msg->buf; ptr 198 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c ret = nvkm_i2c_get_byte(bus, ptr++, !remaining); ptr 201 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c ret = nvkm_i2c_put_byte(bus, *ptr++); ptr 801 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct rb_node **ptr = &vmm->free.rb_node; ptr 804 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c while (*ptr) { ptr 805 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree); ptr 806 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c parent = *ptr; ptr 808 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ptr = &parent->rb_left; ptr 811 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ptr = &parent->rb_right; ptr 814 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ptr = &parent->rb_left; ptr 817 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ptr = &parent->rb_right; ptr 822 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c rb_link_node(&vma->tree, parent, ptr); ptr 843 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct rb_node **ptr = &vmm->root.rb_node; ptr 846 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c while (*ptr) { ptr 847 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree); ptr 848 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c parent = *ptr; ptr 850 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ptr = &parent->rb_left; ptr 853 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c ptr = &parent->rb_right; ptr 858 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c rb_link_node(&vma->tree, parent, ptr); ptr 154 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c char data[32], *ptr; ptr 157 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c for (j = headerlen - 1, ptr = data; j >= 0; j--) ptr 158 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c ptr += sprintf(ptr, "%02x", dump[j]); ptr 163 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c for (j = recordlen - 1, ptr = data; j >= 0; j--) ptr 164 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c ptr += sprintf(ptr, "%02x", dump[j]); ptr 421 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c u8 *ptr; ptr 433 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c ptr = data + HDMI_INFOFRAME_HEADER_SIZE; ptr 435 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c y = (ptr[0] >> 5) & 0x3; ptr 436 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c a = (ptr[0] >> 4) & 0x1; ptr 437 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c b = (ptr[0] >> 2) & 0x3; ptr 438 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c s = (ptr[0] >> 0) & 0x3; ptr 440 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c c = (ptr[1] >> 6) & 0x3; ptr 441 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c m = (ptr[1] >> 4) & 0x3; ptr 442 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c r = (ptr[1] >> 0) & 0xf; ptr 444 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c itc = (ptr[2] >> 7) & 0x1; ptr 445 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c ec = (ptr[2] >> 4) & 0x7; ptr 446 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c q = (ptr[2] >> 2) & 0x3; ptr 447 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c sc = (ptr[2] >> 0) & 0x3; ptr 449 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c vic = ptr[3]; ptr 451 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c yq = (ptr[4] >> 6) & 0x3; ptr 452 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c cn = (ptr[4] >> 4) & 0x3; ptr 453 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c pr = (ptr[4] >> 0) & 0xf; ptr 220 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c void *ptr; ptr 227 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c ptr = txn->current_va; ptr 235 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return ptr; ptr 344 drivers/gpu/drm/qxl/qxl_drv.h int qxl_bo_kmap(struct qxl_bo *bo, void **ptr); ptr 115 drivers/gpu/drm/qxl/qxl_image.c void *ptr; ptr 127 drivers/gpu/drm/qxl/qxl_image.c ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, 0); ptr 128 drivers/gpu/drm/qxl/qxl_image.c chunk = ptr; ptr 132 drivers/gpu/drm/qxl/qxl_image.c qxl_bo_kunmap_atomic_page(qdev, chunk_bo, ptr); ptr 146 drivers/gpu/drm/qxl/qxl_image.c ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, page << PAGE_SHIFT); ptr 149 drivers/gpu/drm/qxl/qxl_image.c chunk = ptr; ptr 153 drivers/gpu/drm/qxl/qxl_image.c k_data = ptr; ptr 160 drivers/gpu/drm/qxl/qxl_image.c qxl_bo_kunmap_atomic_page(qdev, chunk_bo, ptr); ptr 178 drivers/gpu/drm/qxl/qxl_image.c ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, page_base); ptr 179 drivers/gpu/drm/qxl/qxl_image.c k_data = ptr + page_offset; ptr 181 drivers/gpu/drm/qxl/qxl_image.c qxl_bo_kunmap_atomic_page(qdev, chunk_bo, ptr); ptr 192 drivers/gpu/drm/qxl/qxl_image.c ptr = qxl_bo_kmap_atomic_page(qdev, image_bo, 0); ptr 193 drivers/gpu/drm/qxl/qxl_image.c image = ptr; ptr 215 drivers/gpu/drm/qxl/qxl_image.c qxl_bo_kunmap_atomic_page(qdev, image_bo, ptr); ptr 225 drivers/gpu/drm/qxl/qxl_image.c qxl_bo_kunmap_atomic_page(qdev, image_bo, ptr); ptr 127 drivers/gpu/drm/qxl/qxl_object.c int qxl_bo_kmap(struct qxl_bo *bo, void **ptr) ptr 133 drivers/gpu/drm/qxl/qxl_object.c if (ptr) ptr 134 drivers/gpu/drm/qxl/qxl_object.c *ptr = bo->kptr; ptr 142 drivers/gpu/drm/qxl/qxl_object.c if (ptr) ptr 143 drivers/gpu/drm/qxl/qxl_object.c *ptr = bo->kptr; ptr 94 drivers/gpu/drm/qxl/qxl_object.h extern int qxl_bo_kmap(struct qxl_bo *bo, void **ptr); ptr 60 drivers/gpu/drm/qxl/qxl_prime.c void *ptr; ptr 63 drivers/gpu/drm/qxl/qxl_prime.c ret = qxl_bo_kmap(bo, &ptr); ptr 67 drivers/gpu/drm/qxl/qxl_prime.c return ptr; ptr 407 drivers/gpu/drm/qxl/qxl_release.c void *ptr; ptr 411 drivers/gpu/drm/qxl/qxl_release.c ptr = qxl_bo_kmap_atomic_page(qdev, bo, release->release_offset & PAGE_MASK); ptr 412 drivers/gpu/drm/qxl/qxl_release.c if (!ptr) ptr 414 drivers/gpu/drm/qxl/qxl_release.c info = ptr + (release->release_offset & ~PAGE_MASK); ptr 423 drivers/gpu/drm/qxl/qxl_release.c void *ptr; ptr 425 drivers/gpu/drm/qxl/qxl_release.c ptr = ((void *)info) - (release->release_offset & ~PAGE_MASK); ptr 426 drivers/gpu/drm/qxl/qxl_release.c qxl_bo_kunmap_atomic_page(qdev, bo, ptr); ptr 28 drivers/gpu/drm/radeon/atom-bits.h static inline uint8_t get_u8(void *bios, int ptr) ptr 30 drivers/gpu/drm/radeon/atom-bits.h return ((unsigned char *)bios)[ptr]; ptr 32 drivers/gpu/drm/radeon/atom-bits.h #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) ptr 33 drivers/gpu/drm/radeon/atom-bits.h #define CU8(ptr) get_u8(ctx->bios, (ptr)) ptr 34 drivers/gpu/drm/radeon/atom-bits.h static inline uint16_t get_u16(void *bios, int ptr) ptr 36 drivers/gpu/drm/radeon/atom-bits.h return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); ptr 38 drivers/gpu/drm/radeon/atom-bits.h #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) ptr 39 drivers/gpu/drm/radeon/atom-bits.h #define CU16(ptr) get_u16(ctx->bios, (ptr)) ptr 40 drivers/gpu/drm/radeon/atom-bits.h static inline uint32_t get_u32(void *bios, int ptr) ptr 42 drivers/gpu/drm/radeon/atom-bits.h return get_u16(bios, ptr)|(((uint32_t)get_u16(bios, ptr+2))<<16); ptr 44 drivers/gpu/drm/radeon/atom-bits.h #define U32(ptr) get_u32(ctx->ctx->bios, (ptr)) ptr 45 drivers/gpu/drm/radeon/atom-bits.h #define CU32(ptr) get_u32(ctx->bios, (ptr)) ptr 46 drivers/gpu/drm/radeon/atom-bits.h #define CSTR(ptr) (((char *)(ctx->bios))+(ptr)) ptr 183 drivers/gpu/drm/radeon/atom.c int *ptr, uint32_t *saved, int print) ptr 191 drivers/gpu/drm/radeon/atom.c idx = U16(*ptr); ptr 192 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 223 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 224 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 232 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 233 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 269 drivers/gpu/drm/radeon/atom.c idx = U16(*ptr); ptr 270 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 280 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 281 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 294 drivers/gpu/drm/radeon/atom.c val = U32(*ptr); ptr 295 drivers/gpu/drm/radeon/atom.c (*ptr) += 4; ptr 302 drivers/gpu/drm/radeon/atom.c val = U16(*ptr); ptr 303 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 311 drivers/gpu/drm/radeon/atom.c val = U8(*ptr); ptr 312 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 319 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 320 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 326 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 327 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 367 drivers/gpu/drm/radeon/atom.c static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) ptr 373 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 380 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 385 drivers/gpu/drm/radeon/atom.c (*ptr) += 4; ptr 390 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 396 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 403 drivers/gpu/drm/radeon/atom.c static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) ptr 405 drivers/gpu/drm/radeon/atom.c return atom_get_src_int(ctx, attr, ptr, NULL, 1); ptr 408 drivers/gpu/drm/radeon/atom.c static uint32_t atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) ptr 414 drivers/gpu/drm/radeon/atom.c val = U32(*ptr); ptr 415 drivers/gpu/drm/radeon/atom.c (*ptr) += 4; ptr 420 drivers/gpu/drm/radeon/atom.c val = U16(*ptr); ptr 421 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 427 drivers/gpu/drm/radeon/atom.c val = U8(*ptr); ptr 428 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 435 drivers/gpu/drm/radeon/atom.c int *ptr, uint32_t *saved, int print) ptr 440 drivers/gpu/drm/radeon/atom.c ptr, saved, print); ptr 443 drivers/gpu/drm/radeon/atom.c static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) ptr 447 drivers/gpu/drm/radeon/atom.c 3] << 3, ptr); ptr 451 drivers/gpu/drm/radeon/atom.c int *ptr, uint32_t val, uint32_t saved) ptr 464 drivers/gpu/drm/radeon/atom.c idx = U16(*ptr); ptr 465 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 497 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 498 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 503 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 504 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 536 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 537 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 546 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 547 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 552 drivers/gpu/drm/radeon/atom.c idx = U8(*ptr); ptr 553 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 586 drivers/gpu/drm/radeon/atom.c static void atom_op_add(atom_exec_context *ctx, int *ptr, int arg) ptr 588 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 590 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 592 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 594 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 600 drivers/gpu/drm/radeon/atom.c static void atom_op_and(atom_exec_context *ctx, int *ptr, int arg) ptr 602 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 604 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 606 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 608 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 614 drivers/gpu/drm/radeon/atom.c static void atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) ptr 619 drivers/gpu/drm/radeon/atom.c static void atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) ptr 621 drivers/gpu/drm/radeon/atom.c int idx = U8((*ptr)++); ptr 635 drivers/gpu/drm/radeon/atom.c static void atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) ptr 637 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 639 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 642 drivers/gpu/drm/radeon/atom.c atom_get_dst(ctx, arg, attr, ptr, &saved, 0); ptr 647 drivers/gpu/drm/radeon/atom.c static void atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) ptr 649 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 652 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 654 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 661 drivers/gpu/drm/radeon/atom.c static void atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) ptr 663 drivers/gpu/drm/radeon/atom.c unsigned count = U8((*ptr)++); ptr 673 drivers/gpu/drm/radeon/atom.c static void atom_op_div(atom_exec_context *ctx, int *ptr, int arg) ptr 675 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 678 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 680 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 690 drivers/gpu/drm/radeon/atom.c static void atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) ptr 695 drivers/gpu/drm/radeon/atom.c static void atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) ptr 697 drivers/gpu/drm/radeon/atom.c int execute = 0, target = U16(*ptr); ptr 700 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 744 drivers/gpu/drm/radeon/atom.c *ptr = ctx->start + target; ptr 748 drivers/gpu/drm/radeon/atom.c static void atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) ptr 750 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 752 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 754 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 755 drivers/gpu/drm/radeon/atom.c mask = atom_get_src_direct(ctx, ((attr >> 3) & 7), ptr); ptr 758 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 765 drivers/gpu/drm/radeon/atom.c static void atom_op_move(atom_exec_context *ctx, int *ptr, int arg) ptr 767 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 769 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 771 drivers/gpu/drm/radeon/atom.c atom_get_dst(ctx, arg, attr, ptr, &saved, 0); ptr 773 drivers/gpu/drm/radeon/atom.c atom_skip_dst(ctx, arg, attr, ptr); ptr 777 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 782 drivers/gpu/drm/radeon/atom.c static void atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) ptr 784 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 787 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 789 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 793 drivers/gpu/drm/radeon/atom.c static void atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) ptr 798 drivers/gpu/drm/radeon/atom.c static void atom_op_or(atom_exec_context *ctx, int *ptr, int arg) ptr 800 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 802 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 804 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 806 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 812 drivers/gpu/drm/radeon/atom.c static void atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) ptr 814 drivers/gpu/drm/radeon/atom.c uint8_t val = U8((*ptr)++); ptr 818 drivers/gpu/drm/radeon/atom.c static void atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) ptr 823 drivers/gpu/drm/radeon/atom.c static void atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) ptr 828 drivers/gpu/drm/radeon/atom.c static void atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) ptr 833 drivers/gpu/drm/radeon/atom.c static void atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) ptr 835 drivers/gpu/drm/radeon/atom.c int idx = U8(*ptr); ptr 836 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 847 drivers/gpu/drm/radeon/atom.c static void atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) ptr 849 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 851 drivers/gpu/drm/radeon/atom.c ctx->ctx->fb_base = atom_get_src(ctx, attr, ptr); ptr 854 drivers/gpu/drm/radeon/atom.c static void atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) ptr 859 drivers/gpu/drm/radeon/atom.c port = U16(*ptr); ptr 868 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 872 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 876 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 881 drivers/gpu/drm/radeon/atom.c static void atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) ptr 883 drivers/gpu/drm/radeon/atom.c ctx->ctx->reg_block = U16(*ptr); ptr 884 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 888 drivers/gpu/drm/radeon/atom.c static void atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) ptr 890 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 892 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 896 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 897 drivers/gpu/drm/radeon/atom.c shift = atom_get_src_direct(ctx, ATOM_SRC_BYTE0, ptr); ptr 904 drivers/gpu/drm/radeon/atom.c static void atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) ptr 906 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 908 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 912 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 913 drivers/gpu/drm/radeon/atom.c shift = atom_get_src_direct(ctx, ATOM_SRC_BYTE0, ptr); ptr 920 drivers/gpu/drm/radeon/atom.c static void atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) ptr 922 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 924 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 927 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 930 drivers/gpu/drm/radeon/atom.c shift = atom_get_src(ctx, attr, ptr); ptr 939 drivers/gpu/drm/radeon/atom.c static void atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) ptr 941 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++), shift; ptr 943 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 946 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 949 drivers/gpu/drm/radeon/atom.c shift = atom_get_src(ctx, attr, ptr); ptr 958 drivers/gpu/drm/radeon/atom.c static void atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) ptr 960 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 962 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 964 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 966 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 972 drivers/gpu/drm/radeon/atom.c static void atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) ptr 974 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 977 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 978 drivers/gpu/drm/radeon/atom.c while (U16(*ptr) != ATOM_CASE_END) ptr 979 drivers/gpu/drm/radeon/atom.c if (U8(*ptr) == ATOM_CASE_MAGIC) { ptr 980 drivers/gpu/drm/radeon/atom.c (*ptr)++; ptr 984 drivers/gpu/drm/radeon/atom.c ptr); ptr 985 drivers/gpu/drm/radeon/atom.c target = U16(*ptr); ptr 988 drivers/gpu/drm/radeon/atom.c *ptr = ctx->start + target; ptr 991 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 996 drivers/gpu/drm/radeon/atom.c (*ptr) += 2; ptr 999 drivers/gpu/drm/radeon/atom.c static void atom_op_test(atom_exec_context *ctx, int *ptr, int arg) ptr 1001 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 1004 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); ptr 1006 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 1011 drivers/gpu/drm/radeon/atom.c static void atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) ptr 1013 drivers/gpu/drm/radeon/atom.c uint8_t attr = U8((*ptr)++); ptr 1015 drivers/gpu/drm/radeon/atom.c int dptr = *ptr; ptr 1017 drivers/gpu/drm/radeon/atom.c dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); ptr 1019 drivers/gpu/drm/radeon/atom.c src = atom_get_src(ctx, attr, ptr); ptr 1025 drivers/gpu/drm/radeon/atom.c static void atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) ptr 1161 drivers/gpu/drm/radeon/atom.c int len, ws, ps, ptr; ptr 1172 drivers/gpu/drm/radeon/atom.c ptr = base + ATOM_CT_CODE_PTR; ptr 1189 drivers/gpu/drm/radeon/atom.c op = CU8(ptr++); ptr 1191 drivers/gpu/drm/radeon/atom.c SDEBUG("%s @ 0x%04X\n", atom_op_names[op], ptr - 1); ptr 1193 drivers/gpu/drm/radeon/atom.c SDEBUG("[%d] @ 0x%04X\n", op, ptr - 1); ptr 1196 drivers/gpu/drm/radeon/atom.c base, len, ws, ps, ptr - 1); ptr 1202 drivers/gpu/drm/radeon/atom.c opcode_table[op].func(&ectx, &ptr, ptr 1744 drivers/gpu/drm/radeon/cik.c return readl(rdev->doorbell.ptr + index); ptr 1764 drivers/gpu/drm/radeon/cik.c writel(v, rdev->doorbell.ptr + index); ptr 3803 drivers/gpu/drm/radeon/cik.c ib.ptr[0] = PACKET3(PACKET3_SET_UCONFIG_REG, 1); ptr 3804 drivers/gpu/drm/radeon/cik.c ib.ptr[1] = ((scratch - PACKET3_SET_UCONFIG_REG_START) >> 2); ptr 3805 drivers/gpu/drm/radeon/cik.c ib.ptr[2] = 0xDEADBEEF; ptr 727 drivers/gpu/drm/radeon/cik_sdma.c ib.ptr[0] = SDMA_PACKET(SDMA_OPCODE_WRITE, SDMA_WRITE_SUB_OPCODE_LINEAR, 0); ptr 728 drivers/gpu/drm/radeon/cik_sdma.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 729 drivers/gpu/drm/radeon/cik_sdma.c ib.ptr[2] = upper_32_bits(gpu_addr); ptr 730 drivers/gpu/drm/radeon/cik_sdma.c ib.ptr[3] = 1; ptr 731 drivers/gpu/drm/radeon/cik_sdma.c ib.ptr[4] = 0xDEADBEEF; ptr 813 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_COPY, ptr 815 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = bytes; ptr 816 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = 0; /* src/dst endian swap */ ptr 817 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 818 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(src); ptr 819 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 820 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 856 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_WRITE, ptr 858 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = pe; ptr 859 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 860 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = ndw; ptr 871 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = value; ptr 872 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 910 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_GENERATE_PTE_PDE, 0, 0); ptr 911 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ ptr 912 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe); ptr 913 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = flags; /* mask */ ptr 914 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = 0; ptr 915 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = value; /* value */ ptr 916 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 917 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 918 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = 0; ptr 919 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = ndw; /* number of entries */ ptr 936 drivers/gpu/drm/radeon/cik_sdma.c ib->ptr[ib->length_dw++] = SDMA_PACKET(SDMA_OPCODE_NOP, 0, 0); ptr 451 drivers/gpu/drm/radeon/evergreen_cs.c uint32_t *ib = p->ib.ptr; ptr 1101 drivers/gpu/drm/radeon/evergreen_cs.c ib = p->ib.ptr; ptr 1785 drivers/gpu/drm/radeon/evergreen_cs.c ib = p->ib.ptr; ptr 2779 drivers/gpu/drm/radeon/evergreen_cs.c pr_info("%05d 0x%08X\n", r, p->ib.ptr[r]); ptr 2802 drivers/gpu/drm/radeon/evergreen_cs.c uint32_t *ib = p->ib.ptr; ptr 3218 drivers/gpu/drm/radeon/evergreen_cs.c pr_info("%05d 0x%08X\n", r, p->ib.ptr[r]); ptr 3529 drivers/gpu/drm/radeon/evergreen_cs.c pkt.type = RADEON_CP_PACKET_GET_TYPE(ib->ptr[idx]); ptr 3530 drivers/gpu/drm/radeon/evergreen_cs.c pkt.count = RADEON_CP_PACKET_GET_COUNT(ib->ptr[idx]); ptr 3541 drivers/gpu/drm/radeon/evergreen_cs.c pkt.opcode = RADEON_CP_PACKET3_GET_OPCODE(ib->ptr[idx]); ptr 3542 drivers/gpu/drm/radeon/evergreen_cs.c ret = evergreen_vm_packet3_check(rdev, ib->ptr, &pkt); ptr 3572 drivers/gpu/drm/radeon/evergreen_cs.c header = ib->ptr[idx]; ptr 3589 drivers/gpu/drm/radeon/evergreen_cs.c DRM_ERROR("bad DMA_PACKET_WRITE [%6d] 0x%08x sub cmd is not 0 or 8\n", idx, ib->ptr[idx]); ptr 3640 drivers/gpu/drm/radeon/evergreen_cs.c DRM_ERROR("bad DMA_PACKET_COPY [%6d] 0x%08x invalid sub cmd\n", idx, ib->ptr[idx]); ptr 28 drivers/gpu/drm/radeon/mkregtable.c #define container_of(ptr, type, member) ({ \ ptr 29 drivers/gpu/drm/radeon/mkregtable.c const typeof(((type *)0)->member)*__mptr = (ptr); \ ptr 92 drivers/gpu/drm/radeon/mkregtable.c #define list_entry(ptr, type, member) \ ptr 93 drivers/gpu/drm/radeon/mkregtable.c container_of(ptr, type, member) ptr 327 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, ptr 329 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 330 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 331 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 332 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff; ptr 368 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, ptr 370 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = pe; ptr 371 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 382 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = value; ptr 383 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 421 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); ptr 422 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ ptr 423 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 424 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = flags; /* mask */ ptr 425 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = 0; ptr 426 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = value; /* value */ ptr 427 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 428 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 429 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = 0; ptr 446 drivers/gpu/drm/radeon/ni_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0); ptr 645 drivers/gpu/drm/radeon/r100.c if (rdev->gart.ptr) { ptr 701 drivers/gpu/drm/radeon/r100.c u32 *gtt = rdev->gart.ptr; ptr 1295 drivers/gpu/drm/radeon/r100.c p->ib.ptr[idx] = (value & 0x3fc00000) | tmp; ptr 1297 drivers/gpu/drm/radeon/r100.c p->ib.ptr[idx] = (value & 0xffc00000) | tmp; ptr 1312 drivers/gpu/drm/radeon/r100.c ib = p->ib.ptr; ptr 1434 drivers/gpu/drm/radeon/r100.c ib = p->ib.ptr; ptr 1564 drivers/gpu/drm/radeon/r100.c ib = p->ib.ptr; ptr 1919 drivers/gpu/drm/radeon/r100.c ib = p->ib.ptr; ptr 3725 drivers/gpu/drm/radeon/r100.c ib.ptr[0] = PACKET0(scratch, 0); ptr 3726 drivers/gpu/drm/radeon/r100.c ib.ptr[1] = 0xDEADBEEF; ptr 3727 drivers/gpu/drm/radeon/r100.c ib.ptr[2] = PACKET2(0); ptr 3728 drivers/gpu/drm/radeon/r100.c ib.ptr[3] = PACKET2(0); ptr 3729 drivers/gpu/drm/radeon/r100.c ib.ptr[4] = PACKET2(0); ptr 3730 drivers/gpu/drm/radeon/r100.c ib.ptr[5] = PACKET2(0); ptr 3731 drivers/gpu/drm/radeon/r100.c ib.ptr[6] = PACKET2(0); ptr 3732 drivers/gpu/drm/radeon/r100.c ib.ptr[7] = PACKET2(0); ptr 159 drivers/gpu/drm/radeon/r200.c ib = p->ib.ptr; ptr 123 drivers/gpu/drm/radeon/r300.c void __iomem *ptr = rdev->gart.ptr; ptr 128 drivers/gpu/drm/radeon/r300.c writel(entry, ((void __iomem *)ptr) + (i * 4)); ptr 643 drivers/gpu/drm/radeon/r300.c ib = p->ib.ptr; ptr 1185 drivers/gpu/drm/radeon/r300.c ib = p->ib.ptr; ptr 1082 drivers/gpu/drm/radeon/r600.c void __iomem *ptr = (void *)rdev->gart.ptr; ptr 1091 drivers/gpu/drm/radeon/r600.c tmp = readl((void __iomem *)ptr); ptr 1531 drivers/gpu/drm/radeon/r600.c (void **)&rdev->vram_scratch.ptr); ptr 3418 drivers/gpu/drm/radeon/r600.c ib.ptr[0] = PACKET3(PACKET3_SET_CONFIG_REG, 1); ptr 3419 drivers/gpu/drm/radeon/r600.c ib.ptr[1] = ((scratch - PACKET3_SET_CONFIG_REG_OFFSET) >> 2); ptr 3420 drivers/gpu/drm/radeon/r600.c ib.ptr[2] = 0xDEADBEEF; ptr 4391 drivers/gpu/drm/radeon/r600.c rdev->vram_scratch.ptr && !(rdev->flags & RADEON_IS_AGP)) { ptr 4392 drivers/gpu/drm/radeon/r600.c void __iomem *ptr = (void *)rdev->vram_scratch.ptr; ptr 4396 drivers/gpu/drm/radeon/r600.c tmp = readl((void __iomem *)ptr); ptr 357 drivers/gpu/drm/radeon/r600_cs.c volatile u32 *ib = p->ib.ptr; ptr 527 drivers/gpu/drm/radeon/r600_cs.c volatile u32 *ib = p->ib.ptr; ptr 837 drivers/gpu/drm/radeon/r600_cs.c ib = p->ib.ptr; ptr 984 drivers/gpu/drm/radeon/r600_cs.c ib = p->ib.ptr; ptr 1639 drivers/gpu/drm/radeon/r600_cs.c ib = p->ib.ptr; ptr 2322 drivers/gpu/drm/radeon/r600_cs.c pr_info("%05d 0x%08X\n", r, p->ib.ptr[r]); ptr 2383 drivers/gpu/drm/radeon/r600_cs.c volatile u32 *ib = p->ib.ptr; ptr 2530 drivers/gpu/drm/radeon/r600_cs.c pr_info("%05d 0x%08X\n", r, p->ib.ptr[r]); ptr 359 drivers/gpu/drm/radeon/r600_dma.c ib.ptr[0] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 1); ptr 360 drivers/gpu/drm/radeon/r600_dma.c ib.ptr[1] = lower_32_bits(gpu_addr); ptr 361 drivers/gpu/drm/radeon/r600_dma.c ib.ptr[2] = upper_32_bits(gpu_addr) & 0xff; ptr 362 drivers/gpu/drm/radeon/r600_dma.c ib.ptr[3] = 0xDEADBEEF; ptr 649 drivers/gpu/drm/radeon/radeon.h void *ptr; ptr 723 drivers/gpu/drm/radeon/radeon.h u32 __iomem *ptr; ptr 825 drivers/gpu/drm/radeon/radeon.h uint32_t *ptr; ptr 1095 drivers/gpu/drm/radeon/radeon.h return p->ib.ptr[idx]; ptr 2247 drivers/gpu/drm/radeon/radeon.h volatile uint32_t *ptr; ptr 632 drivers/gpu/drm/radeon/radeon_cs.c if (copy_from_user(parser->const_ib.ptr, ptr 654 drivers/gpu/drm/radeon/radeon_cs.c memcpy(parser->ib.ptr, ib_chunk->kdata, ib_chunk->length_dw * 4); ptr 655 drivers/gpu/drm/radeon/radeon_cs.c else if (copy_from_user(parser->ib.ptr, ib_chunk->user_ptr, ib_chunk->length_dw * 4)) ptr 824 drivers/gpu/drm/radeon/radeon_cs.c ib = p->ib.ptr; ptr 347 drivers/gpu/drm/radeon/radeon_device.c rdev->doorbell.ptr = ioremap(rdev->doorbell.base, rdev->doorbell.num_doorbells * sizeof(u32)); ptr 348 drivers/gpu/drm/radeon/radeon_device.c if (rdev->doorbell.ptr == NULL) { ptr 368 drivers/gpu/drm/radeon/radeon_device.c iounmap(rdev->doorbell.ptr); ptr 369 drivers/gpu/drm/radeon/radeon_device.c rdev->doorbell.ptr = NULL; ptr 73 drivers/gpu/drm/radeon/radeon_gart.c void *ptr; ptr 75 drivers/gpu/drm/radeon/radeon_gart.c ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size, ptr 77 drivers/gpu/drm/radeon/radeon_gart.c if (ptr == NULL) { ptr 83 drivers/gpu/drm/radeon/radeon_gart.c set_memory_uc((unsigned long)ptr, ptr 87 drivers/gpu/drm/radeon/radeon_gart.c rdev->gart.ptr = ptr; ptr 88 drivers/gpu/drm/radeon/radeon_gart.c memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); ptr 103 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->gart.ptr == NULL) { ptr 109 drivers/gpu/drm/radeon/radeon_gart.c set_memory_wb((unsigned long)rdev->gart.ptr, ptr 114 drivers/gpu/drm/radeon/radeon_gart.c (void *)rdev->gart.ptr, ptr 116 drivers/gpu/drm/radeon/radeon_gart.c rdev->gart.ptr = NULL; ptr 169 drivers/gpu/drm/radeon/radeon_gart.c r = radeon_bo_kmap(rdev->gart.robj, &rdev->gart.ptr); ptr 210 drivers/gpu/drm/radeon/radeon_gart.c rdev->gart.ptr = NULL; ptr 262 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->gart.ptr) { ptr 269 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->gart.ptr) { ptr 311 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->gart.ptr) { ptr 317 drivers/gpu/drm/radeon/radeon_gart.c if (rdev->gart.ptr) { ptr 74 drivers/gpu/drm/radeon/radeon_ib.c ib->ptr = radeon_sa_bo_cpu_addr(ib->sa_bo); ptr 276 drivers/gpu/drm/radeon/radeon_object.c int radeon_bo_kmap(struct radeon_bo *bo, void **ptr) ptr 282 drivers/gpu/drm/radeon/radeon_object.c if (ptr) { ptr 283 drivers/gpu/drm/radeon/radeon_object.c *ptr = bo->kptr; ptr 292 drivers/gpu/drm/radeon/radeon_object.c if (ptr) { ptr 293 drivers/gpu/drm/radeon/radeon_object.c *ptr = bo->kptr; ptr 131 drivers/gpu/drm/radeon/radeon_object.h extern int radeon_bo_kmap(struct radeon_bo *bo, void **ptr); ptr 284 drivers/gpu/drm/radeon/radeon_ring.c unsigned size, ptr, i; ptr 303 drivers/gpu/drm/radeon/radeon_ring.c ptr = RREG32(ring->rptr_save_reg); ptr 305 drivers/gpu/drm/radeon/radeon_ring.c ptr = le32_to_cpu(*ring->next_rptr_cpu_addr); ptr 313 drivers/gpu/drm/radeon/radeon_ring.c size -= ptr; ptr 327 drivers/gpu/drm/radeon/radeon_ring.c (*data)[i] = ring->ring[ptr++]; ptr 328 drivers/gpu/drm/radeon/radeon_ring.c ptr &= ring->ptr_mask; ptr 1025 drivers/gpu/drm/radeon/radeon_ttm.c void *ptr; ptr 1032 drivers/gpu/drm/radeon/radeon_ttm.c ptr = kmap(page); ptr 1033 drivers/gpu/drm/radeon/radeon_ttm.c ptr += off; ptr 1035 drivers/gpu/drm/radeon/radeon_ttm.c r = copy_to_user(buf, ptr, cur_size); ptr 284 drivers/gpu/drm/radeon/radeon_uvd.c void *ptr; ptr 294 drivers/gpu/drm/radeon/radeon_uvd.c ptr = rdev->uvd.cpu_addr; ptr 295 drivers/gpu/drm/radeon/radeon_uvd.c ptr += rdev->uvd_fw->size; ptr 297 drivers/gpu/drm/radeon/radeon_uvd.c memset(ptr, 0, size); ptr 471 drivers/gpu/drm/radeon/radeon_uvd.c void *ptr; ptr 489 drivers/gpu/drm/radeon/radeon_uvd.c r = radeon_bo_kmap(bo, &ptr); ptr 495 drivers/gpu/drm/radeon/radeon_uvd.c msg = ptr + offset; ptr 596 drivers/gpu/drm/radeon/radeon_uvd.c p->ib.ptr[data0] = start & 0xFFFFFFFF; ptr 597 drivers/gpu/drm/radeon/radeon_uvd.c p->ib.ptr[data1] = start >> 32; ptr 751 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[0] = PACKET0(UVD_GPCOM_VCPU_DATA0, 0); ptr 752 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[1] = addr; ptr 753 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[2] = PACKET0(UVD_GPCOM_VCPU_DATA1, 0); ptr 754 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[3] = addr >> 32; ptr 755 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[4] = PACKET0(UVD_GPCOM_VCPU_CMD, 0); ptr 756 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[5] = 0; ptr 758 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[i] = PACKET0(UVD_NO_OP, 0); ptr 759 drivers/gpu/drm/radeon/radeon_uvd.c ib.ptr[i+1] = 0; ptr 364 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ ptr 365 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ ptr 366 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(handle); ptr 368 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000030); /* len */ ptr 369 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x01000001); /* create cmd */ ptr 370 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); ptr 371 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000042); ptr 372 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000a); ptr 373 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); ptr 374 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000080); ptr 375 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000060); ptr 376 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000100); ptr 377 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000100); ptr 378 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); ptr 379 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000000); ptr 381 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000014); /* len */ ptr 382 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x05000005); /* feedback buffer */ ptr 383 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(upper_32_bits(dummy)); ptr 384 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(dummy); ptr 385 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); ptr 388 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[i] = cpu_to_le32(0x0); ptr 431 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x0000000c); /* len */ ptr 432 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); /* session cmd */ ptr 433 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(handle); ptr 435 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000014); /* len */ ptr 436 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x05000005); /* feedback buffer */ ptr 437 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(upper_32_bits(dummy)); ptr 438 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(dummy); ptr 439 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000001); ptr 441 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x00000008); /* len */ ptr 442 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[ib.length_dw++] = cpu_to_le32(0x02000001); /* destroy cmd */ ptr 445 drivers/gpu/drm/radeon/radeon_vce.c ib.ptr[i] = cpu_to_le32(0x0); ptr 493 drivers/gpu/drm/radeon/radeon_vce.c p->ib.ptr[lo] = start & 0xFFFFFFFF; ptr 494 drivers/gpu/drm/radeon/radeon_vce.c p->ib.ptr[hi] = start >> 32; ptr 85 drivers/gpu/drm/radeon/rs400.c if (rdev->gart.ptr) { ptr 238 drivers/gpu/drm/radeon/rs400.c u32 *gtt = rdev->gart.ptr; ptr 656 drivers/gpu/drm/radeon/rs600.c void __iomem *ptr = (void *)rdev->gart.ptr; ptr 657 drivers/gpu/drm/radeon/rs600.c writeq(entry, ptr + (i * 8)); ptr 4744 drivers/gpu/drm/radeon/si.c pkt.type = RADEON_CP_PACKET_GET_TYPE(ib->ptr[idx]); ptr 4745 drivers/gpu/drm/radeon/si.c pkt.count = RADEON_CP_PACKET_GET_COUNT(ib->ptr[idx]); ptr 4756 drivers/gpu/drm/radeon/si.c pkt.opcode = RADEON_CP_PACKET3_GET_OPCODE(ib->ptr[idx]); ptr 4758 drivers/gpu/drm/radeon/si.c ret = si_vm_packet3_ce_check(rdev, ib->ptr, &pkt); ptr 4762 drivers/gpu/drm/radeon/si.c ret = si_vm_packet3_gfx_check(rdev, ib->ptr, &pkt); ptr 4766 drivers/gpu/drm/radeon/si.c ret = si_vm_packet3_compute_check(rdev, ib->ptr, &pkt); ptr 4784 drivers/gpu/drm/radeon/si.c printk("\t0x%08x <---\n", ib->ptr[i]); ptr 4786 drivers/gpu/drm/radeon/si.c printk("\t0x%08x\n", ib->ptr[i]); ptr 79 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_COPY, ptr 81 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(pe); ptr 82 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = lower_32_bits(src); ptr 83 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 84 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(src) & 0xff; ptr 120 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = DMA_PACKET(DMA_PACKET_WRITE, 0, 0, 0, ndw); ptr 121 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = pe; ptr 122 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 133 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = value; ptr 134 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 172 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = DMA_PTE_PDE_PACKET(ndw); ptr 173 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = pe; /* dst addr */ ptr 174 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(pe) & 0xff; ptr 175 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = flags; /* mask */ ptr 176 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = 0; ptr 177 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = value; /* value */ ptr 178 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = upper_32_bits(value); ptr 179 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = incr; /* increment size */ ptr 180 drivers/gpu/drm/radeon/si_dma.c ib->ptr[ib->length_dw++] = 0; ptr 339 drivers/gpu/drm/sti/sti_hdmi.c static inline unsigned int hdmi_infoframe_subpack(const u8 *ptr, size_t size) ptr 345 drivers/gpu/drm/sti/sti_hdmi.c value = (value << 8) | ptr[i - 1]; ptr 361 drivers/gpu/drm/sti/sti_hdmi.c const u8 *ptr = data; ptr 365 drivers/gpu/drm/sti/sti_hdmi.c switch (*ptr) { ptr 385 drivers/gpu/drm/sti/sti_hdmi.c DRM_ERROR("unsupported infoframe type: %#x\n", *ptr); ptr 394 drivers/gpu/drm/sti/sti_hdmi.c val = HDMI_INFOFRAME_HEADER_TYPE(*ptr++); ptr 395 drivers/gpu/drm/sti/sti_hdmi.c val |= HDMI_INFOFRAME_HEADER_VERSION(*ptr++); ptr 396 drivers/gpu/drm/sti/sti_hdmi.c val |= HDMI_INFOFRAME_HEADER_LEN(*ptr++); ptr 409 drivers/gpu/drm/sti/sti_hdmi.c val = hdmi_infoframe_subpack(ptr, num); ptr 410 drivers/gpu/drm/sti/sti_hdmi.c ptr += sizeof(u32); ptr 622 drivers/gpu/drm/tegra/hdmi.c static inline u32 tegra_hdmi_subpack(const u8 *ptr, size_t size) ptr 628 drivers/gpu/drm/tegra/hdmi.c value = (value << 8) | ptr[i - 1]; ptr 636 drivers/gpu/drm/tegra/hdmi.c const u8 *ptr = data; ptr 641 drivers/gpu/drm/tegra/hdmi.c switch (ptr[0]) { ptr 656 drivers/gpu/drm/tegra/hdmi.c ptr[0]); ptr 660 drivers/gpu/drm/tegra/hdmi.c value = INFOFRAME_HEADER_TYPE(ptr[0]) | ptr 661 drivers/gpu/drm/tegra/hdmi.c INFOFRAME_HEADER_VERSION(ptr[1]) | ptr 662 drivers/gpu/drm/tegra/hdmi.c INFOFRAME_HEADER_LEN(ptr[2]); ptr 674 drivers/gpu/drm/tegra/hdmi.c value = tegra_hdmi_subpack(&ptr[i], num); ptr 679 drivers/gpu/drm/tegra/hdmi.c value = tegra_hdmi_subpack(&ptr[i + 4], num); ptr 2039 drivers/gpu/drm/tegra/sor.c static inline u32 tegra_sor_hdmi_subpack(const u8 *ptr, size_t size) ptr 2045 drivers/gpu/drm/tegra/sor.c value = (value << 8) | ptr[i - 1]; ptr 2053 drivers/gpu/drm/tegra/sor.c const u8 *ptr = data; ptr 2058 drivers/gpu/drm/tegra/sor.c switch (ptr[0]) { ptr 2073 drivers/gpu/drm/tegra/sor.c ptr[0]); ptr 2077 drivers/gpu/drm/tegra/sor.c value = INFOFRAME_HEADER_TYPE(ptr[0]) | ptr 2078 drivers/gpu/drm/tegra/sor.c INFOFRAME_HEADER_VERSION(ptr[1]) | ptr 2079 drivers/gpu/drm/tegra/sor.c INFOFRAME_HEADER_LEN(ptr[2]); ptr 2091 drivers/gpu/drm/tegra/sor.c value = tegra_sor_hdmi_subpack(&ptr[i], num); ptr 2096 drivers/gpu/drm/tegra/sor.c value = tegra_sor_hdmi_subpack(&ptr[i + 4], num); ptr 657 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if (state->state->planes[0].ptr != crtc->primary || ptr 334 drivers/gpu/drm/ttm/ttm_bo_vm.c void *ptr; ptr 341 drivers/gpu/drm/ttm/ttm_bo_vm.c ptr = (uint8_t *)ttm_kmap_obj_virtual(&map, &is_iomem) + offset; ptr 344 drivers/gpu/drm/ttm/ttm_bo_vm.c memcpy(ptr, buf, bytes); ptr 346 drivers/gpu/drm/ttm/ttm_bo_vm.c memcpy(buf, ptr, bytes); ptr 560 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct dma_pool *pool = NULL, **ptr; ptr 568 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c ptr = devres_alloc(ttm_dma_pool_release, sizeof(*ptr), GFP_KERNEL); ptr 569 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c if (!ptr) ptr 625 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c *ptr = pool; ptr 626 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c devres_add(dev, ptr); ptr 630 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c devres_free(ptr); ptr 156 drivers/gpu/drm/vc4/vc4_kms.c if (!state->crtcs[i].ptr || !state->crtcs[i].commit) ptr 159 drivers/gpu/drm/vc4/vc4_kms.c vc4_crtc = to_vc4_crtc(state->crtcs[i].ptr); ptr 413 drivers/gpu/drm/via/via_dma.c uint32_t reader, ptr; ptr 425 drivers/gpu/drm/via/via_dma.c ptr = ((volatile char *)paused_at - dev_priv->dma_ptr) + ptr 437 drivers/gpu/drm/via/via_dma.c diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; ptr 444 drivers/gpu/drm/via/via_dma.c diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; ptr 451 drivers/gpu/drm/via/via_dma.c diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; ptr 456 drivers/gpu/drm/via/via_dma.c ptr, reader, dev_priv->dma_diff); ptr 524 drivers/gpu/drm/via/via_dma.c uint32_t ptr; ptr 563 drivers/gpu/drm/via/via_dma.c ptr = ((volatile char *)dev_priv->last_pause_ptr - dev_priv->dma_ptr) + ptr 573 drivers/gpu/drm/via/via_dma.c dev_priv->dma_diff = ptr - reader; ptr 498 drivers/gpu/drm/virtio/virtgpu_ioctl.c void *ptr; ptr 548 drivers/gpu/drm/virtio/virtgpu_ioctl.c ptr = cache_ent->caps_cache; ptr 550 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (copy_to_user(u64_to_user_ptr(args->addr), ptr, size)) ptr 511 drivers/gpu/drm/vmwgfx/device_include/svga_reg.h } ptr; ptr 316 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c SVGAGuestPtr *ptr) ptr 319 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ptr->gmrId = SVGA_GMR_FRAMEBUFFER; ptr 320 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ptr->offset = bo->offset; ptr 322 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ptr->gmrId = bo->mem.start; ptr 323 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c ptr->offset = 0; ptr 564 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c cb_hdr->ptr.mob.mobOffset += new_start_offset; ptr 566 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c cb_hdr->ptr.pa += (u64) new_start_offset; ptr 890 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c cb_hdr->ptr.mob.mobid = man->cmd_space->mem.start; ptr 891 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c cb_hdr->ptr.mob.mobOffset = offset; ptr 893 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c cb_hdr->ptr.pa = (u64)man->handle + (u64)offset; ptr 936 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c cb_hdr->ptr.pa = (u64)header->handle + ptr 263 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c void *ptr); ptr 1215 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c void *ptr) ptr 760 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h SVGAGuestPtr *ptr); ptr 357 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c void *ptr; ptr 369 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c &ptr, NULL); ptr 373 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_rcache_update(rcache, res, ptr); ptr 1211 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c SVGAGuestPtr *ptr, ptr 1215 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c uint32_t handle = ptr->gmrId; ptr 1235 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c reloc->location = ptr; ptr 1535 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c &cmd->body.guest.ptr, &vmw_bo); ptr 1541 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (unlikely(cmd->body.guest.ptr.offset > bo_size)) { ptr 1546 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c bo_size -= cmd->body.guest.ptr.offset; ptr 1689 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c return vmw_translate_guest_ptr(dev_priv, sw_context, &cmd->body.ptr, ptr 182 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (cmd->dma.guest.ptr.offset % PAGE_SIZE || ptr 194 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->dma.guest.ptr.offset); ptr 198 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c kmap_offset = cmd->dma.guest.ptr.offset >> PAGE_SHIFT; ptr 103 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c SVGAGuestPtr ptr; ptr 143 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c vmw_bo_get_guest_ptr(&buf->base, &ptr); ptr 144 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c ptr.offset += arg->offset; ptr 148 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_DATA_OFFSET].value = ptr.offset; ptr 166 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items[SVGA_VIDEO_DATA_GMRID].value = ptr.gmrId; ptr 153 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_bo_get_guest_ptr(&sou->buffer->base, &cmd->obj.backingStore.ptr); ptr 496 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_bo_get_guest_ptr(&vfbbo->buffer->base, &gmr->body.ptr); ptr 1007 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_bo_get_guest_ptr(&buf->base, &cmd->body.ptr); ptr 508 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_bo_get_guest_ptr(&ddirty->buf->base, &cmd->body.guest.ptr); ptr 1213 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_bo_get_guest_ptr(&vfbbo->buffer->base, &cmd_dma->body.guest.ptr); ptr 276 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c const SVGAGuestPtr *ptr, ptr 295 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.ptr = *ptr; ptr 296 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.ptr.offset += cur_offset->bo_offset; ptr 461 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c SVGAGuestPtr ptr; ptr 474 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_bo_get_guest_ptr(val_buf->bo, &ptr); ptr 475 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_dma_encode(srf, cmd, &ptr, bind); ptr 281 drivers/gpu/ipu-v3/ipu-dc.c int ptr = map * 3 + byte_num; ptr 284 drivers/gpu/ipu-v3/ipu-dc.c reg = readl(priv->dc_reg + DC_MAP_CONF_VAL(ptr)); ptr 285 drivers/gpu/ipu-v3/ipu-dc.c reg &= ~(0xffff << (16 * (ptr & 0x1))); ptr 286 drivers/gpu/ipu-v3/ipu-dc.c reg |= ((offset << 8) | mask) << (16 * (ptr & 0x1)); ptr 287 drivers/gpu/ipu-v3/ipu-dc.c writel(reg, priv->dc_reg + DC_MAP_CONF_VAL(ptr)); ptr 291 drivers/gpu/ipu-v3/ipu-dc.c reg |= ptr << ((16 * (map & 0x1)) + (5 * byte_num)); ptr 470 drivers/hid/hid-sensor-hub.c u8 *ptr; ptr 485 drivers/hid/hid-sensor-hub.c ptr = raw_data; ptr 486 drivers/hid/hid-sensor-hub.c ptr++; /* Skip report id */ ptr 508 drivers/hid/hid-sensor-hub.c ptr += sz; ptr 516 drivers/hid/hid-sensor-hub.c hsdev->pending.raw_data = kmemdup(ptr, sz, GFP_ATOMIC); ptr 526 drivers/hid/hid-sensor-hub.c report->field[i]->logical, sz, ptr, ptr 530 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid, sz, ptr, ptr 533 drivers/hid/hid-sensor-hub.c ptr += sz; ptr 804 drivers/hwmon/hwmon.c struct device **ptr, *hwdev; ptr 809 drivers/hwmon/hwmon.c ptr = devres_alloc(devm_hwmon_release, sizeof(*ptr), GFP_KERNEL); ptr 810 drivers/hwmon/hwmon.c if (!ptr) ptr 817 drivers/hwmon/hwmon.c *ptr = hwdev; ptr 818 drivers/hwmon/hwmon.c devres_add(dev, ptr); ptr 822 drivers/hwmon/hwmon.c devres_free(ptr); ptr 844 drivers/hwmon/hwmon.c struct device **ptr, *hwdev; ptr 849 drivers/hwmon/hwmon.c ptr = devres_alloc(devm_hwmon_release, sizeof(*ptr), GFP_KERNEL); ptr 850 drivers/hwmon/hwmon.c if (!ptr) ptr 858 drivers/hwmon/hwmon.c *ptr = hwdev; ptr 859 drivers/hwmon/hwmon.c devres_add(dev, ptr); ptr 864 drivers/hwmon/hwmon.c devres_free(ptr); ptr 932 drivers/hwmon/lm93.c u8 *ptr; ptr 994 drivers/hwmon/lm93.c for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) ptr 995 drivers/hwmon/lm93.c lm93_write_byte(client, LM93_REG_HOST_ERROR_1 + i, *(ptr + i)); ptr 1035 drivers/hwmon/lm93.c u8 *ptr; ptr 1080 drivers/hwmon/lm93.c for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) { ptr 1081 drivers/hwmon/lm93.c *(ptr + i) = ptr 134 drivers/hwmon/xgene-hwmon.c u32 *ptr = (void *)(generic_comm_base + 1); ptr 157 drivers/hwmon/xgene-hwmon.c WRITE_ONCE(ptr[i], cpu_to_le32(msg[i])); ptr 617 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock_device **ptr; ptr 620 drivers/hwspinlock/hwspinlock_core.c ptr = devres_alloc(devm_hwspin_lock_unreg, sizeof(*ptr), GFP_KERNEL); ptr 621 drivers/hwspinlock/hwspinlock_core.c if (!ptr) ptr 626 drivers/hwspinlock/hwspinlock_core.c *ptr = bank; ptr 627 drivers/hwspinlock/hwspinlock_core.c devres_add(dev, ptr); ptr 629 drivers/hwspinlock/hwspinlock_core.c devres_free(ptr); ptr 898 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock **ptr, *hwlock; ptr 900 drivers/hwspinlock/hwspinlock_core.c ptr = devres_alloc(devm_hwspin_lock_release, sizeof(*ptr), GFP_KERNEL); ptr 901 drivers/hwspinlock/hwspinlock_core.c if (!ptr) ptr 906 drivers/hwspinlock/hwspinlock_core.c *ptr = hwlock; ptr 907 drivers/hwspinlock/hwspinlock_core.c devres_add(dev, ptr); ptr 909 drivers/hwspinlock/hwspinlock_core.c devres_free(ptr); ptr 934 drivers/hwspinlock/hwspinlock_core.c struct hwspinlock **ptr, *hwlock; ptr 936 drivers/hwspinlock/hwspinlock_core.c ptr = devres_alloc(devm_hwspin_lock_release, sizeof(*ptr), GFP_KERNEL); ptr 937 drivers/hwspinlock/hwspinlock_core.c if (!ptr) ptr 942 drivers/hwspinlock/hwspinlock_core.c *ptr = hwlock; ptr 943 drivers/hwspinlock/hwspinlock_core.c devres_add(dev, ptr); ptr 945 drivers/hwspinlock/hwspinlock_core.c devres_free(ptr); ptr 121 drivers/hwtracing/coresight/coresight-catu.c void *ptr; ptr 136 drivers/hwtracing/coresight/coresight-catu.c ptr = page_address(table_pages->pages[pg_idx]); ptr 137 drivers/hwtracing/coresight/coresight-catu.c return (cate_t *)((unsigned long)ptr + pg_offset); ptr 645 drivers/hwtracing/coresight/coresight-platform.c struct coresight_connection *conns, *ptr; ptr 665 drivers/hwtracing/coresight/coresight-platform.c ptr = conns; ptr 670 drivers/hwtracing/coresight/coresight-platform.c dir = acpi_coresight_parse_link(adev, link, ptr); ptr 676 drivers/hwtracing/coresight/coresight-platform.c ptr++; ptr 432 drivers/hwtracing/coresight/coresight-tmc-etr.c sgte_t *ptr; ptr 437 drivers/hwtracing/coresight/coresight-tmc-etr.c ptr = (sgte_t *)tmc_sg_daddr_to_vaddr(sg_table, ptr 439 drivers/hwtracing/coresight/coresight-tmc-etr.c while (ptr) { ptr 440 drivers/hwtracing/coresight/coresight-tmc-etr.c addr = ETR_SG_ADDR(*ptr); ptr 441 drivers/hwtracing/coresight/coresight-tmc-etr.c switch (ETR_SG_ET(*ptr)) { ptr 444 drivers/hwtracing/coresight/coresight-tmc-etr.c "%05d: %p\t:[N] 0x%llx\n", i, ptr, addr); ptr 445 drivers/hwtracing/coresight/coresight-tmc-etr.c ptr++; ptr 450 drivers/hwtracing/coresight/coresight-tmc-etr.c i, ptr, addr); ptr 451 drivers/hwtracing/coresight/coresight-tmc-etr.c ptr = (sgte_t *)tmc_sg_daddr_to_vaddr(sg_table, ptr 457 drivers/hwtracing/coresight/coresight-tmc-etr.c i, ptr, addr); ptr 462 drivers/hwtracing/coresight/coresight-tmc-etr.c i, ptr, addr); ptr 489 drivers/hwtracing/coresight/coresight-tmc-etr.c sgte_t *ptr; /* pointer to the table entry to fill */ ptr 498 drivers/hwtracing/coresight/coresight-tmc-etr.c ptr = sg_table->table_vaddr; ptr 530 drivers/hwtracing/coresight/coresight-tmc-etr.c *ptr++ = ETR_SG_ENTRY(paddr, type); ptr 543 drivers/hwtracing/coresight/coresight-tmc-etr.c *ptr++ = ETR_SG_ENTRY(paddr, ETR_SG_ET_LAST); ptr 199 drivers/i2c/busses/i2c-cadence.c static irqreturn_t cdns_i2c_isr(int irq, void *ptr) ptr 204 drivers/i2c/busses/i2c-cadence.c struct cdns_i2c *id = ptr; ptr 240 drivers/i2c/busses/i2c-pmcmsp.c static irqreturn_t pmcmsptwi_interrupt(int irq, void *ptr) ptr 242 drivers/i2c/busses/i2c-pmcmsp.c struct pmcmsptwi_data *data = ptr; ptr 623 drivers/i2c/busses/i2c-rcar.c static irqreturn_t rcar_i2c_irq(int irq, void *ptr) ptr 625 drivers/i2c/busses/i2c-rcar.c struct rcar_i2c_priv *priv = ptr; ptr 112 drivers/i2c/busses/i2c-sh7760.c static irqreturn_t sh7760_i2c_irq(int irq, void *ptr) ptr 114 drivers/i2c/busses/i2c-sh7760.c struct cami2c *id = ptr; ptr 181 drivers/i2c/busses/i2c-xgene-slimpro.c u32 *ptr = (void *)(generic_comm_base + 1); ptr 197 drivers/i2c/busses/i2c-xgene-slimpro.c WRITE_ONCE(ptr[i], cpu_to_le32(msg[i])); ptr 74 drivers/i2c/busses/scx200_acb.c u8 *ptr; ptr 185 drivers/i2c/busses/scx200_acb.c *iface->ptr++ = inb(ACBSDA); ptr 198 drivers/i2c/busses/scx200_acb.c outb(*iface->ptr++, ACBSDA); ptr 325 drivers/i2c/busses/scx200_acb.c iface->ptr = buffer; ptr 343 drivers/i3c/master.c unsigned long *ptr; ptr 348 drivers/i3c/master.c ptr = bus->addrslots + (bitpos / BITS_PER_LONG); ptr 349 drivers/i3c/master.c *ptr &= ~((unsigned long)I3C_ADDR_SLOT_STATUS_MASK << ptr 351 drivers/i3c/master.c *ptr |= (unsigned long)status << (bitpos % BITS_PER_LONG); ptr 78 drivers/ide/tx4938ide.c unsigned short *ptr = buf; ptr 82 drivers/ide/tx4938ide.c *ptr++ = cpu_to_le16(__raw_readw((void __iomem *)port)); ptr 90 drivers/ide/tx4938ide.c unsigned short *ptr = buf; ptr 94 drivers/ide/tx4938ide.c __raw_writew(le16_to_cpu(*ptr), (void __iomem *)port); ptr 95 drivers/ide/tx4938ide.c ptr++; ptr 451 drivers/ide/tx4939ide.c unsigned short *ptr = buf; ptr 455 drivers/ide/tx4939ide.c *ptr++ = cpu_to_le16(__raw_readw((void __iomem *)port)); ptr 463 drivers/ide/tx4939ide.c unsigned short *ptr = buf; ptr 467 drivers/ide/tx4939ide.c __raw_writew(le16_to_cpu(*ptr), (void __iomem *)port); ptr 468 drivers/ide/tx4939ide.c ptr++; ptr 827 drivers/iio/adc/stm32-dfsdm-adc.c s32 *ptr = buffer; ptr 831 drivers/iio/adc/stm32-dfsdm-adc.c *ptr &= 0xFFFFFF00; ptr 833 drivers/iio/adc/stm32-dfsdm-adc.c if (*ptr > flo->max) ptr 834 drivers/iio/adc/stm32-dfsdm-adc.c *ptr -= 1; ptr 839 drivers/iio/adc/stm32-dfsdm-adc.c *ptr <<= flo->lshift; ptr 841 drivers/iio/adc/stm32-dfsdm-adc.c ptr++; ptr 170 drivers/iio/buffer/industrialio-hw-consumer.c struct iio_hw_consumer **ptr, *iio_hwc; ptr 172 drivers/iio/buffer/industrialio-hw-consumer.c ptr = devres_alloc(devm_iio_hw_consumer_release, sizeof(*ptr), ptr 174 drivers/iio/buffer/industrialio-hw-consumer.c if (!ptr) ptr 179 drivers/iio/buffer/industrialio-hw-consumer.c devres_free(ptr); ptr 181 drivers/iio/buffer/industrialio-hw-consumer.c *ptr = iio_hwc; ptr 182 drivers/iio/buffer/industrialio-hw-consumer.c devres_add(dev, ptr); ptr 109 drivers/iio/buffer/industrialio-triggered-buffer.c struct iio_dev **ptr; ptr 112 drivers/iio/buffer/industrialio-triggered-buffer.c ptr = devres_alloc(devm_iio_triggered_buffer_clean, sizeof(*ptr), ptr 114 drivers/iio/buffer/industrialio-triggered-buffer.c if (!ptr) ptr 117 drivers/iio/buffer/industrialio-triggered-buffer.c *ptr = indio_dev; ptr 121 drivers/iio/buffer/industrialio-triggered-buffer.c devres_add(dev, ptr); ptr 123 drivers/iio/buffer/industrialio-triggered-buffer.c devres_free(ptr); ptr 202 drivers/iio/buffer/kfifo_buf.c struct iio_buffer **ptr, *r; ptr 204 drivers/iio/buffer/kfifo_buf.c ptr = devres_alloc(devm_iio_kfifo_release, sizeof(*ptr), GFP_KERNEL); ptr 205 drivers/iio/buffer/kfifo_buf.c if (!ptr) ptr 210 drivers/iio/buffer/kfifo_buf.c *ptr = r; ptr 211 drivers/iio/buffer/kfifo_buf.c devres_add(dev, ptr); ptr 213 drivers/iio/buffer/kfifo_buf.c devres_free(ptr); ptr 1507 drivers/iio/industrialio-core.c struct iio_dev **ptr, *iio_dev; ptr 1509 drivers/iio/industrialio-core.c ptr = devres_alloc(devm_iio_device_release, sizeof(*ptr), ptr 1511 drivers/iio/industrialio-core.c if (!ptr) ptr 1516 drivers/iio/industrialio-core.c *ptr = iio_dev; ptr 1517 drivers/iio/industrialio-core.c devres_add(dev, ptr); ptr 1519 drivers/iio/industrialio-core.c devres_free(ptr); ptr 1743 drivers/iio/industrialio-core.c struct iio_dev **ptr; ptr 1746 drivers/iio/industrialio-core.c ptr = devres_alloc(devm_iio_device_unreg, sizeof(*ptr), GFP_KERNEL); ptr 1747 drivers/iio/industrialio-core.c if (!ptr) ptr 1750 drivers/iio/industrialio-core.c *ptr = indio_dev; ptr 1753 drivers/iio/industrialio-core.c devres_add(dev, ptr); ptr 1755 drivers/iio/industrialio-core.c devres_free(ptr); ptr 620 drivers/iio/industrialio-trigger.c struct iio_trigger **ptr, *trig; ptr 623 drivers/iio/industrialio-trigger.c ptr = devres_alloc(devm_iio_trigger_release, sizeof(*ptr), ptr 625 drivers/iio/industrialio-trigger.c if (!ptr) ptr 633 drivers/iio/industrialio-trigger.c *ptr = trig; ptr 634 drivers/iio/industrialio-trigger.c devres_add(dev, ptr); ptr 636 drivers/iio/industrialio-trigger.c devres_free(ptr); ptr 686 drivers/iio/industrialio-trigger.c struct iio_trigger **ptr; ptr 689 drivers/iio/industrialio-trigger.c ptr = devres_alloc(devm_iio_trigger_unreg, sizeof(*ptr), GFP_KERNEL); ptr 690 drivers/iio/industrialio-trigger.c if (!ptr) ptr 693 drivers/iio/industrialio-trigger.c *ptr = trig_info; ptr 696 drivers/iio/industrialio-trigger.c devres_add(dev, ptr); ptr 698 drivers/iio/industrialio-trigger.c devres_free(ptr); ptr 378 drivers/iio/inkern.c struct iio_channel **ptr, *channel; ptr 380 drivers/iio/inkern.c ptr = devres_alloc(devm_iio_channel_free, sizeof(*ptr), GFP_KERNEL); ptr 381 drivers/iio/inkern.c if (!ptr) ptr 386 drivers/iio/inkern.c devres_free(ptr); ptr 390 drivers/iio/inkern.c *ptr = channel; ptr 391 drivers/iio/inkern.c devres_add(dev, ptr); ptr 498 drivers/iio/inkern.c struct iio_channel **ptr, *channels; ptr 500 drivers/iio/inkern.c ptr = devres_alloc(devm_iio_channel_free_all, sizeof(*ptr), GFP_KERNEL); ptr 501 drivers/iio/inkern.c if (!ptr) ptr 506 drivers/iio/inkern.c devres_free(ptr); ptr 510 drivers/iio/inkern.c *ptr = channels; ptr 511 drivers/iio/inkern.c devres_add(dev, ptr); ptr 131 drivers/iio/temperature/tsys01.c char *ptr = buf; ptr 140 drivers/iio/temperature/tsys01.c ret = sprintf(ptr, "0x%04x ", dev_data->prom[i]); ptr 141 drivers/iio/temperature/tsys01.c ptr += ret; ptr 148 drivers/iio/temperature/tsys01.c *ptr = 0; ptr 4532 drivers/infiniband/core/cma.c void *ptr) ptr 4534 drivers/infiniband/core/cma.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 2539 drivers/infiniband/core/device.c #define SET_DEVICE_OP(ptr, name) \ ptr 2542 drivers/infiniband/core/device.c if (!((ptr)->name)) \ ptr 2543 drivers/infiniband/core/device.c (ptr)->name = ops->name; \ ptr 2546 drivers/infiniband/core/device.c #define SET_OBJ_SIZE(ptr, name) SET_DEVICE_OP(ptr, size_##name) ptr 735 drivers/infiniband/core/roce_gid_mgmt.c void *ptr) ptr 751 drivers/infiniband/core/roce_gid_mgmt.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 782 drivers/infiniband/core/roce_gid_mgmt.c container_of(ptr, struct netdev_notifier_changeupper_info, info), ptr 855 drivers/infiniband/core/roce_gid_mgmt.c void *ptr) ptr 859 drivers/infiniband/core/roce_gid_mgmt.c struct in_ifaddr *ifa = ptr; ptr 869 drivers/infiniband/core/roce_gid_mgmt.c void *ptr) ptr 873 drivers/infiniband/core/roce_gid_mgmt.c struct inet6_ifaddr *ifa6 = ptr; ptr 274 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len > val_spec->u.ptr.len && ptr 276 drivers/infiniband/core/uverbs_ioctl.c !uverbs_is_attr_cleared(uattr, val_spec->u.ptr.len)) ptr 281 drivers/infiniband/core/uverbs_ioctl.c if (uattr->len < val_spec->u.ptr.min_len || ptr 283 drivers/infiniband/core/uverbs_ioctl.c uattr->len > val_spec->u.ptr.len)) ptr 300 drivers/infiniband/core/uverbs_ioctl.c e->ptr_attr.ptr = p; ptr 177 drivers/infiniband/hw/bnxt_re/bnxt_re.h #define to_bnxt_re_dev(ptr, member) \ ptr 178 drivers/infiniband/hw/bnxt_re/bnxt_re.h container_of((ptr), struct bnxt_re_dev, member) ptr 1610 drivers/infiniband/hw/bnxt_re/main.c unsigned long event, void *ptr) ptr 1612 drivers/infiniband/hw/bnxt_re/main.c struct net_device *real_dev, *netdev = netdev_notifier_info_to_dev(ptr); ptr 232 drivers/infiniband/hw/bnxt_re/qplib_res.h #define to_bnxt_qplib(ptr, type, member) \ ptr 233 drivers/infiniband/hw/bnxt_re/qplib_res.h container_of(ptr, type, member) ptr 350 drivers/infiniband/hw/cxgb3/cxio_hal.c u32 ptr; ptr 358 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr = wq->rq_rptr + count; ptr 359 drivers/infiniband/hw/cxgb3/cxio_hal.c while (ptr++ != wq->rq_wptr) { ptr 389 drivers/infiniband/hw/cxgb3/cxio_hal.c __u32 ptr = wq->sq_rptr + count; ptr 391 drivers/infiniband/hw/cxgb3/cxio_hal.c struct t3_swsq *sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); ptr 393 drivers/infiniband/hw/cxgb3/cxio_hal.c while (ptr != wq->sq_wptr) { ptr 396 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr++; ptr 397 drivers/infiniband/hw/cxgb3/cxio_hal.c sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); ptr 445 drivers/infiniband/hw/cxgb3/cxio_hal.c u32 ptr; ptr 448 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr = cq->sw_rptr; ptr 449 drivers/infiniband/hw/cxgb3/cxio_hal.c while (!Q_EMPTY(ptr, cq->sw_wptr)) { ptr 450 drivers/infiniband/hw/cxgb3/cxio_hal.c cqe = cq->sw_queue + (Q_PTR2IDX(ptr, cq->size_log2)); ptr 455 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr++; ptr 463 drivers/infiniband/hw/cxgb3/cxio_hal.c u32 ptr; ptr 467 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr = cq->sw_rptr; ptr 468 drivers/infiniband/hw/cxgb3/cxio_hal.c while (!Q_EMPTY(ptr, cq->sw_wptr)) { ptr 469 drivers/infiniband/hw/cxgb3/cxio_hal.c cqe = cq->sw_queue + (Q_PTR2IDX(ptr, cq->size_log2)); ptr 473 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr++; ptr 1045 drivers/infiniband/hw/cxgb3/cxio_hal.c __u32 ptr = wq->sq_rptr; ptr 1048 drivers/infiniband/hw/cxgb3/cxio_hal.c sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); ptr 1051 drivers/infiniband/hw/cxgb3/cxio_hal.c ptr++; ptr 1052 drivers/infiniband/hw/cxgb3/cxio_hal.c sqp = wq->sq + Q_PTR2IDX(ptr, wq->sq_size_log2); ptr 1059 drivers/infiniband/hw/cxgb3/cxio_hal.c __func__, Q_PTR2IDX(ptr, wq->sq_size_log2), ptr 49 drivers/infiniband/hw/cxgb3/cxio_wr.h #define Q_GENBIT(ptr,size_log2) (!(((ptr)>>size_log2)&0x1)) ptr 52 drivers/infiniband/hw/cxgb3/cxio_wr.h #define Q_PTR2IDX(ptr,size_log2) (ptr & ((1UL<<size_log2)-1)) ptr 728 drivers/infiniband/hw/cxgb3/cxio_wr.h #define CQ_VLD_ENTRY(ptr,size_log2,cqe) (Q_GENBIT(ptr,size_log2) == \ ptr 446 drivers/infiniband/hw/cxgb4/cq.c u32 ptr; ptr 450 drivers/infiniband/hw/cxgb4/cq.c ptr = cq->sw_cidx; ptr 451 drivers/infiniband/hw/cxgb4/cq.c while (ptr != cq->sw_pidx) { ptr 452 drivers/infiniband/hw/cxgb4/cq.c cqe = &cq->sw_queue[ptr]; ptr 456 drivers/infiniband/hw/cxgb4/cq.c if (++ptr == cq->size) ptr 457 drivers/infiniband/hw/cxgb4/cq.c ptr = 0; ptr 137 drivers/infiniband/hw/hfi1/fault.c char *data, *token, *ptr, *end; ptr 152 drivers/infiniband/hw/hfi1/fault.c ptr = data; ptr 153 drivers/infiniband/hw/hfi1/fault.c token = ptr; ptr 154 drivers/infiniband/hw/hfi1/fault.c for (ptr = data; *ptr; ptr = end + 1, token = ptr) { ptr 160 drivers/infiniband/hw/hfi1/fault.c end = strchr(ptr, ','); ptr 785 drivers/infiniband/hw/hfi1/firmware.c u64 *ptr = (u64 *)data; ptr 787 drivers/infiniband/hw/hfi1/firmware.c for (i = 0; i < qw_size; i++, ptr++) ptr 788 drivers/infiniband/hw/hfi1/firmware.c write_csr(dd, what + (8 * i), *ptr); ptr 807 drivers/infiniband/hw/hfi1/firmware.c u64 *ptr = (u64 *)data; ptr 810 drivers/infiniband/hw/hfi1/firmware.c for (; qw_size > 0; qw_size--, ptr++) ptr 811 drivers/infiniband/hw/hfi1/firmware.c write_csr(dd, what, *ptr); ptr 1773 drivers/infiniband/hw/hfi1/firmware.c u32 *ptr = NULL; ptr 1791 drivers/infiniband/hw/hfi1/firmware.c ptr = (u32 *)dd->platform_config.data; ptr 1793 drivers/infiniband/hw/hfi1/firmware.c magic_num = *ptr; ptr 1794 drivers/infiniband/hw/hfi1/firmware.c ptr++; ptr 1801 drivers/infiniband/hw/hfi1/firmware.c file_length = (*ptr) * 4; ptr 1814 drivers/infiniband/hw/hfi1/firmware.c ptr++; ptr 1833 drivers/infiniband/hw/hfi1/firmware.c while (ptr < (u32 *)(dd->platform_config.data + file_length)) { ptr 1834 drivers/infiniband/hw/hfi1/firmware.c header1 = *ptr; ptr 1835 drivers/infiniband/hw/hfi1/firmware.c header2 = *(ptr + 1); ptr 1838 drivers/infiniband/hw/hfi1/firmware.c __func__, (ptr - (u32 *) ptr 1843 drivers/infiniband/hw/hfi1/firmware.c record_idx = *ptr & ptr 1846 drivers/infiniband/hw/hfi1/firmware.c table_length_dwords = (*ptr >> ptr 1850 drivers/infiniband/hw/hfi1/firmware.c table_type = (*ptr >> PLATFORM_CONFIG_HEADER_TABLE_TYPE_SHIFT) & ptr 1854 drivers/infiniband/hw/hfi1/firmware.c ptr += 2; ptr 1862 drivers/infiniband/hw/hfi1/firmware.c ret = check_meta_version(dd, ptr); ptr 1884 drivers/infiniband/hw/hfi1/firmware.c (ptr - (u32 *) ptr 1888 drivers/infiniband/hw/hfi1/firmware.c pcfgcache->config_tables[table_type].table = ptr; ptr 1908 drivers/infiniband/hw/hfi1/firmware.c (ptr - ptr 1913 drivers/infiniband/hw/hfi1/firmware.c ptr; ptr 1917 drivers/infiniband/hw/hfi1/firmware.c crc = crc32_le(~(u32)0, (unsigned char const *)ptr, ptr 1922 drivers/infiniband/hw/hfi1/firmware.c ptr += table_length_dwords; ptr 1923 drivers/infiniband/hw/hfi1/firmware.c if (crc != *ptr) { ptr 1925 drivers/infiniband/hw/hfi1/firmware.c __func__, (ptr - ptr 1930 drivers/infiniband/hw/hfi1/firmware.c ptr++; ptr 237 drivers/infiniband/hw/hfi1/mmu_rb.c struct mmu_rb_node *rbnode, *ptr; ptr 245 drivers/infiniband/hw/hfi1/mmu_rb.c list_for_each_entry_safe_reverse(rbnode, ptr, &handler->lru_list, ptr 291 drivers/infiniband/hw/hfi1/mmu_rb.c struct mmu_rb_node *node, *ptr = NULL; ptr 297 drivers/infiniband/hw/hfi1/mmu_rb.c node; node = ptr) { ptr 299 drivers/infiniband/hw/hfi1/mmu_rb.c ptr = __mmu_int_rb_iter_next(node, range->start, ptr 1097 drivers/infiniband/hw/hfi1/sdma.c static void sdma_rht_free(void *ptr, void *arg) ptr 1099 drivers/infiniband/hw/hfi1/sdma.c struct sdma_rht_node *rht_node = ptr; ptr 3778 drivers/infiniband/hw/hfi1/tid_rdma.c struct tid_rdma_request *ptr; ptr 3781 drivers/infiniband/hw/hfi1/tid_rdma.c ptr = ack_to_tid_req(e); ptr 3784 drivers/infiniband/hw/hfi1/tid_rdma.c ptr->comp_seg == ptr->total_segs) { ptr 411 drivers/infiniband/hw/hfi1/user_exp_rcv.c struct tid_group *grp, *ptr; ptr 430 drivers/infiniband/hw/hfi1/user_exp_rcv.c list_for_each_entry_safe(grp, ptr, &uctxt->tid_used_list.list, ptr 880 drivers/infiniband/hw/hfi1/user_exp_rcv.c struct tid_group *grp, *ptr; ptr 883 drivers/infiniband/hw/hfi1/user_exp_rcv.c list_for_each_entry_safe(grp, ptr, &set->list, list) { ptr 139 drivers/infiniband/hw/hns/hns_roce_main.c unsigned long event, void *ptr) ptr 141 drivers/infiniband/hw/hns/hns_roce_main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 591 drivers/infiniband/hw/i40iw/i40iw.h void *ptr); ptr 594 drivers/infiniband/hw/i40iw/i40iw.h void *ptr); ptr 597 drivers/infiniband/hw/i40iw/i40iw.h void *ptr); ptr 600 drivers/infiniband/hw/i40iw/i40iw.h void *ptr); ptr 147 drivers/infiniband/hw/i40iw/i40iw_utils.c void *ptr) ptr 149 drivers/infiniband/hw/i40iw/i40iw_utils.c struct in_ifaddr *ifa = ptr; ptr 224 drivers/infiniband/hw/i40iw/i40iw_utils.c void *ptr) ptr 226 drivers/infiniband/hw/i40iw/i40iw_utils.c struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; ptr 274 drivers/infiniband/hw/i40iw/i40iw_utils.c int i40iw_net_event(struct notifier_block *notifier, unsigned long event, void *ptr) ptr 276 drivers/infiniband/hw/i40iw/i40iw_utils.c struct neighbour *neigh = ptr; ptr 321 drivers/infiniband/hw/i40iw/i40iw_utils.c void *ptr) ptr 328 drivers/infiniband/hw/i40iw/i40iw_utils.c event_netdev = netdev_notifier_info_to_dev(ptr); ptr 2387 drivers/infiniband/hw/mlx4/main.c unsigned long event, void *ptr) ptr 2389 drivers/infiniband/hw/mlx4/main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 147 drivers/infiniband/hw/mlx4/mr.c static inline u64 alignment_of(u64 ptr) ptr 149 drivers/infiniband/hw/mlx4/mr.c return ilog2(ptr & (~(ptr - 1))); ptr 48 drivers/infiniband/hw/mlx5/flow.c .u.ptr = { ptr 189 drivers/infiniband/hw/mlx5/main.c unsigned long event, void *ptr) ptr 192 drivers/infiniband/hw/mlx5/main.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 206 drivers/infiniband/hw/mthca/mthca_cmd.c void __iomem *ptr = dev->cmd.dbell_map; ptr 209 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]); ptr 211 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]); ptr 213 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]); ptr 215 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); ptr 217 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); ptr 219 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]); ptr 224 drivers/infiniband/hw/mthca/mthca_cmd.c op), ptr + offs[6]); ptr 226 drivers/infiniband/hw/mthca/mthca_cmd.c __raw_writel((__force u32) 0, ptr + offs[7]); ptr 51 drivers/infiniband/hw/mthca/mthca_doorbell.h #define MTHCA_INIT_DOORBELL_LOCK(ptr) do { } while (0) ptr 52 drivers/infiniband/hw/mthca/mthca_doorbell.h #define MTHCA_GET_DOORBELL_LOCK(ptr) (NULL) ptr 79 drivers/infiniband/hw/mthca/mthca_doorbell.h #define MTHCA_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) ptr 80 drivers/infiniband/hw/mthca/mthca_doorbell.h #define MTHCA_GET_DOORBELL_LOCK(ptr) (ptr) ptr 999 drivers/infiniband/hw/ocrdma/ocrdma_hw.c struct ocrdma_eqe *ptr; ptr 1005 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ptr = ocrdma_get_eqe(eq); ptr 1006 drivers/infiniband/hw/ocrdma/ocrdma_hw.c eqe = *ptr; ptr 1016 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ptr->id_valid = 0; ptr 75 drivers/infiniband/hw/usnic/usnic_debugfs.c char *ptr; ptr 79 drivers/infiniband/hw/usnic/usnic_debugfs.c ptr = buf; ptr 86 drivers/infiniband/hw/usnic/usnic_debugfs.c n = scnprintf(ptr, left, ptr 90 drivers/infiniband/hw/usnic/usnic_debugfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 92 drivers/infiniband/hw/usnic/usnic_debugfs.c n = scnprintf(ptr, left, "Port_Num:%hu\n", ptr 94 drivers/infiniband/hw/usnic/usnic_debugfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 96 drivers/infiniband/hw/usnic/usnic_debugfs.c n = usnic_transport_sock_to_str(ptr, left, ptr 98 drivers/infiniband/hw/usnic/usnic_debugfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 99 drivers/infiniband/hw/usnic/usnic_debugfs.c n = scnprintf(ptr, left, "\n"); ptr 100 drivers/infiniband/hw/usnic/usnic_debugfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 104 drivers/infiniband/hw/usnic/usnic_debugfs.c return simple_read_from_buffer(data, count, ppos, buf, ptr - buf); ptr 222 drivers/infiniband/hw/usnic/usnic_ib_main.c unsigned long event, void *ptr) ptr 227 drivers/infiniband/hw/usnic/usnic_ib_main.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 246 drivers/infiniband/hw/usnic/usnic_ib_main.c unsigned long event, void *ptr) ptr 248 drivers/infiniband/hw/usnic/usnic_ib_main.c struct in_ifaddr *ifa = ptr; ptr 285 drivers/infiniband/hw/usnic/usnic_ib_main.c unsigned long event, void *ptr) ptr 288 drivers/infiniband/hw/usnic/usnic_ib_main.c struct in_ifaddr *ifa = ptr; ptr 297 drivers/infiniband/hw/usnic/usnic_ib_main.c usnic_ib_handle_inet_event(us_ibdev, event, ptr); ptr 72 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c char *ptr; ptr 78 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c ptr = buf; ptr 93 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, ptr 102 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 109 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, " %d %s%s", ptr 114 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 116 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, "\n"); ptr 117 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 119 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, "%s: no VFs\n", ptr 121 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 125 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c return ptr - buf; ptr 227 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c char *ptr; ptr 232 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c ptr = buf; ptr 234 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, ptr 240 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 246 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, "%s[%d] ", ptr 249 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 253 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c n = scnprintf(ptr, left, "\n"); ptr 254 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c UPDATE_PTR_LEFT(n, ptr, left); ptr 256 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c return ptr - buf; ptr 762 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c unsigned long event, void *ptr) ptr 764 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c struct net_device *event_netdev = netdev_notifier_info_to_dev(ptr); ptr 113 drivers/infiniband/ulp/ipoib/ipoib_main.c unsigned long event, void *ptr) ptr 115 drivers/infiniband/ulp/ipoib/ipoib_main.c struct netdev_notifier_info *ni = ptr; ptr 205 drivers/input/keyboard/hil_kbd.c static void hil_dev_handle_ptr_events(struct hil_dev *ptr) ptr 207 drivers/input/keyboard/hil_kbd.c struct input_dev *dev = ptr->dev; ptr 208 drivers/input/keyboard/hil_kbd.c int idx = ptr->idx4 / 4; ptr 209 drivers/input/keyboard/hil_kbd.c hil_packet p = ptr->data[idx - 1]; ptr 222 drivers/input/keyboard/hil_kbd.c ax16 = ptr->idd[1] & HIL_IDD_HEADER_16BIT; /* 8 or 16bit resolution */ ptr 223 drivers/input/keyboard/hil_kbd.c absdev = ptr->idd[1] & HIL_IDD_HEADER_ABS; ptr 228 drivers/input/keyboard/hil_kbd.c lo = ptr->data[cnt++] & HIL_PKT_DATA_MASK; ptr 229 drivers/input/keyboard/hil_kbd.c hi = ax16 ? (ptr->data[cnt++] & HIL_PKT_DATA_MASK) : 0; ptr 251 drivers/input/keyboard/hil_kbd.c unsigned int btn = ptr->data[cnt++]; ptr 260 drivers/input/keyboard/hil_kbd.c btn = ptr->btnmap[btn]; ptr 353 drivers/input/keyboard/hil_kbd.c static void hil_dev_pointer_setup(struct hil_dev *ptr) ptr 355 drivers/input/keyboard/hil_kbd.c struct input_dev *input_dev = ptr->dev; ptr 356 drivers/input/keyboard/hil_kbd.c uint8_t did = ptr->idd[0]; ptr 357 drivers/input/keyboard/hil_kbd.c uint8_t *idd = ptr->idd + 1; ptr 362 drivers/input/keyboard/hil_kbd.c ptr->naxes = HIL_IDD_NUM_AXES_PER_SET(*idd); ptr 368 drivers/input/keyboard/hil_kbd.c for (i = 0; i < ptr->naxes; i++) ptr 371 drivers/input/keyboard/hil_kbd.c for (i = 3; naxsets > 1 && i < ptr->naxes + 3; i++) ptr 380 drivers/input/keyboard/hil_kbd.c for (i = 0; i < ptr->naxes; i++) ptr 384 drivers/input/keyboard/hil_kbd.c for (i = 3; naxsets > 1 && i < ptr->naxes + 3; i++) ptr 405 drivers/input/keyboard/hil_kbd.c ptr->nbtn = HIL_IDD_NUM_BUTTONS(idd); ptr 406 drivers/input/keyboard/hil_kbd.c if (ptr->nbtn) ptr 422 drivers/input/keyboard/hil_kbd.c for (i = 0; i < ptr->nbtn; i++) { ptr 424 drivers/input/keyboard/hil_kbd.c ptr->btnmap[i] = btntype | i; ptr 429 drivers/input/keyboard/hil_kbd.c ptr->btnmap[1] = BTN_MIDDLE; ptr 430 drivers/input/keyboard/hil_kbd.c ptr->btnmap[2] = BTN_RIGHT; ptr 433 drivers/input/keyboard/hil_kbd.c input_dev->name = strlen(ptr->rnm) ? ptr->rnm : "HIL pointer device"; ptr 440 drivers/input/keyboard/hil_kbd.c ptr->nbtn, naxsets, ptr->naxes); ptr 103 drivers/input/keyboard/hilkbd.c unsigned int ptr; ptr 139 drivers/input/keyboard/hilkbd.c hil_dev.ptr = 0; ptr 148 drivers/input/keyboard/hilkbd.c hil_dev.data[hil_dev.ptr++] = c; ptr 149 drivers/input/keyboard/hilkbd.c hil_dev.ptr &= 15; ptr 84 drivers/input/keyboard/maple_keyb.c void *ptr; ptr 96 drivers/input/keyboard/maple_keyb.c ptr = memchr(kbd->new + 2, kbd->old[i], 6); ptr 98 drivers/input/keyboard/maple_keyb.c if (code > 3 && ptr == NULL) { ptr 108 drivers/input/keyboard/maple_keyb.c ptr = memchr(kbd->old + 2, kbd->new[i], 6); ptr 110 drivers/input/keyboard/maple_keyb.c if (code > 3 && ptr) { ptr 37 drivers/input/misc/xen-kbdfront.c struct input_dev *ptr; ptr 66 drivers/input/misc/xen-kbdfront.c if (unlikely(!info->ptr)) ptr 69 drivers/input/misc/xen-kbdfront.c input_report_rel(info->ptr, REL_X, motion->rel_x); ptr 70 drivers/input/misc/xen-kbdfront.c input_report_rel(info->ptr, REL_Y, motion->rel_y); ptr 72 drivers/input/misc/xen-kbdfront.c input_report_rel(info->ptr, REL_WHEEL, -motion->rel_z); ptr 73 drivers/input/misc/xen-kbdfront.c input_sync(info->ptr); ptr 79 drivers/input/misc/xen-kbdfront.c if (unlikely(!info->ptr)) ptr 82 drivers/input/misc/xen-kbdfront.c input_report_abs(info->ptr, ABS_X, pos->abs_x); ptr 83 drivers/input/misc/xen-kbdfront.c input_report_abs(info->ptr, ABS_Y, pos->abs_y); ptr 85 drivers/input/misc/xen-kbdfront.c input_report_rel(info->ptr, REL_WHEEL, -pos->rel_z); ptr 86 drivers/input/misc/xen-kbdfront.c input_sync(info->ptr); ptr 95 drivers/input/misc/xen-kbdfront.c if (test_bit(key->keycode, info->ptr->keybit)) { ptr 96 drivers/input/misc/xen-kbdfront.c dev = info->ptr; ptr 206 drivers/input/misc/xen-kbdfront.c struct input_dev *kbd, *ptr, *mtouch; ptr 294 drivers/input/misc/xen-kbdfront.c ptr = input_allocate_device(); ptr 295 drivers/input/misc/xen-kbdfront.c if (!ptr) ptr 297 drivers/input/misc/xen-kbdfront.c ptr->name = "Xen Virtual Pointer"; ptr 298 drivers/input/misc/xen-kbdfront.c ptr->phys = info->phys; ptr 299 drivers/input/misc/xen-kbdfront.c ptr->id.bustype = BUS_PCI; ptr 300 drivers/input/misc/xen-kbdfront.c ptr->id.vendor = 0x5853; ptr 301 drivers/input/misc/xen-kbdfront.c ptr->id.product = 0xfffe; ptr 304 drivers/input/misc/xen-kbdfront.c __set_bit(EV_ABS, ptr->evbit); ptr 305 drivers/input/misc/xen-kbdfront.c input_set_abs_params(ptr, ABS_X, 0, ptr 307 drivers/input/misc/xen-kbdfront.c input_set_abs_params(ptr, ABS_Y, 0, ptr 310 drivers/input/misc/xen-kbdfront.c input_set_capability(ptr, EV_REL, REL_X); ptr 311 drivers/input/misc/xen-kbdfront.c input_set_capability(ptr, EV_REL, REL_Y); ptr 313 drivers/input/misc/xen-kbdfront.c input_set_capability(ptr, EV_REL, REL_WHEEL); ptr 315 drivers/input/misc/xen-kbdfront.c __set_bit(EV_KEY, ptr->evbit); ptr 317 drivers/input/misc/xen-kbdfront.c __set_bit(i, ptr->keybit); ptr 319 drivers/input/misc/xen-kbdfront.c ret = input_register_device(ptr); ptr 321 drivers/input/misc/xen-kbdfront.c input_free_device(ptr); ptr 326 drivers/input/misc/xen-kbdfront.c info->ptr = ptr; ptr 414 drivers/input/misc/xen-kbdfront.c if (info->ptr) ptr 415 drivers/input/misc/xen-kbdfront.c input_unregister_device(info->ptr); ptr 43 drivers/input/mouse/pc110pad.c static irqreturn_t pc110pad_interrupt(int irq, void *ptr) ptr 294 drivers/input/rmi4/rmi_f54.c u16 *ptr; ptr 333 drivers/input/rmi4/rmi_f54.c ptr = vb2_plane_vaddr(vb, 0); ptr 334 drivers/input/rmi4/rmi_f54.c if (!ptr) { ptr 340 drivers/input/rmi4/rmi_f54.c memcpy(ptr, f54->report_data, f54->report_size); ptr 1265 drivers/input/touchscreen/atmel_mxt_ts.c u8 *ptr = base + start_off; ptr 1271 drivers/input/touchscreen/atmel_mxt_ts.c while (ptr < last_val) { ptr 1272 drivers/input/touchscreen/atmel_mxt_ts.c mxt_calc_crc24(&crc, *ptr, *(ptr + 1)); ptr 1273 drivers/input/touchscreen/atmel_mxt_ts.c ptr += 2; ptr 1277 drivers/input/touchscreen/atmel_mxt_ts.c if (ptr == last_val) ptr 1278 drivers/input/touchscreen/atmel_mxt_ts.c mxt_calc_crc24(&crc, *ptr, 0); ptr 2352 drivers/input/touchscreen/atmel_mxt_ts.c u16 *ptr; ptr 2356 drivers/input/touchscreen/atmel_mxt_ts.c ptr = vb2_plane_vaddr(vb, 0); ptr 2357 drivers/input/touchscreen/atmel_mxt_ts.c if (!ptr) { ptr 2373 drivers/input/touchscreen/atmel_mxt_ts.c ret = mxt_read_diagnostic_debug(data, mode, ptr); ptr 1827 drivers/iommu/amd_iommu.c u64 *ptr; ptr 1834 drivers/iommu/amd_iommu.c ptr = iommu_phys_to_virt(tbl[i] & PAGE_MASK); ptr 1836 drivers/iommu/amd_iommu.c free_page((unsigned long)ptr); ptr 1842 drivers/iommu/amd_iommu.c u64 *ptr; ptr 1849 drivers/iommu/amd_iommu.c ptr = iommu_phys_to_virt(tbl[i] & PAGE_MASK); ptr 1851 drivers/iommu/amd_iommu.c free_gcr3_tbl_level1(ptr); ptr 4049 drivers/iommu/amd_iommu.c struct irte_ga *ptr = (struct irte_ga *)table->table; ptr 4050 drivers/iommu/amd_iommu.c struct irte_ga *irte = &ptr[index]; ptr 4059 drivers/iommu/amd_iommu.c union irte *ptr = (union irte *)table->table; ptr 4060 drivers/iommu/amd_iommu.c union irte *irte = &ptr[index]; ptr 4067 drivers/iommu/amd_iommu.c struct irte_ga *ptr = (struct irte_ga *)table->table; ptr 4068 drivers/iommu/amd_iommu.c struct irte_ga *irte = &ptr[index]; ptr 4080 drivers/iommu/amd_iommu.c struct irte_ga *ptr = (struct irte_ga *)table->table; ptr 4081 drivers/iommu/amd_iommu.c struct irte_ga *irte = &ptr[index]; ptr 157 drivers/iommu/amd_iommu_v2.c struct pasid_state **root, **ptr; ptr 166 drivers/iommu/amd_iommu_v2.c ptr = &root[index]; ptr 171 drivers/iommu/amd_iommu_v2.c if (*ptr == NULL) { ptr 175 drivers/iommu/amd_iommu_v2.c *ptr = (void *)get_zeroed_page(GFP_ATOMIC); ptr 176 drivers/iommu/amd_iommu_v2.c if (*ptr == NULL) ptr 180 drivers/iommu/amd_iommu_v2.c root = (struct pasid_state **)*ptr; ptr 184 drivers/iommu/amd_iommu_v2.c return ptr; ptr 191 drivers/iommu/amd_iommu_v2.c struct pasid_state **ptr; ptr 196 drivers/iommu/amd_iommu_v2.c ptr = __get_pasid_state_ptr(dev_state, pasid, true); ptr 199 drivers/iommu/amd_iommu_v2.c if (ptr == NULL) ptr 203 drivers/iommu/amd_iommu_v2.c if (*ptr != NULL) ptr 206 drivers/iommu/amd_iommu_v2.c *ptr = pasid_state; ptr 218 drivers/iommu/amd_iommu_v2.c struct pasid_state **ptr; ptr 222 drivers/iommu/amd_iommu_v2.c ptr = __get_pasid_state_ptr(dev_state, pasid, true); ptr 224 drivers/iommu/amd_iommu_v2.c if (ptr == NULL) ptr 227 drivers/iommu/amd_iommu_v2.c *ptr = NULL; ptr 236 drivers/iommu/amd_iommu_v2.c struct pasid_state **ptr, *ret = NULL; ptr 240 drivers/iommu/amd_iommu_v2.c ptr = __get_pasid_state_ptr(dev_state, pasid, false); ptr 242 drivers/iommu/amd_iommu_v2.c if (ptr == NULL) ptr 245 drivers/iommu/amd_iommu_v2.c ret = *ptr; ptr 309 drivers/iommu/amd_iommu_v2.c struct pasid_state **ptr; ptr 316 drivers/iommu/amd_iommu_v2.c ptr = (struct pasid_state **)tbl[i]; ptr 317 drivers/iommu/amd_iommu_v2.c free_pasid_states_level1(ptr); ptr 1108 drivers/iommu/arm-smmu-v3.c atomic_long_t *ptr; ptr 1114 drivers/iommu/arm-smmu-v3.c ptr = &cmdq->valid_map[swidx]; ptr 1128 drivers/iommu/arm-smmu-v3.c atomic_long_xor(mask, ptr); ptr 1133 drivers/iommu/arm-smmu-v3.c atomic_long_cond_read_relaxed(ptr, (VAL & mask) == valid); ptr 31 drivers/iommu/intel-pasid.c int intel_pasid_alloc_id(void *ptr, int start, int end, gfp_t gfp) ptr 41 drivers/iommu/intel-pasid.c ret = idr_alloc(&pasid_idr, ptr, min, max, GFP_ATOMIC); ptr 285 drivers/iommu/intel-pasid.c static inline void pasid_set_bits(u64 *ptr, u64 mask, u64 bits) ptr 289 drivers/iommu/intel-pasid.c old = READ_ONCE(*ptr); ptr 290 drivers/iommu/intel-pasid.c WRITE_ONCE(*ptr, (old & ~mask) | bits); ptr 79 drivers/iommu/intel-pasid.h int intel_pasid_alloc_id(void *ptr, int start, int end, gfp_t gfp); ptr 680 drivers/irqchip/irq-gic-v3-its.c struct its_cmd_block *ptr) ptr 682 drivers/irqchip/irq-gic-v3-its.c return (ptr - its->cmd_base) * sizeof(*ptr); ptr 2546 drivers/irqchip/irq-gic-v3-its.c info->scratchpad[0].ptr = its_dev; ptr 2582 drivers/irqchip/irq-gic-v3-its.c struct its_device *its_dev = info->scratchpad[0].ptr; ptr 771 drivers/irqchip/irq-gic-v3.c void __iomem *ptr = gic_data.redist_regions[i].redist_base; ptr 775 drivers/irqchip/irq-gic-v3.c reg = readl_relaxed(ptr + GICR_PIDR2) & GIC_PIDR2_ARCH_MASK; ptr 778 drivers/irqchip/irq-gic-v3.c pr_warn("No redistributor present @%p\n", ptr); ptr 783 drivers/irqchip/irq-gic-v3.c typer = gic_read_typer(ptr + GICR_TYPER); ptr 784 drivers/irqchip/irq-gic-v3.c ret = fn(gic_data.redist_regions + i, ptr); ptr 792 drivers/irqchip/irq-gic-v3.c ptr += gic_data.redist_stride; ptr 794 drivers/irqchip/irq-gic-v3.c ptr += SZ_64K * 2; /* Skip RD_base + SGI_base */ ptr 796 drivers/irqchip/irq-gic-v3.c ptr += SZ_64K * 2; /* Skip VLPI_base + reserved page */ ptr 804 drivers/irqchip/irq-gic-v3.c static int __gic_populate_rdist(struct redist_region *region, void __iomem *ptr) ptr 819 drivers/irqchip/irq-gic-v3.c typer = gic_read_typer(ptr + GICR_TYPER); ptr 821 drivers/irqchip/irq-gic-v3.c u64 offset = ptr - region->redist_base; ptr 822 drivers/irqchip/irq-gic-v3.c gic_data_rdist_rd_base() = ptr; ptr 849 drivers/irqchip/irq-gic-v3.c void __iomem *ptr) ptr 851 drivers/irqchip/irq-gic-v3.c u64 typer = gic_read_typer(ptr + GICR_TYPER); ptr 665 drivers/irqchip/irq-gic.c u32 *ptr; ptr 678 drivers/irqchip/irq-gic.c ptr = raw_cpu_ptr(gic->saved_ppi_enable); ptr 680 drivers/irqchip/irq-gic.c ptr[i] = readl_relaxed(dist_base + GIC_DIST_ENABLE_SET + i * 4); ptr 682 drivers/irqchip/irq-gic.c ptr = raw_cpu_ptr(gic->saved_ppi_active); ptr 684 drivers/irqchip/irq-gic.c ptr[i] = readl_relaxed(dist_base + GIC_DIST_ACTIVE_SET + i * 4); ptr 686 drivers/irqchip/irq-gic.c ptr = raw_cpu_ptr(gic->saved_ppi_conf); ptr 688 drivers/irqchip/irq-gic.c ptr[i] = readl_relaxed(dist_base + GIC_DIST_CONFIG + i * 4); ptr 695 drivers/irqchip/irq-gic.c u32 *ptr; ptr 708 drivers/irqchip/irq-gic.c ptr = raw_cpu_ptr(gic->saved_ppi_enable); ptr 712 drivers/irqchip/irq-gic.c writel_relaxed(ptr[i], dist_base + GIC_DIST_ENABLE_SET + i * 4); ptr 715 drivers/irqchip/irq-gic.c ptr = raw_cpu_ptr(gic->saved_ppi_active); ptr 719 drivers/irqchip/irq-gic.c writel_relaxed(ptr[i], dist_base + GIC_DIST_ACTIVE_SET + i * 4); ptr 722 drivers/irqchip/irq-gic.c ptr = raw_cpu_ptr(gic->saved_ppi_conf); ptr 724 drivers/irqchip/irq-gic.c writel_relaxed(ptr[i], dist_base + GIC_DIST_CONFIG + i * 4); ptr 392 drivers/isdn/hardware/mISDN/avmfritz.c u32 *ptr; ptr 411 drivers/isdn/hardware/mISDN/avmfritz.c ptr = (u32 *)p; ptr 423 drivers/isdn/hardware/mISDN/avmfritz.c put_unaligned(val, ptr); ptr 424 drivers/isdn/hardware/mISDN/avmfritz.c ptr++; ptr 443 drivers/isdn/hardware/mISDN/avmfritz.c u32 *ptr, val, addr; ptr 468 drivers/isdn/hardware/mISDN/avmfritz.c ptr = (u32 *)p; ptr 488 drivers/isdn/hardware/mISDN/avmfritz.c outl(*ptr, addr); ptr 493 drivers/isdn/hardware/mISDN/avmfritz.c val = get_unaligned(ptr); ptr 495 drivers/isdn/hardware/mISDN/avmfritz.c ptr++; ptr 395 drivers/isdn/hardware/mISDN/hfcpci.c u_char *ptr, *ptr1, new_f2; ptr 423 drivers/isdn/hardware/mISDN/hfcpci.c ptr = skb_put(bch->rx_skb, count); ptr 433 drivers/isdn/hardware/mISDN/hfcpci.c memcpy(ptr, ptr1, maxlen); /* copy data */ ptr 437 drivers/isdn/hardware/mISDN/hfcpci.c ptr += maxlen; ptr 439 drivers/isdn/hardware/mISDN/hfcpci.c memcpy(ptr, ptr1, count); /* rest */ ptr 457 drivers/isdn/hardware/mISDN/hfcpci.c u_char *ptr, *ptr1; ptr 501 drivers/isdn/hardware/mISDN/hfcpci.c ptr = skb_put(dch->rx_skb, rcnt); ptr 511 drivers/isdn/hardware/mISDN/hfcpci.c memcpy(ptr, ptr1, maxlen); /* copy data */ ptr 515 drivers/isdn/hardware/mISDN/hfcpci.c ptr += maxlen; ptr 517 drivers/isdn/hardware/mISDN/hfcpci.c memcpy(ptr, ptr1, rcnt); /* rest */ ptr 538 drivers/isdn/hardware/mISDN/hfcpci.c u_char *ptr, *ptr1; ptr 572 drivers/isdn/hardware/mISDN/hfcpci.c ptr = skb_put(bch->rx_skb, fcnt_rx); ptr 581 drivers/isdn/hardware/mISDN/hfcpci.c memcpy(ptr, ptr1, maxlen); /* copy data */ ptr 585 drivers/isdn/hardware/mISDN/hfcpci.c ptr += maxlen; ptr 587 drivers/isdn/hardware/mISDN/hfcpci.c memcpy(ptr, ptr1, fcnt_rx); /* rest */ ptr 106 drivers/isdn/hardware/mISDN/mISDNipac.c u8 *ptr; ptr 124 drivers/isdn/hardware/mISDN/mISDNipac.c ptr = skb_put(isac->dch.rx_skb, count); ptr 125 drivers/isdn/hardware/mISDN/mISDNipac.c isac->read_fifo(isac->dch.hw, isac->off, ptr, count); ptr 132 drivers/isdn/hardware/mISDN/mISDNipac.c print_hex_dump_bytes(pfx, DUMP_PREFIX_OFFSET, ptr, count); ptr 140 drivers/isdn/hardware/mISDN/mISDNipac.c u8 *ptr; ptr 154 drivers/isdn/hardware/mISDN/mISDNipac.c ptr = isac->dch.tx_skb->data + isac->dch.tx_idx; ptr 156 drivers/isdn/hardware/mISDN/mISDNipac.c isac->write_fifo(isac->dch.hw, isac->off, ptr, count); ptr 169 drivers/isdn/hardware/mISDN/mISDNipac.c print_hex_dump_bytes(pfx, DUMP_PREFIX_OFFSET, ptr, count); ptr 411 drivers/isdn/hardware/mISDN/mISDNisar.c u8 *ptr; ptr 466 drivers/isdn/hardware/mISDN/mISDNisar.c ptr = skb_put(ch->bch.rx_skb, ch->is->clsb); ptr 467 drivers/isdn/hardware/mISDN/mISDNisar.c rcv_mbox(ch->is, ptr); ptr 542 drivers/isdn/hardware/mISDN/mISDNisar.c ptr = skb_put(ch->bch.rx_skb, ch->is->clsb); ptr 543 drivers/isdn/hardware/mISDN/mISDNisar.c rcv_mbox(ch->is, ptr); ptr 578 drivers/isdn/hardware/mISDN/mISDNisar.c u8 *ptr; ptr 605 drivers/isdn/hardware/mISDN/mISDNisar.c ptr = ch->bch.tx_skb->data + ch->bch.tx_idx; ptr 611 drivers/isdn/hardware/mISDN/mISDNisar.c if ((ptr[0] == 0xff) && (ptr[1] == 0x13)) { ptr 634 drivers/isdn/hardware/mISDN/mISDNisar.c 0, count, ptr); ptr 638 drivers/isdn/hardware/mISDN/mISDNisar.c msb, count, ptr); ptr 645 drivers/isdn/hardware/mISDN/mISDNisar.c msb, count, ptr); ptr 648 drivers/isdn/hardware/mISDN/mISDNisar.c 0, count, ptr); ptr 245 drivers/isdn/hardware/mISDN/w6692.c u8 *ptr; ptr 262 drivers/isdn/hardware/mISDN/w6692.c ptr = skb_put(dch->rx_skb, count); ptr 263 drivers/isdn/hardware/mISDN/w6692.c insb(card->addr + W_D_RFIFO, ptr, count); ptr 268 drivers/isdn/hardware/mISDN/w6692.c print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count); ptr 277 drivers/isdn/hardware/mISDN/w6692.c u8 *ptr; ptr 290 drivers/isdn/hardware/mISDN/w6692.c ptr = dch->tx_skb->data + dch->tx_idx; ptr 292 drivers/isdn/hardware/mISDN/w6692.c outsb(card->addr + W_D_XFIFO, ptr, count); ptr 303 drivers/isdn/hardware/mISDN/w6692.c print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count); ptr 448 drivers/isdn/hardware/mISDN/w6692.c u8 *ptr; ptr 473 drivers/isdn/hardware/mISDN/w6692.c ptr = skb_put(wch->bch.rx_skb, count); ptr 474 drivers/isdn/hardware/mISDN/w6692.c insb(wch->addr + W_B_RFIFO, ptr, count); ptr 479 drivers/isdn/hardware/mISDN/w6692.c print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count); ptr 488 drivers/isdn/hardware/mISDN/w6692.c u8 *ptr, cmd = W_B_CMDR_RACT | W_B_CMDR_XMS; ptr 494 drivers/isdn/hardware/mISDN/w6692.c ptr = wch->bch.fill; ptr 501 drivers/isdn/hardware/mISDN/w6692.c ptr = wch->bch.tx_skb->data + wch->bch.tx_idx; ptr 513 drivers/isdn/hardware/mISDN/w6692.c outsb(wch->addr + W_B_XFIFO, ptr, MISDN_BCH_FILL_SIZE); ptr 517 drivers/isdn/hardware/mISDN/w6692.c outsb(wch->addr + W_B_XFIFO, ptr, count); ptr 523 drivers/isdn/hardware/mISDN/w6692.c print_hex_dump_bytes(card->log, DUMP_PREFIX_OFFSET, ptr, count); ptr 393 drivers/isdn/mISDN/layer2.c u_char *ptr = header; ptr 399 drivers/isdn/mISDN/layer2.c *ptr++ = (l2->sapi << 2) | (crbit ? 2 : 0); ptr 400 drivers/isdn/mISDN/layer2.c *ptr++ = (l2->tei << 1) | 1; ptr 406 drivers/isdn/mISDN/layer2.c *ptr++ = l2->addr.B; ptr 408 drivers/isdn/mISDN/layer2.c *ptr++ = l2->addr.A; ptr 123 drivers/macintosh/windfarm_fcu_controls.c const unsigned char *ptr, int nb) ptr 129 drivers/macintosh/windfarm_fcu_controls.c memcpy(buf+1, ptr, nb); ptr 176 drivers/mailbox/bcm-pdc-mailbox.c u32 ptr; /* last descriptor posted to chip */ ptr 792 drivers/mailbox/bcm-pdc-mailbox.c iowrite32(pdcs->rxout << 4, &pdcs->rxregs_64->ptr); ptr 793 drivers/mailbox/bcm-pdc-mailbox.c iowrite32(pdcs->txout << 4, &pdcs->txregs_64->ptr); ptr 1034 drivers/mailbox/bcm-pdc-mailbox.c iowrite32(0, &dma_reg->dmaxmt.ptr); ptr 1035 drivers/mailbox/bcm-pdc-mailbox.c iowrite32(0, &dma_reg->dmarcv.ptr); ptr 1319 drivers/mailbox/bcm-pdc-mailbox.c iowrite32(0, &dma_reg->dmaxmt.ptr); ptr 1320 drivers/mailbox/bcm-pdc-mailbox.c iowrite32(0, &dma_reg->dmarcv.ptr); ptr 167 drivers/mailbox/mailbox-test.c char *touser, *ptr; ptr 207 drivers/mailbox/mailbox-test.c ptr = tdev->rx_buffer; ptr 209 drivers/mailbox/mailbox-test.c hex_dump_to_buffer(ptr, ptr 214 drivers/mailbox/mailbox-test.c ptr += MBOX_BYTES_PER_LINE; ptr 580 drivers/mailbox/mailbox.c struct mbox_controller **ptr; ptr 583 drivers/mailbox/mailbox.c ptr = devres_alloc(__devm_mbox_controller_unregister, sizeof(*ptr), ptr 585 drivers/mailbox/mailbox.c if (!ptr) ptr 590 drivers/mailbox/mailbox.c devres_free(ptr); ptr 594 drivers/mailbox/mailbox.c devres_add(dev, ptr); ptr 595 drivers/mailbox/mailbox.c *ptr = mbox; ptr 513 drivers/md/bcache/alloc.c k->ptr[i] = MAKE_PTR(ca->buckets[b].gen, ptr 661 drivers/md/bcache/alloc.c k->ptr[i] = b->key.ptr[i]; ptr 784 drivers/md/bcache/bcache.h unsigned int ptr) ptr 786 drivers/md/bcache/bcache.h return c->cache[PTR_DEV(k, ptr)]; ptr 791 drivers/md/bcache/bcache.h unsigned int ptr) ptr 793 drivers/md/bcache/bcache.h return sector_to_bucket(c, PTR_OFFSET(k, ptr)); ptr 798 drivers/md/bcache/bcache.h unsigned int ptr) ptr 800 drivers/md/bcache/bcache.h return PTR_CACHE(c, k, ptr)->buckets + PTR_BUCKET_NR(c, k, ptr); ptr 959 drivers/md/bcache/bcache.h struct bkey *k, unsigned int ptr); ptr 189 drivers/md/bcache/bset.c dest->ptr[0] = src->ptr[i]; ptr 100 drivers/md/bcache/btree.c (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0)) ptr 197 drivers/md/bcache/btree.c uint64_t crc = b->key.ptr[0]; ptr 589 drivers/md/bcache/btree.c b->key.ptr[0] = 0; ptr 2271 drivers/md/bcache/btree.c uint64_t btree_ptr = b->key.ptr[0]; ptr 2282 drivers/md/bcache/btree.c if (b->key.ptr[0] != btree_ptr || ptr 2290 drivers/md/bcache/btree.c get_random_bytes(&check_key->ptr[0], sizeof(uint64_t)); ptr 122 drivers/md/bcache/extents.c p(" cs%llu %llx", KEY_CSUM(k), k->ptr[1]); ptr 390 drivers/md/bcache/extents.c if (k->ptr[i] != replace_key->ptr[i] + offset) ptr 508 drivers/md/bcache/extents.c unsigned int ptr) ptr 510 drivers/md/bcache/extents.c struct bucket *g = PTR_BUCKET(b->c, k, ptr); ptr 532 drivers/md/bcache/extents.c buf, PTR_BUCKET_NR(b->c, k, ptr), atomic_read(&g->pin), ptr 577 drivers/md/bcache/extents.c return (l->ptr[KEY_PTRS(l)] + r->ptr[KEY_PTRS(r)]) & ptr 592 drivers/md/bcache/extents.c if (l->ptr[i] + MAKE_PTR(0, KEY_SIZE(l), 0) != r->ptr[i] || ptr 609 drivers/md/bcache/extents.c l->ptr[KEY_PTRS(l)] = merge_chksums(l, r); ptr 46 drivers/md/bcache/io.c struct bkey *k, unsigned int ptr) ptr 50 drivers/md/bcache/io.c bch_bkey_copy_single_ptr(&b->key, k, ptr); ptr 685 drivers/md/bcache/journal.c k->ptr[n++] = MAKE_PTR(0, ptr 53 drivers/md/bcache/request.c k->ptr[KEY_PTRS(k)] = csum & (~0ULL >> 1); ptr 529 drivers/md/bcache/request.c unsigned int ptr; ptr 554 drivers/md/bcache/request.c ptr = 0; ptr 556 drivers/md/bcache/request.c PTR_BUCKET(b->c, k, ptr)->prio = INITIAL_PRIO; ptr 566 drivers/md/bcache/request.c bch_bkey_copy_single_ptr(bio_key, k, ptr); ptr 264 drivers/md/bcache/util.h #define array_free(array, ptr) \ ptr 266 drivers/md/bcache/util.h typeof((array)->freelist) _ptr = ptr; \ ptr 464 drivers/md/bcache/util.h #define container_of_or_null(ptr, type, member) \ ptr 466 drivers/md/bcache/util.h typeof(ptr) _ptr = ptr; \ ptr 539 drivers/md/bcache/util.h #define RB_NEXT(ptr, member) \ ptr 540 drivers/md/bcache/util.h container_of_or_null(rb_next(&(ptr)->member), typeof(*ptr), member) ptr 542 drivers/md/bcache/util.h #define RB_PREV(ptr, member) \ ptr 543 drivers/md/bcache/util.h container_of_or_null(rb_prev(&(ptr)->member), typeof(*ptr), member) ptr 403 drivers/md/dm-bufio.c void *ptr = __vmalloc(c->block_size, gfp_mask, PAGE_KERNEL); ptr 406 drivers/md/dm-bufio.c return ptr; ptr 573 drivers/md/dm-bufio.c io_req.mem.ptr.addr = (char *)b->data + offset; ptr 576 drivers/md/dm-bufio.c io_req.mem.ptr.vma = (char *)b->data + offset; ptr 596 drivers/md/dm-bufio.c char *ptr; ptr 616 drivers/md/dm-bufio.c ptr = (char *)b->data + offset; ptr 620 drivers/md/dm-bufio.c unsigned this_step = min((unsigned)(PAGE_SIZE - offset_in_page(ptr)), len); ptr 621 drivers/md/dm-bufio.c if (!bio_add_page(bio, virt_to_page(ptr), this_step, ptr 622 drivers/md/dm-bufio.c offset_in_page(ptr))) { ptr 628 drivers/md/dm-bufio.c ptr += this_step; ptr 1313 drivers/md/dm-bufio.c .mem.ptr.addr = NULL, ptr 938 drivers/md/dm-crypt.c u8 *ptr = iv_of_dmreq(cc, dmreq) + cc->iv_size + cc->iv_size; ptr 939 drivers/md/dm-crypt.c return (__le64 *) ptr; ptr 945 drivers/md/dm-crypt.c u8 *ptr = iv_of_dmreq(cc, dmreq) + cc->iv_size + ptr 947 drivers/md/dm-crypt.c return (unsigned int*)ptr; ptr 1110 drivers/md/dm-era-target.c static int metadata_get_stats(struct era_metadata *md, void *ptr) ptr 1113 drivers/md/dm-era-target.c struct metadata_stats *s = ptr; ptr 482 drivers/md/dm-integrity.c io_req.mem.ptr.addr = ic->sb; ptr 956 drivers/md/dm-integrity.c io_req.mem.ptr.pl = &ic->journal_io[pl_index]; ptr 958 drivers/md/dm-integrity.c io_req.mem.ptr.pl = &ic->journal[pl_index]; ptr 1076 drivers/md/dm-integrity.c io_req.mem.ptr.pl = &ic->journal[pl_index]; ptr 2418 drivers/md/dm-integrity.c io_req.mem.ptr.addr = ic->recalc_buffer; ptr 502 drivers/md/dm-io.c list_dp_init(dp, io_req->mem.ptr.pl, io_req->mem.offset); ptr 506 drivers/md/dm-io.c bio_dp_init(dp, io_req->mem.ptr.bio); ptr 510 drivers/md/dm-io.c flush_kernel_vmap_range(io_req->mem.ptr.vma, size); ptr 512 drivers/md/dm-io.c dp->vma_invalidate_address = io_req->mem.ptr.vma; ptr 515 drivers/md/dm-io.c vm_dp_init(dp, io_req->mem.ptr.vma); ptr 519 drivers/md/dm-io.c km_dp_init(dp, io_req->mem.ptr.addr); ptr 484 drivers/md/dm-ioctl.c static inline void *align_ptr(void *ptr) ptr 486 drivers/md/dm-ioctl.c return (void *)align_val((size_t)ptr); ptr 557 drivers/md/dm-kcopyd.c .mem.ptr.pl = job->pages, ptr 217 drivers/md/dm-log-writes.c void *ptr; ptr 240 drivers/md/dm-log-writes.c ptr = kmap_atomic(page); ptr 241 drivers/md/dm-log-writes.c memcpy(ptr, entry, entrylen); ptr 243 drivers/md/dm-log-writes.c memcpy(ptr + entrylen, data, datalen); ptr 244 drivers/md/dm-log-writes.c memset(ptr + entrylen + datalen, 0, ptr 246 drivers/md/dm-log-writes.c kunmap_atomic(ptr); ptr 271 drivers/md/dm-log-writes.c void *ptr; ptr 302 drivers/md/dm-log-writes.c ptr = kmap_atomic(page); ptr 303 drivers/md/dm-log-writes.c memcpy(ptr, data, pg_datalen); ptr 305 drivers/md/dm-log-writes.c memset(ptr + pg_datalen, 0, pg_sectorlen - pg_datalen); ptr 306 drivers/md/dm-log-writes.c kunmap_atomic(ptr); ptr 477 drivers/md/dm-log.c lc->io_req.mem.ptr.vma = lc->disk_header; ptr 248 drivers/md/dm-mpath.c return info->ptr; ptr 266 drivers/md/dm-raid1.c .mem.ptr.addr = NULL, ptr 541 drivers/md/dm-raid1.c .mem.ptr.bio = bio, ptr 655 drivers/md/dm-raid1.c .mem.ptr.bio = bio, ptr 664 drivers/md/dm-raid1.c io_req.mem.ptr.addr = NULL; ptr 485 drivers/md/dm-rq.c tio->info.ptr = tio + 1; ptr 241 drivers/md/dm-snap-persistent.c .mem.ptr.vma = area, ptr 159 drivers/md/dm-stats.c static void dm_kvfree(void *ptr, size_t alloc_size) ptr 161 drivers/md/dm-stats.c if (!ptr) ptr 166 drivers/md/dm-stats.c kvfree(ptr); ptr 332 drivers/md/dm-writecache.c static void persistent_memory_flush_cache(void *ptr, size_t size) ptr 334 drivers/md/dm-writecache.c if (is_vmalloc_addr(ptr)) ptr 335 drivers/md/dm-writecache.c flush_kernel_vmap_range(ptr, size); ptr 338 drivers/md/dm-writecache.c static void persistent_memory_invalidate_cache(void *ptr, size_t size) ptr 340 drivers/md/dm-writecache.c if (is_vmalloc_addr(ptr)) ptr 341 drivers/md/dm-writecache.c invalidate_kernel_vmap_range(ptr, size); ptr 419 drivers/md/dm-writecache.c static void writecache_flush_region(struct dm_writecache *wc, void *ptr, size_t size) ptr 422 drivers/md/dm-writecache.c __set_bit(((char *)ptr - (char *)wc->memory_map) / BITMAP_GRANULARITY, ptr 484 drivers/md/dm-writecache.c req.mem.ptr.vma = (char *)wc->memory_map + (size_t)i * BITMAP_GRANULARITY; ptr 525 drivers/md/dm-writecache.c req.mem.ptr.addr = NULL; ptr 892 drivers/md/dm-writecache.c req.mem.ptr.vma = (char *)wc->memory_map; ptr 1343 drivers/md/dm-writecache.c static void writecache_copy_endio(int read_err, unsigned long write_err, void *ptr) ptr 1345 drivers/md/dm-writecache.c struct copy_struct *c = ptr; ptr 2340 drivers/md/dm.c void dm_set_mdptr(struct mapped_device *md, void *ptr) ptr 2342 drivers/md/dm.c md->interface_ptr = ptr; ptr 121 drivers/md/md-bitmap.c char *ptr; ptr 133 drivers/md/md-bitmap.c ptr = bitmap->bp[page].map; ptr 136 drivers/md/md-bitmap.c kfree(ptr); ptr 868 drivers/md/md-bitmap.c char *path, *ptr = NULL; ptr 876 drivers/md/md-bitmap.c ptr = file_path(bitmap->storage.file, ptr 880 drivers/md/md-bitmap.c bmname(bitmap), IS_ERR(ptr) ? "" : ptr); ptr 6425 drivers/md/md.c char *ptr; ptr 6436 drivers/md/md.c ptr = file_path(mddev->bitmap_info.file, file->pathname, ptr 6438 drivers/md/md.c if (IS_ERR(ptr)) ptr 6439 drivers/md/md.c err = PTR_ERR(ptr); ptr 6441 drivers/md/md.c memmove(file->pathname, ptr, ptr 6442 drivers/md/md.c sizeof(file->pathname)-(ptr-file->pathname)); ptr 238 drivers/media/common/saa7146/saa7146_core.c __le32 *ptr, fill; ptr 249 drivers/media/common/saa7146/saa7146_core.c ptr = pt->cpu; ptr 256 drivers/media/common/saa7146/saa7146_core.c for (p = 0; p * 4096 < list->length; p++, ptr++) { ptr 257 drivers/media/common/saa7146/saa7146_core.c *ptr = cpu_to_le32(sg_dma_address(list) + p * 4096); ptr 264 drivers/media/common/saa7146/saa7146_core.c fill = *(ptr-1); ptr 266 drivers/media/common/saa7146/saa7146_core.c *ptr++ = fill; ptr 913 drivers/media/common/siano/smscoreapi.c u32 i, *ptr; ptr 948 drivers/media/common/siano/smscoreapi.c for (i = 0, ptr = (u32 *)firmware->payload; i < firmware->length/4 ; ptr 949 drivers/media/common/siano/smscoreapi.c i++, ptr++) ptr 950 drivers/media/common/siano/smscoreapi.c calc_checksum += *ptr; ptr 576 drivers/media/common/siano/smscoreapi.h #define SMS_INIT_MSG_EX(ptr, type, src, dst, len) do { \ ptr 577 drivers/media/common/siano/smscoreapi.h (ptr)->msg_type = type; \ ptr 578 drivers/media/common/siano/smscoreapi.h (ptr)->msg_src_id = src; \ ptr 579 drivers/media/common/siano/smscoreapi.h (ptr)->msg_dst_id = dst; \ ptr 580 drivers/media/common/siano/smscoreapi.h (ptr)->msg_length = len; \ ptr 581 drivers/media/common/siano/smscoreapi.h (ptr)->msg_flags = 0; \ ptr 584 drivers/media/common/siano/smscoreapi.h #define SMS_INIT_MSG(ptr, type, len) \ ptr 585 drivers/media/common/siano/smscoreapi.h SMS_INIT_MSG_EX(ptr, type, 0, HIF_TASK, len) ptr 73 drivers/media/common/videobuf2/videobuf2-core.c void *ptr; \ ptr 76 drivers/media/common/videobuf2/videobuf2-core.c ptr = _q->mem_ops->op ? _q->mem_ops->op(args) : NULL; \ ptr 77 drivers/media/common/videobuf2/videobuf2-core.c if (!IS_ERR_OR_NULL(ptr)) \ ptr 79 drivers/media/common/videobuf2/videobuf2-core.c ptr; \ ptr 241 drivers/media/dvb-frontends/rtl2832_sdr.c void *ptr; ptr 254 drivers/media/dvb-frontends/rtl2832_sdr.c ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); ptr 255 drivers/media/dvb-frontends/rtl2832_sdr.c len = rtl2832_sdr_convert_stream(dev, ptr, urb->transfer_buffer, ptr 327 drivers/media/dvb-frontends/stb6100.c const struct stb6100_lkup *ptr; ptr 366 drivers/media/dvb-frontends/stb6100.c for (ptr = lkup; ptr 367 drivers/media/dvb-frontends/stb6100.c (ptr->val_high != 0) && !CHKRANGE(frequency, ptr->val_low, ptr->val_high); ptr 368 drivers/media/dvb-frontends/stb6100.c ptr++); ptr 370 drivers/media/dvb-frontends/stb6100.c if (ptr->val_high == 0) { ptr 374 drivers/media/dvb-frontends/stb6100.c regs[STB6100_VCO] = (regs[STB6100_VCO] & ~STB6100_VCO_OSM) | ptr->reg; ptr 437 drivers/media/dvb-frontends/stb6100.c ptr->reg, fvco, nint, nfrac); ptr 513 drivers/media/i2c/adv7511-v4l2.c static u8 hdmi_infoframe_checksum(u8 *ptr, size_t size) ptr 520 drivers/media/i2c/adv7511-v4l2.c csum += ptr[i]; ptr 100 drivers/media/i2c/cx25840/cx25840-firmware.c const u8 *ptr; ptr 127 drivers/media/i2c/cx25840/cx25840-firmware.c ptr = fw->data; ptr 131 drivers/media/i2c/cx25840/cx25840-firmware.c memcpy(buffer + 2, ptr, len); ptr 141 drivers/media/i2c/cx25840/cx25840-firmware.c ptr += len; ptr 363 drivers/media/i2c/et8ek8/et8ek8_driver.c struct et8ek8_reglist **next = &meta->reglist[0].ptr; ptr 391 drivers/media/i2c/et8ek8/et8ek8_driver.c return &meta->reglist[0].ptr; ptr 516 drivers/media/i2c/et8ek8/et8ek8_driver.c while (meta->reglist[nlists].ptr) ptr 522 drivers/media/i2c/et8ek8/et8ek8_driver.c sort(&meta->reglist[0].ptr, nlists, sizeof(meta->reglist[0].ptr), ptr 531 drivers/media/i2c/et8ek8/et8ek8_driver.c list = meta->reglist[nlists].ptr; ptr 541 drivers/media/i2c/et8ek8/et8ek8_driver.c (void *)meta->reglist[nlists].ptr); ptr 1085 drivers/media/i2c/et8ek8/et8ek8_driver.c u8 *ptr = sensor->priv_mem; ptr 1144 drivers/media/i2c/et8ek8/et8ek8_driver.c memcpy(ptr, buffer, bytes); ptr 1148 drivers/media/i2c/et8ek8/et8ek8_driver.c ptr += bytes; ptr 568 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode1_poweron_mode2_16vga_2592x1968_12_07fps }, ptr 569 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode1_16vga_2592x1968_13_12fps_dpcm10_8 }, ptr 570 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode3_4vga_1296x984_29_99fps_dpcm10_8 }, ptr 571 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode4_svga_864x656_29_88fps }, ptr 572 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode5_vga_648x492_29_93fps }, ptr 573 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode2_16vga_2592x1968_3_99fps }, ptr 574 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode_648x492_5fps }, ptr 575 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode3_4vga_1296x984_5fps }, ptr 576 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = &mode_4vga_1296x984_25fps_dpcm10_8 }, ptr 577 drivers/media/i2c/et8ek8/et8ek8_mode.c { .ptr = NULL } ptr 82 drivers/media/i2c/et8ek8/et8ek8_reg.h struct et8ek8_reglist *ptr; ptr 328 drivers/media/i2c/s5k4ecgx.c const u8 *ptr; ptr 355 drivers/media/i2c/s5k4ecgx.c ptr = fw->data + FW_RECORD_SIZE; ptr 357 drivers/media/i2c/s5k4ecgx.c addr = get_unaligned_le32(ptr); ptr 358 drivers/media/i2c/s5k4ecgx.c ptr += sizeof(u32); ptr 359 drivers/media/i2c/s5k4ecgx.c val = get_unaligned_le16(ptr); ptr 360 drivers/media/i2c/s5k4ecgx.c ptr += sizeof(u16); ptr 152 drivers/media/i2c/saa7110.c const unsigned char *ptr = modes[chan]; ptr 154 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x06, ptr[0]); /* Luminance control */ ptr 155 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x20, ptr[1]); /* Analog Control #1 */ ptr 156 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x21, ptr[2]); /* Analog Control #2 */ ptr 157 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x22, ptr[3]); /* Mixer Control #1 */ ptr 158 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x2C, ptr[4]); /* Mixer Control #2 */ ptr 159 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x30, ptr[5]); /* ADCs gain control */ ptr 160 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x31, ptr[6]); /* Mixer Control #3 */ ptr 161 drivers/media/i2c/saa7110.c saa7110_write(sd, 0x21, ptr[7]); /* Analog Control #2 */ ptr 485 drivers/media/pci/cobalt/cobalt-alsa-pcm.c size_t ptr; ptr 487 drivers/media/pci/cobalt/cobalt-alsa-pcm.c ptr = cobsc->pb_pos; ptr 489 drivers/media/pci/cobalt/cobalt-alsa-pcm.c return bytes_to_frames(substream->runtime, ptr) % ptr 69 drivers/media/pci/cx18/cx18-av-firmware.c const u8 *ptr; ptr 92 drivers/media/pci/cx18/cx18-av-firmware.c ptr = fw->data; ptr 96 drivers/media/pci/cx18/cx18-av-firmware.c u32 dl_control = 0x0F000000 | i | ((u32)ptr[i] << 16); ptr 1909 drivers/media/pci/intel/ipu3/ipu3-cio2.c static void arrange(void *ptr, size_t elem_size, size_t elems, size_t start) ptr 1932 drivers/media/pci/intel/ipu3/ipu3-cio2.c u8 *d = ptr + elem_size * (arr[1].begin + i); ptr 1933 drivers/media/pci/intel/ipu3/ipu3-cio2.c u8 *s = ptr + elem_size * (arr[0].begin + i); ptr 483 drivers/media/pci/ngene/ngene-core.c u32 *ptr = Buffer; ptr 488 drivers/media/pci/ngene/ngene-core.c *ptr = 0x471FFF10; ptr 490 drivers/media/pci/ngene/ngene-core.c *ptr = 0x10FF1F47; ptr 491 drivers/media/pci/ngene/ngene-core.c ptr += (188 / 4); ptr 239 drivers/media/pci/saa7134/saa7134-core.c __le32 *ptr; ptr 244 drivers/media/pci/saa7134/saa7134-core.c ptr = pt->cpu + startpage; ptr 246 drivers/media/pci/saa7134/saa7134-core.c for (p = 0; p * 4096 < list->length; p++, ptr++) ptr 247 drivers/media/pci/saa7134/saa7134-core.c *ptr = cpu_to_le32(sg_dma_address(list) + ptr 1442 drivers/media/pci/ttpci/av7110.c unsigned char *ptr; ptr 1445 drivers/media/pci/ttpci/av7110.c ptr = av7110->bin_fw; ptr 1446 drivers/media/pci/ttpci/av7110.c if (ptr[0] != 'A' || ptr[1] != 'V' || ptr 1447 drivers/media/pci/ttpci/av7110.c ptr[2] != 'F' || ptr[3] != 'W') { ptr 1451 drivers/media/pci/ttpci/av7110.c ptr += 4; ptr 1454 drivers/media/pci/ttpci/av7110.c crc = get_unaligned_be32(ptr); ptr 1455 drivers/media/pci/ttpci/av7110.c ptr += 4; ptr 1456 drivers/media/pci/ttpci/av7110.c len = get_unaligned_be32(ptr); ptr 1457 drivers/media/pci/ttpci/av7110.c ptr += 4; ptr 1462 drivers/media/pci/ttpci/av7110.c if (crc != crc32_le(0, ptr, len)) { ptr 1466 drivers/media/pci/ttpci/av7110.c av7110->bin_dpram = ptr; ptr 1468 drivers/media/pci/ttpci/av7110.c ptr += len; ptr 1471 drivers/media/pci/ttpci/av7110.c crc = get_unaligned_be32(ptr); ptr 1472 drivers/media/pci/ttpci/av7110.c ptr += 4; ptr 1473 drivers/media/pci/ttpci/av7110.c len = get_unaligned_be32(ptr); ptr 1474 drivers/media/pci/ttpci/av7110.c ptr += 4; ptr 1477 drivers/media/pci/ttpci/av7110.c len > ((av7110->bin_fw + av7110->size_fw) - ptr)) { ptr 1481 drivers/media/pci/ttpci/av7110.c if( crc != crc32_le(0, ptr, len)) { ptr 1485 drivers/media/pci/ttpci/av7110.c av7110->bin_root = ptr; ptr 27 drivers/media/pci/tw5864/tw5864-h264.c u8 *ptr; /* pointer to current byte in buffer */ ptr 34 drivers/media/pci/tw5864/tw5864-h264.c s->ptr = buf; ptr 35 drivers/media/pci/tw5864/tw5864-h264.c s->buf_end = s->ptr + size; ptr 41 drivers/media/pci/tw5864/tw5864-h264.c return s->ptr - s->buf; ptr 46 drivers/media/pci/tw5864/tw5864-h264.c if (s->ptr >= s->buf_end - 4) ptr 52 drivers/media/pci/tw5864/tw5864-h264.c *s->ptr = (*s->ptr << count) | bits; ptr 56 drivers/media/pci/tw5864/tw5864-h264.c *s->ptr = (*s->ptr << s->bits_left) | ptr 59 drivers/media/pci/tw5864/tw5864-h264.c s->ptr++; ptr 66 drivers/media/pci/tw5864/tw5864-h264.c if (s->ptr < s->buf_end) { ptr 67 drivers/media/pci/tw5864/tw5864-h264.c *s->ptr <<= 1; ptr 68 drivers/media/pci/tw5864/tw5864-h264.c *s->ptr |= bit; ptr 71 drivers/media/pci/tw5864/tw5864-h264.c s->ptr++; ptr 187 drivers/media/pci/tw5864/tw5864-h264.c *tail = ((s->ptr[0]) << s->bits_left); ptr 76 drivers/media/pci/tw686x/tw686x-audio.c ac->ptr = done->dma - ac->buf[0].dma; ptr 206 drivers/media/pci/tw686x/tw686x-audio.c ac->ptr = 0; ptr 266 drivers/media/pci/tw686x/tw686x-audio.c return bytes_to_frames(ss->runtime, ac->ptr); ptr 71 drivers/media/pci/tw686x/tw686x.h dma_addr_t ptr; ptr 296 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static void mtk_jpeg_dec_set_bs_write_ptr(void __iomem *base, u32 ptr) ptr 298 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c mtk_jpeg_verify_align(ptr, 16, JPGDEC_REG_FILE_BRP); ptr 299 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c writel(ptr, base + JPGDEC_REG_FILE_BRP); ptr 211 drivers/media/platform/qcom/venus/core.h #define to_venus_buffer(ptr) container_of(ptr, struct venus_buffer, vb) ptr 82 drivers/media/platform/qcom/venus/hfi_venus.c #define IFACEQ_GET_QHDR_START_ADDR(ptr, i) \ ptr 83 drivers/media/platform/qcom/venus/hfi_venus.c (void *)(((ptr) + sizeof(struct hfi_queue_table_header)) + \ ptr 1140 drivers/media/platform/sti/bdisp/bdisp-v4l2.c static void bdisp_irq_timeout(struct work_struct *ptr) ptr 1142 drivers/media/platform/sti/bdisp/bdisp-v4l2.c struct delayed_work *twork = to_delayed_work(ptr); ptr 257 drivers/media/platform/vimc/vimc-scaler.c static void vimc_sca_fill_pix(u8 *const ptr, ptr 265 drivers/media/platform/vimc/vimc-scaler.c ptr[i] = pixel[i]; ptr 496 drivers/media/radio/radio-wl1273.c __u8 *ptr; ptr 511 drivers/media/radio/radio-wl1273.c ptr = (__u8 *) fw_p->data; ptr 512 drivers/media/radio/radio-wl1273.c packet_num = ptr[0]; ptr 515 drivers/media/radio/radio-wl1273.c r = wl1273_fm_write_fw(core, ptr + 1, packet_num); ptr 267 drivers/media/rc/serial_ir.c static unsigned int ptr, pulse, space; ptr 270 drivers/media/rc/serial_ir.c if (ptr > 0 && is_pulse) { ptr 279 drivers/media/rc/serial_ir.c ptr = 0; ptr 285 drivers/media/rc/serial_ir.c if (ptr == 0) { ptr 288 drivers/media/rc/serial_ir.c ptr++; ptr 309 drivers/media/rc/serial_ir.c ptr = 0; ptr 80 drivers/media/tuners/tuner-xc2028.c unsigned char *ptr; ptr 293 drivers/media/tuners/tuner-xc2028.c kfree(priv->firm[i].ptr); ptr 384 drivers/media/tuners/tuner-xc2028.c priv->firm[n].ptr = kmemdup(p, size, GFP_KERNEL); ptr 385 drivers/media/tuners/tuner-xc2028.c if (priv->firm[n].ptr == NULL) { ptr 563 drivers/media/tuners/tuner-xc2028.c p = priv->firm[pos].ptr; ptr 676 drivers/media/tuners/tuner-xc2028.c p = priv->firm[pos].ptr; ptr 60 drivers/media/tuners/xc4000.c unsigned char *ptr; ptr 693 drivers/media/tuners/xc4000.c p = priv->firm[pos].ptr; ptr 815 drivers/media/tuners/xc4000.c priv->firm[n].ptr = kmemdup(p, size, GFP_KERNEL); ptr 816 drivers/media/tuners/xc4000.c if (priv->firm[n].ptr == NULL) { ptr 883 drivers/media/tuners/xc4000.c p = priv->firm[pos].ptr; ptr 290 drivers/media/usb/airspy/airspy.c void *ptr; ptr 303 drivers/media/usb/airspy/airspy.c ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); ptr 304 drivers/media/usb/airspy/airspy.c len = airspy_convert_stream(s, ptr, urb->transfer_buffer, ptr 112 drivers/media/usb/au0828/au0828-dvb.c unsigned char *ptr; ptr 134 drivers/media/usb/au0828/au0828-dvb.c ptr = purb->transfer_buffer; ptr 135 drivers/media/usb/au0828/au0828-dvb.c if (purb->actual_length > 0 && ptr[0] != 0x47) { ptr 137 drivers/media/usb/au0828/au0828-dvb.c ptr[0], purb->actual_length); ptr 230 drivers/media/usb/cpia2/cpia2_usb.c struct framebuf *ptr; ptr 233 drivers/media/usb/cpia2/cpia2_usb.c for (ptr = cam->workbuff->next; ptr 234 drivers/media/usb/cpia2/cpia2_usb.c ptr != cam->workbuff; ptr 235 drivers/media/usb/cpia2/cpia2_usb.c ptr = ptr->next) ptr 237 drivers/media/usb/cpia2/cpia2_usb.c if (ptr->status == FRAME_EMPTY) { ptr 238 drivers/media/usb/cpia2/cpia2_usb.c ptr->status = FRAME_READING; ptr 239 drivers/media/usb/cpia2/cpia2_usb.c ptr->length = 0; ptr 243 drivers/media/usb/cpia2/cpia2_usb.c if (ptr == cam->workbuff) ptr 246 drivers/media/usb/cpia2/cpia2_usb.c cam->workbuff = ptr; ptr 1083 drivers/media/usb/cx231xx/cx231xx-cards.c int cx231xx_tuner_callback(void *ptr, int component, int command, int arg) ptr 1086 drivers/media/usb/cx231xx/cx231xx-cards.c struct cx231xx *dev = ptr; ptr 964 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_tuner_callback(void *ptr, int component, int command, int arg); ptr 749 drivers/media/usb/dvb-usb/cxusb.c static int dvico_bluebird_xc2028_callback(void *ptr, int component, ptr 752 drivers/media/usb/dvb-usb/cxusb.c struct dvb_usb_adapter *adap = ptr; ptr 419 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk7700ph_xc3028_callback(void *ptr, int component, ptr 422 drivers/media/usb/dvb-usb/dib0700_devices.c struct dvb_usb_adapter *adap = ptr; ptr 131 drivers/media/usb/dvb-usb/gp8psk.c const u8 *ptr; ptr 147 drivers/media/usb/dvb-usb/gp8psk.c ptr = fw->data; ptr 154 drivers/media/usb/dvb-usb/gp8psk.c while (ptr[0] != 0xff) { ptr 155 drivers/media/usb/dvb-usb/gp8psk.c u16 buflen = ptr[0] + 4; ptr 156 drivers/media/usb/dvb-usb/gp8psk.c if (ptr + buflen >= fw->data + fw->size) { ptr 165 drivers/media/usb/dvb-usb/gp8psk.c memcpy(buf, ptr, buflen); ptr 170 drivers/media/usb/dvb-usb/gp8psk.c ptr += buflen; ptr 2733 drivers/media/usb/em28xx/em28xx-cards.c int em28xx_tuner_callback(void *ptr, int component, int command, int arg) ptr 2735 drivers/media/usb/em28xx/em28xx-cards.c struct em28xx_i2c_bus *i2c_bus = ptr; ptr 845 drivers/media/usb/em28xx/em28xx.h int em28xx_tuner_callback(void *ptr, int component, int command, int arg); ptr 382 drivers/media/usb/go7007/go7007-driver.c u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); ptr 384 drivers/media/usb/go7007/go7007-driver.c ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; ptr 47 drivers/media/usb/go7007/go7007-v4l2.c u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); ptr 53 drivers/media/usb/go7007/go7007-v4l2.c switch ((ptr[vb->frame_offset + 4] >> 6) & 0x3) { ptr 65 drivers/media/usb/go7007/go7007-v4l2.c switch ((ptr[vb->frame_offset + 5] >> 3) & 0x7) { ptr 391 drivers/media/usb/msi2500/msi2500.c void *ptr; ptr 420 drivers/media/usb/msi2500/msi2500.c ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); ptr 421 drivers/media/usb/msi2500/msi2500.c flen = msi2500_convert_stream(dev, ptr, iso_buf, flen); ptr 293 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c char *ptr,unsigned int len) ptr 309 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s%s%s", ptr 314 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; ptr 323 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s0x%lx", ptr 326 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; ptr 329 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s+0x%lx", ptr 332 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; ptr 335 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cnt = scnprintf(ptr,len,"%s+0x%lx", ptr 338 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; len -= cnt; uc += cnt; ptr 354 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c static int parse_token(const char *ptr,unsigned int len, ptr 369 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (memcmp(names[idx],ptr,slen)) continue; ptr 374 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if ((*ptr == '-') || (*ptr == '+')) { ptr 375 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c negfl = (*ptr == '-'); ptr 376 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr++; len--; ptr 379 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c memcpy(buf,ptr,len); ptr 388 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c static int parse_mtoken(const char *ptr,unsigned int len, ptr 404 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (memcmp(names[idx],ptr,slen)) continue; ptr 409 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c memcpy(buf,ptr,len); ptr 417 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c static int parse_tlist(const char *ptr,unsigned int len, ptr 429 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ((ptr[cnt] <= 32) || ptr 430 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c (ptr[cnt] >= 127))) cnt++; ptr 431 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; ptr 434 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if ((*ptr == '-') || (*ptr == '+')) { ptr 435 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c mode = (*ptr == '-') ? -1 : 1; ptr 436 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr++; ptr 441 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (ptr[cnt] <= 32) break; ptr 442 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (ptr[cnt] >= 127) break; ptr 446 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { ptr 450 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr += cnt; ptr 477 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c const char *ptr,unsigned int len, ptr 487 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c while ((cnt < len) && ((ptr[cnt] <= 32) || (ptr[cnt] >= 127))) cnt++; ptr 488 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c len -= cnt; ptr += cnt; ptr 490 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c while ((cnt < len) && ((ptr[len-(cnt+1)] <= 32) || ptr 491 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c (ptr[len-(cnt+1)] >= 127))) cnt++; ptr 498 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = parse_token(ptr,len,valptr,NULL,0); ptr 504 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = parse_token(ptr,len,valptr,boolNames, ptr 514 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr,len,valptr, ptr 523 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ptr,len,maskptr,valptr, ptr 78 drivers/media/usb/pvrusb2/pvrusb2-io.c void *ptr; /* Pointer to storage area */ ptr 612 drivers/media/usb/pvrusb2/pvrusb2-io.c ((unsigned int *)(bp->ptr))[idx] = val; ptr 620 drivers/media/usb/pvrusb2/pvrusb2-io.c bp->ptr, // void *transfer_buffer ptr 630 drivers/media/usb/pvrusb2/pvrusb2-io.c int pvr2_buffer_set_buffer(struct pvr2_buffer *bp, void *ptr, unsigned int cnt) ptr 643 drivers/media/usb/pvrusb2/pvrusb2-io.c bp->ptr = ptr; ptr 64 drivers/media/usb/pvrusb2/pvrusb2-io.h int pvr2_buffer_set_buffer(struct pvr2_buffer *,void *ptr,unsigned int cnt); ptr 217 drivers/media/usb/pwc/pwc-if.c unsigned char *ptr = (unsigned char *)fbuf->data; ptr 219 drivers/media/usb/pwc/pwc-if.c if (ptr[1] == 1 && ptr[0] & 0x10) { ptr 223 drivers/media/usb/pwc/pwc-if.c if ((ptr[0] ^ pdev->vmirror) & 0x01) { ptr 224 drivers/media/usb/pwc/pwc-if.c pwc_snapshot_button(pdev, ptr[0] & 0x01); ptr 226 drivers/media/usb/pwc/pwc-if.c if ((ptr[0] ^ pdev->vmirror) & 0x02) { ptr 227 drivers/media/usb/pwc/pwc-if.c if (ptr[0] & 0x02) ptr 232 drivers/media/usb/pwc/pwc-if.c pdev->vmirror = ptr[0] & 0x03; ptr 245 drivers/media/usb/pwc/pwc-if.c unsigned char *ptr = (unsigned char *)fbuf->data; ptr 246 drivers/media/usb/pwc/pwc-if.c if ((ptr[0] ^ pdev->vmirror) & 0x01) { ptr 247 drivers/media/usb/pwc/pwc-if.c pwc_snapshot_button(pdev, ptr[0] & 0x01); ptr 249 drivers/media/usb/pwc/pwc-if.c pdev->vmirror = ptr[0] & 0x03; ptr 676 drivers/media/usb/tm6000/tm6000-cards.c int tm6000_xc5000_callback(void *ptr, int component, int command, int arg) ptr 679 drivers/media/usb/tm6000/tm6000-cards.c struct tm6000_core *dev = ptr; ptr 702 drivers/media/usb/tm6000/tm6000-cards.c int tm6000_tuner_callback(void *ptr, int component, int command, int arg) ptr 705 drivers/media/usb/tm6000/tm6000-cards.c struct tm6000_core *dev = ptr; ptr 120 drivers/media/usb/tm6000/tm6000-video.c u8 *ptr = data, *endp = data+len; ptr 140 drivers/media/usb/tm6000/tm6000-video.c for (ptr = data; ptr < endp;) { ptr 149 drivers/media/usb/tm6000/tm6000-video.c ptr, ptr 151 drivers/media/usb/tm6000/tm6000-video.c ptr += 4 - dev->isoc_ctl.tmp_buf_len; ptr 155 drivers/media/usb/tm6000/tm6000-video.c if (ptr + 3 >= endp) { ptr 157 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.tmp_buf_len = endp - ptr; ptr 158 drivers/media/usb/tm6000/tm6000-video.c memcpy(&dev->isoc_ctl.tmp_buf, ptr, ptr 163 drivers/media/usb/tm6000/tm6000-video.c for (; ptr < endp - 3; ptr++) { ptr 164 drivers/media/usb/tm6000/tm6000-video.c if (*(ptr + 3) == 0x47) ptr 168 drivers/media/usb/tm6000/tm6000-video.c header = *(unsigned long *)ptr; ptr 169 drivers/media/usb/tm6000/tm6000-video.c ptr += 4; ptr 231 drivers/media/usb/tm6000/tm6000-video.c cpysize = (endp - ptr > size) ? size : endp - ptr; ptr 238 drivers/media/usb/tm6000/tm6000-video.c memcpy(&voutp[pos], ptr, cpysize); ptr 243 drivers/media/usb/tm6000/tm6000-video.c swab16s((u16 *)(ptr + i)); ptr 245 drivers/media/usb/tm6000/tm6000-video.c tm6000_call_fillbuf(dev, TM6000_AUDIO, ptr, cpysize); ptr 254 drivers/media/usb/tm6000/tm6000-video.c pts = *(u32 *)ptr; ptr 261 drivers/media/usb/tm6000/tm6000-video.c if (ptr + pktsize > endp) { ptr 270 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.pktsize = pktsize - (endp - ptr); ptr 271 drivers/media/usb/tm6000/tm6000-video.c ptr += endp - ptr; ptr 274 drivers/media/usb/tm6000/tm6000-video.c ptr += pktsize; ptr 283 drivers/media/usb/tm6000/tm6000-video.c static int copy_multiplexed(u8 *ptr, unsigned long len, ptr 302 drivers/media/usb/tm6000/tm6000-video.c memcpy(&outp[pos], ptr, cpysize); ptr 304 drivers/media/usb/tm6000/tm6000-video.c ptr += cpysize; ptr 299 drivers/media/usb/tm6000/tm6000.h int tm6000_tuner_callback(void *ptr, int component, int command, int arg); ptr 300 drivers/media/usb/tm6000/tm6000.h int tm6000_xc5000_callback(void *ptr, int component, int command, int arg); ptr 229 drivers/media/usb/usbvision/usbvision-core.c unsigned char *data, int *ptr, int len) ptr 233 drivers/media/usb/usbvision/usbvision-core.c if (*ptr + len < scratch_buf_size) { ptr 234 drivers/media/usb/usbvision/usbvision-core.c memcpy(data, usbvision->scratch + *ptr, len); ptr 235 drivers/media/usb/usbvision/usbvision-core.c *ptr += len; ptr 237 drivers/media/usb/usbvision/usbvision-core.c len_part = scratch_buf_size - *ptr; ptr 238 drivers/media/usb/usbvision/usbvision-core.c memcpy(data, usbvision->scratch + *ptr, len_part); ptr 240 drivers/media/usb/usbvision/usbvision-core.c *ptr = 0; /* just set the y_ptr to zero */ ptr 243 drivers/media/usb/usbvision/usbvision-core.c *ptr = len - len_part; ptr 247 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_SCRATCH, "len=%d, new ptr=%d\n", len, *ptr); ptr 254 drivers/media/usb/usbvision/usbvision-core.c static void scratch_set_extra_ptr(struct usb_usbvision *usbvision, int *ptr, ptr 257 drivers/media/usb/usbvision/usbvision-core.c *ptr = (usbvision->scratch_read_ptr + len) % scratch_buf_size; ptr 259 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_SCRATCH, "ptr=%d\n", *ptr); ptr 264 drivers/media/usb/usbvision/usbvision-core.c static void scratch_inc_extra_ptr(int *ptr, int len) ptr 266 drivers/media/usb/usbvision/usbvision-core.c *ptr = (*ptr + len) % scratch_buf_size; ptr 268 drivers/media/usb/usbvision/usbvision-core.c PDEBUG(DBG_SCRATCH, "ptr=%d\n", *ptr); ptr 562 drivers/media/usb/zr364xx/zr364xx.c unsigned char *ptr = NULL; ptr 583 drivers/media/usb/zr364xx/zr364xx.c ptr = pdest = frm->lpvbits; ptr 598 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, header1, sizeof(header1)); ptr 599 drivers/media/usb/zr364xx/zr364xx.c ptr += sizeof(header1); ptr 601 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, &header3, 1); ptr 602 drivers/media/usb/zr364xx/zr364xx.c ptr++; ptr 603 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, psrc, 64); ptr 604 drivers/media/usb/zr364xx/zr364xx.c ptr += 64; ptr 606 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, &header3, 1); ptr 607 drivers/media/usb/zr364xx/zr364xx.c ptr++; ptr 608 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, psrc + 64, 64); ptr 609 drivers/media/usb/zr364xx/zr364xx.c ptr += 64; ptr 610 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, header2, sizeof(header2)); ptr 611 drivers/media/usb/zr364xx/zr364xx.c ptr += sizeof(header2); ptr 612 drivers/media/usb/zr364xx/zr364xx.c memcpy(ptr, psrc + 128, ptr 614 drivers/media/usb/zr364xx/zr364xx.c ptr += purb->actual_length - 128; ptr 619 drivers/media/usb/zr364xx/zr364xx.c frm->cur_size = ptr - pdest; ptr 644 drivers/media/usb/zr364xx/zr364xx.c ptr = pdest = frm->lpvbits; ptr 645 drivers/media/usb/zr364xx/zr364xx.c ptr += frm->cur_size - 2; ptr 646 drivers/media/usb/zr364xx/zr364xx.c while (ptr > pdest) { ptr 647 drivers/media/usb/zr364xx/zr364xx.c if (*ptr == 0xFF && *(ptr + 1) == 0xD9 ptr 648 drivers/media/usb/zr364xx/zr364xx.c && *(ptr + 2) == 0xFF) ptr 650 drivers/media/usb/zr364xx/zr364xx.c ptr--; ptr 652 drivers/media/usb/zr364xx/zr364xx.c if (ptr == pdest) ptr 657 drivers/media/usb/zr364xx/zr364xx.c while (ptr > pdest) { ptr 658 drivers/media/usb/zr364xx/zr364xx.c if (*ptr == 0xFF && *(ptr + 1) == 0xFF ptr 659 drivers/media/usb/zr364xx/zr364xx.c && *(ptr + 2) == 0xFF) ptr 661 drivers/media/usb/zr364xx/zr364xx.c ptr--; ptr 663 drivers/media/usb/zr364xx/zr364xx.c if (ptr != pdest) { ptr 1528 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr) ptr 1531 drivers/media/v4l2-core/v4l2-ctrls.c void *p = ptr.p + idx * ctrl->elem_size; ptr 1554 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr) ptr 1559 drivers/media/v4l2-core/v4l2-ctrls.c memset(ptr.p_char + idx, ' ', ctrl->minimum); ptr 1560 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_char[idx + ctrl->minimum] = '\0'; ptr 1563 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s64[idx] = ctrl->default_value; ptr 1570 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s32[idx] = ctrl->default_value; ptr 1574 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s32[idx] = 0; ptr 1577 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_u8[idx] = ctrl->default_value; ptr 1580 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_u16[idx] = ctrl->default_value; ptr 1583 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_u32[idx] = ctrl->default_value; ptr 1586 drivers/media/v4l2-core/v4l2-ctrls.c std_init_compound(ctrl, idx, ptr); ptr 1593 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr = ctrl->p_cur; ptr 1605 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%d", *ptr.p_s32); ptr 1608 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%s", *ptr.p_s32 ? "true" : "false"); ptr 1611 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%s", ctrl->qmenu[*ptr.p_s32]); ptr 1614 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%lld", ctrl->qmenu_int[*ptr.p_s32]); ptr 1617 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("0x%08x", *ptr.p_s32); ptr 1620 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%lld", *ptr.p_s64); ptr 1623 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%s", ptr.p_char); ptr 1626 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%u", (unsigned)*ptr.p_u8); ptr 1629 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%u", (unsigned)*ptr.p_u16); ptr 1632 drivers/media/v4l2-core/v4l2-ctrls.c pr_cont("%u", (unsigned)*ptr.p_u32); ptr 1671 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr) ptr 1675 drivers/media/v4l2-core/v4l2-ctrls.c void *p = ptr.p + idx * ctrl->elem_size; ptr 1759 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr) ptr 1767 drivers/media/v4l2-core/v4l2-ctrls.c return ROUND_TO_RANGE(ptr.p_s32[idx], u32, ctrl); ptr 1773 drivers/media/v4l2-core/v4l2-ctrls.c val = ptr.p_s64[idx]; ptr 1781 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s64[idx] = ctrl->minimum + offset * ctrl->step; ptr 1784 drivers/media/v4l2-core/v4l2-ctrls.c return ROUND_TO_RANGE(ptr.p_u8[idx], u8, ctrl); ptr 1786 drivers/media/v4l2-core/v4l2-ctrls.c return ROUND_TO_RANGE(ptr.p_u16[idx], u16, ctrl); ptr 1788 drivers/media/v4l2-core/v4l2-ctrls.c return ROUND_TO_RANGE(ptr.p_u32[idx], u32, ctrl); ptr 1791 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s32[idx] = !!ptr.p_s32[idx]; ptr 1796 drivers/media/v4l2-core/v4l2-ctrls.c if (ptr.p_s32[idx] < ctrl->minimum || ptr.p_s32[idx] > ctrl->maximum) ptr 1798 drivers/media/v4l2-core/v4l2-ctrls.c if (ctrl->menu_skip_mask & (1ULL << ptr.p_s32[idx])) ptr 1801 drivers/media/v4l2-core/v4l2-ctrls.c ctrl->qmenu[ptr.p_s32[idx]][0] == '\0') ptr 1806 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s32[idx] &= ctrl->maximum; ptr 1811 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_s32[idx] = 0; ptr 1816 drivers/media/v4l2-core/v4l2-ctrls.c len = strlen(ptr.p_char + idx); ptr 1824 drivers/media/v4l2-core/v4l2-ctrls.c return std_validate_compound(ctrl, idx, ptr); ptr 1838 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr) ptr 1843 drivers/media/v4l2-core/v4l2-ctrls.c return copy_to_user(c->ptr, ptr.p, c->size) ? ptr 1848 drivers/media/v4l2-core/v4l2-ctrls.c len = strlen(ptr.p_char); ptr 1853 drivers/media/v4l2-core/v4l2-ctrls.c return copy_to_user(c->string, ptr.p_char, len + 1) ? ptr 1856 drivers/media/v4l2-core/v4l2-ctrls.c c->value64 = *ptr.p_s64; ptr 1859 drivers/media/v4l2-core/v4l2-ctrls.c c->value = *ptr.p_s32; ptr 1900 drivers/media/v4l2-core/v4l2-ctrls.c union v4l2_ctrl_ptr ptr) ptr 1909 drivers/media/v4l2-core/v4l2-ctrls.c ret = copy_from_user(ptr.p, c->ptr, c->size) ? -EFAULT : 0; ptr 1913 drivers/media/v4l2-core/v4l2-ctrls.c ctrl->type_ops->init(ctrl, idx, ptr); ptr 1919 drivers/media/v4l2-core/v4l2-ctrls.c *ptr.p_s64 = c->value64; ptr 1927 drivers/media/v4l2-core/v4l2-ctrls.c ret = copy_from_user(ptr.p_char, c->string, size) ? -EFAULT : 0; ptr 1929 drivers/media/v4l2-core/v4l2-ctrls.c char last = ptr.p_char[size - 1]; ptr 1931 drivers/media/v4l2-core/v4l2-ctrls.c ptr.p_char[size - 1] = 0; ptr 1934 drivers/media/v4l2-core/v4l2-ctrls.c if (strlen(ptr.p_char) == ctrl->maximum && last) ptr 1939 drivers/media/v4l2-core/v4l2-ctrls.c *ptr.p_s32 = c->value; ptr 351 drivers/memory/brcmstb_dpfe.c void __iomem *ptr = NULL; ptr 369 drivers/memory/brcmstb_dpfe.c ptr = priv->regs + DCPU_MSG_RAM_START + offset; ptr 372 drivers/memory/brcmstb_dpfe.c ptr = priv->dmem + offset; ptr 382 drivers/memory/brcmstb_dpfe.c return ptr; ptr 50 drivers/memstick/host/rtsx_pci_ms.c u8 *ptr; ptr 60 drivers/memstick/host/rtsx_pci_ms.c ptr = rtsx_pci_get_cmd_data(pcr); ptr 62 drivers/memstick/host/rtsx_pci_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ptr 64 drivers/memstick/host/rtsx_pci_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ptr 260 drivers/memstick/host/rtsx_pci_ms.c u8 *ptr = rtsx_pci_get_cmd_data(pcr) + 1; ptr 261 drivers/memstick/host/rtsx_pci_ms.c *int_reg = *ptr & 0x0F; ptr 272 drivers/memstick/host/rtsx_pci_ms.c u8 *ptr; ptr 328 drivers/memstick/host/rtsx_pci_ms.c ptr = rtsx_pci_get_cmd_data(pcr) + 1; ptr 330 drivers/memstick/host/rtsx_pci_ms.c data[i] = *ptr++; ptr 333 drivers/memstick/host/rtsx_pci_ms.c *int_reg = *ptr & 0x0F; ptr 64 drivers/memstick/host/rtsx_usb_ms.c u8 *ptr; ptr 90 drivers/memstick/host/rtsx_usb_ms.c ptr = ucr->rsp_buf; ptr 92 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ptr 94 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ptr 96 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", i, *(ptr++)); ptr 98 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_DATA_SOURCE, *(ptr++)); ptr 99 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_SELECT, *(ptr++)); ptr 100 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_CLK_EN, *(ptr++)); ptr 101 drivers/memstick/host/rtsx_usb_ms.c dev_dbg(ms_dev(host), "0x%04X: 0x%02x\n", CARD_PWR_CTL, *(ptr++)); ptr 388 drivers/memstick/host/rtsx_usb_ms.c u8 *ptr; ptr 445 drivers/memstick/host/rtsx_usb_ms.c ptr = ucr->rsp_buf + 1; ptr 447 drivers/memstick/host/rtsx_usb_ms.c data[i] = *ptr++; ptr 451 drivers/memstick/host/rtsx_usb_ms.c *int_reg = *ptr & 0x0F; ptr 106 drivers/mfd/lp8788-irq.c static irqreturn_t lp8788_irq_handler(int irq, void *ptr) ptr 108 drivers/mfd/lp8788-irq.c struct lp8788_irq_data *irqd = ptr; ptr 364 drivers/mfd/mfd-core.c struct device **ptr; ptr 367 drivers/mfd/mfd-core.c ptr = devres_alloc(devm_mfd_dev_release, sizeof(*ptr), GFP_KERNEL); ptr 368 drivers/mfd/mfd-core.c if (!ptr) ptr 374 drivers/mfd/mfd-core.c devres_free(ptr); ptr 378 drivers/mfd/mfd-core.c *ptr = dev; ptr 379 drivers/mfd/mfd-core.c devres_add(dev, ptr); ptr 737 drivers/mfd/sm501.c int ptr; ptr 740 drivers/mfd/sm501.c for (ptr = 0; ptr < pdev->num_resources; ptr++) { ptr 742 drivers/mfd/sm501.c pdev->name, ptr, &pdev->resource[ptr]); ptr 1212 drivers/mfd/sm501.c char *ptr = buff; ptr 1216 drivers/mfd/sm501.c ret = sprintf(ptr, "%08x = %08x\n", ptr 1218 drivers/mfd/sm501.c ptr += ret; ptr 1221 drivers/mfd/sm501.c return ptr - buff; ptr 275 drivers/misc/cardreader/rtsx_pcr.c u8 *ptr, tmp; ptr 309 drivers/misc/cardreader/rtsx_pcr.c ptr = rtsx_pci_get_cmd_data(pcr); ptr 310 drivers/misc/cardreader/rtsx_pcr.c data = ((u16)ptr[1] << 8) | ptr[0]; ptr 345 drivers/misc/cardreader/rtsx_pcr.c u32 *ptr = (u32 *)(pcr->host_cmds_ptr); ptr 353 drivers/misc/cardreader/rtsx_pcr.c ptr += pcr->ci; ptr 355 drivers/misc/cardreader/rtsx_pcr.c put_unaligned_le32(val, ptr); ptr 356 drivers/misc/cardreader/rtsx_pcr.c ptr++; ptr 436 drivers/misc/cardreader/rtsx_pcr.c u64 *ptr = (u64 *)(pcr->host_sg_tbl_ptr) + pcr->sgi; ptr 446 drivers/misc/cardreader/rtsx_pcr.c put_unaligned_le64(val, ptr); ptr 569 drivers/misc/cardreader/rtsx_pcr.c u8 *ptr; ptr 574 drivers/misc/cardreader/rtsx_pcr.c ptr = buf; ptr 586 drivers/misc/cardreader/rtsx_pcr.c memcpy(ptr, rtsx_pci_get_cmd_data(pcr), 256); ptr 587 drivers/misc/cardreader/rtsx_pcr.c ptr += 256; ptr 601 drivers/misc/cardreader/rtsx_pcr.c memcpy(ptr, rtsx_pci_get_cmd_data(pcr), buf_len % 256); ptr 612 drivers/misc/cardreader/rtsx_pcr.c u8 *ptr; ptr 617 drivers/misc/cardreader/rtsx_pcr.c ptr = buf; ptr 624 drivers/misc/cardreader/rtsx_pcr.c reg++, 0xFF, *ptr); ptr 625 drivers/misc/cardreader/rtsx_pcr.c ptr++; ptr 638 drivers/misc/cardreader/rtsx_pcr.c reg++, 0xFF, *ptr); ptr 639 drivers/misc/cardreader/rtsx_pcr.c ptr++; ptr 45 drivers/misc/cb710/sgbuf2.c static inline bool needs_unaligned_copy(const void *ptr) ptr 50 drivers/misc/cb710/sgbuf2.c return ((ptr - NULL) & 3) != 0; ptr 54 drivers/misc/cb710/sgbuf2.c static bool sg_dwiter_get_next_block(struct sg_mapping_iter *miter, uint32_t **ptr) ptr 65 drivers/misc/cb710/sgbuf2.c *ptr = miter->addr + miter->consumed; ptr 92 drivers/misc/cb710/sgbuf2.c uint32_t *ptr = NULL; ptr 94 drivers/misc/cb710/sgbuf2.c if (likely(sg_dwiter_get_next_block(miter, &ptr))) ptr 95 drivers/misc/cb710/sgbuf2.c return ptr ? *ptr : 0; ptr 132 drivers/misc/cb710/sgbuf2.c uint32_t *ptr = NULL; ptr 134 drivers/misc/cb710/sgbuf2.c if (likely(sg_dwiter_get_next_block(miter, &ptr))) { ptr 135 drivers/misc/cb710/sgbuf2.c if (ptr) ptr 136 drivers/misc/cb710/sgbuf2.c *ptr = data; ptr 160 drivers/misc/cxl/main.c int i, *ptr; ptr 166 drivers/misc/cxl/main.c ptr = (int *) buf; ptr 169 drivers/misc/cxl/main.c pr_devel("%.8x %.8x %.8x %.8x\n", ptr[i], ptr[i + 1], ptr 170 drivers/misc/cxl/main.c ptr[i + 2], ptr[i + 3]); ptr 172 drivers/misc/cxl/main.c pr_devel("%.8x %.8x %.8x\n", ptr[i], ptr[i + 1], ptr 173 drivers/misc/cxl/main.c ptr[i + 2]); ptr 175 drivers/misc/cxl/main.c pr_devel("%.8x %.8x\n", ptr[i], ptr[i + 1]); ptr 177 drivers/misc/cxl/main.c pr_devel("%.8x\n", ptr[i]); ptr 379 drivers/misc/fastrpc.c ctx->olaps[i].start = ctx->args[i].ptr; ptr 788 drivers/misc/fastrpc.c rpra[i].pv = (u64) ctx->args[i].ptr; ptr 791 drivers/misc/fastrpc.c vma = find_vma(current->mm, ctx->args[i].ptr); ptr 793 drivers/misc/fastrpc.c pages[i].addr += ctx->args[i].ptr - ptr 796 drivers/misc/fastrpc.c pg_start = (ctx->args[i].ptr & PAGE_MASK) >> PAGE_SHIFT; ptr 797 drivers/misc/fastrpc.c pg_end = ((ctx->args[i].ptr + len - 1) & PAGE_MASK) >> ptr 828 drivers/misc/fastrpc.c void *src = (void *)(uintptr_t)ctx->args[i].ptr; ptr 843 drivers/misc/fastrpc.c rpra[i].pv = (u64) ctx->args[i].ptr; ptr 868 drivers/misc/fastrpc.c void *dst = (void *)(uintptr_t)ctx->args[i].ptr; ptr 1025 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t)&inbuf; ptr 1029 drivers/misc/fastrpc.c args[1].ptr = (u64)(uintptr_t)current->comm; ptr 1033 drivers/misc/fastrpc.c args[2].ptr = (u64) init.file; ptr 1040 drivers/misc/fastrpc.c args[3].ptr = (u64)(uintptr_t) pages; ptr 1044 drivers/misc/fastrpc.c args[4].ptr = (u64)(uintptr_t)&inbuf.attrs; ptr 1048 drivers/misc/fastrpc.c args[5].ptr = (u64)(uintptr_t) &inbuf.siglen; ptr 1118 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t) &tgid; ptr 1247 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t) &tgid; ptr 254 drivers/misc/habanalabs/debugfs.c vm_type = hnode->ptr; ptr 257 drivers/misc/habanalabs/debugfs.c userptr = hnode->ptr; ptr 262 drivers/misc/habanalabs/debugfs.c phys_pg_pack = hnode->ptr; ptr 820 drivers/misc/habanalabs/habanalabs.h void *ptr; ptr 1437 drivers/misc/habanalabs/habanalabs.h u32 hl_hw_queue_add_ptr(u32 ptr, u16 val); ptr 1453 drivers/misc/habanalabs/habanalabs.h u32 hl_cq_inc_ptr(u32 ptr); ptr 20 drivers/misc/habanalabs/hw_queue.c inline u32 hl_hw_queue_add_ptr(u32 ptr, u16 val) ptr 22 drivers/misc/habanalabs/hw_queue.c ptr += val; ptr 23 drivers/misc/habanalabs/hw_queue.c ptr &= ((HL_QUEUE_LENGTH << 1) - 1); ptr 24 drivers/misc/habanalabs/hw_queue.c return ptr; ptr 77 drivers/misc/habanalabs/hw_queue.c u32 ctl, u32 len, u64 ptr) ptr 85 drivers/misc/habanalabs/hw_queue.c bd->ptr = cpu_to_le64(ptr); ptr 240 drivers/misc/habanalabs/hw_queue.c u64 ptr; ptr 250 drivers/misc/habanalabs/hw_queue.c ptr = cb->bus_address; ptr 277 drivers/misc/habanalabs/hw_queue.c ext_queue_submit_bd(hdev, q, ctl, len, ptr); ptr 297 drivers/misc/habanalabs/hw_queue.c bd.ptr = cpu_to_le64((u64) (uintptr_t) job->user_cb); ptr 18 drivers/misc/habanalabs/include/qman_if.h __le64 ptr; ptr 33 drivers/misc/habanalabs/irq.c inline u32 hl_cq_inc_ptr(u32 ptr) ptr 35 drivers/misc/habanalabs/irq.c ptr++; ptr 36 drivers/misc/habanalabs/irq.c if (unlikely(ptr == HL_CQ_LENGTH)) ptr 37 drivers/misc/habanalabs/irq.c ptr = 0; ptr 38 drivers/misc/habanalabs/irq.c return ptr; ptr 49 drivers/misc/habanalabs/irq.c inline u32 hl_eq_inc_ptr(u32 ptr) ptr 51 drivers/misc/habanalabs/irq.c ptr++; ptr 52 drivers/misc/habanalabs/irq.c if (unlikely(ptr == HL_EQ_LENGTH)) ptr 53 drivers/misc/habanalabs/irq.c ptr = 0; ptr 54 drivers/misc/habanalabs/irq.c return ptr; ptr 926 drivers/misc/habanalabs/memory.c hnode->ptr = vm_type; ptr 1004 drivers/misc/habanalabs/memory.c vm_type = hnode->ptr; ptr 1009 drivers/misc/habanalabs/memory.c userptr = hnode->ptr; ptr 1021 drivers/misc/habanalabs/memory.c phys_pg_pack = hnode->ptr; ptr 179 drivers/misc/kgdbts.c static int kgdbts_unreg_thread(void *ptr) ptr 286 drivers/misc/kgdbts.c char *ptr = &put_str[11]; ptr 290 drivers/misc/kgdbts.c kgdb_hex2long(&ptr, &cont_thread_id); ptr 476 drivers/misc/kgdbts.c char *ptr = &put_str[11]; ptr 479 drivers/misc/kgdbts.c kgdb_hex2long(&ptr, &sstep_thread_id); ptr 504 drivers/misc/kgdbts.c char *ptr = &put_str[11]; ptr 505 drivers/misc/kgdbts.c kgdb_hex2long(&ptr, &sstep_thread_id); ptr 969 drivers/misc/kgdbts.c char *ptr; ptr 982 drivers/misc/kgdbts.c ptr = strchr(config, 'F'); ptr 983 drivers/misc/kgdbts.c if (ptr) ptr 984 drivers/misc/kgdbts.c fork_test = simple_strtol(ptr + 1, NULL, 10); ptr 985 drivers/misc/kgdbts.c ptr = strchr(config, 'S'); ptr 986 drivers/misc/kgdbts.c if (ptr) ptr 987 drivers/misc/kgdbts.c do_sys_open_test = simple_strtol(ptr + 1, NULL, 10); ptr 988 drivers/misc/kgdbts.c ptr = strchr(config, 'N'); ptr 989 drivers/misc/kgdbts.c if (ptr) ptr 990 drivers/misc/kgdbts.c nmi_sleep = simple_strtol(ptr+1, NULL, 10); ptr 991 drivers/misc/kgdbts.c ptr = strchr(config, 'I'); ptr 992 drivers/misc/kgdbts.c if (ptr) ptr 993 drivers/misc/kgdbts.c sstep_test = simple_strtol(ptr+1, NULL, 10); ptr 126 drivers/misc/lkdtm/bugs.c unsigned long *ptr; ptr 251 drivers/misc/lkdtm/bugs.c const unsigned char *ptr = stack - 1; ptr 256 drivers/misc/lkdtm/bugs.c byte = *ptr; ptr 265 drivers/misc/lkdtm/bugs.c const unsigned char *ptr = stack + THREAD_SIZE; ptr 270 drivers/misc/lkdtm/bugs.c byte = *ptr; ptr 83 drivers/misc/lkdtm/perms.c unsigned long *ptr = (unsigned long *)&rodata; ptr 85 drivers/misc/lkdtm/perms.c pr_info("attempting bad rodata write at %px\n", ptr); ptr 86 drivers/misc/lkdtm/perms.c *ptr ^= 0xabcd1234; ptr 91 drivers/misc/lkdtm/perms.c unsigned long *ptr = &ro_after_init; ptr 98 drivers/misc/lkdtm/perms.c if ((*ptr & 0xAA) != 0xAA) { ptr 99 drivers/misc/lkdtm/perms.c pr_info("%p was NOT written during init!?\n", ptr); ptr 103 drivers/misc/lkdtm/perms.c pr_info("attempting bad ro_after_init write at %px\n", ptr); ptr 104 drivers/misc/lkdtm/perms.c *ptr ^= 0xabcd1234; ptr 110 drivers/misc/lkdtm/perms.c unsigned char *ptr; ptr 113 drivers/misc/lkdtm/perms.c ptr = (unsigned char *)do_overwritten; ptr 115 drivers/misc/lkdtm/perms.c pr_info("attempting bad %zu byte write at %px\n", size, ptr); ptr 116 drivers/misc/lkdtm/perms.c memcpy(ptr, (unsigned char *)do_nothing, size); ptr 117 drivers/misc/lkdtm/perms.c flush_icache_range((unsigned long)ptr, (unsigned long)(ptr + size)); ptr 175 drivers/misc/lkdtm/perms.c unsigned long *ptr; ptr 191 drivers/misc/lkdtm/perms.c ptr = (unsigned long *)user_addr; ptr 193 drivers/misc/lkdtm/perms.c pr_info("attempting bad read at %px\n", ptr); ptr 194 drivers/misc/lkdtm/perms.c tmp = *ptr; ptr 197 drivers/misc/lkdtm/perms.c pr_info("attempting bad write at %px\n", ptr); ptr 198 drivers/misc/lkdtm/perms.c *ptr = tmp; ptr 206 drivers/misc/lkdtm/perms.c unsigned long *ptr = (unsigned long *)NULL; ptr 208 drivers/misc/lkdtm/perms.c pr_info("attempting bad read at %px\n", ptr); ptr 209 drivers/misc/lkdtm/perms.c tmp = *ptr; ptr 212 drivers/misc/lkdtm/perms.c pr_info("attempting bad write at %px\n", ptr); ptr 213 drivers/misc/lkdtm/perms.c *ptr = tmp; ptr 29 drivers/misc/mic/cosm_client/cosm_scif_client.c void *ptr) ptr 348 drivers/misc/ocxl/config.c u32 val, *ptr; ptr 355 drivers/misc/ocxl/config.c ptr = (u32 *) &afu->name[i]; ptr 356 drivers/misc/ocxl/config.c *ptr = le32_to_cpu((__force __le32) val); ptr 227 drivers/misc/ti-st/st_core.c char *ptr; ptr 236 drivers/misc/ti-st/st_core.c ptr = (char *)data; ptr 238 drivers/misc/ti-st/st_core.c if (unlikely(ptr == NULL) || (st_gdata == NULL)) { ptr 252 drivers/misc/ti-st/st_core.c skb_put_data(st_gdata->rx_skb, ptr, len); ptr 255 drivers/misc/ti-st/st_core.c ptr += len; ptr 299 drivers/misc/ti-st/st_core.c switch (*ptr) { ptr 307 drivers/misc/ti-st/st_core.c st_ll_sleep_state(st_gdata, *ptr); ptr 316 drivers/misc/ti-st/st_core.c ptr++; ptr 324 drivers/misc/ti-st/st_core.c st_wakeup_ack(st_gdata, *ptr); ptr 327 drivers/misc/ti-st/st_core.c ptr++; ptr 332 drivers/misc/ti-st/st_core.c type = *ptr; ptr 366 drivers/misc/ti-st/st_core.c st_gdata->rx_chnl = *ptr; ptr 371 drivers/misc/ti-st/st_core.c ptr++; ptr 127 drivers/misc/ti-st/st_kim.c const unsigned char *ptr; ptr 133 drivers/misc/ti-st/st_kim.c ptr = data; ptr 134 drivers/misc/ti-st/st_kim.c if (unlikely(ptr == NULL)) { ptr 142 drivers/misc/ti-st/st_kim.c skb_put_data(kim_gdata->rx_skb, ptr, len); ptr 145 drivers/misc/ti-st/st_kim.c ptr += len; ptr 168 drivers/misc/ti-st/st_kim.c switch (*ptr) { ptr 176 drivers/misc/ti-st/st_kim.c ptr++; ptr 180 drivers/misc/ti-st/st_kim.c ptr++; ptr 246 drivers/misc/ti-st/st_kim.c static void skip_change_remote_baud(unsigned char **ptr, long *len) ptr 249 drivers/misc/ti-st/st_kim.c cur_action = *ptr; ptr 257 drivers/misc/ti-st/st_kim.c *ptr = *ptr + sizeof(struct bts_action) + ptr 275 drivers/misc/ti-st/st_kim.c unsigned char *ptr = NULL; ptr 296 drivers/misc/ti-st/st_kim.c ptr = (void *)kim_gdata->fw_entry->data; ptr 301 drivers/misc/ti-st/st_kim.c ptr += sizeof(struct bts_header); ptr 304 drivers/misc/ti-st/st_kim.c while (len > 0 && ptr) { ptr 306 drivers/misc/ti-st/st_kim.c ((struct bts_action *)ptr)->size, ptr 307 drivers/misc/ti-st/st_kim.c ((struct bts_action *)ptr)->type); ptr 309 drivers/misc/ti-st/st_kim.c switch (((struct bts_action *)ptr)->type) { ptr 312 drivers/misc/ti-st/st_kim.c action_ptr = &(((struct bts_action *)ptr)->data[0]); ptr 320 drivers/misc/ti-st/st_kim.c skip_change_remote_baud(&ptr, &len); ptr 327 drivers/misc/ti-st/st_kim.c cmd_size = ((struct bts_action *)ptr)->size; ptr 361 drivers/misc/ti-st/st_kim.c ((struct bts_action *)ptr)->size); ptr 393 drivers/misc/ti-st/st_kim.c action_ptr = &(((struct bts_action *)ptr)->data[0]); ptr 399 drivers/misc/ti-st/st_kim.c ((struct bts_action *)ptr)->size); ptr 400 drivers/misc/ti-st/st_kim.c ptr = ptr 401 drivers/misc/ti-st/st_kim.c ptr + sizeof(struct bts_action) + ptr 402 drivers/misc/ti-st/st_kim.c ((struct bts_action *)ptr)->size; ptr 26 drivers/misc/vmw_vmci/vmci_driver.h void *ptr; ptr 234 drivers/mmc/core/sdio_cis.c unsigned i, ptr = 0; ptr 253 drivers/mmc/core/sdio_cis.c ptr |= x << (i * 8); ptr 267 drivers/mmc/core/sdio_cis.c ret = mmc_io_rw_direct(card, 0, 0, ptr++, 0, &tpl_code); ptr 279 drivers/mmc/core/sdio_cis.c ret = mmc_io_rw_direct(card, 0, 0, ptr++, 0, &tpl_link); ptr 293 drivers/mmc/core/sdio_cis.c ptr + i, 0, &this->data[i]); ptr 336 drivers/mmc/core/sdio_cis.c ptr += tpl_link; ptr 1342 drivers/mmc/host/mmci.c char *ptr = buffer; ptr 1365 drivers/mmc/host/mmci.c memcpy(ptr, buf, count); ptr 1367 drivers/mmc/host/mmci.c ioread32_rep(base + MMCIFIFO, ptr, count >> 2); ptr 1371 drivers/mmc/host/mmci.c ioread32_rep(base + MMCIFIFO, ptr, count >> 2); ptr 1374 drivers/mmc/host/mmci.c ptr += count; ptr 1384 drivers/mmc/host/mmci.c return ptr - buffer; ptr 1391 drivers/mmc/host/mmci.c char *ptr = buffer; ptr 1408 drivers/mmc/host/mmci.c iowrite32_rep(base + MMCIFIFO, ptr, (count + 3) >> 2); ptr 1410 drivers/mmc/host/mmci.c ptr += count; ptr 1419 drivers/mmc/host/mmci.c return ptr - buffer; ptr 312 drivers/mmc/host/mtk-sd.c u32 ptr; ptr 330 drivers/mmc/host/mtk-sd.c u32 ptr; ptr 641 drivers/mmc/host/mtk-sd.c bd[j].ptr = lower_32_bits(dma_address); ptr 1642 drivers/mmc/host/mtk-sd.c gpd->ptr = lower_32_bits(dma->bd_addr); /* physical address */ ptr 218 drivers/mmc/host/rtsx_pci_sdmmc.c u8 *ptr; ptr 282 drivers/mmc/host/rtsx_pci_sdmmc.c ptr = rtsx_pci_get_cmd_data(pcr) + 1; ptr 285 drivers/mmc/host/rtsx_pci_sdmmc.c if ((ptr[0] & 0xC0) != 0) { ptr 293 drivers/mmc/host/rtsx_pci_sdmmc.c if (ptr[stat_idx] & SD_CRC7_ERR) { ptr 306 drivers/mmc/host/rtsx_pci_sdmmc.c ptr[16] = 1; ptr 309 drivers/mmc/host/rtsx_pci_sdmmc.c cmd->resp[i] = get_unaligned_be32(ptr + 1 + i * 4); ptr 314 drivers/mmc/host/rtsx_pci_sdmmc.c cmd->resp[0] = get_unaligned_be32(ptr + 1); ptr 294 drivers/mmc/host/rtsx_usb_sdmmc.c u8 *ptr; ptr 408 drivers/mmc/host/rtsx_usb_sdmmc.c ptr = ucr->rsp_buf + 1; ptr 411 drivers/mmc/host/rtsx_usb_sdmmc.c if ((ptr[0] & 0xC0) != 0) { ptr 419 drivers/mmc/host/rtsx_usb_sdmmc.c if (ptr[stat_idx] & SD_CRC7_ERR) { ptr 432 drivers/mmc/host/rtsx_usb_sdmmc.c ptr[16] = 1; ptr 435 drivers/mmc/host/rtsx_usb_sdmmc.c cmd->resp[i] = get_unaligned_be32(ptr + 1 + i * 4); ptr 440 drivers/mmc/host/rtsx_usb_sdmmc.c cmd->resp[0] = get_unaligned_be32(ptr + 1); ptr 424 drivers/mmc/host/s3cmci.c u32 *ptr; ptr 470 drivers/mmc/host/s3cmci.c ptr = host->pio_ptr; ptr 472 drivers/mmc/host/s3cmci.c *ptr++ = readl(from_ptr); ptr 473 drivers/mmc/host/s3cmci.c host->pio_ptr = ptr; ptr 508 drivers/mmc/host/s3cmci.c u32 *ptr; ptr 543 drivers/mmc/host/s3cmci.c ptr = host->pio_ptr; ptr 545 drivers/mmc/host/s3cmci.c writel(*ptr++, to_ptr); ptr 546 drivers/mmc/host/s3cmci.c host->pio_ptr = ptr; ptr 466 drivers/mmc/host/sdhci-acpi.c static irqreturn_t sdhci_acpi_qcom_handler(int irq, void *ptr) ptr 468 drivers/mmc/host/sdhci-acpi.c struct sdhci_host *host = ptr; ptr 485 drivers/mmc/host/sdhci-s3c.c int ret, irq, ptr, clks; ptr 537 drivers/mmc/host/sdhci-s3c.c for (clks = 0, ptr = 0; ptr < MAX_BUS_CLK; ptr++) { ptr 540 drivers/mmc/host/sdhci-s3c.c snprintf(name, 14, "mmc_busclk.%d", ptr); ptr 541 drivers/mmc/host/sdhci-s3c.c sc->clk_bus[ptr] = devm_clk_get(dev, name); ptr 542 drivers/mmc/host/sdhci-s3c.c if (IS_ERR(sc->clk_bus[ptr])) ptr 546 drivers/mmc/host/sdhci-s3c.c sc->clk_rates[ptr] = clk_get_rate(sc->clk_bus[ptr]); ptr 549 drivers/mmc/host/sdhci-s3c.c ptr, name, sc->clk_rates[ptr]); ptr 141 drivers/mtd/devices/pmc551.c u_char *ptr; ptr 155 drivers/mtd/devices/pmc551.c (void **)&ptr, NULL); ptr 160 drivers/mtd/devices/pmc551.c memset(ptr, 0xff, instr->len); ptr 169 drivers/mtd/devices/pmc551.c memset(ptr, 0xff, priv->asize); ptr 176 drivers/mtd/devices/pmc551.c (void **)&ptr, NULL); ptr 178 drivers/mtd/devices/pmc551.c memset(ptr, 0xff, eoff_lo); ptr 230 drivers/mtd/devices/pmc551.c u_char *ptr; ptr 243 drivers/mtd/devices/pmc551.c pmc551_point(mtd, from, len, retlen, (void **)&ptr, NULL); ptr 248 drivers/mtd/devices/pmc551.c memcpy(copyto, ptr, len); ptr 258 drivers/mtd/devices/pmc551.c memcpy(copyto, ptr, priv->asize); ptr 265 drivers/mtd/devices/pmc551.c (void **)&ptr, NULL); ptr 267 drivers/mtd/devices/pmc551.c memcpy(copyto, ptr, eoff_lo); ptr 286 drivers/mtd/devices/pmc551.c u_char *ptr; ptr 299 drivers/mtd/devices/pmc551.c pmc551_point(mtd, to, len, retlen, (void **)&ptr, NULL); ptr 304 drivers/mtd/devices/pmc551.c memcpy(ptr, copyfrom, len); ptr 314 drivers/mtd/devices/pmc551.c memcpy(ptr, copyfrom, priv->asize); ptr 321 drivers/mtd/devices/pmc551.c (void **)&ptr, NULL); ptr 323 drivers/mtd/devices/pmc551.c memcpy(ptr, copyfrom, eoff_lo); ptr 792 drivers/mtd/inftlcore.c loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs; ptr 794 drivers/mtd/inftlcore.c if (inftl_read_oob(mtd, ptr, 8, &retlen, (char *)&bci) < 0) ptr 797 drivers/mtd/inftlcore.c if (inftl_write_oob(mtd, ptr, 8, &retlen, (char *)&bci) < 0) ptr 906 drivers/mtd/inftlcore.c loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs; ptr 907 drivers/mtd/inftlcore.c int ret = mtd_read(mtd, ptr, SECTORSIZE, &retlen, buffer); ptr 349 drivers/mtd/mtdchar.c uint64_t start, uint32_t length, void __user *ptr, ptr 375 drivers/mtd/mtdchar.c ops.oobbuf = memdup_user(ptr, length); ptr 393 drivers/mtd/mtdchar.c uint64_t start, uint32_t length, void __user *ptr, ptr 421 drivers/mtd/mtdchar.c else if (ops.oobretlen && copy_to_user(ptr, ops.oobbuf, ptr 736 drivers/mtd/mtdchar.c buf.ptr, &buf_user->length); ptr 750 drivers/mtd/mtdchar.c buf.ptr, &buf_user->start); ptr 1010 drivers/mtd/mtdchar.c compat_caddr_t ptr; /* unsigned char* */ ptr 1036 drivers/mtd/mtdchar.c buf.length, compat_ptr(buf.ptr), ptr 1051 drivers/mtd/mtdchar.c buf.length, compat_ptr(buf.ptr), ptr 713 drivers/mtd/nand/raw/atmel/pmecc.c u8 *ptr; ptr 723 drivers/mtd/nand/raw/atmel/pmecc.c ptr = data + byte; ptr 726 drivers/mtd/nand/raw/atmel/pmecc.c ptr = ecc + byte - sectorsize; ptr 737 drivers/mtd/nand/raw/atmel/pmecc.c area, byte, *ptr, (unsigned int)(*ptr ^ BIT(bit))); ptr 739 drivers/mtd/nand/raw/atmel/pmecc.c *ptr ^= BIT(bit); ptr 756 drivers/mtd/nand/raw/atmel/pmecc.c u8 *ptr = ecc; ptr 760 drivers/mtd/nand/raw/atmel/pmecc.c ptr[i] = readb_relaxed(pmecc->regs.base + ptr 875 drivers/mtd/nand/raw/atmel/pmecc.c struct atmel_pmecc *pmecc, **ptr; ptr 887 drivers/mtd/nand/raw/atmel/pmecc.c ptr = devres_alloc(devm_atmel_pmecc_put, sizeof(*ptr), GFP_KERNEL); ptr 888 drivers/mtd/nand/raw/atmel/pmecc.c if (!ptr) { ptr 893 drivers/mtd/nand/raw/atmel/pmecc.c *ptr = pmecc; ptr 895 drivers/mtd/nand/raw/atmel/pmecc.c devres_add(userdev, ptr); ptr 777 drivers/mtd/nand/raw/s3c2410.c struct s3c2410_nand_mtd *ptr = info->mtds; ptr 780 drivers/mtd/nand/raw/s3c2410.c for (mtdno = 0; mtdno < info->mtd_count; mtdno++, ptr++) { ptr 781 drivers/mtd/nand/raw/s3c2410.c pr_debug("releasing mtd %d (%p)\n", mtdno, ptr); ptr 782 drivers/mtd/nand/raw/s3c2410.c nand_release(&ptr->chip); ptr 92 drivers/mtd/nand/raw/tango_nand.c #define to_tango_nfc(ptr) container_of(ptr, struct tango_nfc, hw) ptr 105 drivers/mtd/nand/raw/tango_nand.c #define to_tango_chip(ptr) container_of(ptr, struct tango_chip, nand_chip) ptr 757 drivers/mtd/nftlcore.c loff_t ptr = (lastgoodEUN * nftl->EraseSize) + blockofs; ptr 759 drivers/mtd/nftlcore.c int res = mtd_read(mtd, ptr, 512, &retlen, buffer); ptr 81 drivers/mtd/parsers/afs.c u_int ptr = off + mtd->erasesize - 12; ptr 86 drivers/mtd/parsers/afs.c ret = mtd_read(mtd, ptr, 4, &sz, (u_char *)&magic); ptr 89 drivers/mtd/parsers/afs.c ptr, ret); ptr 101 drivers/mtd/parsers/afs.c u_int ptr = off + mtd->erasesize - 8; ptr 106 drivers/mtd/parsers/afs.c ret = mtd_read(mtd, ptr, 8, &sz, (u_char *)foot); ptr 109 drivers/mtd/parsers/afs.c ptr, ret); ptr 131 drivers/mtd/parsers/afs.c u_int ptr; ptr 142 drivers/mtd/parsers/afs.c ptr = off + mtd->erasesize - sizeof(fs); ptr 143 drivers/mtd/parsers/afs.c ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); ptr 148 drivers/mtd/parsers/afs.c ptr, ret); ptr 170 drivers/mtd/parsers/afs.c if (iis_ptr >= ptr) ptr 219 drivers/mtd/parsers/afs.c u_int ptr; ptr 239 drivers/mtd/parsers/afs.c ptr = off + mtd->erasesize - sizeof(footer); ptr 240 drivers/mtd/parsers/afs.c ret = mtd_read(mtd, ptr, sizeof(footer), &sz, (u_char *)footer); ptr 243 drivers/mtd/parsers/afs.c ptr, ret); ptr 248 drivers/mtd/parsers/afs.c ptr = off + mtd->erasesize - sizeof(footer) - footer[8]; ptr 251 drivers/mtd/parsers/afs.c name, version, ptr); ptr 254 drivers/mtd/parsers/afs.c ret = mtd_read(mtd, ptr, sizeof(imginfo), &sz, (u_char *)imginfo); ptr 257 drivers/mtd/parsers/afs.c ptr, ret); ptr 223 drivers/mux/core.c struct mux_chip **ptr, *mux_chip; ptr 225 drivers/mux/core.c ptr = devres_alloc(devm_mux_chip_release, sizeof(*ptr), GFP_KERNEL); ptr 226 drivers/mux/core.c if (!ptr) ptr 231 drivers/mux/core.c devres_free(ptr); ptr 235 drivers/mux/core.c *ptr = mux_chip; ptr 236 drivers/mux/core.c devres_add(dev, ptr); ptr 261 drivers/mux/core.c struct mux_chip **ptr; ptr 264 drivers/mux/core.c ptr = devres_alloc(devm_mux_chip_reg_release, sizeof(*ptr), GFP_KERNEL); ptr 265 drivers/mux/core.c if (!ptr) ptr 270 drivers/mux/core.c devres_free(ptr); ptr 274 drivers/mux/core.c *ptr = mux_chip; ptr 275 drivers/mux/core.c devres_add(dev, ptr); ptr 511 drivers/mux/core.c struct mux_control **ptr, *mux; ptr 513 drivers/mux/core.c ptr = devres_alloc(devm_mux_control_release, sizeof(*ptr), GFP_KERNEL); ptr 514 drivers/mux/core.c if (!ptr) ptr 519 drivers/mux/core.c devres_free(ptr); ptr 523 drivers/mux/core.c *ptr = mux; ptr 524 drivers/mux/core.c devres_add(dev, ptr); ptr 388 drivers/net/arcnet/com90xx.c u_long ptr = shmems[index]; ptr 396 drivers/net/arcnet/com90xx.c if (com90xx_found(*port, airq, ptr, base) == 0) ptr 3211 drivers/net/bonding/bond_main.c unsigned long event, void *ptr) ptr 3213 drivers/net/bonding/bond_main.c struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); ptr 64 drivers/net/caif/caif_spi_slave.c u8 *ptr = NULL; ptr 99 drivers/net/caif/caif_spi_slave.c ptr = (u8 *) cfspi->xfer.va_tx; ptr 100 drivers/net/caif/caif_spi_slave.c ptr += SPI_IND_SZ; ptr 101 drivers/net/caif/caif_spi_slave.c len = cfspi_xmitfrm(cfspi, ptr, cfspi->tx_cpck_len); ptr 116 drivers/net/caif/caif_spi_slave.c ptr = (u8 *) cfspi->xfer.va_tx; ptr 117 drivers/net/caif/caif_spi_slave.c *ptr++ = SPI_CMD_IND; ptr 118 drivers/net/caif/caif_spi_slave.c *ptr++ = (SPI_CMD_IND & 0xFF00) >> 8; ptr 119 drivers/net/caif/caif_spi_slave.c *ptr++ = cfspi->tx_npck_len & 0x00FF; ptr 120 drivers/net/caif/caif_spi_slave.c *ptr++ = (cfspi->tx_npck_len & 0xFF00) >> 8; ptr 200 drivers/net/caif/caif_spi_slave.c ptr = ((u8 *)(cfspi->xfer.va_rx + SPI_DATA_POS)); ptr 202 drivers/net/caif/caif_spi_slave.c len = cfspi_rxfrm(cfspi, ptr, cfspi->rx_cpck_len); ptr 207 drivers/net/caif/caif_spi_slave.c ptr = (u8 *) cfspi->xfer.va_rx; ptr 209 drivers/net/caif/caif_spi_slave.c ptr += forward_to_spi_cmd(cfspi); ptr 211 drivers/net/caif/caif_spi_slave.c cfspi->cmd = *ptr++; ptr 212 drivers/net/caif/caif_spi_slave.c cfspi->cmd |= ((*ptr++) << 8) & 0xFF00; ptr 213 drivers/net/caif/caif_spi_slave.c cfspi->rx_npck_len = *ptr++; ptr 214 drivers/net/caif/caif_spi_slave.c cfspi->rx_npck_len |= ((*ptr++) << 8) & 0xFF00; ptr 101 drivers/net/can/led.c void *ptr) ptr 103 drivers/net/can/led.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 57 drivers/net/can/softing/softing_main.c uint8_t *ptr; ptr 78 drivers/net/can/softing/softing_main.c ptr = buf; ptr 79 drivers/net/can/softing/softing_main.c *ptr = CMD_TX; ptr 81 drivers/net/can/softing/softing_main.c *ptr |= CMD_RTR; ptr 83 drivers/net/can/softing/softing_main.c *ptr |= CMD_XTD; ptr 85 drivers/net/can/softing/softing_main.c *ptr |= CMD_BUS2; ptr 86 drivers/net/can/softing/softing_main.c ++ptr; ptr 87 drivers/net/can/softing/softing_main.c *ptr++ = cf->can_dlc; ptr 88 drivers/net/can/softing/softing_main.c *ptr++ = (cf->can_id >> 0); ptr 89 drivers/net/can/softing/softing_main.c *ptr++ = (cf->can_id >> 8); ptr 91 drivers/net/can/softing/softing_main.c *ptr++ = (cf->can_id >> 16); ptr 92 drivers/net/can/softing/softing_main.c *ptr++ = (cf->can_id >> 24); ptr 95 drivers/net/can/softing/softing_main.c ptr += 1; ptr 98 drivers/net/can/softing/softing_main.c memcpy(ptr, &cf->data[0], cf->can_dlc); ptr 157 drivers/net/can/softing/softing_main.c uint8_t *ptr; ptr 205 drivers/net/can/softing/softing_main.c ptr = buf; ptr 206 drivers/net/can/softing/softing_main.c cmd = *ptr++; ptr 218 drivers/net/can/softing/softing_main.c state = *ptr++; ptr 241 drivers/net/can/softing/softing_main.c tmp_u32 = le32_to_cpup((void *)ptr); ptr 242 drivers/net/can/softing/softing_main.c ptr += 4; ptr 264 drivers/net/can/softing/softing_main.c msg.can_dlc = get_can_dlc(*ptr++); ptr 267 drivers/net/can/softing/softing_main.c msg.can_id |= le32_to_cpup((void *)ptr); ptr 268 drivers/net/can/softing/softing_main.c ptr += 4; ptr 270 drivers/net/can/softing/softing_main.c msg.can_id |= le16_to_cpup((void *)ptr); ptr 271 drivers/net/can/softing/softing_main.c ptr += 2; ptr 274 drivers/net/can/softing/softing_main.c tmp_u32 = le32_to_cpup((void *)ptr); ptr 275 drivers/net/can/softing/softing_main.c ptr += 4; ptr 278 drivers/net/can/softing/softing_main.c memcpy(&msg.data[0], ptr, 8); ptr 279 drivers/net/can/softing/softing_main.c ptr += 8; ptr 99 drivers/net/can/usb/peak_usb/pcan_usb.c u8 *ptr; ptr 347 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr+2) > mc->end) ptr 350 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp16, mc->ptr, 2); ptr 371 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + 2) > mc->end) ptr 374 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp16, mc->ptr, 2); ptr 375 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ptr += 2; ptr 382 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + 1) > mc->end) ptr 385 drivers/net/can/usb/peak_usb/pcan_usb.c ts8 = *mc->ptr++; ptr 547 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + 2) > mc->end) ptr 550 drivers/net/can/usb/peak_usb/pcan_usb.c f = mc->ptr[PCAN_USB_CMD_FUNC]; ptr 551 drivers/net/can/usb/peak_usb/pcan_usb.c n = mc->ptr[PCAN_USB_CMD_NUM]; ptr 552 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ptr += PCAN_USB_CMD_ARGS; ptr 599 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + rec_len) > mc->end) ptr 602 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ptr += rec_len; ptr 624 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + 4) > mc->end) ptr 627 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp32, mc->ptr, 4); ptr 628 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ptr += 4; ptr 634 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + 2) > mc->end) ptr 637 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp16, mc->ptr, 2); ptr 638 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ptr += 2; ptr 657 drivers/net/can/usb/peak_usb/pcan_usb.c if ((mc->ptr + rec_len) > mc->end) ptr 660 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(cf->data, mc->ptr, cf->can_dlc); ptr 661 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ptr += rec_len; ptr 688 drivers/net/can/usb/peak_usb/pcan_usb.c .ptr = ibuf + PCAN_USB_MSG_HEADER_LEN, ptr 696 drivers/net/can/usb/peak_usb/pcan_usb.c u8 sl = *mc.ptr++; ptr 315 drivers/net/dsa/mv88e6xxx/global1.c u16 ptr; ptr 318 drivers/net/dsa/mv88e6xxx/global1.c ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_INGRESS_DEST; ptr 319 drivers/net/dsa/mv88e6xxx/global1.c err = mv88e6390_g1_monitor_write(chip, ptr, port); ptr 323 drivers/net/dsa/mv88e6xxx/global1.c ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_EGRESS_DEST; ptr 324 drivers/net/dsa/mv88e6xxx/global1.c err = mv88e6390_g1_monitor_write(chip, ptr, port); ptr 333 drivers/net/dsa/mv88e6xxx/global1.c u16 ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_CPU_DEST; ptr 340 drivers/net/dsa/mv88e6xxx/global1.c return mv88e6390_g1_monitor_write(chip, ptr, port); ptr 345 drivers/net/dsa/mv88e6xxx/global1.c u16 ptr; ptr 349 drivers/net/dsa/mv88e6xxx/global1.c ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_0180C200000XLO; ptr 350 drivers/net/dsa/mv88e6xxx/global1.c err = mv88e6390_g1_monitor_write(chip, ptr, 0xff); ptr 355 drivers/net/dsa/mv88e6xxx/global1.c ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_0180C200000XHI; ptr 356 drivers/net/dsa/mv88e6xxx/global1.c err = mv88e6390_g1_monitor_write(chip, ptr, 0xff); ptr 361 drivers/net/dsa/mv88e6xxx/global1.c ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_0180C200002XLO; ptr 362 drivers/net/dsa/mv88e6xxx/global1.c err = mv88e6390_g1_monitor_write(chip, ptr, 0xff); ptr 367 drivers/net/dsa/mv88e6xxx/global1.c ptr = MV88E6390_G1_MONITOR_MGMT_CTL_PTR_0180C200002XHI; ptr 368 drivers/net/dsa/mv88e6xxx/global1.c err = mv88e6390_g1_monitor_write(chip, ptr, 0xff); ptr 1302 drivers/net/dsa/mv88e6xxx/port.c int port, u16 table, u8 ptr, u16 data) ptr 1307 drivers/net/dsa/mv88e6xxx/port.c (ptr << __bf_shf(MV88E6390_PORT_IEEE_PRIO_MAP_TABLE_PTR_MASK)) | ptr 1523 drivers/net/ethernet/3com/typhoon.c unsigned long ptr = tx->tx_addr; ptr 1524 drivers/net/ethernet/3com/typhoon.c struct sk_buff *skb = (struct sk_buff *) ptr; ptr 664 drivers/net/ethernet/8390/mac8390.c volatile unsigned char *ptr; ptr 667 drivers/net/ethernet/8390/mac8390.c ptr = (unsigned char *)(dev->mem_start+from); ptr 670 drivers/net/ethernet/8390/mac8390.c *target++ = ptr[-1]; ptr 671 drivers/net/ethernet/8390/mac8390.c ptr += 2; ptr 675 drivers/net/ethernet/8390/mac8390.c *(unsigned short *)target = *(unsigned short volatile *)ptr; ptr 676 drivers/net/ethernet/8390/mac8390.c ptr += 4; /* skip cruft */ ptr 682 drivers/net/ethernet/8390/mac8390.c *target = *ptr; ptr 688 drivers/net/ethernet/8390/mac8390.c volatile unsigned short *ptr; ptr 691 drivers/net/ethernet/8390/mac8390.c ptr = (unsigned short *)(dev->mem_start+to); ptr 694 drivers/net/ethernet/8390/mac8390.c ptr[-1] = (ptr[-1]&0xFF00)|*src++; ptr 695 drivers/net/ethernet/8390/mac8390.c ptr++; ptr 699 drivers/net/ethernet/8390/mac8390.c *ptr++ = *(unsigned short *)src; /* Copy and */ ptr 700 drivers/net/ethernet/8390/mac8390.c ptr++; /* skip cruft */ ptr 707 drivers/net/ethernet/8390/mac8390.c *ptr = (*ptr & 0x00FF) | (*src << 8); ptr 1560 drivers/net/ethernet/alacritech/slicoss.c unsigned char *ptr = eeprom; ptr 1565 drivers/net/ethernet/alacritech/slicoss.c memcpy(&data, ptr, sizeof(data)); ptr 1567 drivers/net/ethernet/alacritech/slicoss.c ptr += 2; ptr 1571 drivers/net/ethernet/alacritech/slicoss.c csum += *(u8 *)ptr; ptr 158 drivers/net/ethernet/alteon/acenic.c #define offset_in_page(ptr) ((unsigned long)(ptr) & ~PAGE_MASK) ptr 1317 drivers/net/ethernet/altera/altera_tse_main.c struct resource **res, void __iomem **ptr) ptr 1335 drivers/net/ethernet/altera/altera_tse_main.c *ptr = devm_ioremap_nocache(device, region->start, ptr 1337 drivers/net/ethernet/altera/altera_tse_main.c if (*ptr == NULL) { ptr 133 drivers/net/ethernet/amazon/ena/ena_ethtool.c u64 *ptr; ptr 143 drivers/net/ethernet/amazon/ena/ena_ethtool.c ptr = (u64 *)((uintptr_t)&ring->tx_stats + ptr 146 drivers/net/ethernet/amazon/ena/ena_ethtool.c ena_safe_update_stat(ptr, (*data)++, &ring->syncp); ptr 155 drivers/net/ethernet/amazon/ena/ena_ethtool.c ptr = (u64 *)((uintptr_t)&ring->rx_stats + ptr 158 drivers/net/ethernet/amazon/ena/ena_ethtool.c ena_safe_update_stat(ptr, (*data)++, &ring->syncp); ptr 166 drivers/net/ethernet/amazon/ena/ena_ethtool.c u32 *ptr; ptr 172 drivers/net/ethernet/amazon/ena/ena_ethtool.c ptr = (u32 *)((uintptr_t)&adapter->ena_dev->admin_queue.stats + ptr 175 drivers/net/ethernet/amazon/ena/ena_ethtool.c *(*data)++ = *ptr; ptr 185 drivers/net/ethernet/amazon/ena/ena_ethtool.c u64 *ptr; ptr 191 drivers/net/ethernet/amazon/ena/ena_ethtool.c ptr = (u64 *)((uintptr_t)&adapter->dev_stats + ptr 194 drivers/net/ethernet/amazon/ena/ena_ethtool.c ena_safe_update_stat(ptr, data++, &adapter->syncp); ptr 606 drivers/net/ethernet/amd/ni65.c unsigned char *ptr; ptr 617 drivers/net/ethernet/amd/ni65.c ptr = skb->data; ptr 620 drivers/net/ethernet/amd/ni65.c ret = ptr = kmalloc(T_BUF_SIZE,GFP_KERNEL | GFP_DMA); ptr 624 drivers/net/ethernet/amd/ni65.c if( (u32) virt_to_phys(ptr+size) > 0x1000000) { ptr 629 drivers/net/ethernet/amd/ni65.c kfree(ptr); ptr 640 drivers/net/ethernet/amd/ni65.c unsigned char *ptr; ptr 647 drivers/net/ethernet/amd/ni65.c ptr = ni65_alloc_mem(dev,"BUFFER",sizeof(struct priv)+8,0); ptr 648 drivers/net/ethernet/amd/ni65.c if(!ptr) ptr 651 drivers/net/ethernet/amd/ni65.c p = dev->ml_priv = (struct priv *) (((unsigned long) ptr + 7) & ~0x7); ptr 653 drivers/net/ethernet/amd/ni65.c p->self = ptr; ptr 334 drivers/net/ethernet/amd/pcnet32.c void *ptr); ptr 1442 drivers/net/ethernet/amd/pcnet32.c void *ptr) ptr 1445 drivers/net/ethernet/amd/pcnet32.c u16 *buff = ptr; ptr 250 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c u32 *ptr; ptr 267 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c ptr = eeprom_buff; ptr 276 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c ptr++; ptr 290 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 1953 drivers/net/ethernet/atheros/atlx/atl2.c u32 *ptr; ptr 1971 drivers/net/ethernet/atheros/atlx/atl2.c ptr = eeprom_buff; ptr 1980 drivers/net/ethernet/atheros/atlx/atl2.c ptr++; ptr 1995 drivers/net/ethernet/atheros/atlx/atl2.c memcpy(ptr, bytes, eeprom->len); ptr 2376 drivers/net/ethernet/broadcom/bcmsysport.c unsigned long event, void *ptr) ptr 2382 drivers/net/ethernet/broadcom/bcmsysport.c ret = bcm_sysport_map_queues(nb, ptr); ptr 2385 drivers/net/ethernet/broadcom/bcmsysport.c ret = bcm_sysport_unmap_queues(nb, ptr); ptr 5681 drivers/net/ethernet/broadcom/cnic.c void *ptr) ptr 5683 drivers/net/ethernet/broadcom/cnic.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 287 drivers/net/ethernet/broadcom/sb1250-mac.c static uint64_t sbmac_addr2reg(unsigned char *ptr); ptr 1748 drivers/net/ethernet/broadcom/sb1250-mac.c static uint64_t sbmac_addr2reg(unsigned char *ptr) ptr 1752 drivers/net/ethernet/broadcom/sb1250-mac.c ptr += 6; ptr 1754 drivers/net/ethernet/broadcom/sb1250-mac.c reg |= (uint64_t) *(--ptr); ptr 1756 drivers/net/ethernet/broadcom/sb1250-mac.c reg |= (uint64_t) *(--ptr); ptr 1758 drivers/net/ethernet/broadcom/sb1250-mac.c reg |= (uint64_t) *(--ptr); ptr 1760 drivers/net/ethernet/broadcom/sb1250-mac.c reg |= (uint64_t) *(--ptr); ptr 1762 drivers/net/ethernet/broadcom/sb1250-mac.c reg |= (uint64_t) *(--ptr); ptr 1764 drivers/net/ethernet/broadcom/sb1250-mac.c reg |= (uint64_t) *(--ptr); ptr 12852 drivers/net/ethernet/broadcom/tg3.c u8 *ptr; ptr 12856 drivers/net/ethernet/broadcom/tg3.c ptr = (u8 *)&buf[0]; ptr 12857 drivers/net/ethernet/broadcom/tg3.c for (i = 0; pos < len && i < 3; i++, pos += cnt, ptr += cnt) { ptr 12859 drivers/net/ethernet/broadcom/tg3.c len - pos, ptr); ptr 1286 drivers/net/ethernet/cavium/liquidio/lio_core.c u32 status, void *ptr) ptr 1288 drivers/net/ethernet/cavium/liquidio/lio_core.c struct octeon_soft_command *sc = (struct octeon_soft_command *)ptr; ptr 1490 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[0].ptr[0], (skb->len - skb->data_len), ptr 1498 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[(i >> 2)].ptr[(i & 3)], ptr 1533 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[0].ptr[0], (skb->len - skb->data_len), ptr 1541 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[(i >> 2)].ptr[(i & 3)], ptr 2447 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[0].ptr[0] = dma_map_single(&oct->pci_dev->dev, ptr 2451 drivers/net/ethernet/cavium/liquidio/lio_main.c if (dma_mapping_error(&oct->pci_dev->dev, g->sg[0].ptr[0])) { ptr 2464 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[(i >> 2)].ptr[(i & 3)] = ptr 2470 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[i >> 2].ptr[i & 3])) { ptr 2472 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[0].ptr[0], ptr 2478 drivers/net/ethernet/cavium/liquidio/lio_main.c g->sg[j >> 2].ptr[j & 3], ptr 835 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[0].ptr[0], (skb->len - skb->data_len), ptr 843 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[(i >> 2)].ptr[(i & 3)], ptr 879 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[0].ptr[0], (skb->len - skb->data_len), ptr 887 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[(i >> 2)].ptr[(i & 3)], ptr 1521 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[0].ptr[0] = dma_map_single(&oct->pci_dev->dev, ptr 1525 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c if (dma_mapping_error(&oct->pci_dev->dev, g->sg[0].ptr[0])) { ptr 1537 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[(i >> 2)].ptr[(i & 3)] = ptr 1542 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[i >> 2].ptr[i & 3])) { ptr 1544 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[0].ptr[0], ptr 1550 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c g->sg[j >> 2].ptr[j & 3], ptr 608 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c unsigned long event, void *ptr) ptr 610 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 168 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 ptr[4]; ptr 35 drivers/net/ethernet/cavium/liquidio/octeon_droq.c void *ptr; ptr 366 drivers/net/ethernet/dec/tulip/tulip.h #define get_u16(ptr) get_unaligned_le16((ptr)) ptr 842 drivers/net/ethernet/emulex/benet/be.h amap_set(void *ptr, u32 dw_offset, u32 mask, u32 offset, u32 value) ptr 844 drivers/net/ethernet/emulex/benet/be.h u32 *dw = (u32 *) ptr + dw_offset; ptr 849 drivers/net/ethernet/emulex/benet/be.h #define AMAP_SET_BITS(_struct, field, ptr, val) \ ptr 850 drivers/net/ethernet/emulex/benet/be.h amap_set(ptr, \ ptr 856 drivers/net/ethernet/emulex/benet/be.h static inline u32 amap_get(void *ptr, u32 dw_offset, u32 mask, u32 offset) ptr 858 drivers/net/ethernet/emulex/benet/be.h u32 *dw = (u32 *) ptr; ptr 862 drivers/net/ethernet/emulex/benet/be.h #define AMAP_GET_BITS(_struct, field, ptr) \ ptr 863 drivers/net/ethernet/emulex/benet/be.h amap_get(ptr, \ ptr 868 drivers/net/ethernet/emulex/benet/be.h #define GET_RX_COMPL_V0_BITS(field, ptr) \ ptr 869 drivers/net/ethernet/emulex/benet/be.h AMAP_GET_BITS(struct amap_eth_rx_compl_v0, field, ptr) ptr 871 drivers/net/ethernet/emulex/benet/be.h #define GET_RX_COMPL_V1_BITS(field, ptr) \ ptr 872 drivers/net/ethernet/emulex/benet/be.h AMAP_GET_BITS(struct amap_eth_rx_compl_v1, field, ptr) ptr 874 drivers/net/ethernet/emulex/benet/be.h #define GET_TX_COMPL_BITS(field, ptr) \ ptr 875 drivers/net/ethernet/emulex/benet/be.h AMAP_GET_BITS(struct amap_eth_tx_compl, field, ptr) ptr 877 drivers/net/ethernet/emulex/benet/be.h #define SET_TX_WRB_HDR_BITS(field, ptr, val) \ ptr 878 drivers/net/ethernet/emulex/benet/be.h AMAP_SET_BITS(struct amap_eth_hdr_wrb, field, ptr, val) ptr 75 drivers/net/ethernet/freescale/fman/fman_mac.h #define ETH_HASH_ENTRY_OBJ(ptr) \ ptr 76 drivers/net/ethernet/freescale/fman/fman_mac.h hlist_entry_safe(ptr, struct eth_hash_entry, node) ptr 1058 drivers/net/ethernet/freescale/ucc_geth.h #define ENET_ADDR_CONT_ENTRY(ptr) list_entry(ptr, struct enet_addr_container, node) ptr 267 drivers/net/ethernet/hp/hp100.c static inline dma_addr_t virt_to_whatever(struct net_device *dev, u32 * ptr) ptr 270 drivers/net/ethernet/hp/hp100.c return ((u_long) ptr) + lp->whatever_offset; ptr 1813 drivers/net/ethernet/hp/hp100.c u_char *ptr; ptr 1819 drivers/net/ethernet/hp/hp100.c ptr = skb->data; ptr 1823 drivers/net/ethernet/hp/hp100.c memcpy_fromio(ptr, lp->mem_ptr_virt,pkt_len); ptr 1825 drivers/net/ethernet/hp/hp100.c insl(ioaddr + HP100_REG_DATA32, ptr, pkt_len >> 2); ptr 1831 drivers/net/ethernet/hp/hp100.c dev->name, ptr[0], ptr[1], ptr[2], ptr[3], ptr 1832 drivers/net/ethernet/hp/hp100.c ptr[4], ptr[5], ptr[6], ptr[7], ptr[8], ptr 1833 drivers/net/ethernet/hp/hp100.c ptr[9], ptr[10], ptr[11]); ptr 1862 drivers/net/ethernet/hp/hp100.c hp100_ring_t *ptr; ptr 1895 drivers/net/ethernet/hp/hp100.c ptr = lp->rxrhead; ptr 1897 drivers/net/ethernet/hp/hp100.c header = *(ptr->pdl - 1); ptr 1901 drivers/net/ethernet/hp/hp100.c pci_unmap_single(lp->pci_dev, (dma_addr_t) ptr->pdl[3], MAX_ETHER_SIZE, PCI_DMA_FROMDEVICE); ptr 1905 drivers/net/ethernet/hp/hp100.c dev->name, (u_int) (ptr->pdl - 1), (u_int) header, ptr 1909 drivers/net/ethernet/hp/hp100.c hp100_inb(RX_PKT_CNT), (u_int) * (ptr->pdl), ptr 1910 drivers/net/ethernet/hp/hp100.c (u_int) * (ptr->pdl + 3), (u_int) * (ptr->pdl + 4)); ptr 1915 drivers/net/ethernet/hp/hp100.c if (ptr->skb == NULL) { ptr 1920 drivers/net/ethernet/hp/hp100.c skb_trim(ptr->skb, pkt_len); /* Shorten it */ ptr 1921 drivers/net/ethernet/hp/hp100.c ptr->skb->protocol = ptr 1922 drivers/net/ethernet/hp/hp100.c eth_type_trans(ptr->skb, dev); ptr 1924 drivers/net/ethernet/hp/hp100.c netif_rx(ptr->skb); /* Up and away... */ ptr 1940 drivers/net/ethernet/hp/hp100.c if (ptr->skb != NULL) ptr 1941 drivers/net/ethernet/hp/hp100.c dev_kfree_skb_any(ptr->skb); ptr 879 drivers/net/ethernet/i825xx/82596.c struct i596_cmd *ptr; ptr 882 drivers/net/ethernet/i825xx/82596.c ptr = lp->cmd_head; ptr 883 drivers/net/ethernet/i825xx/82596.c lp->cmd_head = ptr->v_next; ptr 886 drivers/net/ethernet/i825xx/82596.c switch ((ptr->command) & 0x7) { ptr 889 drivers/net/ethernet/i825xx/82596.c struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; ptr 897 drivers/net/ethernet/i825xx/82596.c ptr->v_next = ptr->b_next = I596_NULL; ptr 902 drivers/net/ethernet/i825xx/82596.c ptr->v_next = ptr->b_next = I596_NULL; ptr 1275 drivers/net/ethernet/i825xx/82596.c struct i596_cmd *ptr; ptr 1284 drivers/net/ethernet/i825xx/82596.c ptr = lp->cmd_head; ptr 1288 drivers/net/ethernet/i825xx/82596.c lp->cmd_head = ptr->v_next; ptr 1291 drivers/net/ethernet/i825xx/82596.c switch ((ptr->command) & 0x7) { ptr 1294 drivers/net/ethernet/i825xx/82596.c struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; ptr 1297 drivers/net/ethernet/i825xx/82596.c if ((ptr->status) & STAT_OK) { ptr 1301 drivers/net/ethernet/i825xx/82596.c if ((ptr->status) & 0x0020) ptr 1303 drivers/net/ethernet/i825xx/82596.c if (!((ptr->status) & 0x0040)) ptr 1305 drivers/net/ethernet/i825xx/82596.c if ((ptr->status) & 0x0400) ptr 1307 drivers/net/ethernet/i825xx/82596.c if ((ptr->status) & 0x0800) ptr 1309 drivers/net/ethernet/i825xx/82596.c if ((ptr->status) & 0x1000) ptr 1320 drivers/net/ethernet/i825xx/82596.c unsigned short status = ((struct tdr_cmd *)ptr)->status; ptr 1339 drivers/net/ethernet/i825xx/82596.c ptr->command = 0; ptr 1342 drivers/net/ethernet/i825xx/82596.c ptr->v_next = ptr->b_next = I596_NULL; ptr 1346 drivers/net/ethernet/i825xx/82596.c ptr = lp->cmd_head; ptr 1347 drivers/net/ethernet/i825xx/82596.c while ((ptr != I596_NULL) && (ptr != lp->cmd_tail)) { ptr 1348 drivers/net/ethernet/i825xx/82596.c ptr->command &= 0x1fff; ptr 1349 drivers/net/ethernet/i825xx/82596.c ptr = ptr->v_next; ptr 800 drivers/net/ethernet/i825xx/lib82596.c struct i596_cmd *ptr; ptr 803 drivers/net/ethernet/i825xx/lib82596.c ptr = lp->cmd_head; ptr 804 drivers/net/ethernet/i825xx/lib82596.c lp->cmd_head = ptr->v_next; ptr 807 drivers/net/ethernet/i825xx/lib82596.c switch (SWAP16(ptr->command) & 0x7) { ptr 810 drivers/net/ethernet/i825xx/lib82596.c struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; ptr 821 drivers/net/ethernet/i825xx/lib82596.c ptr->v_next = NULL; ptr 822 drivers/net/ethernet/i825xx/lib82596.c ptr->b_next = I596_NULL; ptr 827 drivers/net/ethernet/i825xx/lib82596.c ptr->v_next = NULL; ptr 828 drivers/net/ethernet/i825xx/lib82596.c ptr->b_next = I596_NULL; ptr 830 drivers/net/ethernet/i825xx/lib82596.c DMA_WBACK_INV(dev, ptr, sizeof(struct i596_cmd)); ptr 1144 drivers/net/ethernet/i825xx/lib82596.c struct i596_cmd *ptr; ptr 1162 drivers/net/ethernet/i825xx/lib82596.c ptr = lp->cmd_head; ptr 1169 drivers/net/ethernet/i825xx/lib82596.c lp->cmd_head = ptr->v_next; ptr 1172 drivers/net/ethernet/i825xx/lib82596.c switch (SWAP16(ptr->command) & 0x7) { ptr 1175 drivers/net/ethernet/i825xx/lib82596.c struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr; ptr 1178 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(STAT_OK)) { ptr 1183 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x0020)) ptr 1185 drivers/net/ethernet/i825xx/lib82596.c if (!(ptr->status & SWAP16(0x0040))) ptr 1187 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x0400)) ptr 1189 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x0800)) ptr 1191 drivers/net/ethernet/i825xx/lib82596.c if (ptr->status & SWAP16(0x1000)) ptr 1204 drivers/net/ethernet/i825xx/lib82596.c unsigned short status = SWAP16(((struct tdr_cmd *)ptr)->status); ptr 1235 drivers/net/ethernet/i825xx/lib82596.c ptr->command = 0; ptr 1238 drivers/net/ethernet/i825xx/lib82596.c ptr->v_next = NULL; ptr 1239 drivers/net/ethernet/i825xx/lib82596.c ptr->b_next = I596_NULL; ptr 1240 drivers/net/ethernet/i825xx/lib82596.c DMA_WBACK(dev, ptr, sizeof(struct i596_cmd)); ptr 1248 drivers/net/ethernet/i825xx/lib82596.c ptr = lp->cmd_head; ptr 1249 drivers/net/ethernet/i825xx/lib82596.c while ((ptr != NULL) && (ptr != lp->cmd_tail)) { ptr 1250 drivers/net/ethernet/i825xx/lib82596.c struct i596_cmd *prev = ptr; ptr 1252 drivers/net/ethernet/i825xx/lib82596.c ptr->command &= SWAP16(0x1fff); ptr 1253 drivers/net/ethernet/i825xx/lib82596.c ptr = ptr->v_next; ptr 138 drivers/net/ethernet/i825xx/sun3_82586.c static void *alloc_rfa(struct net_device *dev,void *ptr); ptr 406 drivers/net/ethernet/i825xx/sun3_82586.c void *ptr; ptr 416 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (void *) ((char *)p->scb + sizeof(struct scb_struct)); ptr 418 drivers/net/ethernet/i825xx/sun3_82586.c cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ ptr 433 drivers/net/ethernet/i825xx/sun3_82586.c int len = ((char *) p->iscp - (char *) ptr - 8) / 6; ptr 461 drivers/net/ethernet/i825xx/sun3_82586.c ias_cmd = (struct iasetup_cmd_struct *)ptr; ptr 485 drivers/net/ethernet/i825xx/sun3_82586.c tdr_cmd = (struct tdr_cmd_struct *)ptr; ptr 530 drivers/net/ethernet/i825xx/sun3_82586.c mc_cmd = (struct mcsetup_cmd_struct *) ptr; ptr 557 drivers/net/ethernet/i825xx/sun3_82586.c p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; ptr 561 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (char *) ptr + sizeof(struct nop_cmd_struct); ptr 566 drivers/net/ethernet/i825xx/sun3_82586.c p->nop_cmds[i] = (struct nop_cmd_struct *)ptr; ptr 570 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (char *) ptr + sizeof(struct nop_cmd_struct); ptr 574 drivers/net/ethernet/i825xx/sun3_82586.c ptr = alloc_rfa(dev,ptr); /* init receive-frame-area */ ptr 581 drivers/net/ethernet/i825xx/sun3_82586.c p->xmit_cmds[i] = (struct transmit_cmd_struct *)ptr; /*transmit cmd/buff 0*/ ptr 582 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (char *) ptr + sizeof(struct transmit_cmd_struct); ptr 583 drivers/net/ethernet/i825xx/sun3_82586.c p->xmit_cbuffs[i] = (char *)ptr; /* char-buffs */ ptr 584 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (char *) ptr + XMIT_BUFF_SIZE; ptr 585 drivers/net/ethernet/i825xx/sun3_82586.c p->xmit_buffs[i] = (struct tbd_struct *)ptr; /* TBD */ ptr 586 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (char *) ptr + sizeof(struct tbd_struct); ptr 587 drivers/net/ethernet/i825xx/sun3_82586.c if(ptr > (void *)dev->mem_end) ptr 639 drivers/net/ethernet/i825xx/sun3_82586.c static void *alloc_rfa(struct net_device *dev,void *ptr) ptr 641 drivers/net/ethernet/i825xx/sun3_82586.c volatile struct rfd_struct *rfd = (struct rfd_struct *)ptr; ptr 655 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); ptr 657 drivers/net/ethernet/i825xx/sun3_82586.c rbd = (struct rbd_struct *) ptr; ptr 658 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (void *) (rbd + p->num_recv_buffs); ptr 667 drivers/net/ethernet/i825xx/sun3_82586.c rbd[i].buffer = make24(ptr); ptr 668 drivers/net/ethernet/i825xx/sun3_82586.c ptr = (char *) ptr + RECV_BUFF_SIZE; ptr 677 drivers/net/ethernet/i825xx/sun3_82586.c return ptr; ptr 1158 drivers/net/ethernet/i825xx/sun3_82586.c void sun3_82586_dump(struct net_device *dev,void *ptr) ptr 1161 drivers/net/ethernet/i825xx/sun3_82586.c struct dump_cmd_struct *dump_cmd = (struct dump_cmd_struct *) ptr; ptr 714 drivers/net/ethernet/ibm/emac/core.c out_be32(&p->ptr, 0xffff); ptr 40 drivers/net/ethernet/ibm/emac/emac.h u32 ptr; /* Reset, T */ ptr 473 drivers/net/ethernet/intel/e1000/e1000_ethtool.c void *ptr; ptr 491 drivers/net/ethernet/intel/e1000/e1000_ethtool.c ptr = (void *)eeprom_buff; ptr 499 drivers/net/ethernet/intel/e1000/e1000_ethtool.c ptr++; ptr 513 drivers/net/ethernet/intel/e1000/e1000_ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 556 drivers/net/ethernet/intel/e1000e/ethtool.c void *ptr; ptr 581 drivers/net/ethernet/intel/e1000e/ethtool.c ptr = (void *)eeprom_buff; ptr 589 drivers/net/ethernet/intel/e1000e/ethtool.c ptr++; ptr 604 drivers/net/ethernet/intel/e1000e/ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 113 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_u8(attr, ptr) \ ptr 114 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(u8)) ptr 115 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_u16(attr, ptr) \ ptr 116 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(u16)) ptr 117 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_u32(attr, ptr) \ ptr 118 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(u32)) ptr 119 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_u64(attr, ptr) \ ptr 120 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(u64)) ptr 121 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_s8(attr, ptr) \ ptr 122 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(s8)) ptr 123 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_s16(attr, ptr) \ ptr 124 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(s16)) ptr 125 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_s32(attr, ptr) \ ptr 126 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(s32)) ptr 127 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h #define fm10k_tlv_attr_get_s64(attr, ptr) \ ptr 128 drivers/net/ethernet/intel/fm10k/fm10k_tlv.h fm10k_tlv_attr_get_value(attr, ptr, sizeof(s64)) ptr 27 drivers/net/ethernet/intel/ice/ice_osdep.h #define ice_hw_to_dev(ptr) \ ptr 28 drivers/net/ethernet/intel/ice/ice_osdep.h (&(container_of((ptr), struct ice_pf, hw))->pdev->dev) ptr 777 drivers/net/ethernet/intel/igb/igb_ethtool.c void *ptr; ptr 800 drivers/net/ethernet/intel/igb/igb_ethtool.c ptr = (void *)eeprom_buff; ptr 808 drivers/net/ethernet/intel/igb/igb_ethtool.c ptr++; ptr 822 drivers/net/ethernet/intel/igb/igb_ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 394 drivers/net/ethernet/intel/igb/igb_ptp.c u32 *ptr = pin < 2 ? ctrl : ctrl_ext; ptr 403 drivers/net/ethernet/intel/igb/igb_ptp.c *ptr &= ~mask[pin]; ptr 405 drivers/net/ethernet/intel/igb/igb_ptp.c *ptr |= mask[pin]; ptr 412 drivers/net/ethernet/intel/igc/igc_ethtool.c void *ptr; ptr 434 drivers/net/ethernet/intel/igc/igc_ethtool.c ptr = (void *)eeprom_buff; ptr 442 drivers/net/ethernet/intel/igc/igc_ethtool.c ptr++; ptr 456 drivers/net/ethernet/intel/igc/igc_ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 402 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c void *ptr; ptr 426 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c ptr = (void *)eeprom_buff; ptr 432 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c ptr++; ptr 441 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 937 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c void *ptr; ptr 955 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ptr = eeprom_buff; ptr 966 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ptr++; ptr 983 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c memcpy(ptr, bytes, eeprom->len); ptr 924 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c static s32 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, u16 ptr, ptr 937 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_read_ee_hostif_buffer_X550(hw, ptr, bufsz, buf); ptr 944 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c if (buffer_size < ptr) ptr 946 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c local_buffer = &buffer[ptr]; ptr 958 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c (ptr + length) >= hw->eeprom.word_size) ptr 967 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c ptr += bufsz; ptr 973 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_read_ee_hostif_buffer_X550(hw, ptr, ptr 340 drivers/net/ethernet/lantiq_xrx200.c static irqreturn_t xrx200_dma_irq(int irq, void *ptr) ptr 342 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_chan *ch = ptr; ptr 3730 drivers/net/ethernet/marvell/skge.c unsigned long event, void *ptr) ptr 3732 drivers/net/ethernet/marvell/skge.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 4616 drivers/net/ethernet/marvell/sky2.c unsigned long event, void *ptr) ptr 4618 drivers/net/ethernet/marvell/sky2.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 3033 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned long event, void *ptr) ptr 3035 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 3078 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct netdev_notifier_bonding_info *notifier_info = ptr; ptr 346 drivers/net/ethernet/mellanox/mlx4/en_rx.c __be32 *ptr = (__be32 *)ring->buf; ptr 348 drivers/net/ethernet/mellanox/mlx4/en_rx.c *ptr = stamp; ptr 1142 drivers/net/ethernet/mellanox/mlx4/en_rx.c void *ptr; ptr 1202 drivers/net/ethernet/mellanox/mlx4/en_rx.c ptr = ((void *) &context) + offsetof(struct mlx4_qp_context, pri_path) ptr 1204 drivers/net/ethernet/mellanox/mlx4/en_rx.c rss_context = ptr; ptr 239 drivers/net/ethernet/mellanox/mlx4/en_tx.c __be32 *ptr = (__be32 *)tx_desc; ptr 248 drivers/net/ethernet/mellanox/mlx4/en_tx.c *ptr = stamp; ptr 249 drivers/net/ethernet/mellanox/mlx4/en_tx.c ptr += STAMP_DWORDS; ptr 255 drivers/net/ethernet/mellanox/mlx4/en_tx.c *ptr = stamp; ptr 256 drivers/net/ethernet/mellanox/mlx4/en_tx.c ptr += STAMP_DWORDS; ptr 257 drivers/net/ethernet/mellanox/mlx4/en_tx.c if ((void *)ptr >= end) { ptr 258 drivers/net/ethernet/mellanox/mlx4/en_tx.c ptr = ring->buf; ptr 578 drivers/net/ethernet/mellanox/mlx4/en_tx.c void *ptr; ptr 584 drivers/net/ethernet/mellanox/mlx4/en_tx.c ptr = skb_frag_address_safe(&shinfo->frags[0]); ptr 585 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (unlikely(!ptr)) ptr 587 drivers/net/ethernet/mellanox/mlx4/en_tx.c *pfrag = ptr; ptr 798 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h unsigned long event, void *ptr); ptr 150 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u8 *ptr = buf; ptr 156 drivers/net/ethernet/mellanox/mlx5/core/cmd.c sum ^= ptr[i]; ptr 1277 drivers/net/ethernet/mellanox/mlx5/core/cmd.c void *ptr; ptr 1285 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ptr = memdup_user(buf, count); ptr 1286 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (IS_ERR(ptr)) ptr 1287 drivers/net/ethernet/mellanox/mlx5/core/cmd.c return PTR_ERR(ptr); ptr 1288 drivers/net/ethernet/mellanox/mlx5/core/cmd.c dbg->in_msg = ptr; ptr 1338 drivers/net/ethernet/mellanox/mlx5/core/cmd.c void *ptr; ptr 1355 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ptr = kzalloc(outlen, GFP_KERNEL); ptr 1356 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (!ptr) ptr 1359 drivers/net/ethernet/mellanox/mlx5/core/cmd.c dbg->out_msg = ptr; ptr 48 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c __be32 *ptr = (__be32 *)(((u8 *)greh) + hdr_len - 4); ptr 49 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c *ptr = tun_id; ptr 70 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_stats.c #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ ptr 71 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_stats.c atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset)) ptr 49 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ ptr 50 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset)) ptr 857 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c unsigned long event, void *ptr) ptr 862 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 906 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c unsigned long event, void *ptr) ptr 921 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c n = ptr; ptr 943 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c p = ptr; ptr 35 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h #define MLX5E_READ_CTR64_CPU(ptr, dsc, i) \ ptr 36 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h (*(u64 *)((char *)ptr + dsc[i].offset)) ptr 37 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h #define MLX5E_READ_CTR64_BE(ptr, dsc, i) \ ptr 38 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h be64_to_cpu(*(__be64 *)((char *)ptr + dsc[i].offset)) ptr 39 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h #define MLX5E_READ_CTR32_CPU(ptr, dsc, i) \ ptr 40 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h (*(u32 *)((char *)ptr + dsc[i].offset)) ptr 41 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h #define MLX5E_READ_CTR32_BE(ptr, dsc, i) \ ptr 42 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h be32_to_cpu(*(__be32 *)((char *)ptr + dsc[i].offset)) ptr 4080 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c unsigned long event, void *ptr) ptr 4082 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 4130 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c static void _mlx5e_tc_del_flow(void *ptr, void *arg) ptr 4132 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct mlx5e_tc_flow *flow = ptr; ptr 130 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c void *ptr) ptr 144 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ret = idr_alloc(idr, ptr, SWID_START, SWID_END, GFP_ATOMIC); ptr 155 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c void *ptr; ptr 158 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ptr = idr_remove(idr, swid); ptr 160 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c return ptr; ptr 457 drivers/net/ethernet/mellanox/mlx5/core/lag.c unsigned long event, void *ptr) ptr 459 drivers/net/ethernet/mellanox/mlx5/core/lag.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 476 drivers/net/ethernet/mellanox/mlx5/core/lag.c ptr); ptr 480 drivers/net/ethernet/mellanox/mlx5/core/lag.c ndev, ptr); ptr 240 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c void *ptr) ptr 244 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct fib_notifier_info *info = ptr; ptr 55 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h type *ptr = NULL; \ ptr 57 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h hlist_for_each_entry(ptr, &(hash)[ix], node.hlist) \ ptr 58 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h if (ether_addr_equal(ptr->node.addr, mac)) {\ ptr 63 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h ptr = NULL; \ ptr 64 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h ptr; \ ptr 69 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h type *ptr = NULL; \ ptr 71 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h ptr = kzalloc(sizeof(type), gfp); \ ptr 72 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h if (ptr) { \ ptr 73 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h ether_addr_copy(ptr->node.addr, mac); \ ptr 74 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h hlist_add_head(&ptr->node.hlist, &(hash)[ix]);\ ptr 76 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h ptr; \ ptr 79 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h #define l2addr_hash_del(ptr) ({ \ ptr 80 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h hlist_del(&(ptr)->node.hlist); \ ptr 81 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h kfree(ptr); \ ptr 326 drivers/net/ethernet/mellanox/mlx5/core/port.c void *ptr = MLX5_ADDR_OF(mcia_reg, out, dword_0); ptr 368 drivers/net/ethernet/mellanox/mlx5/core/port.c memcpy(data, ptr, size); ptr 21 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_file.h const void *ptr) ptr 26 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_file.h return ptr > valid_from && ptr < valid_to; ptr 18 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h mlxfw_mfa2_tlv_get(const struct mlxfw_mfa2_file *mfa2_file, const void *ptr) ptr 20 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h if (!mlxfw_mfa2_valid_ptr(mfa2_file, ptr) || ptr 21 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h !mlxfw_mfa2_valid_ptr(mfa2_file, ptr + sizeof(struct mlxfw_mfa2_tlv))) ptr 23 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h return ptr; ptr 4760 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr); ptr 5977 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 5988 drivers/net/ethernet/mellanox/mlxsw/spectrum.c info = ptr; ptr 6090 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6097 drivers/net/ethernet/mellanox/mlxsw/spectrum.c info = ptr; ptr 6115 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6121 drivers/net/ethernet/mellanox/mlxsw/spectrum.c event, ptr); ptr 6124 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ptr); ptr 6131 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6140 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ptr); ptr 6151 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr, ptr 6156 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct netdev_notifier_changeupper_info *info = ptr; ptr 6219 drivers/net/ethernet/mellanox/mlxsw/spectrum.c void *ptr, u16 vid) ptr 6228 drivers/net/ethernet/mellanox/mlxsw/spectrum.c event, ptr, ptr 6240 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr, ptr 6244 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct netdev_notifier_changeupper_info *info = ptr; ptr 6281 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6288 drivers/net/ethernet/mellanox/mlxsw/spectrum.c event, ptr, vid); ptr 6292 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ptr, vid); ptr 6295 drivers/net/ethernet/mellanox/mlxsw/spectrum.c event, ptr, vid); ptr 6301 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6304 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct netdev_notifier_changeupper_info *info = ptr; ptr 6343 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6346 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct netdev_notifier_changeupper_info *info = ptr; ptr 6360 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static bool mlxsw_sp_is_vrf_event(unsigned long event, void *ptr) ptr 6362 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct netdev_notifier_changeupper_info *info = ptr; ptr 6371 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6374 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct netdev_notifier_info *info = ptr; ptr 6438 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned long event, void *ptr) ptr 6440 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 6454 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_vxlan_event(mlxsw_sp, dev, event, ptr); ptr 6457 drivers/net/ethernet/mellanox/mlxsw/spectrum.c event, ptr); ptr 6460 drivers/net/ethernet/mellanox/mlxsw/spectrum.c event, ptr); ptr 6464 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_router_port_event(dev, event, ptr); ptr 6465 drivers/net/ethernet/mellanox/mlxsw/spectrum.c else if (mlxsw_sp_is_vrf_event(event, ptr)) ptr 6466 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_vrf_event(dev, event, ptr); ptr 6468 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_port_event(dev, dev, event, ptr); ptr 6470 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_lag_event(dev, event, ptr); ptr 6472 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_vlan_event(dev, event, ptr); ptr 6474 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_bridge_event(dev, event, ptr); ptr 6476 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_sp_netdevice_macvlan_event(dev, event, ptr); ptr 530 drivers/net/ethernet/mellanox/mlxsw/spectrum.h unsigned long event, void *ptr); ptr 534 drivers/net/ethernet/mellanox/mlxsw/spectrum.h unsigned long event, void *ptr); ptr 536 drivers/net/ethernet/mellanox/mlxsw/spectrum.h unsigned long event, void *ptr); ptr 486 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c static void mlxsw_sp1_ptp_unmatched_free_fn(void *ptr, void *arg) ptr 488 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c struct mlxsw_sp1_ptp_unmatched *unmatched = ptr; ptr 2552 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 2563 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c p = ptr; ptr 2584 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c n = ptr; ptr 2613 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_router_schedule_work(ptr, nb, ptr 2617 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_router_schedule_work(ptr, nb, ptr 2890 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop_group_cmp(struct rhashtable_compare_arg *arg, const void *ptr) ptr 2893 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c const struct mlxsw_sp_nexthop_group *nh_grp = ptr; ptr 6234 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 6237 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_notifier_info *info = ptr; ptr 6265 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct fib_entry_notifier_info *fen_info = ptr; ptr 7025 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 7027 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct in_ifaddr *ifa = (struct in_ifaddr *) ptr; ptr 7048 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 7050 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct in_validator_info *ivi = (struct in_validator_info *) ptr; ptr 7105 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 7107 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct inet6_ifaddr *if6 = (struct inet6_ifaddr *) ptr; ptr 7132 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 7134 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct in6_validator_info *i6vi = (struct in6_validator_info *) ptr; ptr 7237 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c unsigned long event, void *ptr) ptr 7255 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_router_port_pre_changeaddr_event(rif, ptr); ptr 3119 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c unsigned long event, void *ptr) ptr 3121 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 3124 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct switchdev_notifier_info *info = ptr; ptr 3129 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = switchdev_handle_port_attr_set(dev, ptr, ptr 3161 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c memcpy(&switchdev_work->fdb_info, ptr, ptr 3436 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c unsigned long event, void *ptr) ptr 3438 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 3444 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_switchdev_handle_vxlan_obj_add(dev, ptr); ptr 3446 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = switchdev_handle_port_obj_add(dev, ptr, ptr 3452 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_handle_vxlan_obj_del(dev, ptr); ptr 3454 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = switchdev_handle_port_obj_del(dev, ptr, ptr 3459 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = switchdev_handle_port_attr_set(dev, ptr, ptr 492 drivers/net/ethernet/micrel/ks8842.c u32 *ptr = (u32 *)skb->data; ptr 502 drivers/net/ethernet/micrel/ks8842.c iowrite32(*ptr, adapter->hw_addr + REG_QMU_DATA_LO); ptr 504 drivers/net/ethernet/micrel/ks8842.c ptr++; ptr 6131 drivers/net/ethernet/micrel/ksz884x.c void *ptr) ptr 6136 drivers/net/ethernet/micrel/ksz884x.c int *buf = (int *) ptr; ptr 580 drivers/net/ethernet/microchip/enc28j60.c static u16 rx_packet_start(u16 ptr) ptr 582 drivers/net/ethernet/microchip/enc28j60.c if (ptr + RSV_SIZE > RXEND_INIT) ptr 583 drivers/net/ethernet/microchip/enc28j60.c return (ptr + RSV_SIZE) - (RXEND_INIT - RXSTART_INIT + 1); ptr 585 drivers/net/ethernet/microchip/enc28j60.c return ptr + RSV_SIZE; ptr 279 drivers/net/ethernet/microchip/lan743x_main.c static irqreturn_t lan743x_intr_entry_isr(int irq, void *ptr) ptr 281 drivers/net/ethernet/microchip/lan743x_main.c struct lan743x_vector *vector = ptr; ptr 1713 drivers/net/ethernet/mscc/ocelot.c unsigned long event, void *ptr) ptr 1715 drivers/net/ethernet/mscc/ocelot.c struct netdev_notifier_changeupper_info *info = ptr; ptr 1716 drivers/net/ethernet/mscc/ocelot.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1760 drivers/net/ethernet/mscc/ocelot.c unsigned long event, void *ptr) ptr 1762 drivers/net/ethernet/mscc/ocelot.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 1767 drivers/net/ethernet/mscc/ocelot.c err = switchdev_handle_port_attr_set(dev, ptr, ptr 1782 drivers/net/ethernet/mscc/ocelot.c unsigned long event, void *ptr) ptr 1784 drivers/net/ethernet/mscc/ocelot.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 1790 drivers/net/ethernet/mscc/ocelot.c err = switchdev_handle_port_obj_add(dev, ptr, ptr 1795 drivers/net/ethernet/mscc/ocelot.c err = switchdev_handle_port_obj_del(dev, ptr, ptr 1800 drivers/net/ethernet/mscc/ocelot.c err = switchdev_handle_port_attr_set(dev, ptr, ptr 466 drivers/net/ethernet/myricom/myri10ge/myri10ge.c char *ptr, *limit; ptr 469 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr = mgp->eeprom_strings; ptr 472 drivers/net/ethernet/myricom/myri10ge/myri10ge.c while (*ptr != '\0' && ptr < limit) { ptr 473 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (memcmp(ptr, "MAC=", 4) == 0) { ptr 474 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr += 4; ptr 475 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->mac_addr_string = ptr; ptr 477 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if ((ptr + 2) > limit) ptr 480 drivers/net/ethernet/myricom/myri10ge/myri10ge.c simple_strtoul(ptr, &ptr, 16); ptr 481 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr += 1; ptr 484 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (memcmp(ptr, "PC=", 3) == 0) { ptr 485 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr += 3; ptr 486 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->product_code_string = ptr; ptr 488 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (memcmp((const void *)ptr, "SN=", 3) == 0) { ptr 489 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr += 3; ptr 490 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->serial_number = simple_strtoul(ptr, &ptr, 10); ptr 492 drivers/net/ethernet/myricom/myri10ge/myri10ge.c while (ptr < limit && *ptr++) ; ptr 1615 drivers/net/ethernet/myricom/myri10ge/myri10ge.c char *ptr; ptr 1628 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr = mgp->product_code_string; ptr 1629 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (ptr == NULL) { ptr 1633 drivers/net/ethernet/myricom/myri10ge/myri10ge.c for (i = 0; i < 3; i++, ptr++) { ptr 1634 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr = strchr(ptr, '-'); ptr 1635 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (ptr == NULL) { ptr 1641 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (*ptr == '2') ptr 1642 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ptr++; ptr 1643 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (*ptr == 'R' || *ptr == 'Q' || *ptr == 'S') { ptr 8242 drivers/net/ethernet/neterion/s2io.c __be32 *ptr; ptr 8243 drivers/net/ethernet/neterion/s2io.c ptr = (__be32 *)(tcp+1); ptr 8245 drivers/net/ethernet/neterion/s2io.c lro->cur_tsval = ntohl(*(ptr+1)); ptr 8246 drivers/net/ethernet/neterion/s2io.c lro->cur_tsecr = *(ptr+2); ptr 8269 drivers/net/ethernet/neterion/s2io.c __be32 *ptr = (__be32 *)(tcp + 1); ptr 8270 drivers/net/ethernet/neterion/s2io.c *(ptr+2) = lro->cur_tsecr; ptr 8294 drivers/net/ethernet/neterion/s2io.c __be32 *ptr; ptr 8296 drivers/net/ethernet/neterion/s2io.c ptr = (__be32 *)(tcp+1); ptr 8297 drivers/net/ethernet/neterion/s2io.c lro->cur_tsval = ntohl(*(ptr+1)); ptr 8298 drivers/net/ethernet/neterion/s2io.c lro->cur_tsecr = *(ptr + 2); ptr 8305 drivers/net/ethernet/neterion/s2io.c u8 *ptr; ptr 8341 drivers/net/ethernet/neterion/s2io.c ptr = (u8 *)(tcp + 1); ptr 8342 drivers/net/ethernet/neterion/s2io.c while (*ptr == TCPOPT_NOP) ptr 8343 drivers/net/ethernet/neterion/s2io.c ptr++; ptr 8344 drivers/net/ethernet/neterion/s2io.c if (*ptr != TCPOPT_TIMESTAMP || *(ptr+1) != TCPOLEN_TIMESTAMP) ptr 8349 drivers/net/ethernet/neterion/s2io.c if (l_lro->cur_tsval > ntohl(*((__be32 *)(ptr+2)))) ptr 8353 drivers/net/ethernet/neterion/s2io.c if (*((__be32 *)(ptr+6)) == 0) ptr 242 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c u64 *ptr = tmp_stats; ptr 276 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = 0; ptr 305 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c memset(ptr, 0, (VXGE_HW_VPATH_TX_STATS_LEN + ptr 307 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c ptr += (VXGE_HW_VPATH_TX_STATS_LEN + ptr 312 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_ttl_eth_frms; ptr 313 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_ttl_eth_octets; ptr 314 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_data_octets; ptr 315 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_mcast_frms; ptr 316 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_bcast_frms; ptr 317 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_ucast_frms; ptr 318 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_tagged_frms; ptr 319 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_vld_ip; ptr 320 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_vld_ip_octets; ptr 321 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_icmp; ptr 322 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_tcp; ptr 323 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_rst_tcp; ptr 324 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_udp; ptr 325 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_unknown_protocol; ptr 326 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_lost_ip; ptr 327 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_parse_error; ptr 328 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_tcp_offload; ptr 329 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_retx_tcp_offload; ptr 330 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_stats.tx_lost_ip_offload; ptr 331 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_eth_frms; ptr 332 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_vld_frms; ptr 333 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_offload_frms; ptr 334 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_eth_octets; ptr 335 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_data_octets; ptr 336 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_offload_octets; ptr 337 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_vld_mcast_frms; ptr 338 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_vld_bcast_frms; ptr 339 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_accepted_ucast_frms; ptr 340 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_accepted_nucast_frms; ptr 341 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_tagged_frms; ptr 342 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_long_frms; ptr 343 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_usized_frms; ptr 344 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_osized_frms; ptr 345 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_frag_frms; ptr 346 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_jabber_frms; ptr 347 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_64_frms; ptr 348 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_65_127_frms; ptr 349 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_128_255_frms; ptr 350 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_256_511_frms; ptr 351 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_512_1023_frms; ptr 352 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_1024_1518_frms; ptr 353 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_1519_4095_frms; ptr 354 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_4096_8191_frms; ptr 355 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_8192_max_frms; ptr 356 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ttl_gt_max_frms; ptr 357 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ip; ptr 358 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_accepted_ip; ptr 359 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_ip_octets; ptr 360 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_err_ip; ptr 361 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_icmp; ptr 362 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_tcp; ptr 363 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_udp; ptr 364 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_err_tcp; ptr 365 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_lost_frms; ptr 366 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_lost_ip; ptr 367 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_lost_ip_offload; ptr 368 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_various_discard; ptr 369 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_sleep_discard; ptr 370 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_red_discard; ptr 371 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_queue_full_discard; ptr 372 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_stats.rx_mpa_ok_frms; ptr 374 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = 0; ptr 376 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].tx_frms; ptr 377 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; ptr 378 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; ptr 379 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; ptr 380 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].tx_discarded_frms; ptr 381 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].tx_errored_frms; ptr 382 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_frms; ptr 383 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_data_octets; ptr 384 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_mcast_frms; ptr 385 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_bcast_frms; ptr 386 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_discarded_frms; ptr 387 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_errored_frms; ptr 388 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->aggr_stats[k].rx_unknown_slow_proto_frms; ptr 390 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = 0; ptr 392 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_ttl_frms; ptr 393 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_ttl_octets; ptr 394 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_data_octets; ptr 395 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_mcast_frms; ptr 396 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_bcast_frms; ptr 397 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_ucast_frms; ptr 398 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_tagged_frms; ptr 399 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_vld_ip; ptr 400 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_vld_ip_octets; ptr 401 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_icmp; ptr 402 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_tcp; ptr 403 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_rst_tcp; ptr 404 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_udp; ptr 405 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_parse_error; ptr 406 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_unknown_protocol; ptr 407 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_pause_ctrl_frms; ptr 408 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_marker_pdu_frms; ptr 409 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_lacpdu_frms; ptr 410 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_drop_ip; ptr 411 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_marker_resp_pdu_frms; ptr 412 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_xgmii_char2_match; ptr 413 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_xgmii_char1_match; ptr 414 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_xgmii_column2_match; ptr 415 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_xgmii_column1_match; ptr 416 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_any_err_frms; ptr 417 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].tx_drop_frms; ptr 418 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_frms; ptr 419 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_vld_frms; ptr 420 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_offload_frms; ptr 421 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_octets; ptr 422 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_data_octets; ptr 423 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_offload_octets; ptr 424 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_vld_mcast_frms; ptr 425 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_vld_bcast_frms; ptr 426 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_accepted_ucast_frms; ptr 427 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_accepted_nucast_frms; ptr 428 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_tagged_frms; ptr 429 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_long_frms; ptr 430 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_usized_frms; ptr 431 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_osized_frms; ptr 432 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_frag_frms; ptr 433 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_jabber_frms; ptr 434 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_64_frms; ptr 435 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_65_127_frms; ptr 436 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_128_255_frms; ptr 437 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_256_511_frms; ptr 438 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_512_1023_frms; ptr 439 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_1024_1518_frms; ptr 440 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_1519_4095_frms; ptr 441 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_4096_8191_frms; ptr 442 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_8192_max_frms; ptr 443 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ttl_gt_max_frms; ptr 444 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ip; ptr 445 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_accepted_ip; ptr 446 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_ip_octets; ptr 447 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_err_ip; ptr 448 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_icmp; ptr 449 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_tcp; ptr 450 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_udp; ptr 451 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_err_tcp; ptr 452 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_pause_count; ptr 453 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_pause_ctrl_frms; ptr 454 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_unsup_ctrl_frms; ptr 455 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_fcs_err_frms; ptr 456 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_in_rng_len_err_frms; ptr 457 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_out_rng_len_err_frms; ptr 458 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_drop_frms; ptr 459 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_discarded_frms; ptr 460 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_drop_ip; ptr 461 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_drop_udp; ptr 462 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_marker_pdu_frms; ptr 463 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_lacpdu_frms; ptr 464 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_unknown_pdu_frms; ptr 465 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_marker_resp_pdu_frms; ptr 466 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_fcs_discard; ptr 467 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_illegal_pdu_frms; ptr 468 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_switch_discard; ptr 469 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_len_discard; ptr 470 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_rpa_discard; ptr 471 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_l2_mgmt_discard; ptr 472 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_rts_discard; ptr 473 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_trash_discard; ptr 474 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_buff_full_discard; ptr 475 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_red_discard; ptr 476 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_ctrl_err_cnt; ptr 477 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_data_err_cnt; ptr 478 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_char1_match; ptr 479 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_err_sym; ptr 480 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_column1_match; ptr 481 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_char2_match; ptr 482 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_local_fault; ptr 483 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_xgmii_column2_match; ptr 484 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_jettison; ptr 485 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = xmac_stats->port_stats[k].rx_remote_fault; ptr 488 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = 0; ptr 496 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->soft_reset_cnt; ptr 497 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.unknown_alarms; ptr 498 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.network_sustained_fault; ptr 499 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.network_sustained_ok; ptr 500 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.kdfcctl_fifo0_overwrite; ptr 501 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.kdfcctl_fifo0_poison; ptr 502 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.kdfcctl_fifo0_dma_error; ptr 503 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.dblgen_fifo0_overflow; ptr 504 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.statsb_pif_chain_error; ptr 505 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.statsb_drop_timeout; ptr 506 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.target_illegal_access; ptr 507 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.ini_serr_det; ptr 508 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.prc_ring_bumps; ptr 509 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.prc_rxdcm_sc_err; ptr 510 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.prc_rxdcm_sc_abort; ptr 511 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->error_stats.prc_quanta_size_err; ptr 512 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ring_stats.common_stats.full_cnt; ptr 513 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ring_stats.common_stats.usage_cnt; ptr 514 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ring_stats.common_stats.usage_max; ptr 515 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ring_stats.common_stats. ptr 517 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ring_stats.common_stats.total_compl_cnt; ptr 519 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ring_stats.rxd_t_code_err_cnt[j]; ptr 520 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.common_stats.full_cnt; ptr 521 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.common_stats.usage_cnt; ptr 522 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.common_stats.usage_max; ptr 523 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.common_stats. ptr 525 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.common_stats.total_compl_cnt; ptr 526 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.total_posts; ptr 527 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.total_buffers; ptr 529 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->fifo_stats.txd_t_code_err_cnt[j]; ptr 532 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = 0; ptr 539 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c memset(ptr, 0, VXGE_HW_VPATH_STATS_LEN * sizeof(u64)); ptr 540 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c ptr += VXGE_HW_VPATH_STATS_LEN; ptr 543 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ini_num_mwr_sent; ptr 544 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ini_num_mrd_sent; ptr 545 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ini_num_cpl_rcvd; ptr 546 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ini_num_mwr_byte_sent; ptr 547 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->ini_num_cpl_byte_rcvd; ptr 548 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->wrcrdtarb_xoff; ptr 549 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rdcrdtarb_xoff; ptr 550 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->vpath_genstats_count0; ptr 551 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->vpath_genstats_count1; ptr 552 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->vpath_genstats_count2; ptr 553 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->vpath_genstats_count3; ptr 554 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->vpath_genstats_count4; ptr 555 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->vpath_genstats_count5; ptr 556 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->prog_event_vnum0; ptr 557 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->prog_event_vnum1; ptr 558 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->prog_event_vnum2; ptr 559 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->prog_event_vnum3; ptr 560 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_multi_cast_frame_discard; ptr 561 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_frm_transferred; ptr 562 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rxd_returned; ptr 563 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_mpa_len_fail_frms; ptr 564 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_mpa_mrk_fail_frms; ptr 565 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_mpa_crc_fail_frms; ptr 566 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_permitted_frms; ptr 567 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_vp_reset_discarded_frms; ptr 568 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->rx_wol_frms; ptr 569 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vpath_info->tx_vp_reset_discarded_frms; ptr 572 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = 0; ptr 573 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vdev->stats.vpaths_open; ptr 574 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vdev->stats.vpath_open_fail; ptr 575 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vdev->stats.link_up; ptr 576 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr++ = vdev->stats.link_down; ptr 579 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *ptr += vdev->vpaths[k].fifo.stats.tx_frms; ptr 580 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 1) += vdev->vpaths[k].fifo.stats.tx_errors; ptr 581 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 2) += vdev->vpaths[k].fifo.stats.tx_bytes; ptr 582 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 3) += vdev->vpaths[k].fifo.stats.txd_not_free; ptr 583 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 4) += vdev->vpaths[k].fifo.stats.txd_out_of_desc; ptr 584 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 5) += vdev->vpaths[k].ring.stats.rx_frms; ptr 585 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 6) += vdev->vpaths[k].ring.stats.rx_errors; ptr 586 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 7) += vdev->vpaths[k].ring.stats.rx_bytes; ptr 587 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 8) += vdev->vpaths[k].ring.stats.rx_mcast; ptr 588 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 9) += vdev->vpaths[k].fifo.stats.pci_map_fail + ptr 590 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c *(ptr + 10) += vdev->vpaths[k].ring.stats.skb_alloc_fail; ptr 593 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c ptr += 12; ptr 743 drivers/net/ethernet/netronome/nfp/bpf/jit.c src_40bit_addr = meta->ptr.type == PTR_TO_MAP_VALUE; ptr 2858 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_CTX) { ptr 2865 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_PACKET) { ptr 2876 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_STACK) ptr 2878 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->ptr.off + meta->ptr.var_off.value); ptr 2880 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_MAP_VALUE) ptr 2922 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_PACKET) ptr 2984 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_PACKET) ptr 2987 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_STACK) ptr 2989 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->ptr.off + meta->ptr.var_off.value); ptr 3006 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type == PTR_TO_CTX) ptr 4052 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (ld_meta->ptr.type != PTR_TO_PACKET && ptr 4053 drivers/net/ethernet/netronome/nfp/bpf/jit.c ld_meta->ptr.type != PTR_TO_MAP_VALUE) ptr 4056 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (st_meta->ptr.type != PTR_TO_PACKET) ptr 4140 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (head_ld_meta->ptr.type != head_st_meta->ptr.type) ptr 4144 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (head_ld_meta->ptr.id != head_st_meta->ptr.id) ptr 4150 drivers/net/ethernet/netronome/nfp/bpf/jit.c head_ld_off = head_ld_meta->insn.off + head_ld_meta->ptr.off; ptr 4151 drivers/net/ethernet/netronome/nfp/bpf/jit.c head_st_off = head_st_meta->insn.off + head_st_meta->ptr.off; ptr 4152 drivers/net/ethernet/netronome/nfp/bpf/jit.c ld_off = ld->off + head_ld_meta->ptr.off; ptr 4299 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.type != PTR_TO_PACKET || meta->ldst_gather_len) { ptr 4322 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (meta->ptr.id == range_ptr_id && ptr 4323 drivers/net/ethernet/netronome/nfp/bpf/jit.c meta->ptr.off == range_ptr_off) { ptr 4357 drivers/net/ethernet/netronome/nfp/bpf/jit.c range_ptr_id = range_node->ptr.id; ptr 4358 drivers/net/ethernet/netronome/nfp/bpf/jit.c range_ptr_off = range_node->ptr.off; ptr 226 drivers/net/ethernet/netronome/nfp/bpf/main.h struct bpf_map *ptr; ptr 305 drivers/net/ethernet/netronome/nfp/bpf/main.h struct bpf_reg_state ptr; ptr 403 drivers/net/ethernet/netronome/nfp/bpf/main.h return is_mbpf_load(meta) && meta->ptr.type == PTR_TO_PACKET; ptr 408 drivers/net/ethernet/netronome/nfp/bpf/main.h return is_mbpf_store(meta) && meta->ptr.type == PTR_TO_PACKET; ptr 428 drivers/net/ethernet/netronome/nfp/bpf/main.h return is_mbpf_classic_store(meta) && meta->ptr.type == PTR_TO_PACKET; ptr 59 drivers/net/ethernet/netronome/nfp/bpf/offload.c record->ptr = map; ptr 102 drivers/net/ethernet/netronome/nfp/bpf/offload.c bpf_map_put(nfp_prog->map_records[i]->ptr); ptr 472 drivers/net/ethernet/netronome/nfp/bpf/offload.c bpf_event_output(record->ptr, be32_to_cpu(cbe->cpu_id), ptr 358 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (meta->ptr.type == NOT_INIT) ptr 361 drivers/net/ethernet/netronome/nfp/bpf/verifier.c old_off = meta->ptr.off + meta->ptr.var_off.value; ptr 490 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (meta->ptr.type != NOT_INIT && meta->ptr.type != reg->type) { ptr 492 drivers/net/ethernet/netronome/nfp/bpf/verifier.c meta->ptr.type, reg->type); ptr 496 drivers/net/ethernet/netronome/nfp/bpf/verifier.c meta->ptr = *reg; ptr 633 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c unsigned long event, void *ptr) ptr 640 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c err = nfp_fl_lag_changeupper_event(lag, ptr); ptr 645 drivers/net/ethernet/netronome/nfp/flower/lag_conf.c nfp_fl_lag_changels_event(lag, netdev, ptr); ptr 905 drivers/net/ethernet/netronome/nfp/flower/main.c unsigned long event, void *ptr) ptr 911 drivers/net/ethernet/netronome/nfp/flower/main.c ret = nfp_flower_lag_netdev_event(app_priv, netdev, event, ptr); ptr 924 drivers/net/ethernet/netronome/nfp/flower/main.c return nfp_tunnel_mac_event_handler(app, netdev, event, ptr); ptr 396 drivers/net/ethernet/netronome/nfp/flower/main.h unsigned long event, void *ptr); ptr 406 drivers/net/ethernet/netronome/nfp/flower/main.h unsigned long event, void *ptr); ptr 231 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 234 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { ptr 235 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry = list_entry(ptr, struct nfp_ipv4_route_entry, list); ptr 249 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 252 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { ptr 253 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry = list_entry(ptr, struct nfp_ipv4_route_entry, list); ptr 275 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 278 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { ptr 279 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry = list_entry(ptr, struct nfp_ipv4_route_entry, list); ptr 327 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c void *ptr) ptr 339 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c redir = (struct netevent_redirect *)ptr; ptr 343 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c n = (struct neighbour *)ptr; ptr 429 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 435 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.ipv4_off_list) { ptr 441 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry = list_entry(ptr, struct nfp_ipv4_addr_entry, list); ptr 456 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 459 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.ipv4_off_list) { ptr 460 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry = list_entry(ptr, struct nfp_ipv4_addr_entry, list); ptr 486 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 489 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.ipv4_off_list) { ptr 490 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry = list_entry(ptr, struct nfp_ipv4_addr_entry, list); ptr 864 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c unsigned long event, void *ptr) ptr 897 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct netdev_notifier_changeupper_info *info = ptr; ptr 1040 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c struct list_head *ptr, *storage; ptr 1047 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.ipv4_off_list) { ptr 1048 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c ip_entry = list_entry(ptr, struct nfp_ipv4_addr_entry, list); ptr 1054 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { ptr 1055 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c route_entry = list_entry(ptr, struct nfp_ipv4_route_entry, ptr 33 drivers/net/ethernet/netronome/nfp/nfp_app.c void nfp_check_rhashtable_empty(void *ptr, void *arg) ptr 174 drivers/net/ethernet/netronome/nfp/nfp_app.c nfp_app_netdev_event(struct notifier_block *nb, unsigned long event, void *ptr) ptr 179 drivers/net/ethernet/netronome/nfp/nfp_app.c netdev = netdev_notifier_info_to_dev(ptr); ptr 191 drivers/net/ethernet/netronome/nfp/nfp_app.c return app->type->netdev_event(app, netdev, event, ptr); ptr 127 drivers/net/ethernet/netronome/nfp/nfp_app.h unsigned long event, void *ptr); ptr 178 drivers/net/ethernet/netronome/nfp/nfp_app.h void nfp_check_rhashtable_empty(void *ptr, void *arg); ptr 474 drivers/net/ethernet/netronome/nfp/nfp_main.c char *token, *ptr; ptr 485 drivers/net/ethernet/netronome/nfp/nfp_main.c ptr = hwinfo; ptr 486 drivers/net/ethernet/netronome/nfp/nfp_main.c while ((token = strsep(&ptr, ","))) { ptr 785 drivers/net/ethernet/netronome/nfp/nfp_net.h enum nfp_qcp_ptr ptr, u32 val) ptr 789 drivers/net/ethernet/netronome/nfp/nfp_net.h if (ptr == NFP_QCP_READ_PTR) ptr 828 drivers/net/ethernet/netronome/nfp/nfp_net.h static inline u32 _nfp_qcp_read(u8 __iomem *q, enum nfp_qcp_ptr ptr) ptr 833 drivers/net/ethernet/netronome/nfp/nfp_net.h if (ptr == NFP_QCP_READ_PTR) ptr 840 drivers/net/ethernet/netronome/nfp/nfp_net.h if (ptr == NFP_QCP_READ_PTR) ptr 3348 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c unsigned long event, void *ptr) ptr 3351 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 3391 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c unsigned long event, void *ptr) ptr 3395 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 458 drivers/net/ethernet/qlogic/qed/qed_debug.c const u32 *ptr; ptr 2220 drivers/net/ethernet/qlogic/qed/qed_debug.c const u32 *ptr; ptr 2224 drivers/net/ethernet/qlogic/qed/qed_debug.c ptr = s_dbg_arrays[BIN_BUF_DBG_MODE_TREE].ptr; ptr 2225 drivers/net/ethernet/qlogic/qed/qed_debug.c tree_val = ((u8 *)ptr)[(*modes_buf_offset)++]; ptr 2386 drivers/net/ethernet/qlogic/qed/qed_debug.c s_dbg_arrays[BIN_BUF_DBG_ATTN_BLOCKS].ptr; ptr 2402 drivers/net/ethernet/qlogic/qed/qed_debug.c s_dbg_arrays[BIN_BUF_DBG_ATTN_REGS].ptr)[block_type_data-> ptr 2687 drivers/net/ethernet/qlogic/qed/qed_debug.c &input_regs_arr.ptr[input_offset++]; ptr 2710 drivers/net/ethernet/qlogic/qed/qed_debug.c &input_regs_arr.ptr[input_offset]; ptr 2808 drivers/net/ethernet/qlogic/qed/qed_debug.c &s_dbg_arrays[BIN_BUF_DBG_DUMP_REG].ptr[input_offset++]; ptr 2815 drivers/net/ethernet/qlogic/qed/qed_debug.c curr_input_regs_arr.ptr = ptr 2816 drivers/net/ethernet/qlogic/qed/qed_debug.c &s_dbg_arrays[BIN_BUF_DBG_DUMP_REG].ptr[input_offset]; ptr 3172 drivers/net/ethernet/qlogic/qed/qed_debug.c &input_mems_arr.ptr[input_offset++]; ptr 3195 drivers/net/ethernet/qlogic/qed/qed_debug.c &input_mems_arr.ptr[input_offset]; ptr 3294 drivers/net/ethernet/qlogic/qed/qed_debug.c &s_dbg_arrays[BIN_BUF_DBG_DUMP_MEM].ptr[input_offset++]; ptr 3301 drivers/net/ethernet/qlogic/qed/qed_debug.c curr_input_mems_arr.ptr = ptr 3302 drivers/net/ethernet/qlogic/qed/qed_debug.c &s_dbg_arrays[BIN_BUF_DBG_DUMP_MEM].ptr[input_offset]; ptr 4185 drivers/net/ethernet/qlogic/qed/qed_debug.c s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_REGS].ptr)[rule->reg_offset]; ptr 4324 drivers/net/ethernet/qlogic/qed/qed_debug.c s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_REGS].ptr) ptr 4327 drivers/net/ethernet/qlogic/qed/qed_debug.c imm_values = &s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_IMMS].ptr ptr 4465 drivers/net/ethernet/qlogic/qed/qed_debug.c &s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_RULES].ptr ptr 4490 drivers/net/ethernet/qlogic/qed/qed_debug.c ptr[input_offset], ptr 5100 drivers/net/ethernet/qlogic/qed/qed_debug.c s_dbg_arrays[buf_id].ptr = ptr 5217 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!s_dbg_arrays[BIN_BUF_DBG_MODE_TREE].ptr || ptr 5218 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_DUMP_REG].ptr || ptr 5219 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_DUMP_MEM].ptr || ptr 5220 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_ATTN_BLOCKS].ptr || ptr 5221 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_ATTN_REGS].ptr) ptr 5271 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!s_dbg_arrays[BIN_BUF_DBG_MODE_TREE].ptr || ptr 5272 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_REGS].ptr || ptr 5273 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_IMMS].ptr || ptr 5274 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_RULES].ptr) ptr 5571 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!s_dbg_arrays[BIN_BUF_DBG_MODE_TREE].ptr || ptr 5572 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_ATTN_BLOCKS].ptr || ptr 5573 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_dbg_arrays[BIN_BUF_DBG_ATTN_REGS].ptr) ptr 5789 drivers/net/ethernet/qlogic/qed/qed_debug.c const u32 *ptr; ptr 6399 drivers/net/ethernet/qlogic/qed/qed_debug.c ptr[hdr->rule_id]; ptr 6408 drivers/net/ethernet/qlogic/qed/qed_debug.c s_user_dbg_arrays[BIN_BUF_DBG_PARSING_STRINGS].ptr) ptr 6531 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!s_user_dbg_arrays[BIN_BUF_DBG_PARSING_STRINGS].ptr || ptr 6532 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_user_dbg_arrays[BIN_BUF_DBG_IDLE_CHK_PARSING_DATA].ptr) ptr 7408 drivers/net/ethernet/qlogic/qed/qed_debug.c s_user_dbg_arrays[buf_id].ptr = ptr 7639 drivers/net/ethernet/qlogic/qed/qed_debug.c if (!s_user_dbg_arrays[BIN_BUF_DBG_ATTN_INDEXES].ptr || ptr 7640 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_user_dbg_arrays[BIN_BUF_DBG_ATTN_NAME_OFFSETS].ptr || ptr 7641 drivers/net/ethernet/qlogic/qed/qed_debug.c !s_user_dbg_arrays[BIN_BUF_DBG_PARSING_STRINGS].ptr) ptr 7645 drivers/net/ethernet/qlogic/qed/qed_debug.c block_attn_name_offsets = &block_attn->ptr[results->names_offset]; ptr 7658 drivers/net/ethernet/qlogic/qed/qed_debug.c block_attn->ptr)[reg_result->block_attn_offset]; ptr 7688 drivers/net/ethernet/qlogic/qed/qed_debug.c pstrings->ptr)[attn_name_offset]; ptr 232 drivers/net/ethernet/qlogic/qede/qede_main.c void *ptr) ptr 234 drivers/net/ethernet/qlogic/qede/qede_main.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 299 drivers/net/ethernet/qlogic/qede/qede_rdma.c edev = event_node->ptr; ptr 342 drivers/net/ethernet/qlogic/qede/qede_rdma.c event_node->ptr = edev; ptr 1954 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h struct qlcnic_host_tx_ring *ptr, ptr 1957 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h return adapter->ahw->hw_ops->create_tx_ctx(adapter, ptr, ring); ptr 1966 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h struct qlcnic_host_tx_ring *ptr) ptr 1968 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h return adapter->ahw->hw_ops->del_tx_ctx(adapter, ptr); ptr 565 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c __le32 *ptr; ptr 573 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c ptr = (__le32 *)dma_alloc_coherent(&pdev->dev, sizeof(u32), ptr 576 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c if (ptr == NULL) { ptr 581 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c tx_ring->hw_consumer = ptr; ptr 4166 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c unsigned long event, void *ptr) ptr 4169 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 4198 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c unsigned long event, void *ptr) ptr 4203 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 1266 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c u32 *ptr = (u32 *)&hdr; ptr 1270 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c ptr[i - 2] = readl(QLCNIC_MBX_FW(vf->adapter->ahw, i)); ptr 362 drivers/net/ethernet/rocker/rocker_main.c void *ptr) ptr 364 drivers/net/ethernet/rocker/rocker_main.c desc_info->desc->cookie = (uintptr_t) ptr; ptr 2186 drivers/net/ethernet/rocker/rocker_main.c unsigned long event, void *ptr) ptr 2190 drivers/net/ethernet/rocker/rocker_main.c struct fib_notifier_info *info = ptr; ptr 2210 drivers/net/ethernet/rocker/rocker_main.c struct fib_entry_notifier_info *fen_info = ptr; ptr 2224 drivers/net/ethernet/rocker/rocker_main.c memcpy(&fib_work->fen_info, ptr, sizeof(fib_work->fen_info)); ptr 2232 drivers/net/ethernet/rocker/rocker_main.c memcpy(&fib_work->fr_info, ptr, sizeof(fib_work->fr_info)); ptr 2794 drivers/net/ethernet/rocker/rocker_main.c unsigned long event, void *ptr) ptr 2796 drivers/net/ethernet/rocker/rocker_main.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 2798 drivers/net/ethernet/rocker/rocker_main.c struct switchdev_notifier_fdb_info *fdb_info = ptr; ptr 2805 drivers/net/ethernet/rocker/rocker_main.c return rocker_switchdev_port_attr_set_event(dev, ptr); ptr 2819 drivers/net/ethernet/rocker/rocker_main.c memcpy(&switchdev_work->fdb_info, ptr, ptr 2863 drivers/net/ethernet/rocker/rocker_main.c unsigned long event, void *ptr) ptr 2865 drivers/net/ethernet/rocker/rocker_main.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 2873 drivers/net/ethernet/rocker/rocker_main.c return rocker_switchdev_port_obj_event(event, dev, ptr); ptr 2875 drivers/net/ethernet/rocker/rocker_main.c return rocker_switchdev_port_attr_set_event(dev, ptr); ptr 3134 drivers/net/ethernet/rocker/rocker_main.c unsigned long event, void *ptr) ptr 3136 drivers/net/ethernet/rocker/rocker_main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 3146 drivers/net/ethernet/rocker/rocker_main.c info = ptr; ptr 3177 drivers/net/ethernet/rocker/rocker_main.c unsigned long event, void *ptr) ptr 3181 drivers/net/ethernet/rocker/rocker_main.c struct neighbour *n = ptr; ptr 487 drivers/net/ethernet/seeq/ether3.c unsigned int ptr, next_ptr; ptr 511 drivers/net/ethernet/seeq/ether3.c ptr = 0x600 * priv(dev)->tx_head; ptr 519 drivers/net/ethernet/seeq/ether3.c ether3_setbuffer(dev, buffer_write, ptr); ptr 524 drivers/net/ethernet/seeq/ether3.c ether3_setbuffer(dev, buffer_write, ptr); ptr 525 drivers/net/ethernet/seeq/ether3.c ether3_writeword(dev, htons((ptr + length + 4))); ptr 530 drivers/net/ethernet/seeq/ether3.c ether3_outw(ptr, REG_TRANSMITPTR); ptr 2503 drivers/net/ethernet/sfc/efx.c unsigned long event, void *ptr) ptr 2505 drivers/net/ethernet/sfc/efx.c struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); ptr 2241 drivers/net/ethernet/sfc/falcon/efx.c unsigned long event, void *ptr) ptr 2243 drivers/net/ethernet/sfc/falcon/efx.c struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); ptr 788 drivers/net/ethernet/sfc/mcdi_port.c u8 *ptr; ptr 823 drivers/net/ethernet/sfc/mcdi_port.c ptr = MCDI_PTR(outbuf, POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A); ptr 828 drivers/net/ethernet/sfc/mcdi_port.c EFX_DWORD_FIELD(((efx_dword_t *)ptr)[i], ptr 156 drivers/net/ethernet/sfc/siena_sriov.c void *ptr; ptr 947 drivers/net/ethernet/sfc/siena_sriov.c efx_dword_t ptr; ptr 1001 drivers/net/ethernet/sfc/siena_sriov.c EFX_POPULATE_DWORD_1(ptr, FRF_AZ_EVQ_RPTR, 0); ptr 1002 drivers/net/ethernet/sfc/siena_sriov.c efx_writed(efx, &ptr, FR_BZ_EVQ_RPTR + FR_BZ_EVQ_RPTR_STEP * abs_evq); ptr 1127 drivers/net/ethernet/sfc/siena_sriov.c epp->ptr = dma_alloc_coherent( ptr 1130 drivers/net/ethernet/sfc/siena_sriov.c if (!epp->ptr) { ptr 1141 drivers/net/ethernet/sfc/siena_sriov.c peer = (struct vfdi_endpoint *)epp->ptr; ptr 1154 drivers/net/ethernet/sfc/siena_sriov.c epp->ptr, epp->addr); ptr 1187 drivers/net/ethernet/sfc/siena_sriov.c epp->ptr, epp->addr); ptr 82 drivers/net/ethernet/sfc/tx_tso.c char *ptr; ptr 84 drivers/net/ethernet/sfc/tx_tso.c ptr = (char *) (tx_queue->buffer + insert_ptr); ptr 85 drivers/net/ethernet/sfc/tx_tso.c prefetch(ptr); ptr 86 drivers/net/ethernet/sfc/tx_tso.c prefetch(ptr + 0x80); ptr 88 drivers/net/ethernet/sfc/tx_tso.c ptr = (char *) (((efx_qword_t *)tx_queue->txd.buf.addr) + insert_ptr); ptr 89 drivers/net/ethernet/sfc/tx_tso.c prefetch(ptr); ptr 90 drivers/net/ethernet/sfc/tx_tso.c prefetch(ptr + 0x80); ptr 550 drivers/net/ethernet/socionext/sni_ave.c void *ptr, size_t len, enum dma_data_direction dir, ptr 555 drivers/net/ethernet/socionext/sni_ave.c map_addr = dma_map_single(ndev->dev.parent, ptr, len, dir); ptr 27 drivers/net/ethernet/stmicro/stmmac/dwmac5.c unsigned long *ptr; ptr 29 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ptr = (unsigned long *)(bptr + field_offset); ptr 38 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ptr[loc]++; ptr 292 drivers/net/ethernet/stmicro/stmmac/dwmac5.c unsigned long *ptr = (unsigned long *)stats; ptr 299 drivers/net/ethernet/stmicro/stmmac/dwmac5.c *count = *(ptr + index); ptr 614 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c unsigned long *ptr; ptr 616 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ptr = (unsigned long *)(bptr + field_offset); ptr 625 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ptr[loc]++; ptr 863 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c unsigned long *ptr = (unsigned long *)stats; ptr 870 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c *count = *(ptr + index); ptr 448 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_rx_tail_ptr(void __iomem *ioaddr, u32 ptr, u32 chan) ptr 450 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(ptr, ioaddr + XGMAC_DMA_CH_RxDESC_TAIL_LPTR(chan)); ptr 453 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_tx_tail_ptr(void __iomem *ioaddr, u32 ptr, u32 chan) ptr 455 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(ptr, ioaddr + XGMAC_DMA_CH_TxDESC_TAIL_LPTR(chan)); ptr 4178 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c unsigned long event, void *ptr) ptr 4180 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 119 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c __be16 *ptr = (__be16 *)ehdr; ptr 122 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ptr[3] = htons(ETH_P_IP); ptr 314 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c u32 ptr, speed_div; ptr 339 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c ptr = (priv->speed == SPEED_100) ? 4 : 8; ptr 343 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c value = div_s64(qopt->idleslope * 1024ll * ptr, speed_div); ptr 346 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c value = div_s64(-qopt->sendslope * 1024ll * ptr, speed_div); ptr 4380 drivers/net/ethernet/sun/cassini.c static void cas_read_regs(struct cas *cp, u8 *ptr, int len) ptr 4387 drivers/net/ethernet/sun/cassini.c for (i = 0, p = ptr; i < len ; i ++, p += sizeof(u32)) { ptr 570 drivers/net/ethernet/ti/netcp_core.c static void netcp_frag_free(bool is_frag, void *ptr) ptr 573 drivers/net/ethernet/ti/netcp_core.c skb_free_frag(ptr); ptr 575 drivers/net/ethernet/ti/netcp_core.c kfree(ptr); ptr 1108 drivers/net/ethernet/toshiba/ps3_gelic_net.c static irqreturn_t gelic_card_interrupt(int irq, void *ptr) ptr 1111 drivers/net/ethernet/toshiba/ps3_gelic_net.c struct gelic_card *card = ptr; ptr 1577 drivers/net/ethernet/toshiba/spider_net.c spider_net_interrupt(int irq, void *ptr) ptr 1579 drivers/net/ethernet/toshiba/spider_net.c struct net_device *netdev = ptr; ptr 3107 drivers/net/ethernet/via/via-velocity.c u8 __iomem *ptr = (u8 __iomem *)regs; ptr 3110 drivers/net/ethernet/via/via-velocity.c *((u32 *) (context->mac_reg + i)) = readl(ptr + i); ptr 3113 drivers/net/ethernet/via/via-velocity.c *((u32 *) (context->mac_reg + i)) = readl(ptr + i); ptr 3116 drivers/net/ethernet/via/via-velocity.c *((u32 *) (context->mac_reg + i)) = readl(ptr + i); ptr 3167 drivers/net/ethernet/via/via-velocity.c u8 __iomem *ptr = (u8 __iomem *)regs; ptr 3170 drivers/net/ethernet/via/via-velocity.c writel(*((u32 *) (context->mac_reg + i)), ptr + i); ptr 3175 drivers/net/ethernet/via/via-velocity.c writeb(~(*((u8 *) (context->mac_reg + i))), ptr + i + 4); ptr 3177 drivers/net/ethernet/via/via-velocity.c writeb(*((u8 *) (context->mac_reg + i)), ptr + i); ptr 3181 drivers/net/ethernet/via/via-velocity.c writel(*((u32 *) (context->mac_reg + i)), ptr + i); ptr 3184 drivers/net/ethernet/via/via-velocity.c writel(*((u32 *) (context->mac_reg + i)), ptr + i); ptr 3187 drivers/net/ethernet/via/via-velocity.c writeb(*((u8 *) (context->mac_reg + i)), ptr + i); ptr 3663 drivers/net/ethernet/via/via-velocity.c static int velocity_netdev_event(struct notifier_block *nb, unsigned long notification, void *ptr) ptr 3665 drivers/net/ethernet/via/via-velocity.c struct in_ifaddr *ifa = ptr; ptr 1800 drivers/net/geneve.c unsigned long event, void *ptr) ptr 1802 drivers/net/geneve.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 341 drivers/net/hamradio/6pack.c unsigned char *ptr; ptr 350 drivers/net/hamradio/6pack.c ptr = skb_put(skb, count + 1); ptr 351 drivers/net/hamradio/6pack.c *ptr++ = cmd; /* KISS command */ ptr 353 drivers/net/hamradio/6pack.c memcpy(ptr, sp->cooked_buf + 1, count); ptr 152 drivers/net/hamradio/bpqether.c char * ptr; ptr 195 drivers/net/hamradio/bpqether.c ptr = skb_push(skb, 1); ptr 196 drivers/net/hamradio/bpqether.c *ptr = 0; ptr 219 drivers/net/hamradio/bpqether.c unsigned char *ptr; ptr 252 drivers/net/hamradio/bpqether.c ptr = skb_push(skb, 2); /* Make space for length */ ptr 254 drivers/net/hamradio/bpqether.c *ptr++ = (size + 5) % 256; ptr 255 drivers/net/hamradio/bpqether.c *ptr++ = (size + 5) / 256; ptr 507 drivers/net/hamradio/bpqether.c unsigned long event, void *ptr) ptr 509 drivers/net/hamradio/bpqether.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 162 drivers/net/hamradio/mkiss.c unsigned char *ptr = d; ptr 170 drivers/net/hamradio/mkiss.c *ptr++ = END; ptr 175 drivers/net/hamradio/mkiss.c *ptr++ = ESC; ptr 176 drivers/net/hamradio/mkiss.c *ptr++ = ESC_END; ptr 179 drivers/net/hamradio/mkiss.c *ptr++ = ESC; ptr 180 drivers/net/hamradio/mkiss.c *ptr++ = ESC_ESC; ptr 183 drivers/net/hamradio/mkiss.c *ptr++ = c; ptr 188 drivers/net/hamradio/mkiss.c *ptr++ = END; ptr 190 drivers/net/hamradio/mkiss.c return ptr - d; ptr 201 drivers/net/hamradio/mkiss.c unsigned char *ptr = d; ptr 204 drivers/net/hamradio/mkiss.c *ptr++ = END; ptr 217 drivers/net/hamradio/mkiss.c *ptr++ = ESC; ptr 218 drivers/net/hamradio/mkiss.c *ptr++ = ESC_END; ptr 221 drivers/net/hamradio/mkiss.c *ptr++ = ESC; ptr 222 drivers/net/hamradio/mkiss.c *ptr++ = ESC_ESC; ptr 225 drivers/net/hamradio/mkiss.c *ptr++ = c; ptr 229 drivers/net/hamradio/mkiss.c *ptr++ = END; ptr 231 drivers/net/hamradio/mkiss.c return ptr - d; ptr 2452 drivers/net/hyperv/netvsc_drv.c unsigned long event, void *ptr) ptr 2454 drivers/net/hyperv/netvsc_drv.c struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); ptr 689 drivers/net/ipvlan/ipvlan_main.c unsigned long event, void *ptr) ptr 691 drivers/net/ipvlan/ipvlan_main.c struct netlink_ext_ack *extack = netdev_notifier_info_to_extack(ptr); ptr 693 drivers/net/ipvlan/ipvlan_main.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 748 drivers/net/ipvlan/ipvlan_main.c prechaddr_info = ptr; ptr 855 drivers/net/ipvlan/ipvlan_main.c unsigned long event, void *ptr) ptr 857 drivers/net/ipvlan/ipvlan_main.c struct inet6_ifaddr *if6 = (struct inet6_ifaddr *)ptr; ptr 879 drivers/net/ipvlan/ipvlan_main.c unsigned long event, void *ptr) ptr 881 drivers/net/ipvlan/ipvlan_main.c struct in6_validator_info *i6vi = (struct in6_validator_info *)ptr; ptr 923 drivers/net/ipvlan/ipvlan_main.c unsigned long event, void *ptr) ptr 925 drivers/net/ipvlan/ipvlan_main.c struct in_ifaddr *if4 = (struct in_ifaddr *)ptr; ptr 950 drivers/net/ipvlan/ipvlan_main.c unsigned long event, void *ptr) ptr 952 drivers/net/ipvlan/ipvlan_main.c struct in_validator_info *ivi = (struct in_validator_info *)ptr; ptr 138 drivers/net/ipvlan/ipvtap.c unsigned long event, void *ptr) ptr 140 drivers/net/ipvlan/ipvtap.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 307 drivers/net/macsec.c static struct macsec_rx_sa *macsec_rxsa_get(struct macsec_rx_sa __rcu *ptr) ptr 309 drivers/net/macsec.c struct macsec_rx_sa *sa = rcu_dereference_bh(ptr); ptr 354 drivers/net/macsec.c static struct macsec_tx_sa *macsec_txsa_get(struct macsec_tx_sa __rcu *ptr) ptr 356 drivers/net/macsec.c struct macsec_tx_sa *sa = rcu_dereference_bh(ptr); ptr 3475 drivers/net/macsec.c void *ptr) ptr 3477 drivers/net/macsec.c struct net_device *real_dev = netdev_notifier_info_to_dev(ptr); ptr 1665 drivers/net/macvlan.c unsigned long event, void *ptr) ptr 1667 drivers/net/macvlan.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 145 drivers/net/macvtap.c unsigned long event, void *ptr) ptr 147 drivers/net/macvtap.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 692 drivers/net/netconsole.c unsigned long event, void *ptr) ptr 696 drivers/net/netconsole.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 179 drivers/net/netdevsim/fib.c void *ptr) ptr 181 drivers/net/netdevsim/fib.c struct fib_notifier_info *info = ptr; ptr 943 drivers/net/phy/dp83640.c u8 *ptr; ptr 947 drivers/net/phy/dp83640.c ptr = skb->data + 2; ptr 951 drivers/net/phy/dp83640.c type = *(u16 *)ptr; ptr 955 drivers/net/phy/dp83640.c ptr += sizeof(type); ptr 959 drivers/net/phy/dp83640.c phy_rxts = (struct phy_rxts *) ptr; ptr 965 drivers/net/phy/dp83640.c phy_txts = (struct phy_txts *) ptr; ptr 971 drivers/net/phy/dp83640.c size = decode_evnt(dp83640, ptr, len, ests); ptr 977 drivers/net/phy/dp83640.c ptr += size; ptr 206 drivers/net/phy/mdio_bus.c struct mii_bus **ptr, *bus; ptr 208 drivers/net/phy/mdio_bus.c ptr = devres_alloc(_devm_mdiobus_free, sizeof(*ptr), GFP_KERNEL); ptr 209 drivers/net/phy/mdio_bus.c if (!ptr) ptr 215 drivers/net/phy/mdio_bus.c *ptr = bus; ptr 216 drivers/net/phy/mdio_bus.c devres_add(dev, ptr); ptr 218 drivers/net/phy/mdio_bus.c devres_free(ptr); ptr 286 drivers/net/ppp/ppp_generic.c static int unit_get(struct idr *p, void *ptr); ptr 287 drivers/net/ppp/ppp_generic.c static int unit_set(struct idr *p, void *ptr, int n); ptr 2750 drivers/net/ppp/ppp_generic.c if (copy_from_user(ccp_option, (void __user *) data.ptr, data.length)) ptr 3286 drivers/net/ppp/ppp_generic.c static int unit_set(struct idr *p, void *ptr, int n) ptr 3290 drivers/net/ppp/ppp_generic.c unit = idr_alloc(p, ptr, n, n + 1, GFP_KERNEL); ptr 3297 drivers/net/ppp/ppp_generic.c static int unit_get(struct idr *p, void *ptr) ptr 3299 drivers/net/ppp/ppp_generic.c return idr_alloc(p, ptr, 0, 0, GFP_KERNEL); ptr 36 drivers/net/ppp/ppp_mppe.h u_char *ptr = ci; /* u_char[4] */ \ ptr 40 drivers/net/ppp/ppp_mppe.h *ptr++ = 0x0; \ ptr 42 drivers/net/ppp/ppp_mppe.h *ptr++ = MPPE_H_BIT; \ ptr 43 drivers/net/ppp/ppp_mppe.h *ptr++ = 0; \ ptr 44 drivers/net/ppp/ppp_mppe.h *ptr++ = 0; \ ptr 47 drivers/net/ppp/ppp_mppe.h *ptr = 0; \ ptr 49 drivers/net/ppp/ppp_mppe.h *ptr |= MPPE_S_BIT; \ ptr 51 drivers/net/ppp/ppp_mppe.h *ptr |= MPPE_L_BIT; \ ptr 58 drivers/net/ppp/ppp_mppe.h u_char *ptr = ci; /* u_char[4] */ \ ptr 63 drivers/net/ppp/ppp_mppe.h if (!(ptr[0] & MPPE_H_BIT)) \ ptr 67 drivers/net/ppp/ppp_mppe.h if (ptr[3] & MPPE_S_BIT) \ ptr 69 drivers/net/ppp/ppp_mppe.h if (ptr[3] & MPPE_L_BIT) \ ptr 73 drivers/net/ppp/ppp_mppe.h if (ptr[3] & MPPE_M_BIT) \ ptr 75 drivers/net/ppp/ppp_mppe.h if (ptr[3] & MPPE_D_BIT) \ ptr 77 drivers/net/ppp/ppp_mppe.h if (ptr[3] & MPPE_C_BIT) \ ptr 81 drivers/net/ppp/ppp_mppe.h if (ptr[0] & ~MPPE_H_BIT) \ ptr 83 drivers/net/ppp/ppp_mppe.h if (ptr[1] || ptr[2]) \ ptr 85 drivers/net/ppp/ppp_mppe.h if (ptr[3] & ~MPPE_ALL_BITS) \ ptr 333 drivers/net/ppp/pppoe.c unsigned long event, void *ptr) ptr 335 drivers/net/ppp/pppoe.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 923 drivers/net/slip/slip.c unsigned char *ptr = d; ptr 932 drivers/net/slip/slip.c *ptr++ = END; ptr 942 drivers/net/slip/slip.c *ptr++ = ESC; ptr 943 drivers/net/slip/slip.c *ptr++ = ESC_END; ptr 946 drivers/net/slip/slip.c *ptr++ = ESC; ptr 947 drivers/net/slip/slip.c *ptr++ = ESC_ESC; ptr 950 drivers/net/slip/slip.c *ptr++ = c; ptr 954 drivers/net/slip/slip.c *ptr++ = END; ptr 955 drivers/net/slip/slip.c return ptr - d; ptr 1006 drivers/net/slip/slip.c unsigned char *ptr = d; ptr 1018 drivers/net/slip/slip.c *ptr++ = 0x70; ptr 1030 drivers/net/slip/slip.c *ptr++ = c; ptr 1035 drivers/net/slip/slip.c *ptr++ = c; ptr 1037 drivers/net/slip/slip.c *ptr++ = 0x70; ptr 1038 drivers/net/slip/slip.c return ptr - d; ptr 1220 drivers/net/tap.c xdp = &((struct xdp_buff *)ctl->ptr)[i]; ptr 1226 drivers/net/tap.c return tap_get_user(q, ctl ? ctl->ptr : NULL, &m->msg_iter, ptr 2366 drivers/net/team/team.c ctx.data.bin_val.ptr)) ptr 2632 drivers/net/team/team.c ctx.data.bin_val.ptr = nla_data(attr_data); ptr 2979 drivers/net/team/team.c unsigned long event, void *ptr) ptr 2981 drivers/net/team/team.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 251 drivers/net/team/team_mode_loadbalance.c ctx->data.bin_val.ptr = NULL; ptr 256 drivers/net/team/team_mode_loadbalance.c ctx->data.bin_val.ptr = lb_priv->ex->orig_fprog->filter; ptr 297 drivers/net/team/team_mode_loadbalance.c ctx->data.bin_val.ptr); ptr 419 drivers/net/team/team_mode_loadbalance.c ctx->data.bin_val.ptr = &lb_priv->ex->stats.info[hash].stats; ptr 439 drivers/net/team/team_mode_loadbalance.c ctx->data.bin_val.ptr = &lb_port_priv->stats_info.stats; ptr 252 drivers/net/tun.c bool tun_is_xdp_frame(void *ptr) ptr 254 drivers/net/tun.c return (unsigned long)ptr & TUN_XDP_FLAG; ptr 258 drivers/net/tun.c void *tun_xdp_to_ptr(void *ptr) ptr 260 drivers/net/tun.c return (void *)((unsigned long)ptr | TUN_XDP_FLAG); ptr 264 drivers/net/tun.c void *tun_ptr_to_xdp(void *ptr) ptr 266 drivers/net/tun.c return (void *)((unsigned long)ptr & ~TUN_XDP_FLAG); ptr 652 drivers/net/tun.c void tun_ptr_free(void *ptr) ptr 654 drivers/net/tun.c if (!ptr) ptr 656 drivers/net/tun.c if (tun_is_xdp_frame(ptr)) { ptr 657 drivers/net/tun.c struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); ptr 661 drivers/net/tun.c __skb_array_destroy_skb(ptr); ptr 668 drivers/net/tun.c void *ptr; ptr 670 drivers/net/tun.c while ((ptr = ptr_ring_consume(&tfile->tx_ring)) != NULL) ptr 671 drivers/net/tun.c tun_ptr_free(ptr); ptr 2174 drivers/net/tun.c void *ptr = NULL; ptr 2177 drivers/net/tun.c ptr = ptr_ring_consume(&tfile->tx_ring); ptr 2178 drivers/net/tun.c if (ptr) ptr 2189 drivers/net/tun.c ptr = ptr_ring_consume(&tfile->tx_ring); ptr 2190 drivers/net/tun.c if (ptr) ptr 2209 drivers/net/tun.c return ptr; ptr 2214 drivers/net/tun.c int noblock, void *ptr) ptr 2222 drivers/net/tun.c tun_ptr_free(ptr); ptr 2226 drivers/net/tun.c if (!ptr) { ptr 2228 drivers/net/tun.c ptr = tun_ring_recv(tfile, noblock, &err); ptr 2229 drivers/net/tun.c if (!ptr) ptr 2233 drivers/net/tun.c if (tun_is_xdp_frame(ptr)) { ptr 2234 drivers/net/tun.c struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); ptr 2239 drivers/net/tun.c struct sk_buff *skb = ptr; ptr 2554 drivers/net/tun.c xdp = &((struct xdp_buff *)ctl->ptr)[i]; ptr 2570 drivers/net/tun.c ret = tun_get_user(tun, tfile, ctl ? ctl->ptr : NULL, &m->msg_iter, ptr 2583 drivers/net/tun.c void *ptr = m->msg_control; ptr 2600 drivers/net/tun.c ret = tun_do_read(tun, tfile, &m->msg_iter, flags & MSG_DONTWAIT, ptr); ptr 2612 drivers/net/tun.c tun_ptr_free(ptr); ptr 2616 drivers/net/tun.c static int tun_ptr_peek_len(void *ptr) ptr 2618 drivers/net/tun.c if (likely(ptr)) { ptr 2619 drivers/net/tun.c if (tun_is_xdp_frame(ptr)) { ptr 2620 drivers/net/tun.c struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); ptr 2624 drivers/net/tun.c return __skb_array_len_with_tag(ptr); ptr 3643 drivers/net/tun.c unsigned long event, void *ptr) ptr 3645 drivers/net/tun.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 224 drivers/net/usb/asix_common.c void *ptr; ptr 260 drivers/net/usb/asix_common.c ptr = skb_push(skb, 4); ptr 261 drivers/net/usb/asix_common.c put_unaligned_le32(packet_len, ptr); ptr 1424 drivers/net/usb/ax88179_178a.c void *ptr; ptr 1439 drivers/net/usb/ax88179_178a.c ptr = skb_push(skb, 8); ptr 1440 drivers/net/usb/ax88179_178a.c put_unaligned_le32(tx_hdr1, ptr); ptr 1441 drivers/net/usb/ax88179_178a.c put_unaligned_le32(tx_hdr2, ptr + 4); ptr 2732 drivers/net/usb/lan78xx.c void *ptr; ptr 2763 drivers/net/usb/lan78xx.c ptr = skb_push(skb, 8); ptr 2764 drivers/net/usb/lan78xx.c put_unaligned_le32(tx_cmd_a, ptr); ptr 2765 drivers/net/usb/lan78xx.c put_unaligned_le32(tx_cmd_b, ptr + 4); ptr 86 drivers/net/usb/sierra_net.c void *ptr; ptr 2258 drivers/net/usb/smsc75xx.c void *ptr; ptr 2279 drivers/net/usb/smsc75xx.c ptr = skb_push(skb, 8); ptr 2280 drivers/net/usb/smsc75xx.c put_unaligned_le32(tx_cmd_a, ptr); ptr 2281 drivers/net/usb/smsc75xx.c put_unaligned_le32(tx_cmd_b, ptr + 4); ptr 2023 drivers/net/usb/smsc95xx.c void *ptr; ptr 2053 drivers/net/usb/smsc95xx.c ptr = skb_push(skb, 4); ptr 2054 drivers/net/usb/smsc95xx.c put_unaligned_le32(csum_preamble, ptr); ptr 2062 drivers/net/usb/smsc95xx.c ptr = skb_push(skb, 8); ptr 2063 drivers/net/usb/smsc95xx.c put_unaligned_le32(tx_cmd_a, ptr); ptr 2064 drivers/net/usb/smsc95xx.c put_unaligned_le32(tx_cmd_b, ptr+4); ptr 118 drivers/net/usb/sr9800.c void *ptr; ptr 137 drivers/net/usb/sr9800.c ptr = skb_push(skb, 4); ptr 139 drivers/net/usb/sr9800.c put_unaligned_le32(packet_len, ptr); ptr 185 drivers/net/veth.c static bool veth_is_xdp_frame(void *ptr) ptr 187 drivers/net/veth.c return (unsigned long)ptr & VETH_XDP_FLAG; ptr 190 drivers/net/veth.c static void *veth_ptr_to_xdp(void *ptr) ptr 192 drivers/net/veth.c return (void *)((unsigned long)ptr & ~VETH_XDP_FLAG); ptr 195 drivers/net/veth.c static void *veth_xdp_to_ptr(void *ptr) ptr 197 drivers/net/veth.c return (void *)((unsigned long)ptr | VETH_XDP_FLAG); ptr 200 drivers/net/veth.c static void veth_ptr_free(void *ptr) ptr 202 drivers/net/veth.c if (veth_is_xdp_frame(ptr)) ptr 203 drivers/net/veth.c xdp_return_frame(veth_ptr_to_xdp(ptr)); ptr 205 drivers/net/veth.c kfree_skb(ptr); ptr 429 drivers/net/veth.c void *ptr = veth_xdp_to_ptr(frame); ptr 432 drivers/net/veth.c __ptr_ring_produce(&rq->xdp_ring, ptr))) { ptr 732 drivers/net/veth.c void *ptr = __ptr_ring_consume(&rq->xdp_ring); ptr 736 drivers/net/veth.c if (!ptr) ptr 739 drivers/net/veth.c if (veth_is_xdp_frame(ptr)) { ptr 740 drivers/net/veth.c struct xdp_frame *frame = veth_ptr_to_xdp(ptr); ptr 745 drivers/net/veth.c skb = ptr; ptr 244 drivers/net/virtio_net.c static bool is_xdp_frame(void *ptr) ptr 246 drivers/net/virtio_net.c return (unsigned long)ptr & VIRTIO_XDP_FLAG; ptr 249 drivers/net/virtio_net.c static void *xdp_to_ptr(struct xdp_frame *ptr) ptr 251 drivers/net/virtio_net.c return (void *)((unsigned long)ptr | VIRTIO_XDP_FLAG); ptr 254 drivers/net/virtio_net.c static struct xdp_frame *ptr_to_xdp(void *ptr) ptr 256 drivers/net/virtio_net.c return (struct xdp_frame *)((unsigned long)ptr & ~VIRTIO_XDP_FLAG); ptr 498 drivers/net/virtio_net.c void *ptr; ptr 517 drivers/net/virtio_net.c while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { ptr 518 drivers/net/virtio_net.c if (likely(is_xdp_frame(ptr))) { ptr 519 drivers/net/virtio_net.c struct xdp_frame *frame = ptr_to_xdp(ptr); ptr 524 drivers/net/virtio_net.c struct sk_buff *skb = ptr; ptr 1359 drivers/net/virtio_net.c void *ptr; ptr 1361 drivers/net/virtio_net.c while ((ptr = virtqueue_get_buf(sq->vq, &len)) != NULL) { ptr 1362 drivers/net/virtio_net.c if (likely(!is_xdp_frame(ptr))) { ptr 1363 drivers/net/virtio_net.c struct sk_buff *skb = ptr; ptr 1370 drivers/net/virtio_net.c struct xdp_frame *frame = ptr_to_xdp(ptr); ptr 1228 drivers/net/vmxnet3/vmxnet3_drv.c void *ptr; ptr 1251 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += hlen; ptr 1254 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += hdr.ipv4->ihl << 2; ptr 1258 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += hlen; ptr 1265 drivers/net/vmxnet3/vmxnet3_drv.c hdr.ptr += sizeof(struct ipv6hdr); ptr 1420 drivers/net/vrf.c unsigned long event, void *ptr) ptr 1422 drivers/net/vrf.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 4249 drivers/net/vxlan.c unsigned long event, void *ptr) ptr 4251 drivers/net/vxlan.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 4358 drivers/net/vxlan.c unsigned long event, void *ptr) ptr 4360 drivers/net/vxlan.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 4366 drivers/net/vxlan.c vxlan_fdb_offloaded_set(dev, ptr); ptr 4369 drivers/net/vxlan.c fdb_info = ptr; ptr 4379 drivers/net/vxlan.c fdb_info = ptr; ptr 434 drivers/net/wan/c101.c card_t *ptr = card; ptr 436 drivers/net/wan/c101.c unregister_hdlc_device(port_to_dev(ptr)); ptr 437 drivers/net/wan/c101.c c101_destroy_card(ptr); ptr 486 drivers/net/wan/dlci.c unsigned long event, void *ptr) ptr 488 drivers/net/wan/dlci.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1060 drivers/net/wan/fsl_ucc_hdlc.c static int hdlc_map_iomem(char *name, int init_flag, void __iomem **ptr) ptr 1085 drivers/net/wan/fsl_ucc_hdlc.c *ptr = ioremap(res->start, resource_size(res)); ptr 1086 drivers/net/wan/fsl_ucc_hdlc.c if (!*ptr) { ptr 1097 drivers/net/wan/fsl_ucc_hdlc.c memset_io(*ptr, 0, resource_size(res)); ptr 89 drivers/net/wan/hdlc.c void *ptr) ptr 91 drivers/net/wan/hdlc.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 214 drivers/net/wan/hdlc_ppp.c char *ptr; ptr 240 drivers/net/wan/hdlc_ppp.c ptr = debug_buffer; ptr 241 drivers/net/wan/hdlc_ppp.c *ptr = '\x0'; ptr 243 drivers/net/wan/hdlc_ppp.c sprintf(ptr, " %02X", skb->data[sizeof(struct cp_header) + i]); ptr 244 drivers/net/wan/hdlc_ppp.c ptr += strlen(ptr); ptr 441 drivers/net/wan/hdlc_ppp.c char *ptr; ptr 476 drivers/net/wan/hdlc_ppp.c ptr = debug_buffer + strlen(debug_buffer); ptr 478 drivers/net/wan/hdlc_ppp.c sprintf(ptr, " %02X", skb->data[i]); ptr 479 drivers/net/wan/hdlc_ppp.c ptr += strlen(ptr); ptr 31 drivers/net/wan/hdlc_x25.c unsigned char *ptr; ptr 38 drivers/net/wan/hdlc_x25.c ptr = skb_put(skb, 1); ptr 39 drivers/net/wan/hdlc_x25.c *ptr = code; ptr 63 drivers/net/wan/hdlc_x25.c unsigned char *ptr; ptr 71 drivers/net/wan/hdlc_x25.c ptr = skb->data; ptr 72 drivers/net/wan/hdlc_x25.c *ptr = X25_IFACE_DATA; ptr 129 drivers/net/wan/lapbether.c unsigned char *ptr; ptr 136 drivers/net/wan/lapbether.c ptr = skb->data; ptr 137 drivers/net/wan/lapbether.c *ptr = X25_IFACE_DATA; ptr 189 drivers/net/wan/lapbether.c unsigned char *ptr; ptr 195 drivers/net/wan/lapbether.c ptr = skb_push(skb, 2); ptr 197 drivers/net/wan/lapbether.c *ptr++ = size % 256; ptr 198 drivers/net/wan/lapbether.c *ptr++ = size / 256; ptr 212 drivers/net/wan/lapbether.c unsigned char *ptr; ptr 220 drivers/net/wan/lapbether.c ptr = skb_put(skb, 1); ptr 221 drivers/net/wan/lapbether.c *ptr = X25_IFACE_CONNECT; ptr 229 drivers/net/wan/lapbether.c unsigned char *ptr; ptr 237 drivers/net/wan/lapbether.c ptr = skb_put(skb, 1); ptr 238 drivers/net/wan/lapbether.c *ptr = X25_IFACE_DISCONNECT; ptr 363 drivers/net/wan/lapbether.c unsigned long event, void *ptr) ptr 366 drivers/net/wan/lapbether.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 548 drivers/net/wan/n2.c card_t *ptr = card; ptr 550 drivers/net/wan/n2.c n2_destroy_card(ptr); ptr 99 drivers/net/wan/wanxl.c static inline dma_addr_t pci_map_single_debug(struct pci_dev *pdev, void *ptr, ptr 102 drivers/net/wan/wanxl.c dma_addr_t addr = pci_map_single(pdev, ptr, size, direction); ptr 403 drivers/net/wan/x25_asy.c unsigned char *ptr; ptr 411 drivers/net/wan/x25_asy.c ptr = skb_put(skb, 1); ptr 412 drivers/net/wan/x25_asy.c *ptr = X25_IFACE_CONNECT; ptr 422 drivers/net/wan/x25_asy.c unsigned char *ptr; ptr 430 drivers/net/wan/x25_asy.c ptr = skb_put(skb, 1); ptr 431 drivers/net/wan/x25_asy.c *ptr = X25_IFACE_DISCONNECT; ptr 619 drivers/net/wan/x25_asy.c unsigned char *ptr = d; ptr 628 drivers/net/wan/x25_asy.c *ptr++ = X25_END; /* Send 10111110 bit seq */ ptr 638 drivers/net/wan/x25_asy.c *ptr++ = X25_ESC; ptr 639 drivers/net/wan/x25_asy.c *ptr++ = X25_ESCAPE(X25_END); ptr 642 drivers/net/wan/x25_asy.c *ptr++ = X25_ESC; ptr 643 drivers/net/wan/x25_asy.c *ptr++ = X25_ESCAPE(X25_ESC); ptr 646 drivers/net/wan/x25_asy.c *ptr++ = c; ptr 650 drivers/net/wan/x25_asy.c *ptr++ = X25_END; ptr 651 drivers/net/wan/x25_asy.c return ptr - d; ptr 218 drivers/net/wimax/i2400m/fw.c int i2400m_zrealloc_2x(void **ptr, size_t *_count, size_t el_size, ptr 225 drivers/net/wimax/i2400m/fw.c void *nptr = krealloc(*ptr, new_size, gfp_flags); ptr 234 drivers/net/wimax/i2400m/fw.c *ptr = nptr; ptr 439 drivers/net/wimax/i2400m/tx.c void *ptr; ptr 474 drivers/net/wimax/i2400m/tx.c ptr = i2400m->tx_buf + i2400m->tx_in % I2400M_TX_BUF_SIZE; ptr 478 drivers/net/wimax/i2400m/tx.c return ptr; ptr 720 drivers/net/wimax/i2400m/tx.c void *ptr; ptr 766 drivers/net/wimax/i2400m/tx.c ptr = i2400m_tx_fifo_push(i2400m, padded_len, ptr 768 drivers/net/wimax/i2400m/tx.c if (ptr == TAIL_FULL) { /* Tail is full, try head */ ptr 774 drivers/net/wimax/i2400m/tx.c } else if (ptr == NULL) { /* All full */ ptr 780 drivers/net/wimax/i2400m/tx.c memcpy(ptr, buf, buf_len); ptr 781 drivers/net/wimax/i2400m/tx.c memset(ptr + buf_len, 0xad, padded_len - buf_len); ptr 793 drivers/net/wimax/i2400m/tx.c num_pls+1, ptr - i2400m->tx_buf, buf_len, padded_len); ptr 2694 drivers/net/wireless/ath/ath10k/debug.c const void *ptr; ptr 2700 drivers/net/wireless/ath/ath10k/debug.c for (ptr = buf; (ptr - buf) < len; ptr += 16) { ptr 2706 drivers/net/wireless/ath/ath10k/debug.c (unsigned int)(ptr - buf)); ptr 2707 drivers/net/wireless/ath/ath10k/debug.c hex_dump_to_buffer(ptr, len - (ptr - buf), 16, 1, ptr 754 drivers/net/wireless/ath/ath10k/htt.h void *ptr = rx_ind; ptr 756 drivers/net/wireless/ath/ath10k/htt.h ptr += sizeof(rx_ind->hdr) ptr 760 drivers/net/wireless/ath/ath10k/htt.h return ptr; ptr 766 drivers/net/wireless/ath/ath10k/htt.h void *ptr = rx_ind; ptr 768 drivers/net/wireless/ath/ath10k/htt.h ptr += sizeof(rx_ind->hdr) ptr 772 drivers/net/wireless/ath/ath10k/htt.h return ptr; ptr 70 drivers/net/wireless/ath/ath10k/wmi-tlv.c ath10k_wmi_tlv_iter(struct ath10k *ar, const void *ptr, size_t len, ptr 72 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data), ptr 75 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *begin = ptr; ptr 84 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr - begin, len, sizeof(*tlv)); ptr 88 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 91 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 97 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv_tag, ptr - begin, len, tlv_len); ptr 106 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv_tag, ptr - begin, tlv_len, ptr 111 drivers/net/wireless/ath/ath10k/wmi-tlv.c ret = iter(ar, tlv_tag, tlv_len, ptr, data); ptr 115 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += tlv_len; ptr 123 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 128 drivers/net/wireless/ath/ath10k/wmi-tlv.c tb[tag] = ptr; ptr 134 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, size_t len) ptr 136 drivers/net/wireless/ath/ath10k/wmi-tlv.c return ath10k_wmi_tlv_iter(ar, ptr, len, ath10k_wmi_tlv_iter_parse, ptr 141 drivers/net/wireless/ath/ath10k/wmi-tlv.c ath10k_wmi_tlv_parse_alloc(struct ath10k *ar, const void *ptr, ptr 151 drivers/net/wireless/ath/ath10k/wmi-tlv.c ret = ath10k_wmi_tlv_parse(ar, tb, ptr, len); ptr 160 drivers/net/wireless/ath/ath10k/wmi-tlv.c static u16 ath10k_wmi_tlv_len(const void *ptr) ptr 162 drivers/net/wireless/ath/ath10k/wmi-tlv.c return __le16_to_cpu((((const struct wmi_tlv *)ptr) - 1)->len); ptr 731 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 737 drivers/net/wireless/ath/ath10k/wmi-tlv.c bundle_tx_compl->num_reports = ptr; ptr 742 drivers/net/wireless/ath/ath10k/wmi-tlv.c bundle_tx_compl->desc_ids = ptr; ptr 745 drivers/net/wireless/ath/ath10k/wmi-tlv.c bundle_tx_compl->status = ptr; ptr 748 drivers/net/wireless/ath/ath10k/wmi-tlv.c bundle_tx_compl->ppdu_ids = ptr; ptr 751 drivers/net/wireless/ath/ath10k/wmi-tlv.c bundle_tx_compl->ack_rssi = ptr; ptr 942 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 946 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tim_info *tim_info_ev = ptr; ptr 973 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 983 drivers/net/wireless/ath/ath10k/wmi-tlv.c swba->arg->noa_info[swba->n_noa++] = ptr; ptr 988 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 995 drivers/net/wireless/ath/ath10k/wmi-tlv.c swba->ev = ptr; ptr 1000 drivers/net/wireless/ath/ath10k/wmi-tlv.c ret = ath10k_wmi_tlv_iter(ar, ptr, len, ptr 1007 drivers/net/wireless/ath/ath10k/wmi-tlv.c ret = ath10k_wmi_tlv_iter(ar, ptr, len, ptr 1099 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 1109 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->mem_reqs[i] = ptr; ptr 1127 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 1133 drivers/net/wireless/ath/ath10k/wmi-tlv.c svc_rdy->ev = ptr; ptr 1136 drivers/net/wireless/ath/ath10k/wmi-tlv.c svc_rdy->reg = ptr; ptr 1139 drivers/net/wireless/ath/ath10k/wmi-tlv.c svc_rdy->mem_reqs = ptr; ptr 1144 drivers/net/wireless/ath/ath10k/wmi-tlv.c svc_rdy->svc_bmap = ptr; ptr 1257 drivers/net/wireless/ath/ath10k/wmi-tlv.c const void *ptr, void *data) ptr 1263 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->service_map_ext_len = *(__le32 *)ptr; ptr 1264 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->service_map_ext = ptr + sizeof(__le32); ptr 1665 drivers/net/wireless/ath/ath10k/wmi-tlv.c chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr); ptr 1689 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 1701 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = skb->data; ptr 1703 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1707 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1708 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 1710 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1714 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1715 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cfg); ptr 1717 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1722 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1723 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += chunks_len; ptr 1812 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 1833 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 1834 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1854 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1855 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 1857 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1864 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1865 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += chan_len; ptr 1867 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1876 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1877 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += ssid_len; ptr 1879 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1886 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1887 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += bssid_len; ptr 1889 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 1894 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 1895 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += ie_len; ptr 2020 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2040 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2042 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2059 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2060 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2062 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2068 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2069 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*ch); ptr 2071 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2079 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2080 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += 0; ptr 2186 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2201 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2202 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2217 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2218 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2220 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2226 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2227 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += roundup(arg->key_len, sizeof(__le32)); ptr 2233 drivers/net/wireless/ath/ath10k/wmi-tlv.c static void *ath10k_wmi_tlv_put_uapsd_ac(struct ath10k *ar, void *ptr, ptr 2239 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2255 drivers/net/wireless/ath/ath10k/wmi-tlv.c return ptr + sizeof(*tlv) + sizeof(*ac); ptr 2270 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2280 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2281 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2289 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2290 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2292 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2297 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2299 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = ath10k_wmi_tlv_put_uapsd_ac(ar, ptr, &args[i]); ptr 2305 drivers/net/wireless/ath/ath10k/wmi-tlv.c static void *ath10k_wmi_tlv_put_wmm(void *ptr, ptr 2311 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2317 drivers/net/wireless/ath/ath10k/wmi-tlv.c return ptr + sizeof(*tlv) + sizeof(*wmm); ptr 2328 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2335 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2336 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2359 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2368 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2369 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2378 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2379 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2381 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2505 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2525 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2526 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2548 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2549 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2551 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2557 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2558 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += legacy_rate_len; ptr 2560 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2566 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2567 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += ht_rate_len; ptr 2569 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2579 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2580 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*vht_rate); ptr 2673 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr, *chans; ptr 2683 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2684 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2690 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2691 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2693 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2712 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2713 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += chans_len; ptr 2790 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2798 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2800 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2807 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2808 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2810 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = ath10k_wmi_tlv_put_wmm(ptr, &arg->ac_be); ptr 2811 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = ath10k_wmi_tlv_put_wmm(ptr, &arg->ac_bk); ptr 2812 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = ath10k_wmi_tlv_put_wmm(ptr, &arg->ac_vi); ptr 2813 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = ath10k_wmi_tlv_put_wmm(ptr, &arg->ac_vo); ptr 2877 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2914 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2915 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2926 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2927 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 2929 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 2933 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 2934 drivers/net/wireless/ath/ath10k/wmi-tlv.c memcpy(ptr, msdu->data, buf_len); ptr 2976 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 2994 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 2996 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3003 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3004 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3006 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3012 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3013 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(bmap_len); ptr 3025 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3033 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3034 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3040 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3041 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3073 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3081 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3082 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3087 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3088 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3104 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3117 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3118 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3126 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3127 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3134 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3142 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3143 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*info); ptr 3144 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += prb_ies_len; ptr 3146 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3166 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3176 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3177 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3184 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3185 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3187 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3194 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3195 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*info); ptr 3197 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3214 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3223 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3224 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3231 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3232 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3234 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3239 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3240 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += roundup(p2p_ie[1] + 2, 4); ptr 3254 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3275 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3276 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3295 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3296 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3333 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3345 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3346 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3355 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3356 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3358 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3379 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3380 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*peer_cap); ptr 3382 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3386 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3389 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3395 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3396 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*chan); ptr 3524 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3541 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3542 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3551 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3552 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3555 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3559 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3561 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3573 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3574 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*bitmap); ptr 3577 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3581 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3584 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3588 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3591 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3595 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3598 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3602 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3605 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3655 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3675 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3676 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3705 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3706 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3714 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3718 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3719 drivers/net/wireless/ath/ath10k/wmi-tlv.c nlo_list = ptr; ptr 3746 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += __le32_to_cpu(cmd->no_of_ssids) * sizeof(struct nlo_configured_parameters); ptr 3753 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3757 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3759 drivers/net/wireless/ath/ath10k/wmi-tlv.c channel_list = (__le32 *)ptr; ptr 3776 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3790 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3791 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3799 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3800 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3803 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3807 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3810 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3834 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3842 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3843 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3849 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3850 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3862 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3870 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3871 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3877 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*tlv); ptr 3878 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr += sizeof(*cmd); ptr 3891 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3899 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3900 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 3934 drivers/net/wireless/ath/ath10k/wmi-tlv.c void *ptr; ptr 3942 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = (void *)skb->data; ptr 3943 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv = ptr; ptr 6433 drivers/net/wireless/ath/ath10k/wmi.c chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr); ptr 6831 drivers/net/wireless/ath/ath10k/wmi.c void *ptr = tlvs->tlvs; ptr 6835 drivers/net/wireless/ath/ath10k/wmi.c channels = ptr; ptr 6843 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(*channels); ptr 6844 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(__le32) * arg->n_channels; ptr 6848 drivers/net/wireless/ath/ath10k/wmi.c ssids = ptr; ptr 6860 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(*ssids); ptr 6861 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(struct wmi_ssid) * arg->n_ssids; ptr 6865 drivers/net/wireless/ath/ath10k/wmi.c bssids = ptr; ptr 6873 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(*bssids); ptr 6874 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(struct wmi_mac_addr) * arg->n_bssids; ptr 6878 drivers/net/wireless/ath/ath10k/wmi.c ie = ptr; ptr 6883 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(*ie); ptr 6884 drivers/net/wireless/ath/ath10k/wmi.c ptr += roundup(arg->ie_len, 4); ptr 9413 drivers/net/wireless/ath/ath10k/wmi.c static int ath10k_wmi_mgmt_tx_clean_up_pending(int msdu_id, void *ptr, ptr 9416 drivers/net/wireless/ath/ath10k/wmi.c struct ath10k_mgmt_tx_pkt_addr *pkt_addr = ptr; ptr 3036 drivers/net/wireless/ath/ath10k/wmi.h __le32 ptr; ptr 895 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_detect_error(unsigned long ptr); ptr 953 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_tgt_stats_event(struct ath6kl_vif *vif, u8 *ptr, u32 len); ptr 700 drivers/net/wireless/ath/ath6kl/main.c static void ath6kl_update_target_stats(struct ath6kl_vif *vif, u8 *ptr, u32 len) ptr 703 drivers/net/wireless/ath/ath6kl/main.c (struct wmi_target_stats *) ptr; ptr 819 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_tgt_stats_event(struct ath6kl_vif *vif, u8 *ptr, u32 len) ptr 821 drivers/net/wireless/ath/ath6kl/main.c struct wmi_ap_mode_stat *p = (struct wmi_ap_mode_stat *) ptr; ptr 846 drivers/net/wireless/ath/ath6kl/main.c ath6kl_update_target_stats(vif, ptr, len); ptr 458 drivers/net/wireless/ath/ath9k/ath9k.h struct ath_chanctx **ptr = (void *) ctx->drv_priv; ptr 459 drivers/net/wireless/ath/ath9k/ath9k.h return *ptr; ptr 536 drivers/net/wireless/ath/ath9k/hif_usb.c u8 *ptr; ptr 547 drivers/net/wireless/ath/ath9k/hif_usb.c ptr = (u8 *) remain_skb->data; ptr 551 drivers/net/wireless/ath/ath9k/hif_usb.c ptr += rx_pkt_len; ptr 553 drivers/net/wireless/ath/ath9k/hif_usb.c memcpy(ptr, skb->data, rx_remain_len); ptr 574 drivers/net/wireless/ath/ath9k/hif_usb.c ptr = (u8 *) skb->data; ptr 576 drivers/net/wireless/ath/ath9k/hif_usb.c pkt_len = get_unaligned_le16(ptr + index); ptr 577 drivers/net/wireless/ath/ath9k/hif_usb.c pkt_tag = get_unaligned_le16(ptr + index + 2); ptr 2424 drivers/net/wireless/ath/ath9k/main.c struct ath_chanctx *ctx, **ptr; ptr 2433 drivers/net/wireless/ath/ath9k/main.c ptr = (void *) conf->drv_priv; ptr 2434 drivers/net/wireless/ath/ath9k/main.c *ptr = ctx; ptr 1244 drivers/net/wireless/ath/wil6210/wil6210.h void __iomem *wmi_buffer_block(struct wil6210_priv *wil, __le32 ptr, u32 size); ptr 1245 drivers/net/wireless/ath/wil6210/wil6210.h void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr); ptr 1246 drivers/net/wireless/ath/wil6210/wil6210.h void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr); ptr 1247 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, ptr 291 drivers/net/wireless/ath/wil6210/wmi.c u32 ptr = le32_to_cpu(ptr_); ptr 293 drivers/net/wireless/ath/wil6210/wmi.c if (ptr % 4) ptr 296 drivers/net/wireless/ath/wil6210/wmi.c ptr = wmi_addr_remap(ptr); ptr 297 drivers/net/wireless/ath/wil6210/wmi.c if (ptr < WIL6210_FW_HOST_OFF) ptr 300 drivers/net/wireless/ath/wil6210/wmi.c off = HOSTADDR(ptr); ptr 317 drivers/net/wireless/ath/wil6210/wmi.c void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) ptr 321 drivers/net/wireless/ath/wil6210/wmi.c if (ptr % 4) ptr 324 drivers/net/wireless/ath/wil6210/wmi.c if (ptr < WIL6210_FW_HOST_OFF) ptr 327 drivers/net/wireless/ath/wil6210/wmi.c off = HOSTADDR(ptr); ptr 334 drivers/net/wireless/ath/wil6210/wmi.c int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, ptr 337 drivers/net/wireless/ath/wil6210/wmi.c void __iomem *src = wmi_buffer(wil, ptr); ptr 179 drivers/net/wireless/broadcom/b43/dma.h #define b43_dma_ptr_is_poisoned(ptr) (unlikely((ptr) == B43_DMA_PTR_POISON)) ptr 954 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c char *ptr; ptr 990 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ptr = (char *)params_le + offset; ptr 1002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(ptr, &ssid_le, sizeof(ssid_le)); ptr 1003 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ptr += sizeof(ssid_le); ptr 4275 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u8 *ptr; ptr 4325 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ptr = curr_ie_buf; ptr 4329 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(ptr + parsed_ie_buf_len, vndrie_info->ie_ptr, ptr 4367 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ptr = mgmt_ie_buf; ptr 4396 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(ptr + (*mgmt_ie_len), vndrie_info->ie_ptr, ptr 202 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c char *ptr; ptr 267 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c ptr = (char *)buf; ptr 268 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c strsep(&ptr, "\n"); ptr 274 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c ptr = strrchr(buf, ' ') + 1; ptr 275 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c strlcpy(ifp->drvr->fwver, ptr, sizeof(ifp->drvr->fwver)); ptr 1001 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c (bcma_read32(di->core, DMA64RXREGOFFS(di, ptr)) & ptr 1012 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c (bcma_read32(di->core, DMA64TXREGOFFS(di, ptr)) & ptr 1103 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c bcma_write32(di->core, DMA64RXREGOFFS(di, ptr), ptr 1339 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c bcma_write32(di->core, DMA64TXREGOFFS(di, ptr), ptr 1416 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c bcma_write32(di->core, DMA64TXREGOFFS(di, ptr), ptr 48 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.h u32 ptr; /* last descriptor posted to chip */ ptr 1374 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 *ptr; ptr 1377 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr = kmalloc_array(131, sizeof(s16), GFP_ATOMIC); ptr 1378 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (NULL == ptr) ptr 1517 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c kfree(ptr); ptr 3568 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 *ptr, int mode) ptr 3580 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr[130] = 0; ptr 3628 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr[(strptr - 0x7E00) / 4] = real; ptr 3630 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr[(strptr - 0x7E00) / 4] = imag; ptr 3635 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr[130] = 1; ptr 3657 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s16 *ptr, phy_c17; ptr 3667 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr = kmalloc_array(131, sizeof(s16), GFP_ATOMIC); ptr 3668 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (NULL == ptr) ptr 3673 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c kfree(ptr); ptr 3754 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c ptr[130] = 0; ptr 3755 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_samp_cap(pi, 1, phy_c9, &ptr[0], 2); ptr 3756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c if (ptr[130] == 1) ptr 3791 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_samp_cap(pi, 0, 0, ptr, 2); ptr 3803 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c phy_c17 = ptr[j]; ptr 3840 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c kfree(ptr); ptr 3718 drivers/net/wireless/cisco/airo.c char *ptr = ai->rxfids[0].virtual_host_addr + 4; ptr 3721 drivers/net/wireless/cisco/airo.c memcpy ((char *)&hdr, ptr, sizeof(hdr)); ptr 3722 drivers/net/wireless/cisco/airo.c ptr += sizeof(hdr); ptr 3736 drivers/net/wireless/cisco/airo.c fc = get_unaligned((__le16 *)ptr); ptr 3745 drivers/net/wireless/cisco/airo.c memcpy ((char *)buffer, ptr, hdrlen); ptr 3746 drivers/net/wireless/cisco/airo.c ptr += hdrlen; ptr 3748 drivers/net/wireless/cisco/airo.c ptr += 6; ptr 3749 drivers/net/wireless/cisco/airo.c gap = get_unaligned_le16(ptr); ptr 3750 drivers/net/wireless/cisco/airo.c ptr += sizeof(__le16); ptr 3753 drivers/net/wireless/cisco/airo.c ptr += gap; ptr 3758 drivers/net/wireless/cisco/airo.c memcpy ((char *)buffer + hdrlen, ptr, len); ptr 3759 drivers/net/wireless/cisco/airo.c ptr += len; ptr 5304 drivers/net/wireless/cisco/airo.c char *ptr; ptr 5327 drivers/net/wireless/cisco/airo.c ptr = data->rbuffer; ptr 5328 drivers/net/wireless/cisco/airo.c strcpy(ptr, "No wep keys\n"); ptr 5333 drivers/net/wireless/cisco/airo.c j += sprintf(ptr+j, "Tx key = %d\n", ptr 5336 drivers/net/wireless/cisco/airo.c j += sprintf(ptr+j, "Key %d set with length = %d\n", ptr 5353 drivers/net/wireless/cisco/airo.c char *ptr; ptr 5374 drivers/net/wireless/cisco/airo.c ptr = data->rbuffer; ptr 5383 drivers/net/wireless/cisco/airo.c *ptr++ = SSID_rid.ssids[i].ssid[j]; ptr 5384 drivers/net/wireless/cisco/airo.c *ptr++ = '\n'; ptr 5386 drivers/net/wireless/cisco/airo.c *ptr = '\0'; ptr 5396 drivers/net/wireless/cisco/airo.c char *ptr; ptr 5415 drivers/net/wireless/cisco/airo.c ptr = data->rbuffer; ptr 5420 drivers/net/wireless/cisco/airo.c ptr += sprintf(ptr, "%pM\n", APList_rid->ap[i]); ptr 5422 drivers/net/wireless/cisco/airo.c if (i==0) ptr += sprintf(ptr, "Not using specific APs\n"); ptr 5424 drivers/net/wireless/cisco/airo.c *ptr = '\0'; ptr 5433 drivers/net/wireless/cisco/airo.c char *ptr; ptr 5475 drivers/net/wireless/cisco/airo.c ptr = data->rbuffer; ptr 5481 drivers/net/wireless/cisco/airo.c ptr += sprintf(ptr, "%pM %.*s rssi = %d", ptr 5486 drivers/net/wireless/cisco/airo.c ptr += sprintf(ptr, " channel = %d %s %s %s %s\n", ptr 5494 drivers/net/wireless/cisco/airo.c *ptr = '\0'; ptr 1915 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_alloc_dma_ptr(struct il_priv *il, struct il_dma_ptr *ptr, size_t size) ptr 1917 drivers/net/wireless/intel/iwlegacy/4965-mac.c ptr->addr = dma_alloc_coherent(&il->pci_dev->dev, size, &ptr->dma, ptr 1919 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (!ptr->addr) ptr 1921 drivers/net/wireless/intel/iwlegacy/4965-mac.c ptr->size = size; ptr 1926 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_free_dma_ptr(struct il_priv *il, struct il_dma_ptr *ptr) ptr 1928 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (unlikely(!ptr->addr)) ptr 1931 drivers/net/wireless/intel/iwlegacy/4965-mac.c dma_free_coherent(&il->pci_dev->dev, ptr->size, ptr->addr, ptr->dma); ptr 1932 drivers/net/wireless/intel/iwlegacy/4965-mac.c memset(ptr, 0, sizeof(*ptr)); ptr 117 drivers/net/wireless/intel/iwlegacy/debug.c #define DEBUGFS_ADD_BOOL(name, parent, ptr) do { \ ptr 118 drivers/net/wireless/intel/iwlegacy/debug.c debugfs_create_bool(#name, 0600, parent, ptr); \ ptr 459 drivers/net/wireless/intel/iwlegacy/debug.c const u8 *ptr; ptr 470 drivers/net/wireless/intel/iwlegacy/debug.c ptr = il->eeprom; ptr 471 drivers/net/wireless/intel/iwlegacy/debug.c if (!ptr) { ptr 488 drivers/net/wireless/intel/iwlegacy/debug.c ofs, ptr + ofs); ptr 251 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c const u8 *ptr; ptr 260 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ptr = priv->eeprom_blob; ptr 261 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c if (!ptr) ptr 274 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c ofs, ptr + ofs); ptr 408 drivers/net/wireless/intel/iwlwifi/dvm/main.c u32 ptr; /* SRAM byte address of log data */ ptr 413 drivers/net/wireless/intel/iwlwifi/dvm/main.c ptr = base + (4 * sizeof(u32)) + (start_idx * 2 * sizeof(u32)); ptr 415 drivers/net/wireless/intel/iwlwifi/dvm/main.c ptr = base + (4 * sizeof(u32)) + (start_idx * 3 * sizeof(u32)); ptr 422 drivers/net/wireless/intel/iwlwifi/dvm/main.c iwl_write32(priv->trans, HBUS_TARG_MEM_RADDR, ptr); ptr 1703 drivers/net/wireless/intel/iwlwifi/dvm/main.c u32 ptr; /* SRAM byte address of log data */ ptr 1726 drivers/net/wireless/intel/iwlwifi/dvm/main.c ptr = base + EVENT_START_OFFSET + (start_idx * event_size); ptr 1733 drivers/net/wireless/intel/iwlwifi/dvm/main.c iwl_write32(trans, HBUS_TARG_MEM_RADDR, ptr); ptr 581 drivers/net/wireless/intel/iwlwifi/fw/dbg.c u32 range_len, void *ptr) ptr 586 drivers/net/wireless/intel/iwlwifi/fw/dbg.c (struct iwl_fw_error_dump_data **)ptr; ptr 661 drivers/net/wireless/intel/iwlwifi/fw/dbg.c u32 range_len, void *ptr) ptr 663 drivers/net/wireless/intel/iwlwifi/fw/dbg.c u32 *prph_len = (u32 *)ptr; ptr 681 drivers/net/wireless/intel/iwlwifi/fw/dbg.c static void iwl_fw_prph_handler(struct iwl_fw_runtime *fwrt, void *ptr, ptr 690 drivers/net/wireless/intel/iwlwifi/fw/dbg.c handler(fwrt, iwl_prph_dump_addr_ax210, range_len, ptr); ptr 694 drivers/net/wireless/intel/iwlwifi/fw/dbg.c handler(fwrt, iwl_prph_dump_addr_22000, range_len, ptr); ptr 697 drivers/net/wireless/intel/iwlwifi/fw/dbg.c handler(fwrt, iwl_prph_dump_addr_comm, range_len, ptr); ptr 701 drivers/net/wireless/intel/iwlwifi/fw/dbg.c handler(fwrt, iwl_prph_dump_addr_9000, range_len, ptr); ptr 2246 drivers/net/wireless/intel/iwlwifi/fw/dbg.c u8 *ptr; ptr 2268 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ptr = (void *)&fwrt->fw->dbg.conf_tlv[conf_id]->hcmd; ptr 2270 drivers/net/wireless/intel/iwlwifi/fw/dbg.c struct iwl_fw_dbg_conf_hcmd *cmd = (void *)ptr; ptr 2281 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ptr += sizeof(*cmd); ptr 2282 drivers/net/wireless/intel/iwlwifi/fw/dbg.c ptr += le16_to_cpu(cmd->len); ptr 884 drivers/net/wireless/intel/iwlwifi/iwl-drv.c __le32 *ptr = (void *)tlv_data; ptr 891 drivers/net/wireless/intel/iwlwifi/iwl-drv.c major = le32_to_cpup(ptr++); ptr 892 drivers/net/wireless/intel/iwlwifi/iwl-drv.c minor = le32_to_cpup(ptr++); ptr 893 drivers/net/wireless/intel/iwlwifi/iwl-drv.c local_comp = le32_to_cpup(ptr); ptr 563 drivers/net/wireless/intel/iwlwifi/iwl-trans.h void (*set_q_ptrs)(struct iwl_trans *trans, int queue, int ptr); ptr 976 drivers/net/wireless/intel/iwlwifi/iwl-trans.h int ptr) ptr 983 drivers/net/wireless/intel/iwlwifi/iwl-trans.h trans->ops->set_q_ptrs(trans, queue, ptr); ptr 204 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c u8 *ptr; ptr 219 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ptr = kzalloc(len, GFP_KERNEL); ptr 220 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (!ptr) ptr 223 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_trans_read_mem_bytes(mvm->trans, ofs, ptr, len); ptr 225 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len); ptr 227 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c kfree(ptr); ptr 703 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_trans_pcie_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr); ptr 1084 drivers/net/wireless/intel/iwlwifi/pcie/internal.h struct iwl_dma_ptr *ptr, size_t size); ptr 1085 drivers/net/wireless/intel/iwlwifi/pcie/internal.h void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr); ptr 98 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 i, pos, alloc_size, *ptr, *buf; ptr 125 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (i = 0, ptr = buf; i < PCI_DUMP_SIZE; i += 4, ptr++) ptr 126 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (pci_read_config_dword(pdev, i, ptr)) ptr 131 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (i = 0, ptr = buf; i < PCI_MEM_DUMP_SIZE; i += 4, ptr++) ptr 132 drivers/net/wireless/intel/iwlwifi/pcie/trans.c *ptr = iwl_read32(trans, i); ptr 138 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (i = 0, ptr = buf; i < PCI_ERR_ROOT_COMMAND; i += 4, ptr++) ptr 139 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (pci_read_config_dword(pdev, pos + i, ptr)) ptr 154 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (i = 0, ptr = buf; i < PCI_PARENT_DUMP_SIZE; i += 4, ptr++) ptr 155 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (pci_read_config_dword(pdev, i, ptr)) ptr 168 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (i = 0, ptr = buf; i <= PCI_ERR_ROOT_ERR_SRC; i += 4, ptr++) ptr 169 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (pci_read_config_dword(pdev, pos + i, ptr)) ptr 3233 drivers/net/wireless/intel/iwlwifi/pcie/trans.c int i, ptr; ptr 3303 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ptr = cmdq->write_ptr; ptr 3305 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u8 idx = iwl_pcie_get_cmd_index(cmdq, ptr); ptr 3312 drivers/net/wireless/intel/iwlwifi/pcie/trans.c tfdidx = ptr; ptr 3328 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ptr = iwl_queue_dec_wrap(trans, ptr); ptr 161 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_dma_ptr *ptr, size_t size) ptr 163 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (WARN_ON(ptr->addr)) ptr 166 drivers/net/wireless/intel/iwlwifi/pcie/tx.c ptr->addr = dma_alloc_coherent(trans->dev, size, ptr 167 drivers/net/wireless/intel/iwlwifi/pcie/tx.c &ptr->dma, GFP_KERNEL); ptr 168 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (!ptr->addr) ptr 170 drivers/net/wireless/intel/iwlwifi/pcie/tx.c ptr->size = size; ptr 174 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, struct iwl_dma_ptr *ptr) ptr 176 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (unlikely(!ptr->addr)) ptr 179 drivers/net/wireless/intel/iwlwifi/pcie/tx.c dma_free_coherent(trans->dev, ptr->size, ptr->addr, ptr->dma); ptr 180 drivers/net/wireless/intel/iwlwifi/pcie/tx.c memset(ptr, 0, sizeof(*ptr)); ptr 1224 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void iwl_trans_pcie_set_q_ptrs(struct iwl_trans *trans, int txq_id, int ptr) ptr 1231 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr = ptr; ptr 329 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c struct list_head *ptr; ptr 332 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c list_for_each(ptr, &local->bss_list) { ptr 333 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c bss = list_entry(ptr, struct hostap_bss_info, list); ptr 536 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c struct list_head *ptr; ptr 539 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c list_for_each(ptr, &local->hostap_interfaces) { ptr 540 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c iface = list_entry(ptr, struct hostap_interface, list); ptr 400 drivers/net/wireless/intersil/hostap/hostap_ap.c struct list_head *ptr; ptr 404 drivers/net/wireless/intersil/hostap/hostap_ap.c for (ptr = mac_restrictions->mac_list.next; ptr 405 drivers/net/wireless/intersil/hostap/hostap_ap.c ptr != &mac_restrictions->mac_list; ptr = ptr->next) { ptr 406 drivers/net/wireless/intersil/hostap/hostap_ap.c entry = list_entry(ptr, struct mac_entry, list); ptr 409 drivers/net/wireless/intersil/hostap/hostap_ap.c list_del(ptr); ptr 448 drivers/net/wireless/intersil/hostap/hostap_ap.c struct list_head *ptr, *n; ptr 455 drivers/net/wireless/intersil/hostap/hostap_ap.c for (ptr = mac_restrictions->mac_list.next, n = ptr->next; ptr 456 drivers/net/wireless/intersil/hostap/hostap_ap.c ptr != &mac_restrictions->mac_list; ptr 457 drivers/net/wireless/intersil/hostap/hostap_ap.c ptr = n, n = ptr->next) { ptr 458 drivers/net/wireless/intersil/hostap/hostap_ap.c entry = list_entry(ptr, struct mac_entry, list); ptr 459 drivers/net/wireless/intersil/hostap/hostap_ap.c list_del(ptr); ptr 500 drivers/net/wireless/intersil/hostap/hostap_ap.c struct list_head *ptr, *n; ptr 504 drivers/net/wireless/intersil/hostap/hostap_ap.c for (ptr = ap->sta_list.next, n = ptr->next; ptr != &ap->sta_list; ptr 505 drivers/net/wireless/intersil/hostap/hostap_ap.c ptr = n, n = ptr->next) { ptr 506 drivers/net/wireless/intersil/hostap/hostap_ap.c sta = list_entry(ptr, struct sta_info, list); ptr 2330 drivers/net/wireless/intersil/hostap/hostap_ap.c struct list_head *ptr; ptr 2335 drivers/net/wireless/intersil/hostap/hostap_ap.c for (ptr = ap->sta_list.next; ptr != NULL && ptr != &ap->sta_list; ptr 2336 drivers/net/wireless/intersil/hostap/hostap_ap.c ptr = ptr->next) { ptr 2337 drivers/net/wireless/intersil/hostap/hostap_ap.c struct sta_info *sta = (struct sta_info *) ptr; ptr 2373 drivers/net/wireless/intersil/hostap/hostap_ap.c struct list_head *ptr; ptr 2387 drivers/net/wireless/intersil/hostap/hostap_ap.c for (ptr = ap->sta_list.next; ptr != NULL && ptr != &ap->sta_list; ptr 2388 drivers/net/wireless/intersil/hostap/hostap_ap.c ptr = ptr->next) { ptr 2389 drivers/net/wireless/intersil/hostap/hostap_ap.c struct sta_info *sta = (struct sta_info *) ptr; ptr 2815 drivers/net/wireless/intersil/hostap/hostap_ap.c void hostap_handle_sta_release(void *ptr) ptr 2817 drivers/net/wireless/intersil/hostap/hostap_ap.c struct sta_info *sta = ptr; ptr 237 drivers/net/wireless/intersil/hostap/hostap_ap.h void hostap_handle_sta_release(void *ptr); ptr 324 drivers/net/wireless/intersil/hostap/hostap_common.h void __user *ptr; /* pointer to data in user space */ ptr 748 drivers/net/wireless/intersil/hostap/hostap_download.c param->data[i].ptr); ptr 766 drivers/net/wireless/intersil/hostap/hostap_download.c if (copy_from_user(dl->data[i].data, param->data[i].ptr, ptr 213 drivers/net/wireless/intersil/hostap/hostap_hw.c struct list_head *ptr, *n; ptr 218 drivers/net/wireless/intersil/hostap/hostap_hw.c list_for_each_safe(ptr, n, &local->cmd_queue) { ptr 219 drivers/net/wireless/intersil/hostap/hostap_hw.c entry = list_entry(ptr, struct hostap_cmd_queue, list); ptr 1412 drivers/net/wireless/intersil/hostap/hostap_hw.c struct list_head *ptr; ptr 1420 drivers/net/wireless/intersil/hostap/hostap_hw.c list_for_each(ptr, &local->hostap_interfaces) { ptr 1421 drivers/net/wireless/intersil/hostap/hostap_hw.c iface = list_entry(ptr, struct hostap_interface, list); ptr 2958 drivers/net/wireless/intersil/hostap/hostap_hw.c struct list_head *ptr; ptr 2974 drivers/net/wireless/intersil/hostap/hostap_hw.c list_for_each(ptr, &local->set_tim_list) { ptr 2976 drivers/net/wireless/intersil/hostap/hostap_hw.c list_entry(ptr, struct set_tim_data, list); ptr 3034 drivers/net/wireless/intersil/hostap/hostap_hw.c struct list_head *ptr, *n; ptr 3036 drivers/net/wireless/intersil/hostap/hostap_hw.c list_for_each_safe(ptr, n, &local->set_tim_list) { ptr 3038 drivers/net/wireless/intersil/hostap/hostap_hw.c entry = list_entry(ptr, struct set_tim_data, list); ptr 3254 drivers/net/wireless/intersil/hostap/hostap_hw.c struct list_head *ptr, *n; ptr 3263 drivers/net/wireless/intersil/hostap/hostap_hw.c list_for_each_safe(ptr, n, &local->hostap_interfaces) { ptr 3264 drivers/net/wireless/intersil/hostap/hostap_hw.c iface = list_entry(ptr, struct hostap_interface, list); ptr 3330 drivers/net/wireless/intersil/hostap/hostap_hw.c list_for_each_safe(ptr, n, &local->bss_list) { ptr 3332 drivers/net/wireless/intersil/hostap/hostap_hw.c list_entry(ptr, struct hostap_bss_info, list); ptr 312 drivers/net/wireless/intersil/hostap/hostap_info.c u8 *ptr; ptr 335 drivers/net/wireless/intersil/hostap/hostap_info.c ptr = (u8 *) pos; ptr 344 drivers/net/wireless/intersil/hostap/hostap_info.c memcpy(&results[i], ptr, copy_len); ptr 345 drivers/net/wireless/intersil/hostap/hostap_info.c ptr += result_size; ptr 1961 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct list_head *ptr; ptr 1965 drivers/net/wireless/intersil/hostap/hostap_ioctl.c list_for_each(ptr, &local->bss_list) { ptr 1967 drivers/net/wireless/intersil/hostap/hostap_ioctl.c bss = list_entry(ptr, struct hostap_bss_info, list); ptr 1979 drivers/net/wireless/intersil/hostap/hostap_ioctl.c list_for_each(ptr, &local->bss_list) { ptr 1981 drivers/net/wireless/intersil/hostap/hostap_ioctl.c bss = list_entry(ptr, struct hostap_bss_info, list); ptr 2005 drivers/net/wireless/intersil/hostap/hostap_ioctl.c list_for_each(ptr, &local->bss_list) { ptr 2007 drivers/net/wireless/intersil/hostap/hostap_ioctl.c bss = list_entry(ptr, struct hostap_bss_info, list); ptr 142 drivers/net/wireless/intersil/hostap/hostap_main.c struct list_head *ptr; ptr 147 drivers/net/wireless/intersil/hostap/hostap_main.c list_for_each(ptr, &local->hostap_interfaces) { ptr 148 drivers/net/wireless/intersil/hostap/hostap_main.c iface = list_entry(ptr, struct hostap_interface, list); ptr 203 drivers/net/wireless/intersil/hostap/hostap_main.c struct list_head *ptr; ptr 207 drivers/net/wireless/intersil/hostap/hostap_main.c list_for_each(ptr, &local->hostap_interfaces) { ptr 208 drivers/net/wireless/intersil/hostap/hostap_main.c iface = list_entry(ptr, struct hostap_interface, list); ptr 703 drivers/net/wireless/intersil/hostap/hostap_main.c struct list_head *ptr; ptr 714 drivers/net/wireless/intersil/hostap/hostap_main.c list_for_each(ptr, &local->hostap_interfaces) { ptr 715 drivers/net/wireless/intersil/hostap/hostap_main.c iface = list_entry(ptr, struct hostap_interface, list); ptr 88 drivers/net/wireless/intersil/hostap/hostap_proc.c struct list_head *ptr = v; ptr 91 drivers/net/wireless/intersil/hostap/hostap_proc.c iface = list_entry(ptr, struct hostap_interface, list); ptr 127 drivers/net/wireless/intersil/hostap/hostap_proc.c struct list_head *ptr = v; ptr 130 drivers/net/wireless/intersil/hostap/hostap_proc.c if (ptr == &local->bss_list) { ptr 136 drivers/net/wireless/intersil/hostap/hostap_proc.c bss = list_entry(ptr, struct hostap_bss_info, list); ptr 211 drivers/net/wireless/intersil/orinoco/fw.c const unsigned char *ptr; ptr 218 drivers/net/wireless/intersil/orinoco/fw.c ptr = image; ptr 219 drivers/net/wireless/intersil/orinoco/fw.c while (*ptr++ != TEXT_END); ptr 220 drivers/net/wireless/intersil/orinoco/fw.c first_block = ptr; ptr 248 drivers/net/wireless/intersil/orinoco/fw.c ptr = first_block + len; ptr 249 drivers/net/wireless/intersil/orinoco/fw.c ret = hermes_apply_pda(hw, ptr, end, pda, ptr 183 drivers/net/wireless/intersil/prism54/isl_ioctl.c data = r.ptr; ptr 191 drivers/net/wireless/intersil/prism54/isl_ioctl.c bss2 = r.ptr; ptr 490 drivers/net/wireless/intersil/prism54/isl_ioctl.c freq = r.ptr; ptr 504 drivers/net/wireless/intersil/prism54/isl_ioctl.c data = r.ptr; ptr 515 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 553 drivers/net/wireless/intersil/prism54/isl_ioctl.c memcpy(awrq->sa_data, r.ptr, ETH_ALEN); ptr 555 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 710 drivers/net/wireless/intersil/prism54/isl_ioctl.c bsslist = r.ptr; ptr 771 drivers/net/wireless/intersil/prism54/isl_ioctl.c essid = r.ptr; ptr 846 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 851 drivers/net/wireless/intersil/prism54/isl_ioctl.c data = r.ptr; ptr 866 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 893 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 917 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 920 drivers/net/wireless/intersil/prism54/isl_ioctl.c data = r.ptr; ptr 922 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 1194 drivers/net/wireless/intersil/prism54/isl_ioctl.c key = r.ptr; ptr 1716 drivers/net/wireless/intersil/prism54/isl_ioctl.c key = r.ptr; ptr 1761 drivers/net/wireless/intersil/prism54/isl_ioctl.c kfree(r.ptr); ptr 1795 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct list_head *ptr, *next; ptr 1805 drivers/net/wireless/intersil/prism54/isl_ioctl.c for (ptr = acl->mac_list.next, next = ptr->next; ptr 1806 drivers/net/wireless/intersil/prism54/isl_ioctl.c ptr != &acl->mac_list; ptr = next, next = ptr->next) { ptr 1807 drivers/net/wireless/intersil/prism54/isl_ioctl.c entry = list_entry(ptr, struct mac_entry, _list); ptr 1808 drivers/net/wireless/intersil/prism54/isl_ioctl.c list_del(ptr); ptr 2115 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct list_head *ptr; ptr 2124 drivers/net/wireless/intersil/prism54/isl_ioctl.c list_for_each(ptr, &priv->bss_wpa_list) { ptr 2125 drivers/net/wireless/intersil/prism54/isl_ioctl.c bss = list_entry(ptr, struct islpci_bss_wpa_ie, list); ptr 2178 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct list_head *ptr; ptr 2184 drivers/net/wireless/intersil/prism54/isl_ioctl.c list_for_each(ptr, &priv->bss_wpa_list) { ptr 2185 drivers/net/wireless/intersil/prism54/isl_ioctl.c bss = list_entry(ptr, struct islpci_bss_wpa_ie, list); ptr 482 drivers/net/wireless/intersil/prism54/isl_oid.h void *ptr; ptr 518 drivers/net/wireless/intersil/prism54/oid_mgt.c res->ptr = NULL; ptr 553 drivers/net/wireless/intersil/prism54/oid_mgt.c res->ptr = kmalloc(reslen, GFP_KERNEL); ptr 554 drivers/net/wireless/intersil/prism54/oid_mgt.c BUG_ON(res->ptr == NULL); ptr 556 drivers/net/wireless/intersil/prism54/oid_mgt.c memset(res->ptr, 0, reslen); ptr 558 drivers/net/wireless/intersil/prism54/oid_mgt.c memcpy(res->ptr, _res, reslen); ptr 560 drivers/net/wireless/intersil/prism54/oid_mgt.c res->ptr); ptr 785 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_buffer *buff = r->ptr; ptr 792 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_bss *bss = r->ptr; ptr 802 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_bsslist *list = r->ptr; ptr 819 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_frequencies *freq = r->ptr; ptr 830 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_mlme *mlme = r->ptr; ptr 837 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_mlmeex *mlme = r->ptr; ptr 845 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_attachment *attach = r->ptr; ptr 853 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_ssid *ssid = r->ptr; ptr 861 drivers/net/wireless/intersil/prism54/oid_mgt.c struct obj_key *key = r->ptr; ptr 875 drivers/net/wireless/intersil/prism54/oid_mgt.c unsigned char *buff = r->ptr; ptr 70 drivers/net/wireless/marvell/mwifiex/11n.h struct mwifiex_ra_list_tbl *ptr, int tid) ptr 72 drivers/net/wireless/marvell/mwifiex/11n.h struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ptr->ra); ptr 83 drivers/net/wireless/marvell/mwifiex/11n.h struct mwifiex_ra_list_tbl *ptr, int tid) ptr 85 drivers/net/wireless/marvell/mwifiex/11n.h if (is_broadcast_ether_addr(ptr->ra)) ptr 88 drivers/net/wireless/marvell/mwifiex/11n.h return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); ptr 90 drivers/net/wireless/marvell/mwifiex/11n.h if (ptr->tdls_link) ptr 91 drivers/net/wireless/marvell/mwifiex/11n.h return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); ptr 29 drivers/net/wireless/marvell/mwifiex/11n_aggr.h struct mwifiex_ra_list_tbl *ptr, ptr 288 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c struct mwifiex_rx_reorder_tbl *rx_reorder_tbl_ptr = ctx->ptr; ptr 325 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c start_win = (ctx->ptr->start_win + seq_num + 1) & (MAX_TID_VALUE - 1); ptr 326 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c mwifiex_11n_dispatch_pkt_until_start_win(ctx->priv, ctx->ptr, ptr 407 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c new_node->timer_context.ptr = new_node; ptr 231 drivers/net/wireless/marvell/mwifiex/fw.h #define IS_BASTREAM_SETUP(ptr) (ptr->ba_status) ptr 150 drivers/net/wireless/marvell/mwifiex/join.c u8 *ptr = rate1, *tmp; ptr 176 drivers/net/wireless/marvell/mwifiex/join.c while (*ptr) { ptr 177 drivers/net/wireless/marvell/mwifiex/join.c if ((*ptr & 0x7f) == priv->data_rate) { ptr 181 drivers/net/wireless/marvell/mwifiex/join.c ptr++; ptr 718 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_rx_reorder_tbl *ptr; ptr 2577 drivers/net/wireless/marvell/mwifiex/pcie.c char buf[256], *ptr; ptr 2596 drivers/net/wireless/marvell/mwifiex/pcie.c ptr = buf; ptr 2600 drivers/net/wireless/marvell/mwifiex/pcie.c ptr += sprintf(ptr, "reg:0x%x, value=0x%x\n", ptr 2600 drivers/net/wireless/marvell/mwifiex/sdio.c char buf[256], *ptr; ptr 2613 drivers/net/wireless/marvell/mwifiex/sdio.c ptr = buf; ptr 2645 drivers/net/wireless/marvell/mwifiex/sdio.c ptr += sprintf(ptr, "SDIO Func%d (%#x-%#x): ", ptr 2648 drivers/net/wireless/marvell/mwifiex/sdio.c ptr += sprintf(ptr, "SDIO Func%d: ", func); ptr 2657 drivers/net/wireless/marvell/mwifiex/sdio.c ptr += sprintf(ptr, "(%#x) ", reg); ptr 2659 drivers/net/wireless/marvell/mwifiex/sdio.c ptr += sprintf(ptr, "%02x ", data); ptr 2661 drivers/net/wireless/marvell/mwifiex/sdio.c ptr += sprintf(ptr, "ERR"); ptr 1089 drivers/net/wireless/marvell/mwifiex/wmm.c struct mwifiex_ra_list_tbl *ptr; ptr 1123 drivers/net/wireless/marvell/mwifiex/wmm.c list_for_each_entry(ptr, &tid_ptr->ra_list, ptr 1126 drivers/net/wireless/marvell/mwifiex/wmm.c if (!ptr->tx_paused && ptr 1127 drivers/net/wireless/marvell/mwifiex/wmm.c !skb_queue_empty(&ptr->skb_head)) ptr 1159 drivers/net/wireless/marvell/mwifiex/wmm.c return ptr; ptr 1202 drivers/net/wireless/marvell/mwifiex/wmm.c struct mwifiex_ra_list_tbl *ptr, ptr 1210 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->is_11n_enabled) ptr 1211 drivers/net/wireless/marvell/mwifiex/wmm.c max_amsdu_size = min_t(int, ptr->max_amsdu, max_buf_size); ptr 1215 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_walk_safe(&ptr->skb_head, skb, tmp) { ptr 1231 drivers/net/wireless/marvell/mwifiex/wmm.c struct mwifiex_ra_list_tbl *ptr, int ptr_index) ptr 1239 drivers/net/wireless/marvell/mwifiex/wmm.c if (skb_queue_empty(&ptr->skb_head)) { ptr 1245 drivers/net/wireless/marvell/mwifiex/wmm.c skb = skb_dequeue(&ptr->skb_head); ptr 1249 drivers/net/wireless/marvell/mwifiex/wmm.c "data: dequeuing the packet %p %p\n", ptr, skb); ptr 1251 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->total_pkt_count--; ptr 1253 drivers/net/wireless/marvell/mwifiex/wmm.c if (!skb_queue_empty(&ptr->skb_head)) ptr 1254 drivers/net/wireless/marvell/mwifiex/wmm.c skb_next = skb_peek(&ptr->skb_head); ptr 1267 drivers/net/wireless/marvell/mwifiex/wmm.c if (!mwifiex_is_ralist_valid(priv, ptr, ptr_index)) { ptr 1273 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_tail(&ptr->skb_head, skb); ptr 1275 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->total_pkt_count++; ptr 1276 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->ba_pkt_count++; ptr 1280 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_rotate_priolists(priv, ptr, ptr_index); ptr 1291 drivers/net/wireless/marvell/mwifiex/wmm.c struct mwifiex_ra_list_tbl *ptr) ptr 1296 drivers/net/wireless/marvell/mwifiex/wmm.c if (skb_queue_empty(&ptr->skb_head)) ptr 1299 drivers/net/wireless/marvell/mwifiex/wmm.c skb = skb_peek(&ptr->skb_head); ptr 1314 drivers/net/wireless/marvell/mwifiex/wmm.c struct mwifiex_ra_list_tbl *ptr, int ptr_index) ptr 1323 drivers/net/wireless/marvell/mwifiex/wmm.c if (skb_queue_empty(&ptr->skb_head)) { ptr 1328 drivers/net/wireless/marvell/mwifiex/wmm.c skb = skb_dequeue(&ptr->skb_head); ptr 1331 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->total_pkt_count--; ptr 1339 drivers/net/wireless/marvell/mwifiex/wmm.c if (!skb_queue_empty(&ptr->skb_head)) ptr 1340 drivers/net/wireless/marvell/mwifiex/wmm.c skb_next = skb_peek(&ptr->skb_head); ptr 1364 drivers/net/wireless/marvell/mwifiex/wmm.c if (!mwifiex_is_ralist_valid(priv, ptr, ptr_index)) { ptr 1370 drivers/net/wireless/marvell/mwifiex/wmm.c skb_queue_tail(&ptr->skb_head, skb); ptr 1388 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_rotate_priolists(priv, ptr, ptr_index); ptr 1391 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->total_pkt_count--; ptr 1403 drivers/net/wireless/marvell/mwifiex/wmm.c struct mwifiex_ra_list_tbl *ptr; ptr 1409 drivers/net/wireless/marvell/mwifiex/wmm.c ptr = mwifiex_wmm_get_highest_priolist_ptr(adapter, &priv, &ptr_index); ptr 1410 drivers/net/wireless/marvell/mwifiex/wmm.c if (!ptr) ptr 1413 drivers/net/wireless/marvell/mwifiex/wmm.c tid = mwifiex_get_tid(ptr); ptr 1418 drivers/net/wireless/marvell/mwifiex/wmm.c if (!mwifiex_is_ralist_valid(priv, ptr, ptr_index)) { ptr 1423 drivers/net/wireless/marvell/mwifiex/wmm.c if (mwifiex_is_ptr_processed(priv, ptr)) { ptr 1424 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_send_processed_packet(priv, ptr, ptr_index); ptr 1430 drivers/net/wireless/marvell/mwifiex/wmm.c if (!ptr->is_11n_enabled || ptr 1431 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->ba_status || ptr 1433 drivers/net/wireless/marvell/mwifiex/wmm.c if (ptr->is_11n_enabled && ptr 1434 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->ba_status && ptr 1435 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->amsdu_in_ampdu && ptr 1437 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_is_11n_aggragation_possible(priv, ptr, ptr 1439 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_11n_aggregate_pkt(priv, ptr, ptr_index); ptr 1444 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_send_single_packet(priv, ptr, ptr_index); ptr 1449 drivers/net/wireless/marvell/mwifiex/wmm.c if (mwifiex_is_ampdu_allowed(priv, ptr, tid) && ptr 1450 drivers/net/wireless/marvell/mwifiex/wmm.c ptr->ba_pkt_count > ptr->ba_packet_thr) { ptr 1452 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_create_ba_tbl(priv, ptr->ra, tid, ptr 1454 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_send_addba(priv, tid, ptr->ra); ptr 1457 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_create_ba_tbl(priv, ptr->ra, tid, ptr 1463 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_is_11n_aggragation_possible(priv, ptr, ptr 1465 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_11n_aggregate_pkt(priv, ptr, ptr_index); ptr 1469 drivers/net/wireless/marvell/mwifiex/wmm.c mwifiex_send_single_packet(priv, ptr, ptr_index); ptr 55 drivers/net/wireless/marvell/mwifiex/wmm.h mwifiex_get_tid(struct mwifiex_ra_list_tbl *ptr) ptr 59 drivers/net/wireless/marvell/mwifiex/wmm.h if (skb_queue_empty(&ptr->skb_head)) ptr 62 drivers/net/wireless/marvell/mwifiex/wmm.h skb = skb_peek(&ptr->skb_head); ptr 658 drivers/net/wireless/mediatek/mt76/mt76.h void *ptr = mtxq; ptr 660 drivers/net/wireless/mediatek/mt76/mt76.h return container_of(ptr, struct ieee80211_txq, drv_priv); ptr 666 drivers/net/wireless/mediatek/mt76/mt76.h void *ptr = wcid; ptr 671 drivers/net/wireless/mediatek/mt76/mt76.h return container_of(ptr, struct ieee80211_sta, drv_priv); ptr 4625 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c __le16 *ptr = (__le16 *)tx_desc; ptr 4636 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c csum = csum ^ le16_to_cpu(ptr[i]); ptr 47 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c u8 *ptr; ptr 89 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c ptr = (u8 *)(&tx_agc[idx1]); ptr 91 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 92 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 93 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c ptr++; ptr 47 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c u8 *ptr; ptr 84 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c ptr = (u8 *) (&(tx_agc[idx1])); ptr 86 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 87 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 88 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c ptr++; ptr 46 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c u8 *ptr; ptr 86 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c ptr = (u8 *) (&(tx_agc[idx1])); ptr 88 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 89 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 90 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c ptr++; ptr 456 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c __le16 *ptr = (__le16 *)txdesc; ptr 463 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c checksum = checksum ^ le16_to_cpu(*(ptr + index)); ptr 59 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c u8 *ptr; ptr 92 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c ptr = (u8 *) (&(tx_agc[idx1])); ptr 94 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 95 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 96 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c ptr++; ptr 47 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c u8 *ptr; ptr 88 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c ptr = (u8 *)&tx_agc[idx1]; ptr 90 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 91 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 92 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c ptr++; ptr 47 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c u8 *ptr; ptr 88 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c ptr = (u8 *)(&(tx_agc[idx1])); ptr 90 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 91 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 92 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c ptr++; ptr 44 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c u8 *ptr; ptr 88 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c ptr = (u8 *)(&tx_agc[idx1]); ptr 90 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 91 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 92 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c ptr++; ptr 34 drivers/net/wireless/st/cw1200/wsm.c #define WSM_GET(buf, ptr, size) \ ptr 38 drivers/net/wireless/st/cw1200/wsm.c memcpy(ptr, (buf)->data, size); \ ptr 56 drivers/net/wireless/st/cw1200/wsm.c #define WSM_PUT(buf, ptr, size) \ ptr 61 drivers/net/wireless/st/cw1200/wsm.c memcpy((buf)->data, ptr, size); \ ptr 1116 drivers/net/wireless/st/cw1200/wsm.c BUG_ON(priv->wsm_cmd.ptr); ptr 1117 drivers/net/wireless/st/cw1200/wsm.c priv->wsm_cmd.ptr = buf->begin; ptr 1132 drivers/net/wireless/st/cw1200/wsm.c priv->wsm_cmd.ptr = NULL; ptr 1674 drivers/net/wireless/st/cw1200/wsm.c if (priv->wsm_cmd.ptr) { /* CMD request */ ptr 1677 drivers/net/wireless/st/cw1200/wsm.c BUG_ON(!priv->wsm_cmd.ptr); ptr 1678 drivers/net/wireless/st/cw1200/wsm.c *data = priv->wsm_cmd.ptr; ptr 1767 drivers/net/wireless/st/cw1200/wsm.c if (data == priv->wsm_cmd.ptr) { ptr 1769 drivers/net/wireless/st/cw1200/wsm.c priv->wsm_cmd.ptr = NULL; ptr 1832 drivers/net/wireless/st/cw1200/wsm.h u8 *ptr; ptr 542 drivers/net/wireless/ti/wl1251/main.c void *ptr; ptr 547 drivers/net/wireless/ti/wl1251/main.c ptr = NULL; ptr 553 drivers/net/wireless/ti/wl1251/main.c ptr = skb->data; ptr 556 drivers/net/wireless/ti/wl1251/main.c ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, ptr, size); ptr 1059 drivers/net/wireless/ti/wlcore/cmd.c void *ptr; ptr 1065 drivers/net/wireless/ti/wlcore/cmd.c ptr = NULL; ptr 1073 drivers/net/wireless/ti/wlcore/cmd.c ptr = skb->data; ptr 1077 drivers/net/wireless/ti/wlcore/cmd.c CMD_TEMPL_NULL_DATA, ptr, size, 0, ptr 2888 drivers/net/wireless/ti/wlcore/main.c const u8 *ptr = cfg80211_find_ie(WLAN_EID_SSID, skb->data + offset, ptr 2891 drivers/net/wireless/ti/wlcore/main.c if (!ptr) { ptr 2896 drivers/net/wireless/ti/wlcore/main.c ssid_len = ptr[1]; ptr 2903 drivers/net/wireless/ti/wlcore/main.c memcpy(wlvif->ssid, ptr+2, ssid_len); ptr 3982 drivers/net/wireless/ti/wlcore/main.c const u8 *ptr; ptr 4000 drivers/net/wireless/ti/wlcore/main.c ptr = cfg80211_find_ie(WLAN_EID_SSID, probe_rsp_data + ie_offset, ptr 4002 drivers/net/wireless/ti/wlcore/main.c if (!ptr) { ptr 4007 drivers/net/wireless/ti/wlcore/main.c ssid_ie_offset = ptr - probe_rsp_data; ptr 4008 drivers/net/wireless/ti/wlcore/main.c ptr += (ptr[1] + 2); ptr 4020 drivers/net/wireless/ti/wlcore/main.c ptr, probe_rsp_len - (ptr - probe_rsp_data)); ptr 4021 drivers/net/wireless/ti/wlcore/main.c templ_len += probe_rsp_len - (ptr - probe_rsp_data); ptr 601 drivers/net/wireless/virt_wifi.c void *ptr) ptr 603 drivers/net/wireless/virt_wifi.c struct net_device *lower_dev = netdev_notifier_info_to_dev(ptr); ptr 330 drivers/net/wireless/wl3501_cs.c static void wl3501_free_tx_buffer(struct wl3501_card *this, u16 ptr) ptr 334 drivers/net/wireless/wl3501_cs.c this->tx_buffer_head = ptr; ptr 337 drivers/net/wireless/wl3501_cs.c &ptr, sizeof(ptr)); ptr 338 drivers/net/wireless/wl3501_cs.c while (ptr) { ptr 342 drivers/net/wireless/wl3501_cs.c wl3501_get_from_wla(this, ptr, &next, sizeof(next)); ptr 343 drivers/net/wireless/wl3501_cs.c this->tx_buffer_tail = ptr; ptr 344 drivers/net/wireless/wl3501_cs.c ptr = next; ptr 356 drivers/net/wireless/wl3501_cs.c static void wl3501_esbq_req(struct wl3501_card *this, u16 *ptr) ptr 360 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, this->esbq_req_head, ptr, 2); ptr 372 drivers/net/wireless/wl3501_cs.c u16 ptr = wl3501_get_tx_buffer(this, sig_size); ptr 373 drivers/net/wireless/wl3501_cs.c if (ptr) { ptr 374 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, ptr, sig, sig_size); ptr 375 drivers/net/wireless/wl3501_cs.c wl3501_esbq_req(this, &ptr); ptr 393 drivers/net/wireless/wl3501_cs.c u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); ptr 394 drivers/net/wireless/wl3501_cs.c if (ptr) { ptr 395 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); ptr 396 drivers/net/wireless/wl3501_cs.c wl3501_esbq_req(this, &ptr); ptr 437 drivers/net/wireless/wl3501_cs.c u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig)); ptr 438 drivers/net/wireless/wl3501_cs.c if (ptr) { ptr 439 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, ptr, &sig, sizeof(sig)); ptr 440 drivers/net/wireless/wl3501_cs.c wl3501_esbq_req(this, &ptr); ptr 1179 drivers/net/wireless/wl3501_cs.c u16 ptr, next; ptr 1207 drivers/net/wireless/wl3501_cs.c ptr = this->tx_buffer_head; ptr 1208 drivers/net/wireless/wl3501_cs.c next = ptr + WL3501_BLKSZ; ptr 1211 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, ptr, &next, sizeof(next)); ptr 1212 drivers/net/wireless/wl3501_cs.c ptr = next; ptr 1213 drivers/net/wireless/wl3501_cs.c next = ptr + WL3501_BLKSZ; ptr 1217 drivers/net/wireless/wl3501_cs.c wl3501_set_to_wla(this, ptr, &next, sizeof(next)); ptr 1218 drivers/net/wireless/wl3501_cs.c this->tx_buffer_tail = ptr; ptr 342 drivers/net/wireless/zydas/zd1201.c char *ptr; ptr 370 drivers/net/wireless/zydas/zd1201.c ptr = skb_put(skb, len); ptr 371 drivers/net/wireless/zydas/zd1201.c if (ptr) ptr 372 drivers/net/wireless/zydas/zd1201.c memcpy(ptr, data+8, len); ptr 70 drivers/nubus/nubus.c static unsigned long nubus_get_rom(unsigned char **ptr, int len, int map) ptr 74 drivers/nubus/nubus.c unsigned char *p = *ptr; ptr 83 drivers/nubus/nubus.c *ptr = p; ptr 87 drivers/nubus/nubus.c static void nubus_rewind(unsigned char **ptr, int len, int map) ptr 89 drivers/nubus/nubus.c unsigned char *p = *ptr; ptr 97 drivers/nubus/nubus.c *ptr = p; ptr 100 drivers/nubus/nubus.c static void nubus_advance(unsigned char **ptr, int len, int map) ptr 102 drivers/nubus/nubus.c unsigned char *p = *ptr; ptr 110 drivers/nubus/nubus.c *ptr = p; ptr 113 drivers/nubus/nubus.c static void nubus_move(unsigned char **ptr, int len, int map) ptr 115 drivers/nubus/nubus.c unsigned long slot_space = (unsigned long)*ptr & 0xFF000000; ptr 118 drivers/nubus/nubus.c nubus_advance(ptr, len, map); ptr 120 drivers/nubus/nubus.c nubus_rewind(ptr, -len, map); ptr 122 drivers/nubus/nubus.c if (((unsigned long)*ptr & 0xFF000000) != slot_space) ptr 222 drivers/nubus/nubus.c dir->ptr = dir->base = board->directory; ptr 232 drivers/nubus/nubus.c dir->ptr = dir->base = fres->directory; ptr 244 drivers/nubus/nubus.c dir->ptr = dir->base = board->directory; ptr 261 drivers/nubus/nubus.c dir->ptr = dir->base = nubus_dirptr(ent); ptr 276 drivers/nubus/nubus.c ent->base = nd->ptr; ptr 279 drivers/nubus/nubus.c resid = nubus_get_rom(&nd->ptr, 4, nd->mask); ptr 299 drivers/nubus/nubus.c dir->ptr = dir->base; ptr 94 drivers/nubus/proc.c nubus_proc_alloc_pde_data(unsigned char *ptr, unsigned int size) ptr 102 drivers/nubus/proc.c pde_data->res_ptr = ptr; ptr 929 drivers/nvme/host/fc.c fc_dma_map_single(struct device *dev, void *ptr, size_t size, ptr 932 drivers/nvme/host/fc.c return dev ? dma_map_single(dev, ptr, size, dir) : (dma_addr_t)0L; ptr 251 drivers/nvme/target/fc.c fc_dma_map_single(struct device *dev, void *ptr, size_t size, ptr 254 drivers/nvme/target/fc.c return dev ? dma_map_single(dev, ptr, size, dir) : (dma_addr_t)0L; ptr 496 drivers/nvmem/core.c struct nvmem_device **ptr, *nvmem; ptr 498 drivers/nvmem/core.c ptr = devres_alloc(devm_nvmem_release, sizeof(*ptr), GFP_KERNEL); ptr 499 drivers/nvmem/core.c if (!ptr) ptr 505 drivers/nvmem/core.c *ptr = nvmem; ptr 506 drivers/nvmem/core.c devres_add(dev, ptr); ptr 508 drivers/nvmem/core.c devres_free(ptr); ptr 678 drivers/nvmem/core.c struct nvmem_device **ptr, *nvmem; ptr 680 drivers/nvmem/core.c ptr = devres_alloc(devm_nvmem_device_release, sizeof(*ptr), GFP_KERNEL); ptr 681 drivers/nvmem/core.c if (!ptr) ptr 686 drivers/nvmem/core.c *ptr = nvmem; ptr 687 drivers/nvmem/core.c devres_add(dev, ptr); ptr 689 drivers/nvmem/core.c devres_free(ptr); ptr 848 drivers/nvmem/core.c struct nvmem_cell **ptr, *cell; ptr 850 drivers/nvmem/core.c ptr = devres_alloc(devm_nvmem_cell_release, sizeof(*ptr), GFP_KERNEL); ptr 851 drivers/nvmem/core.c if (!ptr) ptr 856 drivers/nvmem/core.c *ptr = cell; ptr 857 drivers/nvmem/core.c devres_add(dev, ptr); ptr 859 drivers/nvmem/core.c devres_free(ptr); ptr 1163 drivers/of/fdt.c void *ptr = memblock_alloc(size, align); ptr 1165 drivers/of/fdt.c if (!ptr) ptr 1169 drivers/of/fdt.c return ptr; ptr 601 drivers/of/platform.c struct device **ptr; ptr 607 drivers/of/platform.c ptr = devres_alloc(devm_of_platform_populate_release, ptr 608 drivers/of/platform.c sizeof(*ptr), GFP_KERNEL); ptr 609 drivers/of/platform.c if (!ptr) ptr 614 drivers/of/platform.c devres_free(ptr); ptr 616 drivers/of/platform.c *ptr = dev; ptr 617 drivers/of/platform.c devres_add(dev, ptr); ptr 626 drivers/of/platform.c struct device **ptr = res; ptr 628 drivers/of/platform.c if (!ptr) { ptr 629 drivers/of/platform.c WARN_ON(!ptr); ptr 633 drivers/of/platform.c return *ptr == data; ptr 2251 drivers/of/unittest.c void *ptr = memblock_alloc(size, align); ptr 2253 drivers/of/unittest.c if (!ptr) ptr 2257 drivers/of/unittest.c return ptr; ptr 183 drivers/parisc/power.c unsigned long event, void *ptr) ptr 200 drivers/parisc/sba_iommu.c u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); ptr 213 drivers/parisc/sba_iommu.c rcnt, ptr, *ptr ); ptr 215 drivers/parisc/sba_iommu.c ptr++; ptr 16 drivers/pci/controller/pci-host-common.c static void gen_pci_unmap_cfg(void *ptr) ptr 18 drivers/pci/controller/pci-host-common.c pci_ecam_free((struct pci_config_window *)ptr); ptr 657 drivers/pci/endpoint/pci-epc-core.c struct pci_epc **ptr, *epc; ptr 659 drivers/pci/endpoint/pci-epc-core.c ptr = devres_alloc(devm_pci_epc_release, sizeof(*ptr), GFP_KERNEL); ptr 660 drivers/pci/endpoint/pci-epc-core.c if (!ptr) ptr 665 drivers/pci/endpoint/pci-epc-core.c *ptr = epc; ptr 666 drivers/pci/endpoint/pci-epc-core.c devres_add(dev, ptr); ptr 668 drivers/pci/endpoint/pci-epc-core.c devres_free(ptr); ptr 111 drivers/pci/hotplug/ibmphp_ebda.c struct bus_info *ptr; ptr 113 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &bus_info_head, bus_info_list) { ptr 114 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slot_min = %x\n", __func__, ptr->slot_min); ptr 115 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slot_max = %x\n", __func__, ptr->slot_max); ptr 116 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slot_count = %x\n", __func__, ptr->slot_count); ptr 117 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - bus# = %x\n", __func__, ptr->busno); ptr 118 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - current_speed = %x\n", __func__, ptr->current_speed); ptr 119 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - controller_id = %x\n", __func__, ptr->controller_id); ptr 121 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slots_at_33_conv = %x\n", __func__, ptr->slots_at_33_conv); ptr 122 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slots_at_66_conv = %x\n", __func__, ptr->slots_at_66_conv); ptr 123 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slots_at_66_pcix = %x\n", __func__, ptr->slots_at_66_pcix); ptr 124 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slots_at_100_pcix = %x\n", __func__, ptr->slots_at_100_pcix); ptr 125 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slots_at_133_pcix = %x\n", __func__, ptr->slots_at_133_pcix); ptr 132 drivers/pci/hotplug/ibmphp_ebda.c struct rio_detail *ptr; ptr 134 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &rio_lo_head, rio_detail_list) { ptr 135 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - rio_node_id = %x\n", __func__, ptr->rio_node_id); ptr 136 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - rio_type = %x\n", __func__, ptr->rio_type); ptr 137 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - owner_id = %x\n", __func__, ptr->owner_id); ptr 138 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - first_slot_num = %x\n", __func__, ptr->first_slot_num); ptr 139 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - wpindex = %x\n", __func__, ptr->wpindex); ptr 140 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - chassis_num = %x\n", __func__, ptr->chassis_num); ptr 147 drivers/pci/hotplug/ibmphp_ebda.c struct rio_detail *ptr; ptr 149 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &rio_vg_head, rio_detail_list) { ptr 150 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - rio_node_id = %x\n", __func__, ptr->rio_node_id); ptr 151 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - rio_type = %x\n", __func__, ptr->rio_type); ptr 152 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - owner_id = %x\n", __func__, ptr->owner_id); ptr 153 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - first_slot_num = %x\n", __func__, ptr->first_slot_num); ptr 154 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - wpindex = %x\n", __func__, ptr->wpindex); ptr 155 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - chassis_num = %x\n", __func__, ptr->chassis_num); ptr 162 drivers/pci/hotplug/ibmphp_ebda.c struct ebda_pci_rsrc *ptr; ptr 164 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &ibmphp_ebda_pci_rsrc_head, ebda_pci_rsrc_list) { ptr 166 drivers/pci/hotplug/ibmphp_ebda.c __func__, ptr->rsrc_type, ptr->bus_num, ptr->dev_fun, ptr->start_addr, ptr->end_addr); ptr 172 drivers/pci/hotplug/ibmphp_ebda.c struct slot *ptr; ptr 174 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &ibmphp_slot_head, ibm_slot_list) { ptr 175 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - slot_number: %x\n", __func__, ptr->number); ptr 181 drivers/pci/hotplug/ibmphp_ebda.c struct opt_rio *ptr; ptr 183 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &opt_vg_head, opt_rio_list) { ptr 184 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - rio_type %x\n", __func__, ptr->rio_type); ptr 185 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - chassis_num: %x\n", __func__, ptr->chassis_num); ptr 186 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - first_slot_num: %x\n", __func__, ptr->first_slot_num); ptr 187 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - middle_num: %x\n", __func__, ptr->middle_num); ptr 448 drivers/pci/hotplug/ibmphp_ebda.c struct opt_rio *ptr; ptr 449 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &opt_vg_head, opt_rio_list) { ptr 450 drivers/pci/hotplug/ibmphp_ebda.c if (ptr->chassis_num == chassis_num) ptr 451 drivers/pci/hotplug/ibmphp_ebda.c return ptr; ptr 486 drivers/pci/hotplug/ibmphp_ebda.c struct opt_rio_lo *ptr; ptr 487 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &opt_lo_head, opt_rio_lo_list) { ptr 488 drivers/pci/hotplug/ibmphp_ebda.c if (ptr->chassis_num == chassis_num) ptr 489 drivers/pci/hotplug/ibmphp_ebda.c return ptr; ptr 1011 drivers/pci/hotplug/ibmphp_ebda.c struct bus_info *ptr; ptr 1013 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &bus_info_head, bus_info_list) { ptr 1014 drivers/pci/hotplug/ibmphp_ebda.c if (ptr->busno == num) ptr 1015 drivers/pci/hotplug/ibmphp_ebda.c return ptr; ptr 1025 drivers/pci/hotplug/ibmphp_ebda.c struct bus_info *ptr; ptr 1027 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry(ptr, &bus_info_head, bus_info_list) { ptr 1028 drivers/pci/hotplug/ibmphp_ebda.c if (ptr->busno == num) ptr 1029 drivers/pci/hotplug/ibmphp_ebda.c return ptr->index; ptr 3980 drivers/pci/pci.c static void devm_pci_unmap_iospace(struct device *dev, void *ptr) ptr 3982 drivers/pci/pci.c struct resource **res = ptr; ptr 3999 drivers/pci/pci.c const struct resource **ptr; ptr 4002 drivers/pci/pci.c ptr = devres_alloc(devm_pci_unmap_iospace, sizeof(*ptr), GFP_KERNEL); ptr 4003 drivers/pci/pci.c if (!ptr) ptr 4008 drivers/pci/pci.c devres_free(ptr); ptr 4010 drivers/pci/pci.c *ptr = res; ptr 4011 drivers/pci/pci.c devres_add(dev, ptr); ptr 4031 drivers/pci/pci.c void __iomem **ptr, *addr; ptr 4033 drivers/pci/pci.c ptr = devres_alloc(devm_ioremap_release, sizeof(*ptr), GFP_KERNEL); ptr 4034 drivers/pci/pci.c if (!ptr) ptr 4039 drivers/pci/pci.c *ptr = addr; ptr 4040 drivers/pci/pci.c devres_add(dev, ptr); ptr 4042 drivers/pci/pci.c devres_free(ptr); ptr 134 drivers/pcmcia/cistpl.c u_int len, void *ptr) ptr 137 drivers/pcmcia/cistpl.c unsigned char *buf = ptr; ptr 154 drivers/pcmcia/cistpl.c memset(ptr, 0xff, len); ptr 171 drivers/pcmcia/cistpl.c memset(ptr, 0xff, len); ptr 187 drivers/pcmcia/cistpl.c memset(ptr, 0xff, len); ptr 202 drivers/pcmcia/cistpl.c *(u_char *)(ptr+0), *(u_char *)(ptr+1), ptr 203 drivers/pcmcia/cistpl.c *(u_char *)(ptr+2), *(u_char *)(ptr+3)); ptr 215 drivers/pcmcia/cistpl.c u_int len, void *ptr) ptr 218 drivers/pcmcia/cistpl.c unsigned char *buf = ptr; ptr 287 drivers/pcmcia/cistpl.c size_t len, void *ptr) ptr 298 drivers/pcmcia/cistpl.c memcpy(ptr, s->fake_cis+addr, len); ptr 300 drivers/pcmcia/cistpl.c memset(ptr, 0xff, len); ptr 309 drivers/pcmcia/cistpl.c memcpy(ptr, cis->cache, len); ptr 315 drivers/pcmcia/cistpl.c ret = pcmcia_read_cis_mem(s, attr, addr, len, ptr); ptr 324 drivers/pcmcia/cistpl.c memcpy(cis->cache, ptr, len); ptr 155 drivers/pcmcia/cs_internal.h u_int addr, u_int len, void *ptr); ptr 157 drivers/pcmcia/cs_internal.h u_int addr, u_int len, void *ptr); ptr 18 drivers/pcmcia/max1600.c int max1600_init(struct device *dev, struct max1600 **ptr, ptr 62 drivers/pcmcia/max1600.c *ptr = m; ptr 27 drivers/pcmcia/max1600.h int max1600_init(struct device *dev, struct max1600 **ptr, ptr 159 drivers/pcmcia/pcmcia_resource.c unsigned int len, void *ptr)) ptr 712 drivers/phy/phy-core.c struct phy **ptr, *phy; ptr 714 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); ptr 715 drivers/phy/phy-core.c if (!ptr) ptr 720 drivers/phy/phy-core.c *ptr = phy; ptr 721 drivers/phy/phy-core.c devres_add(dev, ptr); ptr 723 drivers/phy/phy-core.c devres_free(ptr); ptr 767 drivers/phy/phy-core.c struct phy **ptr, *phy; ptr 769 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); ptr 770 drivers/phy/phy-core.c if (!ptr) ptr 775 drivers/phy/phy-core.c *ptr = phy; ptr 776 drivers/phy/phy-core.c devres_add(dev, ptr); ptr 778 drivers/phy/phy-core.c devres_free(ptr); ptr 800 drivers/phy/phy-core.c struct phy **ptr, *phy; ptr 802 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); ptr 803 drivers/phy/phy-core.c if (!ptr) ptr 808 drivers/phy/phy-core.c devres_free(ptr); ptr 813 drivers/phy/phy-core.c devres_free(ptr); ptr 819 drivers/phy/phy-core.c *ptr = phy; ptr 820 drivers/phy/phy-core.c devres_add(dev, ptr); ptr 913 drivers/phy/phy-core.c struct phy **ptr, *phy; ptr 915 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_consume, sizeof(*ptr), GFP_KERNEL); ptr 916 drivers/phy/phy-core.c if (!ptr) ptr 921 drivers/phy/phy-core.c *ptr = phy; ptr 922 drivers/phy/phy-core.c devres_add(dev, ptr); ptr 924 drivers/phy/phy-core.c devres_free(ptr); ptr 1046 drivers/phy/phy-core.c struct phy_provider **ptr, *phy_provider; ptr 1048 drivers/phy/phy-core.c ptr = devres_alloc(devm_phy_provider_release, sizeof(*ptr), GFP_KERNEL); ptr 1049 drivers/phy/phy-core.c if (!ptr) ptr 1055 drivers/phy/phy-core.c *ptr = phy_provider; ptr 1056 drivers/phy/phy-core.c devres_add(dev, ptr); ptr 1058 drivers/phy/phy-core.c devres_free(ptr); ptr 92 drivers/phy/qualcomm/phy-qcom-usb-hs.c void *ptr) ptr 969 drivers/phy/rockchip/phy-rockchip-inno-usb2.c unsigned long event, void *ptr) ptr 1339 drivers/pinctrl/core.c struct pinctrl **ptr, *p; ptr 1341 drivers/pinctrl/core.c ptr = devres_alloc(devm_pinctrl_release, sizeof(*ptr), GFP_KERNEL); ptr 1342 drivers/pinctrl/core.c if (!ptr) ptr 1347 drivers/pinctrl/core.c *ptr = p; ptr 1348 drivers/pinctrl/core.c devres_add(dev, ptr); ptr 1350 drivers/pinctrl/core.c devres_free(ptr); ptr 2208 drivers/pinctrl/core.c struct pinctrl_dev **ptr, *pctldev; ptr 2210 drivers/pinctrl/core.c ptr = devres_alloc(devm_pinctrl_dev_release, sizeof(*ptr), GFP_KERNEL); ptr 2211 drivers/pinctrl/core.c if (!ptr) ptr 2216 drivers/pinctrl/core.c devres_free(ptr); ptr 2220 drivers/pinctrl/core.c *ptr = pctldev; ptr 2221 drivers/pinctrl/core.c devres_add(dev, ptr); ptr 2243 drivers/pinctrl/core.c struct pinctrl_dev **ptr; ptr 2246 drivers/pinctrl/core.c ptr = devres_alloc(devm_pinctrl_dev_release, sizeof(*ptr), GFP_KERNEL); ptr 2247 drivers/pinctrl/core.c if (!ptr) ptr 2252 drivers/pinctrl/core.c devres_free(ptr); ptr 2256 drivers/pinctrl/core.c *ptr = *pctldev; ptr 2257 drivers/pinctrl/core.c devres_add(dev, ptr); ptr 1174 drivers/pinctrl/sunxi/pinctrl-sunxi.c void *ptr; ptr 1241 drivers/pinctrl/sunxi/pinctrl-sunxi.c ptr = krealloc(pctl->functions, ptr 1244 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (!ptr) { ptr 1249 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->functions = ptr; ptr 101 drivers/platform/chrome/cros_ec_spi.c static void debug_packet(struct device *dev, const char *name, u8 *ptr, ptr 109 drivers/platform/chrome/cros_ec_spi.c pr_cont(" %02x", ptr[i]); ptr 188 drivers/platform/chrome/cros_ec_spi.c u8 *ptr, *end; ptr 206 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din; ptr 207 drivers/platform/chrome/cros_ec_spi.c for (end = ptr + EC_MSG_PREAMBLE_COUNT; ptr != end; ptr++) { ptr 208 drivers/platform/chrome/cros_ec_spi.c if (*ptr == EC_SPI_FRAME_START) { ptr 210 drivers/platform/chrome/cros_ec_spi.c ptr - ec_dev->din); ptr 214 drivers/platform/chrome/cros_ec_spi.c if (ptr != end) ptr 232 drivers/platform/chrome/cros_ec_spi.c todo = end - ++ptr; ptr 235 drivers/platform/chrome/cros_ec_spi.c memmove(ec_dev->din, ptr, todo); ptr 236 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din + todo; ptr 243 drivers/platform/chrome/cros_ec_spi.c ret = receive_n_bytes(ec_dev, ptr, sizeof(*response) - todo); ptr 246 drivers/platform/chrome/cros_ec_spi.c ptr += (sizeof(*response) - todo); ptr 266 drivers/platform/chrome/cros_ec_spi.c todo, need_len, ptr - ec_dev->din); ptr 268 drivers/platform/chrome/cros_ec_spi.c ret = receive_n_bytes(ec_dev, ptr, todo); ptr 272 drivers/platform/chrome/cros_ec_spi.c ptr += todo; ptr 276 drivers/platform/chrome/cros_ec_spi.c dev_dbg(ec_dev->dev, "loop done, ptr=%zd\n", ptr - ec_dev->din); ptr 296 drivers/platform/chrome/cros_ec_spi.c u8 *ptr, *end; ptr 314 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din; ptr 315 drivers/platform/chrome/cros_ec_spi.c for (end = ptr + EC_MSG_PREAMBLE_COUNT; ptr != end; ptr++) { ptr 316 drivers/platform/chrome/cros_ec_spi.c if (*ptr == EC_SPI_FRAME_START) { ptr 318 drivers/platform/chrome/cros_ec_spi.c ptr - ec_dev->din); ptr 322 drivers/platform/chrome/cros_ec_spi.c if (ptr != end) ptr 340 drivers/platform/chrome/cros_ec_spi.c todo = end - ++ptr; ptr 343 drivers/platform/chrome/cros_ec_spi.c memmove(ec_dev->din, ptr, todo); ptr 344 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din + todo; ptr 359 drivers/platform/chrome/cros_ec_spi.c todo, need_len, ptr - ec_dev->din); ptr 361 drivers/platform/chrome/cros_ec_spi.c ret = receive_n_bytes(ec_dev, ptr, todo); ptr 365 drivers/platform/chrome/cros_ec_spi.c debug_packet(ec_dev->dev, "interim", ptr, todo); ptr 366 drivers/platform/chrome/cros_ec_spi.c ptr += todo; ptr 370 drivers/platform/chrome/cros_ec_spi.c dev_dbg(ec_dev->dev, "loop done, ptr=%zd\n", ptr - ec_dev->din); ptr 389 drivers/platform/chrome/cros_ec_spi.c u8 *ptr; ptr 474 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din; ptr 477 drivers/platform/chrome/cros_ec_spi.c response = (struct ec_host_response *)ptr; ptr 494 drivers/platform/chrome/cros_ec_spi.c sum += ptr[i]; ptr 497 drivers/platform/chrome/cros_ec_spi.c memcpy(ec_msg->data, ptr + sizeof(*response), len); ptr 531 drivers/platform/chrome/cros_ec_spi.c u8 *ptr; ptr 593 drivers/platform/chrome/cros_ec_spi.c ptr = ec_dev->din; ptr 596 drivers/platform/chrome/cros_ec_spi.c ec_msg->result = ptr[0]; ptr 601 drivers/platform/chrome/cros_ec_spi.c len = ptr[1]; ptr 602 drivers/platform/chrome/cros_ec_spi.c sum = ptr[0] + ptr[1]; ptr 612 drivers/platform/chrome/cros_ec_spi.c sum += ptr[i + 2]; ptr 614 drivers/platform/chrome/cros_ec_spi.c ec_msg->data[i] = ptr[i + 2]; ptr 618 drivers/platform/chrome/cros_ec_spi.c debug_packet(ec_dev->dev, "in", ptr, len + 3); ptr 620 drivers/platform/chrome/cros_ec_spi.c if (sum != ptr[len + 2]) { ptr 623 drivers/platform/chrome/cros_ec_spi.c sum, ptr[len + 2]); ptr 441 drivers/platform/x86/intel_speed_select_if/isst_if_common.c unsigned char __user *ptr; ptr 459 drivers/platform/x86/intel_speed_select_if/isst_if_common.c ptr = argp + cb->offset; ptr 469 drivers/platform/x86/intel_speed_select_if/isst_if_common.c if (copy_from_user(cmd_ptr, ptr, cb->cmd_size)) { ptr 478 drivers/platform/x86/intel_speed_select_if/isst_if_common.c if (!wr_only && copy_to_user(ptr, cmd_ptr, cb->cmd_size)) { ptr 483 drivers/platform/x86/intel_speed_select_if/isst_if_common.c ptr += cb->cmd_size; ptr 57 drivers/platform/x86/intel_speed_select_if/isst_if_common.h long (*cmd_callback)(u8 *ptr, int *write_only, int resume); ptr 883 drivers/platform/x86/intel_telemetry_debugfs.c unsigned long event, void *ptr) ptr 1478 drivers/platform/x86/samsung-laptop.c unsigned long val, void *ptr) ptr 109 drivers/pnp/card.c struct pnp_id *dev_id, *ptr; ptr 125 drivers/pnp/card.c ptr = card->id; ptr 126 drivers/pnp/card.c while (ptr && ptr->next) ptr 127 drivers/pnp/card.c ptr = ptr->next; ptr 128 drivers/pnp/card.c if (ptr) ptr 129 drivers/pnp/card.c ptr->next = dev_id; ptr 287 drivers/pnp/driver.c struct pnp_id *dev_id, *ptr; ptr 303 drivers/pnp/driver.c ptr = dev->id; ptr 304 drivers/pnp/driver.c while (ptr && ptr->next) ptr 305 drivers/pnp/driver.c ptr = ptr->next; ptr 306 drivers/pnp/driver.c if (ptr) ptr 307 drivers/pnp/driver.c ptr->next = dev_id; ptr 1160 drivers/power/supply/charger-manager.c unsigned long event, void *ptr) ptr 246 drivers/power/supply/lp8727_charger.c static irqreturn_t lp8727_isr_func(int irq, void *ptr) ptr 248 drivers/power/supply/lp8727_charger.c struct lp8727_chg *pchg = ptr; ptr 441 drivers/power/supply/lp8788-charger.c static irqreturn_t lp8788_charger_irq_thread(int virq, void *ptr) ptr 443 drivers/power/supply/lp8788-charger.c struct lp8788_charger *pchg = ptr; ptr 544 drivers/power/supply/power_supply_core.c struct power_supply **ptr, *psy; ptr 549 drivers/power/supply/power_supply_core.c ptr = devres_alloc(devm_power_supply_put, sizeof(*ptr), GFP_KERNEL); ptr 550 drivers/power/supply/power_supply_core.c if (!ptr) ptr 555 drivers/power/supply/power_supply_core.c devres_free(ptr); ptr 557 drivers/power/supply/power_supply_core.c *ptr = psy; ptr 558 drivers/power/supply/power_supply_core.c devres_add(dev, ptr); ptr 1183 drivers/power/supply/power_supply_core.c struct power_supply **ptr, *psy; ptr 1185 drivers/power/supply/power_supply_core.c ptr = devres_alloc(devm_power_supply_release, sizeof(*ptr), GFP_KERNEL); ptr 1187 drivers/power/supply/power_supply_core.c if (!ptr) ptr 1191 drivers/power/supply/power_supply_core.c devres_free(ptr); ptr 1193 drivers/power/supply/power_supply_core.c *ptr = psy; ptr 1194 drivers/power/supply/power_supply_core.c devres_add(parent, ptr); ptr 1219 drivers/power/supply/power_supply_core.c struct power_supply **ptr, *psy; ptr 1221 drivers/power/supply/power_supply_core.c ptr = devres_alloc(devm_power_supply_release, sizeof(*ptr), GFP_KERNEL); ptr 1223 drivers/power/supply/power_supply_core.c if (!ptr) ptr 1227 drivers/power/supply/power_supply_core.c devres_free(ptr); ptr 1229 drivers/power/supply/power_supply_core.c *ptr = psy; ptr 1230 drivers/power/supply/power_supply_core.c devres_add(parent, ptr); ptr 1026 drivers/pwm/core.c struct pwm_device **ptr, *pwm; ptr 1028 drivers/pwm/core.c ptr = devres_alloc(devm_pwm_release, sizeof(*ptr), GFP_KERNEL); ptr 1029 drivers/pwm/core.c if (!ptr) ptr 1034 drivers/pwm/core.c *ptr = pwm; ptr 1035 drivers/pwm/core.c devres_add(dev, ptr); ptr 1037 drivers/pwm/core.c devres_free(ptr); ptr 1059 drivers/pwm/core.c struct pwm_device **ptr, *pwm; ptr 1061 drivers/pwm/core.c ptr = devres_alloc(devm_pwm_release, sizeof(*ptr), GFP_KERNEL); ptr 1062 drivers/pwm/core.c if (!ptr) ptr 1067 drivers/pwm/core.c *ptr = pwm; ptr 1068 drivers/pwm/core.c devres_add(dev, ptr); ptr 1070 drivers/pwm/core.c devres_free(ptr); ptr 1093 drivers/pwm/core.c struct pwm_device **ptr, *pwm = ERR_PTR(-ENODEV); ptr 1095 drivers/pwm/core.c ptr = devres_alloc(devm_pwm_release, sizeof(*ptr), GFP_KERNEL); ptr 1096 drivers/pwm/core.c if (!ptr) ptr 1105 drivers/pwm/core.c *ptr = pwm; ptr 1106 drivers/pwm/core.c devres_add(dev, ptr); ptr 1108 drivers/pwm/core.c devres_free(ptr); ptr 457 drivers/rapidio/devices/tsi721.c static irqreturn_t tsi721_irqhandler(int irq, void *ptr) ptr 459 drivers/rapidio/devices/tsi721.c struct tsi721_device *priv = (struct tsi721_device *)ptr; ptr 611 drivers/rapidio/devices/tsi721.c static irqreturn_t tsi721_omsg_msix(int irq, void *ptr) ptr 613 drivers/rapidio/devices/tsi721.c struct tsi721_device *priv = (struct tsi721_device *)ptr; ptr 628 drivers/rapidio/devices/tsi721.c static irqreturn_t tsi721_imsg_msix(int irq, void *ptr) ptr 630 drivers/rapidio/devices/tsi721.c struct tsi721_device *priv = (struct tsi721_device *)ptr; ptr 645 drivers/rapidio/devices/tsi721.c static irqreturn_t tsi721_srio_msix(int irq, void *ptr) ptr 647 drivers/rapidio/devices/tsi721.c struct tsi721_device *priv = (struct tsi721_device *)ptr; ptr 667 drivers/rapidio/devices/tsi721.c static irqreturn_t tsi721_sr2pc_ch_msix(int irq, void *ptr) ptr 669 drivers/rapidio/devices/tsi721.c struct tsi721_device *priv = (struct tsi721_device *)ptr; ptr 28 drivers/rapidio/devices/tsi721_dma.c static irqreturn_t tsi721_bdma_msix(int irq, void *ptr); ptr 292 drivers/rapidio/devices/tsi721_dma.c static irqreturn_t tsi721_bdma_msix(int irq, void *ptr) ptr 294 drivers/rapidio/devices/tsi721_dma.c struct tsi721_bdma_chan *bdma_chan = ptr; ptr 25 drivers/regulator/devres.c struct regulator **ptr, *regulator; ptr 27 drivers/regulator/devres.c ptr = devres_alloc(devm_regulator_release, sizeof(*ptr), GFP_KERNEL); ptr 28 drivers/regulator/devres.c if (!ptr) ptr 33 drivers/regulator/devres.c *ptr = regulator; ptr 34 drivers/regulator/devres.c devres_add(dev, ptr); ptr 36 drivers/regulator/devres.c devres_free(ptr); ptr 188 drivers/regulator/devres.c struct regulator_dev **ptr, *rdev; ptr 190 drivers/regulator/devres.c ptr = devres_alloc(devm_rdev_release, sizeof(*ptr), ptr 192 drivers/regulator/devres.c if (!ptr) ptr 197 drivers/regulator/devres.c *ptr = rdev; ptr 198 drivers/regulator/devres.c devres_add(dev, ptr); ptr 200 drivers/regulator/devres.c devres_free(ptr); ptr 48 drivers/regulator/gpio-regulator.c int ptr; ptr 50 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_states; ptr++) ptr 51 drivers/regulator/gpio-regulator.c if (data->states[ptr].gpios == data->state) ptr 52 drivers/regulator/gpio-regulator.c return data->states[ptr].value; ptr 62 drivers/regulator/gpio-regulator.c int ptr, target = 0, state, best_val = INT_MAX; ptr 64 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_states; ptr++) ptr 65 drivers/regulator/gpio-regulator.c if (data->states[ptr].value < best_val && ptr 66 drivers/regulator/gpio-regulator.c data->states[ptr].value >= min_uV && ptr 67 drivers/regulator/gpio-regulator.c data->states[ptr].value <= max_uV) { ptr 68 drivers/regulator/gpio-regulator.c target = data->states[ptr].gpios; ptr 69 drivers/regulator/gpio-regulator.c best_val = data->states[ptr].value; ptr 71 drivers/regulator/gpio-regulator.c *selector = ptr; ptr 77 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_gpios; ptr++) { ptr 78 drivers/regulator/gpio-regulator.c state = (target & (1 << ptr)) >> ptr; ptr 79 drivers/regulator/gpio-regulator.c gpiod_set_value_cansleep(data->gpiods[ptr], state); ptr 101 drivers/regulator/gpio-regulator.c int ptr, target = 0, state, best_val = 0; ptr 103 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_states; ptr++) ptr 104 drivers/regulator/gpio-regulator.c if (data->states[ptr].value > best_val && ptr 105 drivers/regulator/gpio-regulator.c data->states[ptr].value >= min_uA && ptr 106 drivers/regulator/gpio-regulator.c data->states[ptr].value <= max_uA) { ptr 107 drivers/regulator/gpio-regulator.c target = data->states[ptr].gpios; ptr 108 drivers/regulator/gpio-regulator.c best_val = data->states[ptr].value; ptr 114 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < data->nr_gpios; ptr++) { ptr 115 drivers/regulator/gpio-regulator.c state = (target & (1 << ptr)) >> ptr; ptr 116 drivers/regulator/gpio-regulator.c gpiod_set_value_cansleep(data->gpiods[ptr], state); ptr 233 drivers/regulator/gpio-regulator.c int ptr, ret, state, i; ptr 301 drivers/regulator/gpio-regulator.c for (ptr = 0; ptr < drvdata->nr_gpios; ptr++) { ptr 302 drivers/regulator/gpio-regulator.c if (config->gflags[ptr] == GPIOD_OUT_HIGH) ptr 303 drivers/regulator/gpio-regulator.c state |= (1 << ptr); ptr 666 drivers/remoteproc/qcom_q6v5_mss.c void *ptr; ptr 673 drivers/remoteproc/qcom_q6v5_mss.c ptr = dma_alloc_attrs(qproc->dev, size, &phys, GFP_KERNEL, dma_attrs); ptr 674 drivers/remoteproc/qcom_q6v5_mss.c if (!ptr) { ptr 680 drivers/remoteproc/qcom_q6v5_mss.c memcpy(ptr, metadata, size); ptr 708 drivers/remoteproc/qcom_q6v5_mss.c dma_free_attrs(qproc->dev, size, ptr, phys, dma_attrs); ptr 940 drivers/remoteproc/qcom_q6v5_mss.c void *ptr; ptr 1008 drivers/remoteproc/qcom_q6v5_mss.c ptr = qproc->mpss_region + offset; ptr 1020 drivers/remoteproc/qcom_q6v5_mss.c memcpy(ptr, fw->data + phdr->p_offset, phdr->p_filesz); ptr 1030 drivers/remoteproc/qcom_q6v5_mss.c memcpy(ptr, seg_fw->data, seg_fw->size); ptr 1036 drivers/remoteproc/qcom_q6v5_mss.c memset(ptr + phdr->p_filesz, 0, ptr 1078 drivers/remoteproc/qcom_q6v5_mss.c void *ptr = rproc_da_to_va(rproc, segment->da, segment->size); ptr 1092 drivers/remoteproc/qcom_q6v5_mss.c if (!ptr || ret) ptr 1095 drivers/remoteproc/qcom_q6v5_mss.c memcpy(dest, ptr, segment->size); ptr 193 drivers/remoteproc/remoteproc_core.c void *ptr = NULL; ptr 196 drivers/remoteproc/remoteproc_core.c ptr = rproc->ops->da_to_va(rproc, da, len); ptr 197 drivers/remoteproc/remoteproc_core.c if (ptr) ptr 216 drivers/remoteproc/remoteproc_core.c ptr = carveout->va + offset; ptr 222 drivers/remoteproc/remoteproc_core.c return ptr; ptr 1573 drivers/remoteproc/remoteproc_core.c void *ptr; ptr 1623 drivers/remoteproc/remoteproc_core.c ptr = rproc_da_to_va(rproc, segment->da, segment->size); ptr 1624 drivers/remoteproc/remoteproc_core.c if (!ptr) { ptr 1630 drivers/remoteproc/remoteproc_core.c memcpy(data + offset, ptr, segment->size); ptr 154 drivers/remoteproc/remoteproc_elf_loader.c void *ptr; ptr 177 drivers/remoteproc/remoteproc_elf_loader.c ptr = rproc_da_to_va(rproc, da, memsz); ptr 178 drivers/remoteproc/remoteproc_elf_loader.c if (!ptr) { ptr 186 drivers/remoteproc/remoteproc_elf_loader.c memcpy(ptr, elf_data + phdr->p_offset, filesz); ptr 196 drivers/remoteproc/remoteproc_elf_loader.c memset(ptr + filesz, 0, memsz - filesz); ptr 782 drivers/reset/core.c struct reset_control **ptr, *rstc; ptr 784 drivers/reset/core.c ptr = devres_alloc(devm_reset_control_release, sizeof(*ptr), ptr 786 drivers/reset/core.c if (!ptr) ptr 791 drivers/reset/core.c *ptr = rstc; ptr 792 drivers/reset/core.c devres_add(dev, ptr); ptr 794 drivers/reset/core.c devres_free(ptr); ptr 547 drivers/rpmsg/qcom_smd.c void *ptr; ptr 554 drivers/rpmsg/qcom_smd.c ptr = channel->bounce_buffer; ptr 555 drivers/rpmsg/qcom_smd.c len = qcom_smd_channel_peek(channel, ptr, channel->pkt_size); ptr 557 drivers/rpmsg/qcom_smd.c ptr = channel->rx_fifo + tail; ptr 561 drivers/rpmsg/qcom_smd.c ret = ept->cb(ept->rpdev, ptr, len, ept->priv, RPMSG_ADDR_ANY); ptr 308 drivers/rtc/class.c struct rtc_device **ptr, *rtc; ptr 315 drivers/rtc/class.c ptr = devres_alloc(devm_rtc_release_device, sizeof(*ptr), GFP_KERNEL); ptr 316 drivers/rtc/class.c if (!ptr) { ptr 327 drivers/rtc/class.c *ptr = rtc; ptr 328 drivers/rtc/class.c devres_add(dev, ptr); ptr 337 drivers/rtc/class.c devres_free(ptr); ptr 247 drivers/rtc/rtc-lp8788.c static irqreturn_t lp8788_alarm_irq_handler(int irq, void *ptr) ptr 249 drivers/rtc/rtc-lp8788.c struct lp8788_rtc *rtc = ptr; ptr 1003 drivers/s390/char/sclp.c sclp_reboot_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 86 drivers/s390/char/sclp_early_core.c unsigned char *ptr, *end, ch; ptr 97 drivers/s390/char/sclp_early_core.c ptr = (unsigned char *) &sccb->msg.mdb.mto; ptr 102 drivers/s390/char/sclp_early_core.c if ((ch == 0x0a) || (ptr + count > end)) ptr 104 drivers/s390/char/sclp_early_core.c ptr[count] = _ascebc[ch]; ptr 106 drivers/s390/char/sclp_early_core.c mto = (struct mto *) ptr; ptr 111 drivers/s390/char/sclp_early_core.c ptr += count; ptr 112 drivers/s390/char/sclp_early_core.c } while ((offset < len) && (ptr + sizeof(*mto) <= end)); ptr 113 drivers/s390/char/sclp_early_core.c len = ptr - (unsigned char *) sccb; ptr 214 drivers/s390/char/vmur.c struct ccw1 *ptr = cpa; ptr 216 drivers/s390/char/vmur.c while (ptr->cda) { ptr 217 drivers/s390/char/vmur.c kfree((void *)(addr_t) ptr->cda); ptr 218 drivers/s390/char/vmur.c ptr++; ptr 173 drivers/s390/cio/airq.c iv->ptr = kzalloc(size, GFP_KERNEL); ptr 174 drivers/s390/cio/airq.c if (!iv->ptr) ptr 187 drivers/s390/cio/airq.c kfree(iv->ptr); ptr 207 drivers/s390/cio/airq.c kfree(iv->ptr); ptr 1016 drivers/s390/cio/css.c void *ptr) ptr 1044 drivers/s390/cio/css.c void *ptr) ptr 677 drivers/s390/crypto/ap_bus.c void *ptr) ptr 33 drivers/s390/crypto/ap_bus.h static inline int ap_test_bit(unsigned int *ptr, unsigned int nr) ptr 35 drivers/s390/crypto/ap_bus.h return (*ptr & (0x80000000u >> nr)) != 0; ptr 1321 drivers/s390/crypto/zcrypt_ccamisc.c u8 *mem, *ptr; ptr 1382 drivers/s390/crypto/zcrypt_ccamisc.c ptr = prepparm->lvdata; ptr 1385 drivers/s390/crypto/zcrypt_ccamisc.c len = *((u16 *) ptr); ptr 1387 drivers/s390/crypto/zcrypt_ccamisc.c ptr += sizeof(u16); ptr 1391 drivers/s390/crypto/zcrypt_ccamisc.c memcpy(rarray, ptr, *rarraylen); ptr 1393 drivers/s390/crypto/zcrypt_ccamisc.c ptr += len; ptr 1396 drivers/s390/crypto/zcrypt_ccamisc.c len = *((u16 *) ptr); ptr 1398 drivers/s390/crypto/zcrypt_ccamisc.c ptr += sizeof(u16); ptr 1402 drivers/s390/crypto/zcrypt_ccamisc.c memcpy(varray, ptr, *varraylen); ptr 1404 drivers/s390/crypto/zcrypt_ccamisc.c ptr += len; ptr 1416 drivers/s390/crypto/zcrypt_ccamisc.c struct cca_info_list_entry *ptr; ptr 1419 drivers/s390/crypto/zcrypt_ccamisc.c list_for_each_entry(ptr, &cca_info_list, list) { ptr 1420 drivers/s390/crypto/zcrypt_ccamisc.c if (ptr->cardnr == cardnr && ptr->domain == domain) { ptr 1421 drivers/s390/crypto/zcrypt_ccamisc.c memcpy(ci, &ptr->info, sizeof(*ci)); ptr 1435 drivers/s390/crypto/zcrypt_ccamisc.c struct cca_info_list_entry *ptr; ptr 1438 drivers/s390/crypto/zcrypt_ccamisc.c list_for_each_entry(ptr, &cca_info_list, list) { ptr 1439 drivers/s390/crypto/zcrypt_ccamisc.c if (ptr->cardnr == cardnr && ptr 1440 drivers/s390/crypto/zcrypt_ccamisc.c ptr->domain == domain) { ptr 1441 drivers/s390/crypto/zcrypt_ccamisc.c memcpy(&ptr->info, ci, sizeof(*ci)); ptr 1447 drivers/s390/crypto/zcrypt_ccamisc.c ptr = kmalloc(sizeof(*ptr), GFP_ATOMIC); ptr 1448 drivers/s390/crypto/zcrypt_ccamisc.c if (!ptr) { ptr 1452 drivers/s390/crypto/zcrypt_ccamisc.c ptr->cardnr = cardnr; ptr 1453 drivers/s390/crypto/zcrypt_ccamisc.c ptr->domain = domain; ptr 1454 drivers/s390/crypto/zcrypt_ccamisc.c memcpy(&ptr->info, ci, sizeof(*ci)); ptr 1455 drivers/s390/crypto/zcrypt_ccamisc.c list_add(&ptr->list, &cca_info_list); ptr 1462 drivers/s390/crypto/zcrypt_ccamisc.c struct cca_info_list_entry *ptr; ptr 1465 drivers/s390/crypto/zcrypt_ccamisc.c list_for_each_entry(ptr, &cca_info_list, list) { ptr 1466 drivers/s390/crypto/zcrypt_ccamisc.c if (ptr->cardnr == cardnr && ptr 1467 drivers/s390/crypto/zcrypt_ccamisc.c ptr->domain == domain) { ptr 1468 drivers/s390/crypto/zcrypt_ccamisc.c list_del(&ptr->list); ptr 1469 drivers/s390/crypto/zcrypt_ccamisc.c kfree(ptr); ptr 1478 drivers/s390/crypto/zcrypt_ccamisc.c struct cca_info_list_entry *ptr, *pnext; ptr 1481 drivers/s390/crypto/zcrypt_ccamisc.c list_for_each_entry_safe(ptr, pnext, &cca_info_list, list) { ptr 1482 drivers/s390/crypto/zcrypt_ccamisc.c list_del(&ptr->list); ptr 1483 drivers/s390/crypto/zcrypt_ccamisc.c kfree(ptr); ptr 132 drivers/s390/net/ctcm_mpc.c char *ptr, *rptr; ptr 140 drivers/s390/net/ctcm_mpc.c rptr = ptr = buf; ptr 145 drivers/s390/net/ctcm_mpc.c for (ct = 0; ct < len; ct++, ptr++, rptr++) { ptr 158 drivers/s390/net/ctcm_mpc.c sprintf(tbuf, "%2.2llX", (__u64)*ptr); ptr 162 drivers/s390/net/ctcm_mpc.c if ((0 != isprint(*ptr)) && (*ptr >= 0x20)) ptr 163 drivers/s390/net/ctcm_mpc.c basc[sw] = *ptr; ptr 63 drivers/s390/net/lcs.c static int lcs_recovery(void *ptr); ptr 2247 drivers/s390/net/lcs.c lcs_recovery(void *ptr) ptr 2253 drivers/s390/net/lcs.c card = (struct lcs_card *) ptr; ptr 765 drivers/s390/net/qeth_core.h int (*recover)(void *ptr); ptr 218 drivers/s390/net/qeth_core_main.c void *ptr; ptr 229 drivers/s390/net/qeth_core_main.c ptr = (void *) __get_free_page(GFP_KERNEL); ptr 230 drivers/s390/net/qeth_core_main.c if (!ptr) { ptr 238 drivers/s390/net/qeth_core_main.c pool_entry->elements[j] = ptr; ptr 4547 drivers/s390/net/qeth_core_main.c tmp = compat_ptr(oat_data.ptr); ptr 4549 drivers/s390/net/qeth_core_main.c tmp = (void __user *)(unsigned long)oat_data.ptr; ptr 934 drivers/s390/net/qeth_l2_main.c static int qeth_l2_recover(void *ptr) ptr 939 drivers/s390/net/qeth_l2_main.c card = (struct qeth_card *) ptr; ptr 2446 drivers/s390/net/qeth_l3_main.c static int qeth_l3_recover(void *ptr) ptr 2451 drivers/s390/net/qeth_l3_main.c card = (struct qeth_card *) ptr; ptr 2545 drivers/s390/net/qeth_l3_main.c unsigned long event, void *ptr) ptr 2548 drivers/s390/net/qeth_l3_main.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 2574 drivers/s390/net/qeth_l3_main.c unsigned long event, void *ptr) ptr 2576 drivers/s390/net/qeth_l3_main.c struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; ptr 1780 drivers/scsi/53c700.c SCp->SCp.ptr = NULL; ptr 155 drivers/scsi/NCR5380.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 159 drivers/scsi/NCR5380.c cmd->SCp.ptr = NULL; ptr 173 drivers/scsi/NCR5380.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 787 drivers/scsi/NCR5380.c data = (unsigned char **)&hostdata->connected->SCp.ptr; ptr 1693 drivers/scsi/NCR5380.c cmd->SCp.ptr, count); ptr 1696 drivers/scsi/NCR5380.c cmd->SCp.ptr, count); ptr 1759 drivers/scsi/NCR5380.c &len, (unsigned char **)&cmd->SCp.ptr)) { ptr 1779 drivers/scsi/NCR5380.c (unsigned char **)&cmd->SCp.ptr); ptr 2140 drivers/scsi/NCR5380.c tmp->SCp.ptr, count); ptr 2143 drivers/scsi/NCR5380.c tmp->SCp.ptr, count); ptr 248 drivers/scsi/a100u2w.c static u8 orc_nv_read(struct orc_host * host, u8 address, u8 *ptr) ptr 264 drivers/scsi/a100u2w.c *ptr = inb(host->base + ORC_HDATA); ptr 501 drivers/scsi/a100u2w.c u8 *ptr; ptr 546 drivers/scsi/a100u2w.c ptr = (u8 *) & (nvramp->Target00Config); ptr 547 drivers/scsi/a100u2w.c for (i = 0; i < 16; ptr++, i++) { ptr 548 drivers/scsi/a100u2w.c host->target_flag[i] = *ptr; ptr 49 drivers/scsi/a2091.c unsigned long addr = virt_to_bus(cmd->SCp.ptr); ptr 77 drivers/scsi/a2091.c memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, ptr 143 drivers/scsi/a2091.c memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer, ptr 53 drivers/scsi/a3000.c unsigned long addr = virt_to_bus(cmd->SCp.ptr); ptr 74 drivers/scsi/a3000.c memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, ptr 153 drivers/scsi/a3000.c memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer, ptr 674 drivers/scsi/aacraid/aachba.c callback = (int (*)(struct scsi_cmnd *))(scsicmd->SCp.ptr); ptr 675 drivers/scsi/aacraid/aachba.c scsicmd->SCp.ptr = NULL; ptr 752 drivers/scsi/aacraid/aachba.c scsicmd->SCp.ptr = (char *)callback; ptr 769 drivers/scsi/aacraid/aachba.c scsicmd->SCp.ptr = NULL; ptr 625 drivers/scsi/aha152x.c static void show_command(struct scsi_cmnd * ptr); ptr 650 drivers/scsi/aha152x.c struct scsi_cmnd *ptr; ptr 652 drivers/scsi/aha152x.c ptr = *SC; ptr 653 drivers/scsi/aha152x.c if (ptr) { ptr 655 drivers/scsi/aha152x.c SCNEXT(ptr)=NULL; ptr 657 drivers/scsi/aha152x.c return ptr; ptr 663 drivers/scsi/aha152x.c struct scsi_cmnd *ptr, *prev; ptr 665 drivers/scsi/aha152x.c for (ptr = *SC, prev = NULL; ptr 666 drivers/scsi/aha152x.c ptr && ((ptr->device->id != target) || (ptr->device->lun != lun)); ptr 667 drivers/scsi/aha152x.c prev = ptr, ptr = SCNEXT(ptr)) ptr 670 drivers/scsi/aha152x.c if (ptr) { ptr 672 drivers/scsi/aha152x.c SCNEXT(prev) = SCNEXT(ptr); ptr 674 drivers/scsi/aha152x.c *SC = SCNEXT(ptr); ptr 676 drivers/scsi/aha152x.c SCNEXT(ptr)=NULL; ptr 679 drivers/scsi/aha152x.c return ptr; ptr 685 drivers/scsi/aha152x.c struct scsi_cmnd *ptr, *prev; ptr 687 drivers/scsi/aha152x.c for (ptr = *SC, prev = NULL; ptr 688 drivers/scsi/aha152x.c ptr && SCp!=ptr; ptr 689 drivers/scsi/aha152x.c prev = ptr, ptr = SCNEXT(ptr)) ptr 692 drivers/scsi/aha152x.c if (ptr) { ptr 694 drivers/scsi/aha152x.c SCNEXT(prev) = SCNEXT(ptr); ptr 696 drivers/scsi/aha152x.c *SC = SCNEXT(ptr); ptr 698 drivers/scsi/aha152x.c SCNEXT(ptr)=NULL; ptr 701 drivers/scsi/aha152x.c return ptr; ptr 943 drivers/scsi/aha152x.c SCpnt->SCp.ptr = NULL; ptr 950 drivers/scsi/aha152x.c SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer); ptr 1007 drivers/scsi/aha152x.c struct scsi_cmnd *ptr; ptr 1012 drivers/scsi/aha152x.c ptr=remove_SC(&ISSUE_SC, SCpnt); ptr 1014 drivers/scsi/aha152x.c if(ptr) { ptr 1106 drivers/scsi/aha152x.c struct scsi_cmnd *ptr; ptr 1108 drivers/scsi/aha152x.c ptr=*SCs; ptr 1109 drivers/scsi/aha152x.c while(ptr) { ptr 1112 drivers/scsi/aha152x.c if(SCDATA(ptr)) { ptr 1113 drivers/scsi/aha152x.c next = SCNEXT(ptr); ptr 1115 drivers/scsi/aha152x.c scmd_printk(KERN_DEBUG, ptr, ptr 1116 drivers/scsi/aha152x.c "queue corrupted at %p\n", ptr); ptr 1120 drivers/scsi/aha152x.c if (!ptr->device->soft_reset) { ptr 1121 drivers/scsi/aha152x.c remove_SC(SCs, ptr); ptr 1123 drivers/scsi/aha152x.c kfree(ptr->host_scribble); ptr 1124 drivers/scsi/aha152x.c ptr->host_scribble=NULL; ptr 1127 drivers/scsi/aha152x.c ptr = next; ptr 1430 drivers/scsi/aha152x.c struct scsi_cmnd *ptr = DONE_SC; ptr 1433 drivers/scsi/aha152x.c sc = SCDATA(ptr); ptr 1436 drivers/scsi/aha152x.c scsi_eh_prep_cmnd(ptr, &sc->ses, NULL, 0, ~0); ptr 1439 drivers/scsi/aha152x.c aha152x_internal_queue(ptr, NULL, check_condition, ptr->scsi_done); ptr 1445 drivers/scsi/aha152x.c struct scsi_cmnd *ptr = DONE_SC; ptr 1453 drivers/scsi/aha152x.c if(ptr->scsi_done != reset_done) { ptr 1454 drivers/scsi/aha152x.c kfree(ptr->host_scribble); ptr 1455 drivers/scsi/aha152x.c ptr->host_scribble=NULL; ptr 1459 drivers/scsi/aha152x.c ptr->scsi_done(ptr); ptr 2004 drivers/scsi/aha152x.c *CURRENT_SC->SCp.ptr++ = GETPORT(DATAPORT); ptr 2012 drivers/scsi/aha152x.c insw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); ptr 2013 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr += 2 * data_count; ptr 2022 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer); ptr 2110 drivers/scsi/aha152x.c SETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++); ptr 2118 drivers/scsi/aha152x.c outsw(DATAPORT, CURRENT_SC->SCp.ptr, data_count); ptr 2119 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr += 2 * data_count; ptr 2128 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer); ptr 2163 drivers/scsi/aha152x.c CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer) + done; ptr 2244 drivers/scsi/aha152x.c struct scsi_cmnd *ptr; ptr 2248 drivers/scsi/aha152x.c ptr=DISCONNECTED_SC; ptr 2249 drivers/scsi/aha152x.c while(ptr) { ptr 2250 drivers/scsi/aha152x.c struct scsi_cmnd *next = SCNEXT(ptr); ptr 2252 drivers/scsi/aha152x.c if (!ptr->device->soft_reset) { ptr 2253 drivers/scsi/aha152x.c remove_SC(&DISCONNECTED_SC, ptr); ptr 2255 drivers/scsi/aha152x.c kfree(ptr->host_scribble); ptr 2256 drivers/scsi/aha152x.c ptr->host_scribble=NULL; ptr 2258 drivers/scsi/aha152x.c ptr->result = DID_RESET << 16; ptr 2259 drivers/scsi/aha152x.c ptr->scsi_done(ptr); ptr 2262 drivers/scsi/aha152x.c ptr = next; ptr 2435 drivers/scsi/aha152x.c static void show_command(struct scsi_cmnd *ptr) ptr 2437 drivers/scsi/aha152x.c scsi_print_command(ptr); ptr 2438 drivers/scsi/aha152x.c scmd_printk(KERN_DEBUG, ptr, ptr 2441 drivers/scsi/aha152x.c scsi_bufflen(ptr), scsi_get_resid(ptr), ptr 2442 drivers/scsi/aha152x.c (ptr->SCp.phase & not_issued) ? "not issued|" : "", ptr 2443 drivers/scsi/aha152x.c (ptr->SCp.phase & selecting) ? "selecting|" : "", ptr 2444 drivers/scsi/aha152x.c (ptr->SCp.phase & identified) ? "identified|" : "", ptr 2445 drivers/scsi/aha152x.c (ptr->SCp.phase & disconnected) ? "disconnected|" : "", ptr 2446 drivers/scsi/aha152x.c (ptr->SCp.phase & completed) ? "completed|" : "", ptr 2447 drivers/scsi/aha152x.c (ptr->SCp.phase & spiordy) ? "spiordy|" : "", ptr 2448 drivers/scsi/aha152x.c (ptr->SCp.phase & syncneg) ? "syncneg|" : "", ptr 2449 drivers/scsi/aha152x.c (ptr->SCp.phase & aborted) ? "aborted|" : "", ptr 2450 drivers/scsi/aha152x.c (ptr->SCp.phase & resetted) ? "resetted|" : "", ptr 2451 drivers/scsi/aha152x.c (SCDATA(ptr)) ? SCNEXT(ptr) : NULL); ptr 2459 drivers/scsi/aha152x.c struct scsi_cmnd *ptr; ptr 2464 drivers/scsi/aha152x.c for (ptr = ISSUE_SC; ptr; ptr = SCNEXT(ptr)) ptr 2465 drivers/scsi/aha152x.c show_command(ptr); ptr 2475 drivers/scsi/aha152x.c for (ptr = DISCONNECTED_SC; ptr; ptr = SCDATA(ptr) ? SCNEXT(ptr) : NULL) ptr 2476 drivers/scsi/aha152x.c show_command(ptr); ptr 2481 drivers/scsi/aha152x.c static void get_command(struct seq_file *m, struct scsi_cmnd * ptr) ptr 2486 drivers/scsi/aha152x.c ptr, ptr->device->id, (u8)ptr->device->lun); ptr 2488 drivers/scsi/aha152x.c for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) ptr 2489 drivers/scsi/aha152x.c seq_printf(m, "0x%02x ", ptr->cmnd[i]); ptr 2492 drivers/scsi/aha152x.c scsi_get_resid(ptr), ptr->SCp.this_residual, ptr 2493 drivers/scsi/aha152x.c sg_nents(ptr->SCp.buffer) - 1); ptr 2495 drivers/scsi/aha152x.c if (ptr->SCp.phase & not_issued) ptr 2497 drivers/scsi/aha152x.c if (ptr->SCp.phase & selecting) ptr 2499 drivers/scsi/aha152x.c if (ptr->SCp.phase & disconnected) ptr 2501 drivers/scsi/aha152x.c if (ptr->SCp.phase & aborted) ptr 2503 drivers/scsi/aha152x.c if (ptr->SCp.phase & identified) ptr 2505 drivers/scsi/aha152x.c if (ptr->SCp.phase & completed) ptr 2507 drivers/scsi/aha152x.c if (ptr->SCp.phase & spiordy) ptr 2509 drivers/scsi/aha152x.c if (ptr->SCp.phase & syncneg) ptr 2511 drivers/scsi/aha152x.c seq_printf(m, "; next=0x%p\n", SCNEXT(ptr)); ptr 2810 drivers/scsi/aha152x.c struct scsi_cmnd *ptr; ptr 2840 drivers/scsi/aha152x.c for (ptr = ISSUE_SC; ptr; ptr = SCNEXT(ptr)) ptr 2841 drivers/scsi/aha152x.c get_command(m, ptr); ptr 2854 drivers/scsi/aha152x.c for (ptr = DISCONNECTED_SC; ptr; ptr = SCNEXT(ptr)) ptr 2855 drivers/scsi/aha152x.c get_command(m, ptr); ptr 401 drivers/scsi/aha1740.c DEB(unsigned char * ptr); ptr 414 drivers/scsi/aha1740.c ptr = (unsigned char *) cptr; ptr 415 drivers/scsi/aha1740.c for(i=0;i<24;i++) printk("%02x ", ptr[i]); ptr 290 drivers/scsi/aic94xx/aic94xx_hwi.h static inline int asd_tc_index_get(struct asd_seq_data *seq, void *ptr) ptr 299 drivers/scsi/aic94xx/aic94xx_hwi.h seq->tc_index_array[index] = ptr; ptr 330 drivers/scsi/am53c974.c static void dc390_read_eeprom(struct pci_dev *pdev, u16 *ptr) ptr 339 drivers/scsi/am53c974.c *ptr++ = dc390_eeprom_get_data(pdev); ptr 351 drivers/scsi/am53c974.c u16 *ptr = (u16 *)EEbuf, wval = 0; ptr 354 drivers/scsi/am53c974.c dc390_read_eeprom(pdev, ptr); ptr 356 drivers/scsi/am53c974.c for (i = 0; i < DC390_EEPROM_LEN; i++, ptr++) ptr 357 drivers/scsi/am53c974.c wval += *ptr; ptr 244 drivers/scsi/arm/acornscsi.c printk("BH @%p +%04x, ", host->scsi.SCp.ptr, ptr 498 drivers/scsi/arm/acornscsi.c signed int ptr; ptr 500 drivers/scsi/arm/acornscsi.c ptr = host->status_ptr[target] - STATUS_BUFFER_TO_PRINT; ptr 501 drivers/scsi/arm/acornscsi.c if (ptr < 0) ptr 502 drivers/scsi/arm/acornscsi.c ptr += STATUS_BUFFER_SIZE; ptr 507 drivers/scsi/arm/acornscsi.c prev = host->status[target][ptr].when; ptr 509 drivers/scsi/arm/acornscsi.c for (; ptr != host->status_ptr[target]; ptr = (ptr + 1) & (STATUS_BUFFER_SIZE - 1)) { ptr 512 drivers/scsi/arm/acornscsi.c if (!host->status[target][ptr].when) ptr 517 drivers/scsi/arm/acornscsi.c printk("%c%02X", host->status[target][ptr].irq ? '-' : ' ', ptr 518 drivers/scsi/arm/acornscsi.c host->status[target][ptr].ph); ptr 522 drivers/scsi/arm/acornscsi.c printk(" %02X", host->status[target][ptr].ssr); ptr 526 drivers/scsi/arm/acornscsi.c time_diff = host->status[target][ptr].when - prev; ptr 527 drivers/scsi/arm/acornscsi.c prev = host->status[target][ptr].when; ptr 817 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.ptr && ptr 885 drivers/scsi/arm/acornscsi.c SCp->ptr += length; ptr 903 drivers/scsi/arm/acornscsi.c void acornscsi_data_read(AS_Host *host, char *ptr, ptr 922 drivers/scsi/arm/acornscsi.c __acornscsi_in(host->base + (offset << 1), ptr, this_len); ptr 925 drivers/scsi/arm/acornscsi.c ptr += this_len; ptr 948 drivers/scsi/arm/acornscsi.c void acornscsi_data_write(AS_Host *host, char *ptr, ptr 967 drivers/scsi/arm/acornscsi.c __acornscsi_out(host->base + (offset << 1), ptr, this_len); ptr 970 drivers/scsi/arm/acornscsi.c ptr += this_len; ptr 1046 drivers/scsi/arm/acornscsi.c acornscsi_data_write(host, host->scsi.SCp.ptr, host->dma.start_addr, ptr 1108 drivers/scsi/arm/acornscsi.c acornscsi_data_read(host, host->scsi.SCp.ptr, ptr 1155 drivers/scsi/arm/acornscsi.c host->dma.xfer_ptr = host->scsi.SCp.ptr; ptr 1174 drivers/scsi/arm/acornscsi.c acornscsi_data_write(host, host->scsi.SCp.ptr, host->dma.start_addr, ptr 1274 drivers/scsi/arm/acornscsi.c acornscsi_write_pio(AS_Host *host, char *bytes, int *ptr, int len, unsigned int max_timeout) ptr 1277 drivers/scsi/arm/acornscsi.c int my_ptr = *ptr; ptr 1293 drivers/scsi/arm/acornscsi.c *ptr = my_ptr; ptr 1737 drivers/scsi/arm/acornscsi.c if (!host->scsi.SCp.ptr /*&& host->scsi.SCp.this_residual*/) { ptr 1866 drivers/scsi/arm/acornscsi.c host->scsi.SCp.ptr, host->scsi.SCp.this_residual); ptr 122 drivers/scsi/arm/arxescsi.c addr = SCp->ptr; ptr 214 drivers/scsi/arm/cumana_2.c addr = SCp->ptr; ptr 355 drivers/scsi/arm/eesox.c eesoxscsi_buffer_in(SCp->ptr, SCp->this_residual, info->base); ptr 357 drivers/scsi/arm/eesox.c eesoxscsi_buffer_out(SCp->ptr, SCp->this_residual, info->base); ptr 177 drivers/scsi/arm/fas216.c prefix, SCp->ptr, SCp->this_residual, SCp->buffer, ptr 654 drivers/scsi/arm/fas216.c SCp->ptr += bytes_transferred; ptr 656 drivers/scsi/arm/fas216.c SCp->ptr = NULL; ptr 754 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual, ptr 757 drivers/scsi/arm/fas216.c if (!info->scsi.SCp.ptr) { ptr 848 drivers/scsi/arm/fas216.c while (fifo && info->scsi.SCp.ptr) { ptr 849 drivers/scsi/arm/fas216.c *info->scsi.SCp.ptr = fas216_readb(info, REG_FF); ptr 1014 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); ptr 1082 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); ptr 1095 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); ptr 1977 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); ptr 2080 drivers/scsi/arm/fas216.c if (info->scsi.SCp.ptr) { ptr 2090 drivers/scsi/arm/fas216.c SCpnt->result, info->scsi.SCp.ptr, ptr 2164 drivers/scsi/arm/fas216.c if (info->scsi.SCp.ptr && info->scsi.SCp.this_residual == 0) { ptr 2167 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr, info->scsi.SCp.this_residual); ptr 2168 drivers/scsi/arm/fas216.c info->scsi.SCp.ptr = NULL; ptr 33 drivers/scsi/arm/scsi.h sg_set_buf(sg, SCp->ptr, SCp->this_residual); ptr 53 drivers/scsi/arm/scsi.h SCp->ptr = sg_virt(SCp->buffer); ptr 56 drivers/scsi/arm/scsi.h SCp->ptr = NULL; ptr 64 drivers/scsi/arm/scsi.h char c = *SCp->ptr; ptr 66 drivers/scsi/arm/scsi.h SCp->ptr += 1; ptr 74 drivers/scsi/arm/scsi.h *SCp->ptr = c; ptr 75 drivers/scsi/arm/scsi.h SCp->ptr += 1; ptr 88 drivers/scsi/arm/scsi.h SCpnt->SCp.ptr = sg_virt(SCpnt->SCp.buffer); ptr 121 drivers/scsi/arm/scsi.h SCpnt->SCp.ptr = NULL; ptr 617 drivers/scsi/atari_scsi.c limit = (atari_dma_buffer && !STRAM_ADDR(virt_to_phys(cmd->SCp.ptr))) ? ptr 164 drivers/scsi/be2iscsi/be.h static inline void amap_set(void *ptr, u32 dw_offset, u32 mask, ptr 167 drivers/scsi/be2iscsi/be.h u32 *dw = (u32 *) ptr + dw_offset; ptr 172 drivers/scsi/be2iscsi/be.h #define AMAP_SET_BITS(_struct, field, ptr, val) \ ptr 173 drivers/scsi/be2iscsi/be.h amap_set(ptr, \ ptr 179 drivers/scsi/be2iscsi/be.h static inline u32 amap_get(void *ptr, u32 dw_offset, u32 mask, u32 offset) ptr 181 drivers/scsi/be2iscsi/be.h u32 *dw = ptr; ptr 185 drivers/scsi/be2iscsi/be.h #define AMAP_GET_BITS(_struct, field, ptr) \ ptr 186 drivers/scsi/be2iscsi/be.h amap_get(ptr, \ ptr 219 drivers/scsi/be2iscsi/be_main.c struct iscsi_task *abrt_task = (struct iscsi_task *)sc->SCp.ptr; ptr 1297 drivers/scsi/bfa/bfa_fcbuild.c __be32 *ptr = (__be32 *) bit_mask; ptr 1306 drivers/scsi/bfa/bfa_fcbuild.c ptr[index] = cpu_to_be32(type_value); ptr 1065 drivers/scsi/bfa/bfad.c bfad_worker(void *ptr) ptr 1067 drivers/scsi/bfa/bfad.c struct bfad_s *bfad = ptr; ptr 314 drivers/scsi/bfa/bfad_drv.h int bfad_worker(void *ptr); ptr 155 drivers/scsi/bfa/bfad_im.c wq = (wait_queue_head_t *) cmnd->SCp.ptr; ptr 156 drivers/scsi/bfa/bfad_im.c cmnd->SCp.ptr = NULL; ptr 329 drivers/scsi/bfa/bfad_im.c cmnd->SCp.ptr = (char *)&wq; ptr 384 drivers/scsi/bfa/bfad_im.c cmnd->SCp.ptr = (char *)&wq; ptr 207 drivers/scsi/bnx2fc/bnx2fc_io.c sc_cmd->SCp.ptr = NULL; ptr 768 drivers/scsi/bnx2fc/bnx2fc_io.c sc_cmd->SCp.ptr = (char *)io_req; ptr 1149 drivers/scsi/bnx2fc/bnx2fc_io.c io_req = (struct bnx2fc_cmd *)sc_cmd->SCp.ptr; ptr 1572 drivers/scsi/bnx2fc/bnx2fc_io.c if (!sc_cmd->SCp.ptr) { ptr 1609 drivers/scsi/bnx2fc/bnx2fc_io.c sc_cmd->SCp.ptr = NULL; ptr 1955 drivers/scsi/bnx2fc/bnx2fc_io.c if (!sc_cmd->SCp.ptr) { ptr 2027 drivers/scsi/bnx2fc/bnx2fc_io.c sc_cmd->SCp.ptr = NULL; ptr 2053 drivers/scsi/bnx2fc/bnx2fc_io.c sc_cmd->SCp.ptr = (char *)io_req; ptr 828 drivers/scsi/bnx2i/bnx2i.h void bnx2i_get_rq_buf(struct bnx2i_conn *conn, char *ptr, int len); ptr 193 drivers/scsi/bnx2i/bnx2i_hwi.c void bnx2i_get_rq_buf(struct bnx2i_conn *bnx2i_conn, char *ptr, int len) ptr 199 drivers/scsi/bnx2i/bnx2i_hwi.c memcpy(ptr, (u8 *) bnx2i_conn->ep->qp.rq_cons_qe, len); ptr 241 drivers/scsi/csiostor/csio_lnode.c csio_append_attrib(uint8_t **ptr, uint16_t type, void *val, size_t val_len) ptr 244 drivers/scsi/csiostor/csio_lnode.c struct fc_fdmi_attr_entry *ae = (struct fc_fdmi_attr_entry *)*ptr; ptr 258 drivers/scsi/csiostor/csio_lnode.c *ptr += len; ptr 1303 drivers/scsi/dc395x.c u8 *ptr = srb->msgout_buf + srb->msg_count; ptr 1317 drivers/scsi/dc395x.c *ptr++ = MSG_EXTENDED; /* (01h) */ ptr 1318 drivers/scsi/dc395x.c *ptr++ = 3; /* length */ ptr 1319 drivers/scsi/dc395x.c *ptr++ = EXTENDED_SDTR; /* (01h) */ ptr 1320 drivers/scsi/dc395x.c *ptr++ = dcb->min_nego_period; /* Transfer period (in 4ns) */ ptr 1321 drivers/scsi/dc395x.c *ptr++ = dcb->sync_offset; /* Transfer period (max. REQ/ACK dist) */ ptr 1333 drivers/scsi/dc395x.c u8 *ptr = srb->msgout_buf + srb->msg_count; ptr 1341 drivers/scsi/dc395x.c *ptr++ = MSG_EXTENDED; /* (01h) */ ptr 1342 drivers/scsi/dc395x.c *ptr++ = 2; /* length */ ptr 1343 drivers/scsi/dc395x.c *ptr++ = EXTENDED_WDTR; /* (03h) */ ptr 1344 drivers/scsi/dc395x.c *ptr++ = wide; ptr 1353 drivers/scsi/dc395x.c void selection_timeout_missed(unsigned long ptr); ptr 1371 drivers/scsi/dc395x.c void selection_timeout_missed(unsigned long ptr) ptr 1374 drivers/scsi/dc395x.c struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)ptr; ptr 1394 drivers/scsi/dc395x.c u8 *ptr; ptr 1533 drivers/scsi/dc395x.c ptr = (u8 *)srb->cmd->cmnd; ptr 1535 drivers/scsi/dc395x.c DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *ptr++); ptr 1755 drivers/scsi/dc395x.c u8 *ptr; ptr 1773 drivers/scsi/dc395x.c ptr = (u8 *)srb->msgout_buf; ptr 1775 drivers/scsi/dc395x.c DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *ptr++); ptr 1796 drivers/scsi/dc395x.c u8 *ptr; ptr 1803 drivers/scsi/dc395x.c ptr = (u8 *)srb->cmd->cmnd; ptr 1805 drivers/scsi/dc395x.c DC395x_write8(acb, TRM_S1040_SCSI_FIFO, *ptr); ptr 1806 drivers/scsi/dc395x.c ptr++; ptr 3134 drivers/scsi/dc395x.c static void disc_tagq_set(struct DeviceCtlBlk *dcb, struct ScsiInqData *ptr) ptr 3137 drivers/scsi/dc395x.c if ((ptr->Vers & 0x07) >= 2 || (ptr->RDF & 0x0F) == 2) { ptr 3138 drivers/scsi/dc395x.c if ((ptr->Flags & SCSI_INQ_CMDQUEUE) ptr 3143 drivers/scsi/dc395x.c !tagq_blacklist(((char *)ptr) + 8)) { ptr 3156 drivers/scsi/dc395x.c struct ScsiInqData *ptr) ptr 3158 drivers/scsi/dc395x.c u8 bval1 = ptr->DevType & SCSI_DEVTYPE; ptr 3161 drivers/scsi/dc395x.c disc_tagq_set(dcb, ptr); ptr 3358 drivers/scsi/dc395x.c struct ScsiInqData *ptr; ptr 3365 drivers/scsi/dc395x.c ptr = (struct ScsiInqData *)(base + offset); ptr 3369 drivers/scsi/dc395x.c && dir != PCI_DMA_NONE && ptr && (ptr->Vers & 0x07) >= 2) ptr 3370 drivers/scsi/dc395x.c dcb->inquiry7 = ptr->Flags; ptr 3377 drivers/scsi/dc395x.c add_dev(acb, dcb, ptr); ptr 4162 drivers/scsi/dc395x.c struct SGentry *uninitialized_var(ptr); ptr 4169 drivers/scsi/dc395x.c ptr = kmalloc(PAGE_SIZE, GFP_KERNEL); ptr 4170 drivers/scsi/dc395x.c if (!ptr) { ptr 4175 drivers/scsi/dc395x.c PAGE_SIZE, ptr, srb_idx); ptr 4179 drivers/scsi/dc395x.c ptr + (i++ * DC395x_MAX_SG_LISTENTRY); ptr 4183 drivers/scsi/dc395x.c ptr + (i * DC395x_MAX_SG_LISTENTRY); ptr 1361 drivers/scsi/esp_scsi.c u8 *ptr; ptr 1363 drivers/scsi/esp_scsi.c ptr = scsi_kmap_atomic_sg(p->cur_sg, p->num_sg, ptr 1365 drivers/scsi/esp_scsi.c if (likely(ptr)) { ptr 1366 drivers/scsi/esp_scsi.c *(ptr + offset) = bval; ptr 1367 drivers/scsi/esp_scsi.c scsi_kunmap_atomic_sg(ptr); ptr 105 drivers/scsi/fcoe/fcoe.c ulong event, void *ptr); ptr 1793 drivers/scsi/fcoe/fcoe.c ulong event, void *ptr) ptr 1795 drivers/scsi/fcoe/fcoe.c struct dcb_app_type *entry = ptr; ptr 1844 drivers/scsi/fcoe/fcoe.c ulong event, void *ptr) ptr 1848 drivers/scsi/fcoe/fcoe.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 31 drivers/scsi/fcoe/fcoe_transport.c ulong event, void *ptr); ptr 731 drivers/scsi/fcoe/fcoe_transport.c ulong event, void *ptr) ptr 733 drivers/scsi/fcoe/fcoe_transport.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 217 drivers/scsi/fdomain.c unsigned char *virt, *ptr; ptr 224 drivers/scsi/fdomain.c ptr = virt + offset; ptr 226 drivers/scsi/fdomain.c *ptr++ = inb(fd->base + REG_FIFO); ptr 228 drivers/scsi/fdomain.c insw(fd->base + REG_FIFO, ptr, len >> 1); ptr 239 drivers/scsi/fdomain.c unsigned char *virt, *ptr; ptr 251 drivers/scsi/fdomain.c ptr = virt + offset; ptr 253 drivers/scsi/fdomain.c outb(*ptr++, fd->base + REG_FIFO); ptr 255 drivers/scsi/fdomain.c outsw(fd->base + REG_FIFO, ptr, len >> 1); ptr 95 drivers/scsi/fnic/fnic.h #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) ptr 434 drivers/scsi/fnic/fnic_scsi.c unsigned long ptr; ptr 539 drivers/scsi/fnic/fnic_scsi.c ptr = (unsigned long) io_req->sgl_list; ptr 540 drivers/scsi/fnic/fnic_scsi.c if (ptr % FNIC_SG_DESC_ALIGN) { ptr 542 drivers/scsi/fnic/fnic_scsi.c (((unsigned long) ptr ptr 1551 drivers/scsi/gdth.c scp->SCp.ptr = NULL; ptr 1554 drivers/scsi/gdth.c nscp = (struct scsi_cmnd *)pscp->SCp.ptr; ptr 1558 drivers/scsi/gdth.c nscp = (struct scsi_cmnd *)pscp->SCp.ptr; ptr 1560 drivers/scsi/gdth.c pscp->SCp.ptr = (char *)scp; ptr 1561 drivers/scsi/gdth.c scp->SCp.ptr = (char *)nscp; ptr 1567 drivers/scsi/gdth.c for (nscp=ha->req_first; nscp; nscp=(struct scsi_cmnd*)nscp->SCp.ptr) ptr 1594 drivers/scsi/gdth.c for (nscp = pscp = ha->req_first; nscp; nscp = (struct scsi_cmnd *)nscp->SCp.ptr) { ptr 1596 drivers/scsi/gdth.c if (nscp != pscp && nscp != (struct scsi_cmnd *)pscp->SCp.ptr) ptr 1597 drivers/scsi/gdth.c pscp = (struct scsi_cmnd *)pscp->SCp.ptr; ptr 1804 drivers/scsi/gdth.c ha->req_first = pscp = (struct scsi_cmnd *)nscp->SCp.ptr; ptr 1806 drivers/scsi/gdth.c pscp->SCp.ptr = nscp->SCp.ptr; ptr 3146 drivers/scsi/gdth.c nscp=ha->req_first; nscp; nscp=(struct scsi_cmnd*)nscp->SCp.ptr) ptr 58 drivers/scsi/gvp11.c unsigned long addr = virt_to_bus(cmd->SCp.ptr); ptr 113 drivers/scsi/gvp11.c memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, ptr 162 drivers/scsi/gvp11.c memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer, ptr 2829 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_debugfs_print_reg(u32 *regs_val, const void *ptr, ptr 2832 drivers/scsi/hisi_sas/hisi_sas_main.c const struct hisi_sas_debugfs_reg *reg = ptr; ptr 2956 drivers/scsi/hisi_sas/hisi_sas_main.c int sz, __le64 *ptr) ptr 2962 drivers/scsi/hisi_sas/hisi_sas_main.c for (i = 1; i <= sz / 8; i++, ptr++) { ptr 2963 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, " 0x%016llx", le64_to_cpu(*ptr)); ptr 2972 drivers/scsi/hisi_sas/hisi_sas_main.c int sz, __le32 *ptr) ptr 2978 drivers/scsi/hisi_sas/hisi_sas_main.c for (i = 1; i <= sz / 4; i++, ptr++) { ptr 2979 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, " 0x%08x", le32_to_cpu(*ptr)); ptr 6555 drivers/scsi/hpsa.c BYTE __user *ptr = ioc->buf; ptr 6557 drivers/scsi/hpsa.c if (copy_to_user(ptr, buff[i], buff_size[i])) { ptr 6561 drivers/scsi/hpsa.c ptr += buff_size[i]; ptr 308 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c struct viosrp_crq *ptr; ptr 310 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c ptr = base_addr + *current_index; ptr 312 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (ptr->valid) { ptr 316 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c ptr = NULL; ptr 319 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c return ptr; ptr 672 drivers/scsi/imm.c status = imm_out(dev, cmd->SCp.ptr, fast); ptr 677 drivers/scsi/imm.c status = imm_in(dev, cmd->SCp.ptr, fast); ptr 680 drivers/scsi/imm.c cmd->SCp.ptr += fast; ptr 693 drivers/scsi/imm.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 828 drivers/scsi/imm.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 832 drivers/scsi/imm.c cmd->SCp.ptr = NULL; ptr 2556 drivers/scsi/initio.c cmnd->SCp.ptr = (char *)(unsigned long)dma_addr; ptr 2712 drivers/scsi/initio.c if (cmnd->SCp.ptr) { ptr 2714 drivers/scsi/initio.c (dma_addr_t)((unsigned long)cmnd->SCp.ptr), ptr 2716 drivers/scsi/initio.c cmnd->SCp.ptr = NULL; ptr 51 drivers/scsi/libfc/fc_fcp.c #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) ptr 1139 drivers/scsi/libfc/fc_fcp.c fsp->cmd->SCp.ptr = (char *)fsp; ptr 1152 drivers/scsi/libfc/fc_fcp.c fsp->cmd->SCp.ptr = NULL; ptr 2085 drivers/scsi/libfc/fc_fcp.c sc_cmd->SCp.ptr = NULL; ptr 470 drivers/scsi/libiscsi.c sc->SCp.ptr = NULL; ptr 1608 drivers/scsi/libiscsi.c sc->SCp.ptr = (char *) task; ptr 1645 drivers/scsi/libiscsi.c sc->SCp.ptr = NULL; ptr 1949 drivers/scsi/libiscsi.c task = (struct iscsi_task *)sc->SCp.ptr; ptr 2158 drivers/scsi/libiscsi.c if (!sc->SCp.ptr) { ptr 2183 drivers/scsi/libiscsi.c task = (struct iscsi_task *)sc->SCp.ptr; ptr 2234 drivers/scsi/libiscsi.c if (!sc->SCp.ptr) { ptr 293 drivers/scsi/libiscsi_tcp.c struct iscsi_segment *segment, const void *ptr, ptr 307 drivers/scsi/libiscsi_tcp.c memcpy(segment->data + segment->copied, ptr + copied, copy); ptr 916 drivers/scsi/libiscsi_tcp.c const u8 *ptr; ptr 918 drivers/scsi/libiscsi_tcp.c avail = skb_seq_read(consumed, &ptr, &seq); ptr 927 drivers/scsi/libiscsi_tcp.c ISCSI_DBG_TCP(conn, "skb %p ptr=%p avail=%u\n", skb, ptr, ptr 929 drivers/scsi/libiscsi_tcp.c rc = iscsi_tcp_segment_recv(tcp_conn, segment, ptr, avail); ptr 1315 drivers/scsi/lpfc/lpfc_attr.c struct pci_dev *ptr = NULL; ptr 1331 drivers/scsi/lpfc/lpfc_attr.c list_for_each_entry(ptr, &pdev->bus->devices, bus_list) { ptr 1333 drivers/scsi/lpfc/lpfc_attr.c shost = pci_get_drvdata(ptr); ptr 3121 drivers/scsi/lpfc/lpfc_bsg.c uint8_t *ptr = NULL, *rx_databuf = NULL; ptr 3189 drivers/scsi/lpfc/lpfc_bsg.c ptr = dataout; ptr 3190 drivers/scsi/lpfc/lpfc_bsg.c ptr += ELX_LOOPBACK_HEADER_SZ; ptr 3193 drivers/scsi/lpfc/lpfc_bsg.c ptr, size); ptr 3271 drivers/scsi/lpfc/lpfc_bsg.c ptr + current_offset, ptr 174 drivers/scsi/lpfc/lpfc_bsg.h #define bsg_bf_get_le32(name, ptr) \ ptr 175 drivers/scsi/lpfc/lpfc_bsg.h ((le32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) ptr 176 drivers/scsi/lpfc/lpfc_bsg.h #define bsg_bf_get(name, ptr) \ ptr 177 drivers/scsi/lpfc/lpfc_bsg.h (((ptr)->name##_WORD >> name##_SHIFT) & name##_MASK) ptr 178 drivers/scsi/lpfc/lpfc_bsg.h #define bsg_bf_set_le32(name, ptr, value) \ ptr 179 drivers/scsi/lpfc/lpfc_bsg.h ((ptr)->name##_WORD = cpu_to_le32(((((value) & \ ptr 180 drivers/scsi/lpfc/lpfc_bsg.h name##_MASK) << name##_SHIFT) | (le32_to_cpu((ptr)->name##_WORD) & \ ptr 182 drivers/scsi/lpfc/lpfc_bsg.h #define bsg_bf_set(name, ptr, value) \ ptr 183 drivers/scsi/lpfc/lpfc_bsg.h ((ptr)->name##_WORD = ((((value) & name##_MASK) << name##_SHIFT) | \ ptr 184 drivers/scsi/lpfc/lpfc_bsg.h ((ptr)->name##_WORD & ~(name##_MASK << name##_SHIFT)))) ptr 1569 drivers/scsi/lpfc/lpfc_ct.c uint32_t *ptr; ptr 1711 drivers/scsi/lpfc/lpfc_ct.c ptr = (uint32_t *)CtReq; ptr 1717 drivers/scsi/lpfc/lpfc_ct.c *ptr, *(ptr + 1), *(ptr + 2), *(ptr + 3), ptr 1718 drivers/scsi/lpfc/lpfc_ct.c *(ptr + 4), *(ptr + 5), ptr 1719 drivers/scsi/lpfc/lpfc_ct.c *(ptr + 6), *(ptr + 7)); ptr 1794 drivers/scsi/lpfc/lpfc_ct.c ptr = (uint32_t *)CtReq; ptr 1799 drivers/scsi/lpfc/lpfc_ct.c *ptr, *(ptr + 1), *(ptr + 2), *(ptr + 3), ptr 1800 drivers/scsi/lpfc/lpfc_ct.c *(ptr + 4), *(ptr + 5), ptr 1801 drivers/scsi/lpfc/lpfc_ct.c *(ptr + 6), *(ptr + 7)); ptr 3305 drivers/scsi/lpfc/lpfc_ct.c uint32_t *ptr, str[4]; ptr 3349 drivers/scsi/lpfc/lpfc_ct.c ptr = (uint32_t*)fwname; ptr 3352 drivers/scsi/lpfc/lpfc_ct.c str[i] = be32_to_cpu(*ptr++); ptr 669 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t *ptr; ptr 683 drivers/scsi/lpfc/lpfc_debugfs.c ptr = (uint32_t *)&buffer[0]; ptr 695 drivers/scsi/lpfc/lpfc_debugfs.c off, *ptr, *(ptr+1), *(ptr+2), *(ptr+3), *(ptr+4), ptr 696 drivers/scsi/lpfc/lpfc_debugfs.c *(ptr+5), *(ptr+6), *(ptr+7)); ptr 697 drivers/scsi/lpfc/lpfc_debugfs.c ptr += 8; ptr 729 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t *ptr; ptr 738 drivers/scsi/lpfc/lpfc_debugfs.c ptr = (uint32_t *)phba->slim2p.virt; ptr 743 drivers/scsi/lpfc/lpfc_debugfs.c off, *ptr, *(ptr+1), *(ptr+2), *(ptr+3), *(ptr+4), ptr 744 drivers/scsi/lpfc/lpfc_debugfs.c *(ptr+5), *(ptr+6), *(ptr+7)); ptr 745 drivers/scsi/lpfc/lpfc_debugfs.c ptr += 8; ptr 751 drivers/scsi/lpfc/lpfc_debugfs.c ptr = (uint32_t *)phba->pcb; ptr 756 drivers/scsi/lpfc/lpfc_debugfs.c off, *ptr, *(ptr+1), *(ptr+2), *(ptr+3), *(ptr+4), ptr 757 drivers/scsi/lpfc/lpfc_debugfs.c *(ptr+5), *(ptr+6), *(ptr+7)); ptr 758 drivers/scsi/lpfc/lpfc_debugfs.c ptr += 8; ptr 46 drivers/scsi/lpfc/lpfc_hw4.h #define bf_get_be32(name, ptr) \ ptr 47 drivers/scsi/lpfc/lpfc_hw4.h ((be32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) ptr 48 drivers/scsi/lpfc/lpfc_hw4.h #define bf_get_le32(name, ptr) \ ptr 49 drivers/scsi/lpfc/lpfc_hw4.h ((le32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) ptr 50 drivers/scsi/lpfc/lpfc_hw4.h #define bf_get(name, ptr) \ ptr 51 drivers/scsi/lpfc/lpfc_hw4.h (((ptr)->name##_WORD >> name##_SHIFT) & name##_MASK) ptr 52 drivers/scsi/lpfc/lpfc_hw4.h #define bf_set_le32(name, ptr, value) \ ptr 53 drivers/scsi/lpfc/lpfc_hw4.h ((ptr)->name##_WORD = cpu_to_le32(((((value) & \ ptr 54 drivers/scsi/lpfc/lpfc_hw4.h name##_MASK) << name##_SHIFT) | (le32_to_cpu((ptr)->name##_WORD) & \ ptr 56 drivers/scsi/lpfc/lpfc_hw4.h #define bf_set(name, ptr, value) \ ptr 57 drivers/scsi/lpfc/lpfc_hw4.h ((ptr)->name##_WORD = ((((value) & name##_MASK) << name##_SHIFT) | \ ptr 58 drivers/scsi/lpfc/lpfc_hw4.h ((ptr)->name##_WORD & ~(name##_MASK << name##_SHIFT)))) ptr 7722 drivers/scsi/lpfc/lpfc_init.c void *ptr; ptr 7782 drivers/scsi/lpfc/lpfc_init.c ptr = phba->hbqslimp.virt; ptr 7784 drivers/scsi/lpfc/lpfc_init.c phba->hbqs[i].hbq_virt = ptr; ptr 7786 drivers/scsi/lpfc/lpfc_init.c ptr += (lpfc_hbq_defs[i]->entry_count * ptr 175 drivers/scsi/lpfc/lpfc_nportdisc.c void *ptr = NULL; ptr 189 drivers/scsi/lpfc/lpfc_nportdisc.c ptr = (void *)((uint8_t *)lp + sizeof(uint32_t)); ptr 197 drivers/scsi/lpfc/lpfc_nportdisc.c ptr = NULL; ptr 199 drivers/scsi/lpfc/lpfc_nportdisc.c return ptr; ptr 974 drivers/scsi/lpfc/lpfc_nvme.c uint32_t *ptr; ptr 1053 drivers/scsi/lpfc/lpfc_nvme.c ptr = (uint32_t *)&ep->cqe.result.u64; ptr 1054 drivers/scsi/lpfc/lpfc_nvme.c *ptr++ = wcqe->total_data_placed; ptr 1056 drivers/scsi/lpfc/lpfc_nvme.c *ptr = (uint32_t)data; ptr 4089 drivers/scsi/lpfc/lpfc_scsi.c uint8_t *ptr; ptr 4103 drivers/scsi/lpfc/lpfc_scsi.c ptr = &fcp_cmnd->fcpCdb[0]; ptr 4104 drivers/scsi/lpfc/lpfc_scsi.c memcpy(ptr, scsi_cmnd->cmnd, scsi_cmnd->cmd_len); ptr 4106 drivers/scsi/lpfc/lpfc_scsi.c ptr += scsi_cmnd->cmd_len; ptr 4107 drivers/scsi/lpfc/lpfc_scsi.c memset(ptr, 0, (LPFC_FCP_CDB_LEN - scsi_cmnd->cmd_len)); ptr 4328 drivers/scsi/lpfc/lpfc_scsi.c struct pci_dev *ptr = NULL; ptr 4332 drivers/scsi/lpfc/lpfc_scsi.c list_for_each_entry(ptr, &pdev->bus->devices, bus_list) { ptr 4334 drivers/scsi/lpfc/lpfc_scsi.c if (ptr->vendor != PCI_VENDOR_ID_EMULEX) { ptr 4337 drivers/scsi/lpfc/lpfc_scsi.c "0x%04x\n", ptr->vendor); ptr 4342 drivers/scsi/lpfc/lpfc_scsi.c switch (ptr->device) { ptr 4350 drivers/scsi/lpfc/lpfc_scsi.c "0x%04x\n", ptr->device); ptr 4357 drivers/scsi/lpfc/lpfc_scsi.c if (ptr->devfn == 0) { ptr 9498 drivers/scsi/lpfc/lpfc_sli.c uint32_t *ptr; ptr 9517 drivers/scsi/lpfc/lpfc_sli.c ptr = &wqe->words[22]; ptr 9518 drivers/scsi/lpfc/lpfc_sli.c memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); ptr 9562 drivers/scsi/lpfc/lpfc_sli.c uint32_t *ptr; ptr 9581 drivers/scsi/lpfc/lpfc_sli.c ptr = &wqe->words[22]; ptr 9582 drivers/scsi/lpfc/lpfc_sli.c memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); ptr 9619 drivers/scsi/lpfc/lpfc_sli.c uint32_t *ptr; ptr 9638 drivers/scsi/lpfc/lpfc_sli.c ptr = &wqe->words[22]; ptr 9639 drivers/scsi/lpfc/lpfc_sli.c memcpy(ptr, fcp_cmnd, sizeof(struct fcp_cmnd)); ptr 1735 drivers/scsi/megaraid/megaraid_sas_base.c scmd->SCp.ptr = (char *)cmd; ptr 2939 drivers/scsi/megaraid/megaraid_sas_base.c cmd = (struct megasas_cmd_fusion *)scmd->SCp.ptr; ptr 3483 drivers/scsi/megaraid/megaraid_sas_base.c cmd->scmd->SCp.ptr = NULL; ptr 8377 drivers/scsi/megaraid/megaraid_sas_base.c compat_uptr_t ptr; ptr 8411 drivers/scsi/megaraid/megaraid_sas_base.c if (get_user(ptr, sense_cioc_ptr) || ptr 8412 drivers/scsi/megaraid/megaraid_sas_base.c put_user(compat_ptr(ptr), sense_ioc_ptr)) ptr 8417 drivers/scsi/megaraid/megaraid_sas_base.c if (get_user(ptr, &cioc->sgl[i].iov_base) || ptr 8418 drivers/scsi/megaraid/megaraid_sas_base.c put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) || ptr 3305 drivers/scsi/megaraid/megaraid_sas_fusion.c scp->SCp.ptr = (char *)cmd; ptr 3500 drivers/scsi/megaraid/megaraid_sas_fusion.c scmd_local->SCp.ptr = NULL; ptr 3597 drivers/scsi/megaraid/megaraid_sas_fusion.c scmd_local->SCp.ptr = NULL; ptr 36 drivers/scsi/mvme147.c unsigned long addr = virt_to_bus(cmd->SCp.ptr); ptr 818 drivers/scsi/mvumi.c unsigned char *ptr; ptr 821 drivers/scsi/mvumi.c ptr = (unsigned char *) p_header->frame_content; ptr 823 drivers/scsi/mvumi.c ret ^= *ptr; ptr 824 drivers/scsi/mvumi.c ptr++; ptr 1304 drivers/scsi/mvumi.c cmd->scmd->SCp.ptr = NULL; ptr 1354 drivers/scsi/mvumi.c struct mvumi_driver_event *ptr) ptr 1360 drivers/scsi/mvumi.c ptr->sequence_no, ptr->event_id, ptr->severity, ptr->device_id); ptr 1361 drivers/scsi/mvumi.c if (ptr->param_count) { ptr 1363 drivers/scsi/mvumi.c ptr->param_count); ptr 1364 drivers/scsi/mvumi.c for (i = 0; i < ptr->param_count; i++) ptr 1365 drivers/scsi/mvumi.c printk(KERN_WARNING "0x%x ", ptr->params[i]); ptr 1370 drivers/scsi/mvumi.c if (ptr->sense_data_length) { ptr 1372 drivers/scsi/mvumi.c ptr->sense_data_length); ptr 1373 drivers/scsi/mvumi.c for (i = 0; i < ptr->sense_data_length; i++) ptr 1374 drivers/scsi/mvumi.c printk(KERN_WARNING "0x%x ", ptr->sense_data[i]); ptr 2103 drivers/scsi/mvumi.c scmd->SCp.ptr = (char *) cmd; ptr 2117 drivers/scsi/mvumi.c struct mvumi_cmd *cmd = (struct mvumi_cmd *) scmd->SCp.ptr; ptr 2134 drivers/scsi/mvumi.c scmd->SCp.ptr = NULL; ptr 265 drivers/scsi/ncr53c8xx.c static void ___m_free(m_pool_s *mp, void *ptr, int size) ptr 274 drivers/scsi/ncr53c8xx.c printk("___m_free(%p, %d)\n", ptr, size); ptr 285 drivers/scsi/ncr53c8xx.c a = (m_addr_t) ptr; ptr 332 drivers/scsi/ncr53c8xx.c static void __m_free(m_pool_s *mp, void *ptr, int size, char *name) ptr 335 drivers/scsi/ncr53c8xx.c printk ("freeing %-10s[%4d] @%p.\n", name, size, ptr); ptr 337 drivers/scsi/ncr53c8xx.c ___m_free(mp, ptr, size); ptr 942 drivers/scsi/nsp32.c SCpnt->SCp.ptr = (char *)scsi_sglist(SCpnt); ptr 57 drivers/scsi/nsp32_io.h volatile unsigned char *ptr; ptr 59 drivers/scsi/nsp32_io.h ptr = (unsigned char *)(base + NSP32_MMIO_OFFSET + index); ptr 61 drivers/scsi/nsp32_io.h writeb(val, ptr); ptr 67 drivers/scsi/nsp32_io.h volatile unsigned char *ptr; ptr 69 drivers/scsi/nsp32_io.h ptr = (unsigned char *)(base + NSP32_MMIO_OFFSET + index); ptr 71 drivers/scsi/nsp32_io.h return readb(ptr); ptr 78 drivers/scsi/nsp32_io.h volatile unsigned short *ptr; ptr 80 drivers/scsi/nsp32_io.h ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + index); ptr 82 drivers/scsi/nsp32_io.h writew(cpu_to_le16(val), ptr); ptr 88 drivers/scsi/nsp32_io.h volatile unsigned short *ptr; ptr 90 drivers/scsi/nsp32_io.h ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + index); ptr 92 drivers/scsi/nsp32_io.h return le16_to_cpu(readw(ptr)); ptr 99 drivers/scsi/nsp32_io.h volatile unsigned long *ptr; ptr 101 drivers/scsi/nsp32_io.h ptr = (unsigned long *)(base + NSP32_MMIO_OFFSET + index); ptr 103 drivers/scsi/nsp32_io.h writel(cpu_to_le32(val), ptr); ptr 109 drivers/scsi/nsp32_io.h volatile unsigned long *ptr; ptr 111 drivers/scsi/nsp32_io.h ptr = (unsigned long *)(base + NSP32_MMIO_OFFSET + index); ptr 113 drivers/scsi/nsp32_io.h return le32_to_cpu(readl(ptr)); ptr 241 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr = BUFFER_ADDR; ptr 245 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr = NULL; ptr 585 drivers/scsi/pcmcia/nsp_cs.c int ptr; ptr 589 drivers/scsi/pcmcia/nsp_cs.c for (ptr = 0; len > 0; len--, ptr++) { ptr 605 drivers/scsi/pcmcia/nsp_cs.c buf[ptr] = nsp_index_read(base, SCSIDATAWITHACK); ptr 608 drivers/scsi/pcmcia/nsp_cs.c nsp_index_write(base, SCSIDATAWITHACK, buf[ptr]); ptr 729 drivers/scsi/pcmcia/nsp_cs.c SCpnt, scsi_get_resid(SCpnt), ocount, SCpnt->SCp.ptr, ptr 765 drivers/scsi/pcmcia/nsp_cs.c nsp_fifo32_read(base, SCpnt->SCp.ptr, res >> 2); ptr 768 drivers/scsi/pcmcia/nsp_cs.c nsp_fifo8_read (base, SCpnt->SCp.ptr, res ); ptr 773 drivers/scsi/pcmcia/nsp_cs.c nsp_mmio_fifo32_read(mmio_base, SCpnt->SCp.ptr, res >> 2); ptr 782 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr += res; ptr 793 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr = BUFFER_ADDR; ptr 828 drivers/scsi/pcmcia/nsp_cs.c data->FifoCount, SCpnt->SCp.ptr, SCpnt->SCp.this_residual, ptr 845 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr -= res; ptr 864 drivers/scsi/pcmcia/nsp_cs.c nsp_fifo32_write(base, SCpnt->SCp.ptr, res >> 2); ptr 867 drivers/scsi/pcmcia/nsp_cs.c nsp_fifo8_write (base, SCpnt->SCp.ptr, res ); ptr 872 drivers/scsi/pcmcia/nsp_cs.c nsp_mmio_fifo32_write(mmio_base, SCpnt->SCp.ptr, res >> 2); ptr 881 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr += res; ptr 891 drivers/scsi/pcmcia/nsp_cs.c SCpnt->SCp.ptr = BUFFER_ADDR; ptr 336 drivers/scsi/pcmcia/nsp_cs.h # define show_command(ptr) /* */ ptr 182 drivers/scsi/pcmcia/nsp_io.h unsigned char *ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + index); ptr 184 drivers/scsi/pcmcia/nsp_io.h writeb(val, ptr); ptr 190 drivers/scsi/pcmcia/nsp_io.h unsigned char *ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + index); ptr 192 drivers/scsi/pcmcia/nsp_io.h return readb(ptr); ptr 224 drivers/scsi/pcmcia/nsp_io.h unsigned long *ptr = (unsigned long *)(base + Register); ptr 231 drivers/scsi/pcmcia/nsp_io.h *tmp = readl(ptr); ptr 250 drivers/scsi/pcmcia/nsp_io.h unsigned long *ptr = (unsigned long *)(base + Register); ptr 257 drivers/scsi/pcmcia/nsp_io.h writel(*tmp, ptr); ptr 579 drivers/scsi/ppa.c status = ppa_out(dev, cmd->SCp.ptr, fast); ptr 581 drivers/scsi/ppa.c status = ppa_in(dev, cmd->SCp.ptr, fast); ptr 583 drivers/scsi/ppa.c cmd->SCp.ptr += fast; ptr 596 drivers/scsi/ppa.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 744 drivers/scsi/ppa.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 748 drivers/scsi/ppa.c cmd->SCp.ptr = NULL; ptr 869 drivers/scsi/qedf/qedf_io.c sc_cmd->SCp.ptr = (char *)io_req; ptr 1162 drivers/scsi/qedf/qedf_io.c if (!sc_cmd->SCp.ptr) { ptr 1308 drivers/scsi/qedf/qedf_io.c sc_cmd->SCp.ptr = NULL; ptr 1352 drivers/scsi/qedf/qedf_io.c if (!sc_cmd->SCp.ptr) { ptr 1414 drivers/scsi/qedf/qedf_io.c sc_cmd->SCp.ptr = NULL; ptr 2418 drivers/scsi/qedf/qedf_io.c if (sc_cmd->SCp.ptr) { ptr 2419 drivers/scsi/qedf/qedf_io.c io_req = (struct qedf_ioreq *)sc_cmd->SCp.ptr; ptr 676 drivers/scsi/qedf/qedf_main.c io_req = (struct qedf_ioreq *)sc_cmd->SCp.ptr; ptr 314 drivers/scsi/qedi/qedi_fw.c char *ptr, int len) ptr 341 drivers/scsi/qedi/qedi_fw.c memcpy(ptr, (void *)qedi->bdq[idx].buf_addr, len); ptr 601 drivers/scsi/qedi/qedi_fw.c if (!sc_cmd->SCp.ptr) { ptr 4049 drivers/scsi/qla1280.c char *cp, *ptr; ptr 4055 drivers/scsi/qla1280.c while (cp && (ptr = strchr(cp, ':'))) { ptr 4056 drivers/scsi/qla1280.c ptr++; ptr 4057 drivers/scsi/qla1280.c if (!strcmp(ptr, "yes")) { ptr 4059 drivers/scsi/qla1280.c ptr += 3; ptr 4060 drivers/scsi/qla1280.c } else if (!strcmp(ptr, "no")) { ptr 4062 drivers/scsi/qla1280.c ptr += 2; ptr 4064 drivers/scsi/qla1280.c val = simple_strtoul(ptr, &ptr, 0); ptr 4097 drivers/scsi/qla1280.c cp = strchr(ptr, ';'); ptr 94 drivers/scsi/qla2xxx/qla_dbg.c qla2xxx_copy_queues(struct qla_hw_data *ha, void *ptr) ptr 99 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, req->ring, req->length * ptr 103 drivers/scsi/qla2xxx/qla_dbg.c ptr += req->length * sizeof(request_t); ptr 104 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, rsp->ring, rsp->length * ptr 107 drivers/scsi/qla2xxx/qla_dbg.c return ptr + (rsp->length * sizeof(response_t)); ptr 463 drivers/scsi/qla2xxx/qla_dbg.c qla24xx_copy_eft(struct qla_hw_data *ha, void *ptr) ptr 466 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 468 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, ha->eft, ntohl(ha->fw_dump->eft_size)); ptr 469 drivers/scsi/qla2xxx/qla_dbg.c return ptr + ntohl(ha->fw_dump->eft_size); ptr 473 drivers/scsi/qla2xxx/qla_dbg.c qla25xx_copy_fce(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) ptr 477 drivers/scsi/qla2xxx/qla_dbg.c struct qla2xxx_fce_chain *fcec = ptr; ptr 480 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 500 drivers/scsi/qla2xxx/qla_dbg.c qla25xx_copy_exlogin(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) ptr 502 drivers/scsi/qla2xxx/qla_dbg.c struct qla2xxx_offld_chain *c = ptr; ptr 505 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 515 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_offld_chain); ptr 516 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, ha->exlogin_buf, ha->exlogin_size); ptr 518 drivers/scsi/qla2xxx/qla_dbg.c return (char *)ptr + cpu_to_be32(c->size); ptr 522 drivers/scsi/qla2xxx/qla_dbg.c qla81xx_copy_exchoffld(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) ptr 524 drivers/scsi/qla2xxx/qla_dbg.c struct qla2xxx_offld_chain *c = ptr; ptr 527 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 537 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_offld_chain); ptr 538 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, ha->exchoffld_buf, ha->exchoffld_size); ptr 540 drivers/scsi/qla2xxx/qla_dbg.c return (char *)ptr + cpu_to_be32(c->size); ptr 544 drivers/scsi/qla2xxx/qla_dbg.c qla2xxx_copy_atioqueues(struct qla_hw_data *ha, void *ptr, ptr 557 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 566 drivers/scsi/qla2xxx/qla_dbg.c q = ptr; ptr 573 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_mqueue_chain); ptr 576 drivers/scsi/qla2xxx/qla_dbg.c qh = ptr; ptr 580 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_mqueue_header); ptr 583 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, aqp->ring, aqp->length * sizeof(request_t)); ptr 585 drivers/scsi/qla2xxx/qla_dbg.c ptr += aqp->length * sizeof(request_t); ptr 588 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 592 drivers/scsi/qla2xxx/qla_dbg.c qla25xx_copy_mqueues(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) ptr 601 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 610 drivers/scsi/qla2xxx/qla_dbg.c q = ptr; ptr 617 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_mqueue_chain); ptr 620 drivers/scsi/qla2xxx/qla_dbg.c qh = ptr; ptr 624 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_mqueue_header); ptr 627 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, req->ring, req->length * sizeof(request_t)); ptr 628 drivers/scsi/qla2xxx/qla_dbg.c ptr += req->length * sizeof(request_t); ptr 638 drivers/scsi/qla2xxx/qla_dbg.c q = ptr; ptr 645 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_mqueue_chain); ptr 648 drivers/scsi/qla2xxx/qla_dbg.c qh = ptr; ptr 652 drivers/scsi/qla2xxx/qla_dbg.c ptr += sizeof(struct qla2xxx_mqueue_header); ptr 655 drivers/scsi/qla2xxx/qla_dbg.c memcpy(ptr, rsp->ring, rsp->length * sizeof(response_t)); ptr 656 drivers/scsi/qla2xxx/qla_dbg.c ptr += rsp->length * sizeof(response_t); ptr 659 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 663 drivers/scsi/qla2xxx/qla_dbg.c qla25xx_copy_mq(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) ptr 667 drivers/scsi/qla2xxx/qla_dbg.c struct qla2xxx_mq_chain *mq = ptr; ptr 672 drivers/scsi/qla2xxx/qla_dbg.c return ptr; ptr 674 drivers/scsi/qla2xxx/qla_dbg.c mq = ptr; ptr 695 drivers/scsi/qla2xxx/qla_dbg.c return ptr + sizeof(struct qla2xxx_mq_chain); ptr 645 drivers/scsi/qla2xxx/qla_def.h #define SET_CMD_SENSE_PTR(sp, ptr) \ ptr 646 drivers/scsi/qla2xxx/qla_def.h (sp->u.scmd.request_sense_ptr = ptr) ptr 4718 drivers/scsi/qla2xxx/qla_def.h #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) ptr 3442 drivers/scsi/qla2xxx/qla_init.c strcat(ptr, "|");\ ptr 3443 drivers/scsi/qla2xxx/qla_init.c ptr++;\ ptr 3446 drivers/scsi/qla2xxx/qla_init.c len = snprintf(ptr, leftover, "%s", _str); \ ptr 3449 drivers/scsi/qla2xxx/qla_init.c ptr += len; \ ptr 3457 drivers/scsi/qla2xxx/qla_init.c u8 str[STR_LEN], *ptr, p; ptr 3472 drivers/scsi/qla2xxx/qla_init.c ptr = str; ptr 3487 drivers/scsi/qla2xxx/qla_init.c ptr = str; ptr 3499 drivers/scsi/qla2xxx/qla_init.c ptr = str; ptr 4494 drivers/scsi/qla2xxx/qla_init.c uint8_t *ptr = ha->nvram; ptr 4507 drivers/scsi/qla2xxx/qla_init.c ha->isp_ops->read_nvram(vha, ptr, ha->nvram_base, ha->nvram_size); ptr 4509 drivers/scsi/qla2xxx/qla_init.c chksum += *ptr++; ptr 2794 drivers/scsi/qla2xxx/qla_iocb.c void *ptr, *resp_ptr; ptr 2823 drivers/scsi/qla2xxx/qla_iocb.c ptr = elsio->u.els_plogi.els_plogi_pyld = ptr 2841 drivers/scsi/qla2xxx/qla_iocb.c ql_dbg(ql_dbg_io, vha, 0x3073, "PLOGI %p %p\n", ptr, resp_ptr); ptr 2843 drivers/scsi/qla2xxx/qla_iocb.c memset(ptr, 0, sizeof(struct els_plogi_payload)); ptr 220 drivers/scsi/qla4xxx/ql4_def.h #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) ptr 624 drivers/scsi/scsi_transport_spi.c u8 *ptr, const int retries) ptr 626 drivers/scsi/scsi_transport_spi.c int len = ptr - buffer; ptr 695 drivers/scsi/scsi_transport_spi.c memset(ptr, 0, len); ptr 697 drivers/scsi/scsi_transport_spi.c ptr, len, NULL); ptr 700 drivers/scsi/scsi_transport_spi.c if (memcmp(buffer, ptr, len) != 0) ptr 710 drivers/scsi/scsi_transport_spi.c u8 *ptr, const int retries) ptr 719 drivers/scsi/scsi_transport_spi.c memset(ptr, 0, len); ptr 722 drivers/scsi/scsi_transport_spi.c ptr, len, NULL); ptr 731 drivers/scsi/scsi_transport_spi.c if (ptr == buffer) { ptr 732 drivers/scsi/scsi_transport_spi.c ptr += len; ptr 737 drivers/scsi/scsi_transport_spi.c if (memcmp(buffer, ptr, len) != 0) ptr 745 drivers/scsi/scsi_transport_spi.c spi_dv_retrain(struct scsi_device *sdev, u8 *buffer, u8 *ptr, ptr 757 drivers/scsi/scsi_transport_spi.c retval = compare_fn(sdev, buffer, ptr, DV_LOOPS); ptr 1269 drivers/scsi/scsi_transport_spi.c int ptr = (msg[msb] << 24) | (msg[msb+1] << 16) | (msg[msb+2] << 8) | ptr 1271 drivers/scsi/scsi_transport_spi.c printk("%s = %d ", desc, ptr); ptr 69 drivers/scsi/sgiwd93.c void *addr = cmd->SCp.ptr; ptr 119 drivers/scsi/sgiwd93.c if (cmd->SCp.ptr == NULL || cmd->SCp.this_residual == 0) ptr 145 drivers/scsi/sgiwd93.c if (SCpnt->SCp.ptr == NULL || SCpnt->SCp.this_residual == 0) ptr 978 drivers/scsi/sym53c8xx_2/sym_glue.c static int sym_skip_spaces(char *ptr, int len) ptr 982 drivers/scsi/sym53c8xx_2/sym_glue.c for (cnt = len; cnt > 0 && (c = *ptr++) && isspace(c); cnt--); ptr 987 drivers/scsi/sym53c8xx_2/sym_glue.c static int get_int_arg(char *ptr, int len, u_long *pv) ptr 991 drivers/scsi/sym53c8xx_2/sym_glue.c *pv = simple_strtoul(ptr, &end, 10); ptr 992 drivers/scsi/sym53c8xx_2/sym_glue.c return (end - ptr); ptr 995 drivers/scsi/sym53c8xx_2/sym_glue.c static int is_keyword(char *ptr, int len, char *verb) ptr 999 drivers/scsi/sym53c8xx_2/sym_glue.c if (len >= verb_len && !memcmp(verb, ptr, verb_len)) ptr 1005 drivers/scsi/sym53c8xx_2/sym_glue.c #define SKIP_SPACES(ptr, len) \ ptr 1006 drivers/scsi/sym53c8xx_2/sym_glue.c if ((arg_len = sym_skip_spaces(ptr, len)) < 1) \ ptr 1008 drivers/scsi/sym53c8xx_2/sym_glue.c ptr += arg_len; len -= arg_len; ptr 1010 drivers/scsi/sym53c8xx_2/sym_glue.c #define GET_INT_ARG(ptr, len, v) \ ptr 1011 drivers/scsi/sym53c8xx_2/sym_glue.c if (!(arg_len = get_int_arg(ptr, len, &(v)))) \ ptr 1013 drivers/scsi/sym53c8xx_2/sym_glue.c ptr += arg_len; len -= arg_len; ptr 1023 drivers/scsi/sym53c8xx_2/sym_glue.c char *ptr = buffer; ptr 1031 drivers/scsi/sym53c8xx_2/sym_glue.c if (len > 0 && ptr[len-1] == '\n') ptr 1034 drivers/scsi/sym53c8xx_2/sym_glue.c if ((arg_len = is_keyword(ptr, len, "setsync")) != 0) ptr 1036 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "settags")) != 0) ptr 1038 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "setverbose")) != 0) ptr 1040 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "setwide")) != 0) ptr 1043 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "setdebug")) != 0) ptr 1046 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "setflag")) != 0) ptr 1048 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "resetdev")) != 0) ptr 1050 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "cleardev")) != 0) ptr 1061 drivers/scsi/sym53c8xx_2/sym_glue.c ptr += arg_len; len -= arg_len; ptr 1070 drivers/scsi/sym53c8xx_2/sym_glue.c SKIP_SPACES(ptr, len); ptr 1071 drivers/scsi/sym53c8xx_2/sym_glue.c if ((arg_len = is_keyword(ptr, len, "all")) != 0) { ptr 1072 drivers/scsi/sym53c8xx_2/sym_glue.c ptr += arg_len; len -= arg_len; ptr 1075 drivers/scsi/sym53c8xx_2/sym_glue.c GET_INT_ARG(ptr, len, target); ptr 1089 drivers/scsi/sym53c8xx_2/sym_glue.c SKIP_SPACES(ptr, len); ptr 1090 drivers/scsi/sym53c8xx_2/sym_glue.c GET_INT_ARG(ptr, len, uc->data); ptr 1098 drivers/scsi/sym53c8xx_2/sym_glue.c SKIP_SPACES(ptr, len); ptr 1099 drivers/scsi/sym53c8xx_2/sym_glue.c if ((arg_len = is_keyword(ptr, len, "alloc"))) ptr 1101 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "phase"))) ptr 1103 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "queue"))) ptr 1105 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "result"))) ptr 1107 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "scatter"))) ptr 1109 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "script"))) ptr 1111 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "tiny"))) ptr 1113 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "timing"))) ptr 1115 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "nego"))) ptr 1117 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "tags"))) ptr 1119 drivers/scsi/sym53c8xx_2/sym_glue.c else if ((arg_len = is_keyword(ptr, len, "pointer"))) ptr 1123 drivers/scsi/sym53c8xx_2/sym_glue.c ptr += arg_len; len -= arg_len; ptr 1132 drivers/scsi/sym53c8xx_2/sym_glue.c SKIP_SPACES(ptr, len); ptr 1133 drivers/scsi/sym53c8xx_2/sym_glue.c if ((arg_len = is_keyword(ptr, len, "no_disc"))) ptr 1137 drivers/scsi/sym53c8xx_2/sym_glue.c ptr += arg_len; len -= arg_len; ptr 93 drivers/scsi/sym53c8xx_2/sym_malloc.c static void ___sym_mfree(m_pool_p mp, void *ptr, int size) ptr 102 drivers/scsi/sym53c8xx_2/sym_malloc.c printf("___sym_mfree(%p, %d)\n", ptr, size); ptr 113 drivers/scsi/sym53c8xx_2/sym_malloc.c a = (unsigned long)ptr; ptr 166 drivers/scsi/sym53c8xx_2/sym_malloc.c static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) ptr 169 drivers/scsi/sym53c8xx_2/sym_malloc.c printf ("freeing %-10s[%4d] @%p.\n", name, size, ptr); ptr 171 drivers/scsi/sym53c8xx_2/sym_malloc.c ___sym_mfree(mp, ptr, size); ptr 38 drivers/scsi/sym53c8xx_2/sym_misc.h #define sym_que_init(ptr) do { \ ptr 39 drivers/scsi/sym53c8xx_2/sym_misc.h (ptr)->flink = (ptr); (ptr)->blink = (ptr); \ ptr 111 drivers/scsi/sym53c8xx_2/sym_misc.h #define sym_que_entry(ptr, type, member) container_of(ptr, type, member) ptr 250 drivers/scsi/vmw_pvscsi.c const u32 *ptr = desc; ptr 253 drivers/scsi/vmw_pvscsi.c len /= sizeof(*ptr); ptr 257 drivers/scsi/vmw_pvscsi.c PVSCSI_REG_OFFSET_COMMAND_DATA, ptr[i]); ptr 404 drivers/scsi/wd33c93.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 409 drivers/scsi/wd33c93.c cmd->SCp.ptr = NULL; ptr 741 drivers/scsi/wd33c93.c cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); ptr 757 drivers/scsi/wd33c93.c transfer_pio(regs, (uchar *) cmd->SCp.ptr, ptr 761 drivers/scsi/wd33c93.c cmd->SCp.ptr += (length - cmd->SCp.this_residual); ptr 834 drivers/scsi/wd33c93.c printk("[%p/%d:", cmd->SCp.ptr, cmd->SCp.this_residual)) ptr 839 drivers/scsi/wd33c93.c cmd->SCp.ptr += (length - cmd->SCp.this_residual); ptr 841 drivers/scsi/wd33c93.c printk("%p/%d]", cmd->SCp.ptr, cmd->SCp.this_residual)) ptr 263 drivers/scsi/wd719x.c scb->sg_list[i].ptr = cpu_to_le32(sg_dma_address(sg)); ptr 8 drivers/scsi/wd719x.h __le32 ptr; ptr 78 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 79 drivers/sh/intc/access.c return intc_get_field_from_handle(__raw_readb(ptr), h); ptr 85 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 86 drivers/sh/intc/access.c return intc_get_field_from_handle(__raw_readw(ptr), h); ptr 92 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 93 drivers/sh/intc/access.c return intc_get_field_from_handle(__raw_readl(ptr), h); ptr 99 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 100 drivers/sh/intc/access.c __raw_writeb(intc_set_field_from_handle(0, data, h), ptr); ptr 101 drivers/sh/intc/access.c (void)__raw_readb(ptr); /* Defeat write posting */ ptr 108 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 109 drivers/sh/intc/access.c __raw_writew(intc_set_field_from_handle(0, data, h), ptr); ptr 110 drivers/sh/intc/access.c (void)__raw_readw(ptr); /* Defeat write posting */ ptr 117 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 118 drivers/sh/intc/access.c __raw_writel(intc_set_field_from_handle(0, data, h), ptr); ptr 119 drivers/sh/intc/access.c (void)__raw_readl(ptr); /* Defeat write posting */ ptr 126 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 130 drivers/sh/intc/access.c value = intc_set_field_from_handle(__raw_readb(ptr), data, h); ptr 131 drivers/sh/intc/access.c __raw_writeb(value, ptr); ptr 132 drivers/sh/intc/access.c (void)__raw_readb(ptr); /* Defeat write posting */ ptr 140 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 144 drivers/sh/intc/access.c value = intc_set_field_from_handle(__raw_readw(ptr), data, h); ptr 145 drivers/sh/intc/access.c __raw_writew(value, ptr); ptr 146 drivers/sh/intc/access.c (void)__raw_readw(ptr); /* Defeat write posting */ ptr 154 drivers/sh/intc/access.c void __iomem *ptr = (void __iomem *)addr; ptr 158 drivers/sh/intc/access.c value = intc_set_field_from_handle(__raw_readl(ptr), data, h); ptr 159 drivers/sh/intc/access.c __raw_writel(value, ptr); ptr 160 drivers/sh/intc/access.c (void)__raw_readl(ptr); /* Defeat write posting */ ptr 52 drivers/sh/intc/virq.c struct intc_map_entry *ptr; ptr 73 drivers/sh/intc/virq.c ptr = radix_tree_lookup(&d->tree, enum_id); ptr 74 drivers/sh/intc/virq.c if (ptr) { ptr 75 drivers/sh/intc/virq.c irq = ptr - intc_irq_xlate; ptr 255 drivers/soc/fsl/qbman/bman.c static irqreturn_t portal_isr(int irq, void *ptr) ptr 257 drivers/soc/fsl/qbman/bman.c struct bman_portal *p = ptr; ptr 158 drivers/soc/fsl/qbman/bman_ccsr.c static irqreturn_t bman_isr(int irq, void *ptr) ptr 161 drivers/soc/fsl/qbman/bman_ccsr.c struct device *dev = ptr; ptr 1171 drivers/soc/fsl/qbman/qman.c static irqreturn_t portal_isr(int irq, void *ptr) ptr 1173 drivers/soc/fsl/qbman/qman.c struct qman_portal *p = ptr; ptr 346 drivers/soc/fsl/qbman/qman_ccsr.c void *ptr; ptr 372 drivers/soc/fsl/qbman/qman_ccsr.c ptr = memremap(ba, size, MEMREMAP_WB); ptr 373 drivers/soc/fsl/qbman/qman_ccsr.c if (!ptr) { ptr 377 drivers/soc/fsl/qbman/qman_ccsr.c memset(ptr, 0, size); ptr 385 drivers/soc/fsl/qbman/qman_ccsr.c flush_dcache_range((unsigned long) ptr, (unsigned long) ptr+size); ptr 387 drivers/soc/fsl/qbman/qman_ccsr.c memunmap(ptr); ptr 570 drivers/soc/fsl/qbman/qman_ccsr.c static irqreturn_t qman_isr(int irq, void *ptr) ptr 573 drivers/soc/fsl/qbman/qman_ccsr.c struct device *dev = ptr; ptr 147 drivers/soc/qcom/mdt_loader.c void *ptr; ptr 233 drivers/soc/qcom/mdt_loader.c ptr = mem_region + offset; ptr 245 drivers/soc/qcom/mdt_loader.c memcpy(ptr, fw->data + phdr->p_offset, phdr->p_filesz); ptr 250 drivers/soc/qcom/mdt_loader.c ptr, phdr->p_filesz); ptr 260 drivers/soc/qcom/mdt_loader.c memset(ptr + phdr->p_filesz, 0, phdr->p_memsz - phdr->p_filesz); ptr 356 drivers/soc/qcom/rpmh.c void *ptr; ptr 366 drivers/soc/qcom/rpmh.c ptr = kzalloc(sizeof(*req) + ptr 369 drivers/soc/qcom/rpmh.c if (!ptr) ptr 372 drivers/soc/qcom/rpmh.c req = ptr; ptr 373 drivers/soc/qcom/rpmh.c compls = ptr + sizeof(*req) + count * sizeof(*rpm_msgs); ptr 417 drivers/soc/qcom/rpmh.c kfree(ptr); ptr 581 drivers/soc/qcom/smem.c void *ptr = ERR_PTR(-EPROBE_DEFER); ptr 584 drivers/soc/qcom/smem.c return ptr; ptr 598 drivers/soc/qcom/smem.c ptr = qcom_smem_get_private(__smem, phdr, cacheln, item, size); ptr 602 drivers/soc/qcom/smem.c ptr = qcom_smem_get_private(__smem, phdr, cacheln, item, size); ptr 604 drivers/soc/qcom/smem.c ptr = qcom_smem_get_global(__smem, item, size); ptr 609 drivers/soc/qcom/smem.c return ptr; ptr 371 drivers/spi/spi-loopback-test.c #define RANGE_CHECK(ptr, plen, start, slen) \ ptr 372 drivers/spi/spi-loopback-test.c ((ptr >= start) && (ptr + plen <= start + slen)) ptr 377 drivers/spi/spi-loopback-test.c static void spi_test_print_hex_dump(char *pre, const void *ptr, size_t len) ptr 383 drivers/spi/spi-loopback-test.c ptr, len, 0); ptr 389 drivers/spi/spi-loopback-test.c ptr, 512, 0); ptr 395 drivers/spi/spi-loopback-test.c ptr + (len - 512), 512, 0); ptr 621 drivers/spi/spi-loopback-test.c void **ptr, size_t len, ptr 627 drivers/spi/spi-loopback-test.c if (!*ptr) ptr 631 drivers/spi/spi-loopback-test.c if (((size_t)*ptr) & SPI_TEST_MAX_SIZE_HALF) ptr 633 drivers/spi/spi-loopback-test.c *ptr += (SPI_TEST_MAX_SIZE_PLUS / 2) - ptr 639 drivers/spi/spi-loopback-test.c if (RANGE_CHECK(*ptr, len, RX(0), SPI_TEST_MAX_SIZE_PLUS)) { ptr 640 drivers/spi/spi-loopback-test.c off = *ptr - RX(0); ptr 641 drivers/spi/spi-loopback-test.c *ptr = rx + off; ptr 647 drivers/spi/spi-loopback-test.c if (RANGE_CHECK(*ptr, len, TX(0), SPI_TEST_MAX_SIZE_PLUS)) { ptr 648 drivers/spi/spi-loopback-test.c off = *ptr - TX(0); ptr 649 drivers/spi/spi-loopback-test.c *ptr = tx + off; ptr 656 drivers/spi/spi-loopback-test.c *ptr, *ptr + len, ptr 578 drivers/spi/spi-mem.c struct spi_mem_dirmap_desc **ptr, *desc; ptr 580 drivers/spi/spi-mem.c ptr = devres_alloc(devm_spi_mem_dirmap_release, sizeof(*ptr), ptr 582 drivers/spi/spi-mem.c if (!ptr) ptr 587 drivers/spi/spi-mem.c devres_free(ptr); ptr 589 drivers/spi/spi-mem.c *ptr = desc; ptr 590 drivers/spi/spi-mem.c devres_add(dev, ptr); ptr 599 drivers/spi/spi-mem.c struct spi_mem_dirmap_desc **ptr = res; ptr 601 drivers/spi/spi-mem.c if (WARN_ON(!ptr || !*ptr)) ptr 604 drivers/spi/spi-mem.c return *ptr == data; ptr 103 drivers/spi/spi-tle62x0.c int ptr; ptr 114 drivers/spi/spi-tle62x0.c for (ptr = 0; ptr < (st->nr_gpio * 2)/8; ptr += 1) { ptr 116 drivers/spi/spi-tle62x0.c fault |= ((unsigned long)buff[ptr]); ptr 118 drivers/spi/spi-tle62x0.c dev_dbg(dev, "byte %d is %02x\n", ptr, buff[ptr]); ptr 121 drivers/spi/spi-tle62x0.c for (ptr = 0; ptr < st->nr_gpio; ptr++) { ptr 122 drivers/spi/spi-tle62x0.c bp += sprintf(bp, "%s ", decode_fault(fault >> (ptr * 2))); ptr 229 drivers/spi/spi-tle62x0.c int ptr; ptr 231 drivers/spi/spi-tle62x0.c for (ptr = 0; ptr < ARRAY_SIZE(gpio_attrs); ptr++) { ptr 232 drivers/spi/spi-tle62x0.c if (gpio_attrs[ptr] == attr) ptr 233 drivers/spi/spi-tle62x0.c return ptr; ptr 243 drivers/spi/spi-tle62x0.c int ptr; ptr 268 drivers/spi/spi-tle62x0.c for (ptr = 0; ptr < pdata->gpio_count; ptr++) { ptr 269 drivers/spi/spi-tle62x0.c ret = device_create_file(&spi->dev, gpio_attrs[ptr]); ptr 281 drivers/spi/spi-tle62x0.c while (--ptr >= 0) ptr 282 drivers/spi/spi-tle62x0.c device_remove_file(&spi->dev, gpio_attrs[ptr]); ptr 294 drivers/spi/spi-tle62x0.c int ptr; ptr 296 drivers/spi/spi-tle62x0.c for (ptr = 0; ptr < st->nr_gpio; ptr++) ptr 297 drivers/spi/spi-tle62x0.c device_remove_file(&spi->dev, gpio_attrs[ptr]); ptr 2542 drivers/spi/spi.c struct spi_controller **ptr; ptr 2545 drivers/spi/spi.c ptr = devres_alloc(devm_spi_unregister, sizeof(*ptr), GFP_KERNEL); ptr 2546 drivers/spi/spi.c if (!ptr) ptr 2551 drivers/spi/spi.c *ptr = ctlr; ptr 2552 drivers/spi/spi.c devres_add(dev, ptr); ptr 2554 drivers/spi/spi.c devres_free(ptr); ptr 285 drivers/staging/android/ion/ion.c void *ptr) ptr 800 drivers/staging/comedi/drivers/pcl812.c unsigned short *ptr, ptr 807 drivers/staging/comedi/drivers/pcl812.c val = ptr[bufptr++]; ptr 226 drivers/staging/comedi/drivers/pcl816.c unsigned short *ptr, ptr 233 drivers/staging/comedi/drivers/pcl816.c val = ptr[bufptr++]; ptr 480 drivers/staging/comedi/drivers/pcl818.c unsigned short *ptr = desc->virt_addr; ptr 491 drivers/staging/comedi/drivers/pcl818.c val = ptr[i]; ptr 1153 drivers/staging/fsl-dpaa2/ethsw/ethsw.c unsigned long event, void *ptr) ptr 1155 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 1156 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct netdev_notifier_changeupper_info *info = ptr; ptr 1233 drivers/staging/fsl-dpaa2/ethsw/ethsw.c unsigned long event, void *ptr) ptr 1235 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 1237 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct switchdev_notifier_fdb_info *fdb_info = ptr; ptr 1243 drivers/staging/fsl-dpaa2/ethsw/ethsw.c return ethsw_switchdev_port_attr_set_event(dev, ptr); ptr 1256 drivers/staging/fsl-dpaa2/ethsw/ethsw.c memcpy(&switchdev_work->fdb_info, ptr, ptr 1303 drivers/staging/fsl-dpaa2/ethsw/ethsw.c unsigned long event, void *ptr) ptr 1305 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 1313 drivers/staging/fsl-dpaa2/ethsw/ethsw.c return ethsw_switchdev_port_obj_event(event, dev, ptr); ptr 1315 drivers/staging/fsl-dpaa2/ethsw/ethsw.c return ethsw_switchdev_port_attr_set_event(dev, ptr); ptr 106 drivers/staging/fwserial/fwserial.h #define to_peer(ptr, field) (container_of(ptr, struct fwtty_peer, field)) ptr 276 drivers/staging/fwserial/fwserial.h #define to_port(ptr, field) (container_of(ptr, struct fwtty_port, field)) ptr 337 drivers/staging/fwserial/fwserial.h #define to_serial(ptr, field) (container_of(ptr, struct fw_serial, field)) ptr 173 drivers/staging/gdm724x/gdm_lte.c static __sum16 icmp6_checksum(struct ipv6hdr *ipv6, u16 *ptr, int len) ptr 175 drivers/staging/gdm724x/gdm_lte.c unsigned short *w = ptr; ptr 203 drivers/staging/gdm724x/gdm_lte.c w = ptr; ptr 306 drivers/staging/isdn/gigaset/common.c kfree(ev->ptr); ptr 331 drivers/staging/isdn/gigaset/common.c void *ptr, int parameter, void *arg) ptr 350 drivers/staging/isdn/gigaset/common.c event->ptr = ptr; ptr 405 drivers/staging/isdn/gigaset/ev-layer.c void *ptr, int parameter) ptr 419 drivers/staging/isdn/gigaset/ev-layer.c kfree(ptr); ptr 424 drivers/staging/isdn/gigaset/ev-layer.c event->ptr = ptr; ptr 444 drivers/staging/isdn/gigaset/ev-layer.c char *eoc, *psep, *ptr; ptr 460 drivers/staging/isdn/gigaset/ev-layer.c ptr = kstrdup(cs->respdata, GFP_ATOMIC); ptr 461 drivers/staging/isdn/gigaset/ev-layer.c gig_dbg(DEBUG_EVENT, "string==%s", ptr ? ptr : "NULL"); ptr 462 drivers/staging/isdn/gigaset/ev-layer.c add_cid_event(cs, 0, RSP_STRING, ptr, 0); ptr 541 drivers/staging/isdn/gigaset/ev-layer.c ptr = kstrdup(psep, GFP_ATOMIC); ptr 544 drivers/staging/isdn/gigaset/ev-layer.c add_cid_event(cs, cid, rt->resp_code, ptr, 0); ptr 574 drivers/staging/isdn/gigaset/ev-layer.c ptr = kstrdup(eoc, GFP_ATOMIC); ptr 577 drivers/staging/isdn/gigaset/ev-layer.c add_cid_event(cs, cid, rt->resp_code, ptr, 0); ptr 1365 drivers/staging/isdn/gigaset/ev-layer.c if (!ev->ptr) { ptr 1370 drivers/staging/isdn/gigaset/ev-layer.c s = ev->ptr; ptr 1434 drivers/staging/isdn/gigaset/ev-layer.c if (!ev->ptr) { ptr 1439 drivers/staging/isdn/gigaset/ev-layer.c start_dial(at_state, ev->ptr, ev->parameter); ptr 1587 drivers/staging/isdn/gigaset/ev-layer.c at_state->str_var[index] = ev->ptr; ptr 1588 drivers/staging/isdn/gigaset/ev-layer.c ev->ptr = NULL; /* prevent process_events() from ptr 1878 drivers/staging/isdn/gigaset/ev-layer.c kfree(ev->ptr); ptr 1879 drivers/staging/isdn/gigaset/ev-layer.c ev->ptr = NULL; ptr 351 drivers/staging/isdn/gigaset/gigaset.h void *ptr, *arg; ptr 757 drivers/staging/isdn/gigaset/gigaset.h void *ptr, int parameter, void *arg); ptr 497 drivers/staging/kpc2000/kpc2000/cell_probe.c struct list_head *ptr; ptr 500 drivers/staging/kpc2000/kpc2000/cell_probe.c list_for_each_safe(ptr, next, &pcard->uio_devices_list) { ptr 501 drivers/staging/kpc2000/kpc2000/cell_probe.c struct kpc_uio_device *kudev = list_entry(ptr, struct kpc_uio_device, list); ptr 1654 drivers/staging/ks7010/ks_wlan_net.c struct list_head *ptr; ptr 1680 drivers/staging/ks7010/ks_wlan_net.c list_for_each(ptr, &priv->pmklist.head) { ptr 1681 drivers/staging/ks7010/ks_wlan_net.c pmk = list_entry(ptr, struct pmk, list); ptr 1689 drivers/staging/ks7010/ks_wlan_net.c if (ptr != &priv->pmklist.head) ptr 1714 drivers/staging/ks7010/ks_wlan_net.c list_for_each(ptr, &priv->pmklist.head) { ptr 1715 drivers/staging/ks7010/ks_wlan_net.c pmk = list_entry(ptr, struct pmk, list); ptr 1724 drivers/staging/ks7010/ks_wlan_net.c if (ptr == &priv->pmklist.head) ptr 74 drivers/staging/media/ipu3/ipu3-css-fw.h u64 ptr; ptr 98 drivers/staging/most/core.c #define list_pop_mbo(ptr) \ ptr 100 drivers/staging/most/core.c struct mbo *_mbo = list_first_entry(ptr, struct mbo, list); \ ptr 28 drivers/staging/most/i2c/i2c.c #define list_first_mbo(ptr) \ ptr 29 drivers/staging/most/i2c/i2c.c list_first_entry(ptr, struct mbo, list) ptr 1157 drivers/staging/octeon-usb/octeon-hcd.c u32 *ptr; ptr 1177 drivers/staging/octeon-usb/octeon-hcd.c ptr = cvmx_phys_to_ptr(address); ptr 1183 drivers/staging/octeon-usb/octeon-hcd.c *ptr++ = cvmx_usb_read_csr32(usb, ptr 1210 drivers/staging/octeon-usb/octeon-hcd.c const u32 *ptr = cvmx_phys_to_ptr(fifo->entry[i].address); ptr 1233 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint32(csr_address, *ptr++); ptr 1234 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint32(csr_address, *ptr++); ptr 1235 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint32(csr_address, *ptr++); ptr 1240 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint32(csr_address, *ptr++); ptr 1242 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint32(csr_address, *ptr++); ptr 1244 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint32(csr_address, *ptr++); ptr 96 drivers/staging/octeon/ethernet-rx.c u8 *ptr = ptr 101 drivers/staging/octeon/ethernet-rx.c if (*ptr != 0x55) ptr 103 drivers/staging/octeon/ethernet-rx.c ptr++; ptr 107 drivers/staging/octeon/ethernet-rx.c if (*ptr == 0xd5) { ptr 111 drivers/staging/octeon/ethernet-rx.c } else if ((*ptr & 0xf) == 0xd) { ptr 116 drivers/staging/octeon/ethernet-rx.c *ptr = ptr 117 drivers/staging/octeon/ethernet-rx.c ((*ptr & 0xf0) >> 4) | ptr 118 drivers/staging/octeon/ethernet-rx.c ((*(ptr + 1) & 0xf) << 4); ptr 119 drivers/staging/octeon/ethernet-rx.c ptr++; ptr 304 drivers/staging/octeon/ethernet-rx.c u8 *ptr = work->packet_data; ptr 312 drivers/staging/octeon/ethernet-rx.c ptr += 2; ptr 314 drivers/staging/octeon/ethernet-rx.c ptr += 6; ptr 316 drivers/staging/octeon/ethernet-rx.c skb_put_data(skb, ptr, work->word1.len); ptr 352 drivers/staging/octeon/ethernet.c u8 *ptr = dev->dev_addr; ptr 357 drivers/staging/octeon/ethernet.c mac = (mac << 8) | (u64)ptr[i]; ptr 366 drivers/staging/octeon/ethernet.c ptr[0]); ptr 368 drivers/staging/octeon/ethernet.c ptr[1]); ptr 370 drivers/staging/octeon/ethernet.c ptr[2]); ptr 372 drivers/staging/octeon/ethernet.c ptr[3]); ptr 374 drivers/staging/octeon/ethernet.c ptr[4]); ptr 376 drivers/staging/octeon/ethernet.c ptr[5]); ptr 175 drivers/staging/octeon/octeon-stubs.h void *ptr; ptr 1211 drivers/staging/octeon/octeon-stubs.h static inline uint64_t cvmx_ptr_to_phys(void *ptr) ptr 1213 drivers/staging/octeon/octeon-stubs.h return (unsigned long)ptr; ptr 1247 drivers/staging/octeon/octeon-stubs.h static inline void cvmx_fpa_free(void *ptr, uint64_t pool, ptr 2230 drivers/staging/qlge/qlge.h int ql_write_cfg(struct ql_adapter *qdev, void *ptr, int size, u32 bit, ptr 1804 drivers/staging/qlge/qlge_dbg.c void *ptr; ptr 1808 drivers/staging/qlge/qlge_dbg.c ptr = kmalloc(size, GFP_ATOMIC); ptr 1809 drivers/staging/qlge/qlge_dbg.c if (ptr == NULL) ptr 1812 drivers/staging/qlge/qlge_dbg.c if (ql_write_cfg(qdev, ptr, size, bit, q_id)) { ptr 1818 drivers/staging/qlge/qlge_dbg.c ql_dump_wqicb((struct wqicb *)ptr); ptr 1821 drivers/staging/qlge/qlge_dbg.c ql_dump_cqicb((struct cqicb *)ptr); ptr 1824 drivers/staging/qlge/qlge_dbg.c ql_dump_ricb((struct ricb *)ptr); ptr 1831 drivers/staging/qlge/qlge_dbg.c kfree(ptr); ptr 215 drivers/staging/qlge/qlge_main.c int ql_write_cfg(struct ql_adapter *qdev, void *ptr, int size, u32 bit, ptr 228 drivers/staging/qlge/qlge_main.c map = pci_map_single(qdev->pdev, ptr, size, direction); ptr 422 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *psta_addr, *ptr; ptr 437 drivers/staging/rtl8188eu/core/rtw_recv.c ptr = precv_frame->pkt->data; ptr 449 drivers/staging/rtl8188eu/core/rtw_recv.c ptr = ptr + pfhdr->attrib.hdrlen + LLC_HEADER_SIZE + pfhdr->attrib.iv_len; ptr 450 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(&be_tmp, ptr, 2); ptr 526 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *ptr = precv_frame->pkt->data; ptr 533 drivers/staging/rtl8188eu/core/rtw_recv.c pwrbit = GetPwrMgt(ptr); ptr 718 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *ptr = precv_frame->pkt->data; ptr 776 drivers/staging/rtl8188eu/core/rtw_recv.c if (GetFrameSubType(ptr) & BIT(6)) { ptr 811 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *ptr = precv_frame->pkt->data; ptr 835 drivers/staging/rtl8188eu/core/rtw_recv.c if ((GetFrameSubType(ptr) & WIFI_QOS_DATA_TYPE) == WIFI_QOS_DATA_TYPE) ptr 838 drivers/staging/rtl8188eu/core/rtw_recv.c if (GetFrameSubType(ptr) & BIT(6)) { ptr 1035 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *ptr = precv_frame->pkt->data; ptr 1040 drivers/staging/rtl8188eu/core/rtw_recv.c bretry = GetRetry(ptr); ptr 1041 drivers/staging/rtl8188eu/core/rtw_recv.c pda = get_da(ptr); ptr 1042 drivers/staging/rtl8188eu/core/rtw_recv.c psa = get_sa(ptr); ptr 1043 drivers/staging/rtl8188eu/core/rtw_recv.c pbssid = get_hdr_bssid(ptr); ptr 1072 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); ptr 1073 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); ptr 1101 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->priority = GetPriority((ptr + 24)); ptr 1102 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->ack_policy = GetAckpolicy((ptr + 24)); ptr 1103 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->amsdu = GetAMsdu((ptr + 24)); ptr 1157 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *ptr = precv_frame->pkt->data; ptr 1158 drivers/staging/rtl8188eu/core/rtw_recv.c u8 ver = (unsigned char)(*ptr) & 0x3; ptr 1175 drivers/staging/rtl8188eu/core/rtw_recv.c type = GetFrameType(ptr); ptr 1176 drivers/staging/rtl8188eu/core/rtw_recv.c subtype = GetFrameSubType(ptr); /* bit(7)~bit(2) */ ptr 1178 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->to_fr_ds = get_tofr_ds(ptr); ptr 1180 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->frag_num = GetFragNum(ptr); ptr 1181 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->seq_num = GetSequence(ptr); ptr 1183 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->pw_save = GetPwrMgt(ptr); ptr 1184 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->mfrag = GetMFrag(ptr); ptr 1185 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->mdata = GetMData(ptr); ptr 1186 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->privacy = GetPrivacy(ptr); ptr 1187 drivers/staging/rtl8188eu/core/rtw_recv.c pattrib->order = GetOrder(ptr); ptr 1195 drivers/staging/rtl8188eu/core/rtw_recv.c 16, 1, ptr, 64, false); ptr 1202 drivers/staging/rtl8188eu/core/rtw_recv.c 16, 1, ptr, 64, false); ptr 1209 drivers/staging/rtl8188eu/core/rtw_recv.c 16, 1, ptr, 64, false); ptr 1271 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *ptr = precvframe->pkt->data; ptr 1277 drivers/staging/rtl8188eu/core/rtw_recv.c psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); ptr 1278 drivers/staging/rtl8188eu/core/rtw_recv.c psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; ptr 1297 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(&be_tmp, ptr+rmv_len, 2); ptr 1301 drivers/staging/rtl8188eu/core/rtw_recv.c ptr = skb_pull(precvframe->pkt, rmv_len - sizeof(struct ethhdr) + (bsnaphdr ? 2 : 0)); ptr 1302 drivers/staging/rtl8188eu/core/rtw_recv.c if (!ptr) ptr 1305 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(ptr, pattrib->dst, ETH_ALEN); ptr 1306 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(ptr + ETH_ALEN, pattrib->src, ETH_ALEN); ptr 1310 drivers/staging/rtl8188eu/core/rtw_recv.c memcpy(ptr + 12, &be_tmp, 2); ptr 44 drivers/staging/rtl8188eu/hal/rf.c u8 *ptr; ptr 82 drivers/staging/rtl8188eu/hal/rf.c ptr = (u8 *)(&(tx_agc[idx1])); ptr 84 drivers/staging/rtl8188eu/hal/rf.c if (*ptr > RF6052_MAX_TX_PWR) ptr 85 drivers/staging/rtl8188eu/hal/rf.c *ptr = RF6052_MAX_TX_PWR; ptr 86 drivers/staging/rtl8188eu/hal/rf.c ptr++; ptr 93 drivers/staging/rtl8188eu/include/rtw_debug.h u8 *ptr = (u8 *)_hexdata; \ ptr 97 drivers/staging/rtl8188eu/include/rtw_debug.h pr_info("%02X%s", ptr[__i], \ ptr 37 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c struct list_head *ptr, *n; ptr 40 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c for (ptr = ieee->crypt_deinit_list.next, n = ptr->next; ptr 41 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c ptr != &ieee->crypt_deinit_list; ptr = n, n = ptr->next) { ptr 42 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c entry = list_entry(ptr, struct ieee80211_crypt_data, list); ptr 47 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c list_del(ptr); ptr 125 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c struct list_head *ptr; ptr 132 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { ptr 134 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c (struct ieee80211_crypto_alg *)ptr; ptr 156 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c struct list_head *ptr; ptr 163 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { ptr 165 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c (struct ieee80211_crypto_alg *)ptr; ptr 219 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c struct list_head *ptr, *n; ptr 224 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; ptr 225 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c ptr = n, n = ptr->next) { ptr 227 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c (struct ieee80211_crypto_alg *)ptr; ptr 228 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c list_del(ptr); ptr 154 drivers/staging/rtl8712/hal_init.c u8 *tmpchar = NULL, *payload, *ptr; ptr 176 drivers/staging/rtl8712/hal_init.c ptr = (u8 *)mappedfw + FIELD_OFFSET(struct fw_hdr, fwpriv) + ptr 191 drivers/staging/rtl8712/hal_init.c memcpy(payload, ptr, dump_imem_sz); ptr 195 drivers/staging/rtl8712/hal_init.c ptr += dump_imem_sz; ptr 220 drivers/staging/rtl8712/hal_init.c memcpy(payload, ptr, dump_emem_sz); ptr 224 drivers/staging/rtl8712/hal_init.c ptr += dump_emem_sz; ptr 231 drivers/staging/rtl8712/rtl871x_recv.c u8 *psta_addr, *ptr; ptr 240 drivers/staging/rtl8712/rtl871x_recv.c ptr = get_recvframe_data(precv_frame); ptr 247 drivers/staging/rtl8712/rtl871x_recv.c ptr = ptr + pfhdr->attrib.hdrlen + LLC_HEADER_SIZE; ptr 248 drivers/staging/rtl8712/rtl871x_recv.c ether_type = get_unaligned_be16(ptr); ptr 299 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 344 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); ptr 345 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); ptr 346 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); ptr 369 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 380 drivers/staging/rtl8712/rtl871x_recv.c if ((GetFrameSubType(ptr)) == WIFI_DATA_NULL) ptr 385 drivers/staging/rtl8712/rtl871x_recv.c if ((GetFrameSubType(ptr) & WIFI_QOS_DATA_TYPE) == ptr 387 drivers/staging/rtl8712/rtl871x_recv.c if (GetFrameSubType(ptr) & (BIT(4) | BIT(5) | BIT(6))) ptr 411 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); ptr 412 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); ptr 413 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); ptr 469 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 473 drivers/staging/rtl8712/rtl871x_recv.c bretry = GetRetry(ptr); ptr 474 drivers/staging/rtl8712/rtl871x_recv.c pda = get_da(ptr); ptr 475 drivers/staging/rtl8712/rtl871x_recv.c psa = get_sa(ptr); ptr 476 drivers/staging/rtl8712/rtl871x_recv.c pbssid = get_hdr_bssid(ptr); ptr 499 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); ptr 500 drivers/staging/rtl8712/rtl871x_recv.c memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); ptr 513 drivers/staging/rtl8712/rtl871x_recv.c pattrib->priority = GetPriority((ptr + 24)); ptr 514 drivers/staging/rtl8712/rtl871x_recv.c pattrib->ack_policy = GetAckpolicy((ptr + 24)); ptr 515 drivers/staging/rtl8712/rtl871x_recv.c pattrib->amsdu = GetAMsdu((ptr + 24)); ptr 555 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 556 drivers/staging/rtl8712/rtl871x_recv.c u8 ver = (unsigned char)(*ptr) & 0x3; ptr 561 drivers/staging/rtl8712/rtl871x_recv.c type = GetFrameType(ptr); ptr 562 drivers/staging/rtl8712/rtl871x_recv.c subtype = GetFrameSubType(ptr); /*bit(7)~bit(2)*/ ptr 563 drivers/staging/rtl8712/rtl871x_recv.c pattrib->to_fr_ds = get_tofr_ds(ptr); ptr 564 drivers/staging/rtl8712/rtl871x_recv.c pattrib->frag_num = GetFragNum(ptr); ptr 565 drivers/staging/rtl8712/rtl871x_recv.c pattrib->seq_num = GetSequence(ptr); ptr 566 drivers/staging/rtl8712/rtl871x_recv.c pattrib->pw_save = GetPwrMgt(ptr); ptr 567 drivers/staging/rtl8712/rtl871x_recv.c pattrib->mfrag = GetMFrag(ptr); ptr 568 drivers/staging/rtl8712/rtl871x_recv.c pattrib->mdata = GetMData(ptr); ptr 569 drivers/staging/rtl8712/rtl871x_recv.c pattrib->privacy = GetPrivacy(ptr); ptr 570 drivers/staging/rtl8712/rtl871x_recv.c pattrib->order = GetOrder(ptr); ptr 599 drivers/staging/rtl8712/rtl871x_recv.c u8 *ptr = get_recvframe_data(precvframe); /*point to frame_ctrl field*/ ptr 604 drivers/staging/rtl8712/rtl871x_recv.c psnap = (struct ieee80211_snap_hdr *)(ptr + pattrib->hdrlen + ptr 606 drivers/staging/rtl8712/rtl871x_recv.c psnap_type = ptr + pattrib->hdrlen + pattrib->iv_len + SNAP_SIZE; ptr 624 drivers/staging/rtl8712/rtl871x_recv.c ptr += rmv_len; ptr 625 drivers/staging/rtl8712/rtl871x_recv.c *ptr = 0x87; ptr 626 drivers/staging/rtl8712/rtl871x_recv.c *(ptr + 1) = 0x12; ptr 628 drivers/staging/rtl8712/rtl871x_recv.c ptr = recvframe_pull(precvframe, (rmv_len - ptr 630 drivers/staging/rtl8712/rtl871x_recv.c if (!ptr) ptr 632 drivers/staging/rtl8712/rtl871x_recv.c memcpy(ptr, get_rxmem(precvframe), 24); ptr 633 drivers/staging/rtl8712/rtl871x_recv.c ptr += 24; ptr 635 drivers/staging/rtl8712/rtl871x_recv.c ptr = recvframe_pull(precvframe, (rmv_len - ptr 637 drivers/staging/rtl8712/rtl871x_recv.c if (!ptr) ptr 641 drivers/staging/rtl8712/rtl871x_recv.c memcpy(ptr, pattrib->dst, ETH_ALEN); ptr 642 drivers/staging/rtl8712/rtl871x_recv.c memcpy(ptr + ETH_ALEN, pattrib->src, ETH_ALEN); ptr 646 drivers/staging/rtl8712/rtl871x_recv.c memcpy(ptr + 12, &be_tmp, 2); ptr 547 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr; ptr 561 drivers/staging/rtl8723bs/core/rtw_recv.c ptr = get_recvframe_data(precv_frame); ptr 583 drivers/staging/rtl8723bs/core/rtw_recv.c ptr = ptr+pfhdr->attrib.hdrlen+pfhdr->attrib.iv_len+LLC_HEADER_SIZE; ptr 584 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(&be_tmp, ptr, 2); ptr 653 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 660 drivers/staging/rtl8723bs/core/rtw_recv.c pwrbit = GetPwrMgt(ptr); ptr 782 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 845 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); ptr 846 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); ptr 847 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); ptr 881 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 954 drivers/staging/rtl8723bs/core/rtw_recv.c if ((GetFrameSubType(ptr) & WIFI_QOS_DATA_TYPE) == WIFI_QOS_DATA_TYPE) { ptr 957 drivers/staging/rtl8723bs/core/rtw_recv.c if (GetFrameSubType(ptr) & BIT(6)) { ptr 966 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); ptr 967 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); ptr 968 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->bssid, GetAddr3Ptr(ptr), ETH_ALEN); ptr 1030 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 1057 drivers/staging/rtl8723bs/core/rtw_recv.c if ((GetFrameSubType(ptr) & WIFI_QOS_DATA_TYPE) == WIFI_QOS_DATA_TYPE) { ptr 1061 drivers/staging/rtl8723bs/core/rtw_recv.c if (GetFrameSubType(ptr) & BIT(6)) { ptr 1267 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 1272 drivers/staging/rtl8723bs/core/rtw_recv.c bretry = GetRetry(ptr); ptr 1273 drivers/staging/rtl8723bs/core/rtw_recv.c pda = get_da(ptr); ptr 1274 drivers/staging/rtl8723bs/core/rtw_recv.c psa = get_sa(ptr); ptr 1275 drivers/staging/rtl8723bs/core/rtw_recv.c pbssid = get_hdr_bssid(ptr); ptr 1310 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); ptr 1311 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); ptr 1350 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->priority = GetPriority((ptr + 24)); ptr 1351 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->ack_policy = GetAckpolicy((ptr + 24)); ptr 1352 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->amsdu = GetAMsdu((ptr + 24)); ptr 1402 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 1406 drivers/staging/rtl8723bs/core/rtw_recv.c type = GetFrameType(ptr); ptr 1407 drivers/staging/rtl8723bs/core/rtw_recv.c subtype = GetFrameSubType(ptr); /* bit(7)~bit(2) */ ptr 1413 drivers/staging/rtl8723bs/core/rtw_recv.c if (pattrib->privacy && !(IS_MCAST(GetAddr1Ptr(ptr))) && ptr 1417 drivers/staging/rtl8723bs/core/rtw_recv.c ppp = GetAddr2Ptr(ptr); ptr 1424 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); ptr 1425 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); ptr 1435 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(mgmt_DATA, ptr+pattrib->hdrlen+pattrib->iv_len, data_len); ptr 1437 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ptr+pattrib->hdrlen, mgmt_DATA, data_len); ptr 1445 drivers/staging/rtl8723bs/core/rtw_recv.c } else if (IS_MCAST(GetAddr1Ptr(ptr)) && ptr 1462 drivers/staging/rtl8723bs/core/rtw_recv.c if (ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_PUBLIC && ptr 1463 drivers/staging/rtl8723bs/core/rtw_recv.c ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_HT && ptr 1464 drivers/staging/rtl8723bs/core/rtw_recv.c ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_UNPROTECTED_WNM && ptr 1465 drivers/staging/rtl8723bs/core/rtw_recv.c ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_SELF_PROTECTED && ptr 1466 drivers/staging/rtl8723bs/core/rtw_recv.c ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_P2P) { ptr 1467 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_871X("action frame category =%d should robust\n", ptr[WLAN_HDR_A3_LEN]); ptr 1485 drivers/staging/rtl8723bs/core/rtw_recv.c static inline void dump_rx_packet(u8 *ptr) ptr 1491 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_871X("%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:\n", *(ptr+i), ptr 1492 drivers/staging/rtl8723bs/core/rtw_recv.c *(ptr+i+1), *(ptr+i+2), *(ptr+i+3), *(ptr+i+4), *(ptr+i+5), *(ptr+i+6), *(ptr+i+7)); ptr 1510 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = precv_frame->u.hdr.rx_data; ptr 1511 drivers/staging/rtl8723bs/core/rtw_recv.c u8 ver = (unsigned char) (*ptr)&0x3; ptr 1521 drivers/staging/rtl8723bs/core/rtw_recv.c type = GetFrameType(ptr); ptr 1522 drivers/staging/rtl8723bs/core/rtw_recv.c subtype = GetFrameSubType(ptr); /* bit(7)~bit(2) */ ptr 1524 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->to_fr_ds = get_tofr_ds(ptr); ptr 1526 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->frag_num = GetFragNum(ptr); ptr 1527 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->seq_num = GetSequence(ptr); ptr 1529 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->pw_save = GetPwrMgt(ptr); ptr 1530 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->mfrag = GetMFrag(ptr); ptr 1531 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->mdata = GetMData(ptr); ptr 1532 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->privacy = GetPrivacy(ptr); ptr 1533 drivers/staging/rtl8723bs/core/rtw_recv.c pattrib->order = GetOrder(ptr); ptr 1536 drivers/staging/rtl8723bs/core/rtw_recv.c dump_rx_packet(ptr); ptr 1538 drivers/staging/rtl8723bs/core/rtw_recv.c dump_rx_packet(ptr); ptr 1540 drivers/staging/rtl8723bs/core/rtw_recv.c dump_rx_packet(ptr); ptr 1585 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ð_type, ptr + pattrib->hdrlen + pattrib->iv_len + LLC_HEADER_SIZE, 2); ptr 1588 drivers/staging/rtl8723bs/core/rtw_recv.c dump_rx_packet(ptr); ptr 1620 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *ptr = get_recvframe_data(precvframe) ; /* point to frame_ctrl field */ ptr 1627 drivers/staging/rtl8723bs/core/rtw_recv.c psnap = (struct ieee80211_snap_hdr *)(ptr+pattrib->hdrlen + pattrib->iv_len); ptr 1628 drivers/staging/rtl8723bs/core/rtw_recv.c psnap_type = ptr+pattrib->hdrlen + pattrib->iv_len+SNAP_SIZE; ptr 1647 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(&be_tmp, ptr+rmv_len, 2); ptr 1660 drivers/staging/rtl8723bs/core/rtw_recv.c rx_pid = *(u16 *)(ptr+rmv_len+2); ptr 1667 drivers/staging/rtl8723bs/core/rtw_recv.c u16 len = *(u16 *)(ptr+rmv_len+4); ptr 1674 drivers/staging/rtl8723bs/core/rtw_recv.c DBG_871X("0x%x\n", *(ptr+rmv_len+6+i)); ptr 1684 drivers/staging/rtl8723bs/core/rtw_recv.c ptr += rmv_len; ptr 1685 drivers/staging/rtl8723bs/core/rtw_recv.c *ptr = 0x87; ptr 1686 drivers/staging/rtl8723bs/core/rtw_recv.c *(ptr+1) = 0x12; ptr 1690 drivers/staging/rtl8723bs/core/rtw_recv.c ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr)+2)-24); ptr 1691 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ptr, get_rxmem(precvframe), 24); ptr 1692 drivers/staging/rtl8723bs/core/rtw_recv.c ptr += 24; ptr 1694 drivers/staging/rtl8723bs/core/rtw_recv.c ptr = recvframe_pull(precvframe, (rmv_len-sizeof(struct ethhdr) + (bsnaphdr?2:0))); ptr 1696 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ptr, pattrib->dst, ETH_ALEN); ptr 1697 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ptr+ETH_ALEN, pattrib->src, ETH_ALEN); ptr 1701 drivers/staging/rtl8723bs/core/rtw_recv.c memcpy(ptr+12, &be_tmp, 2); ptr 135 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h u8 *ptr = (u8 *)_Ptr;\ ptr 139 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h DbgPrint("%02X%s", ptr[__i], (__i == 5) ? "" : "-");\ ptr 148 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h u8 *ptr = (u8 *)_HexData;\ ptr 151 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h DbgPrint("%02X%s", ptr[__i], (((__i + 1) % 4) == 0) ? " " : " ");\ ptr 138 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\ ptr 145 drivers/staging/rtl8723bs/hal/odm_debug.h u8 *__ptr = (u8 *)ptr;\ ptr 161 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr) \ ptr 162 drivers/staging/rtl8723bs/hal/odm_debug.h no_printk("%s %p", title_str, ptr) ptr 227 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c __func__, __LINE__, ptr, pkt_offset, precvbuf->ptail); ptr 244 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c u8 *ptr; ptr 259 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c ptr = precvbuf->pdata; ptr 261 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c while (ptr < precvbuf->ptail) { ptr 268 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c (struct recv_stat *)ptr); ptr 281 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c if (pkt_exceeds_tail(precvpriv, ptr + pkt_offset, ptr 322 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c memcpy(pkt_copy->data, (ptr + rx_report_sz + pattrib->shift_sz), skb_len); ptr 337 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c pkt_clone->data = ptr + rx_report_sz + pattrib->shift_sz; ptr 356 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c ptr += RXDESC_SIZE; ptr 361 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c ptr += 4; ptr 366 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c update_recvframe_phyinfo(precvframe, (struct phy_stat *)ptr); ptr 394 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c ptr = precvbuf->pdata; ptr 78 drivers/staging/rtl8723bs/include/osdep_service_linux.h #define LIST_CONTAINOR(ptr, type, member) \ ptr 79 drivers/staging/rtl8723bs/include/osdep_service_linux.h container_of(ptr, type, member) ptr 242 drivers/staging/rtl8723bs/include/rtw_debug.h u8 *ptr = (u8 *)_HexData; \ ptr 247 drivers/staging/rtl8723bs/include/rtw_debug.h _dbgdump("%02X%s", ptr[__i], (((__i + 1) % 4) == 0)?" ":" "); \ ptr 4900 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c char *ptr = NULL; ptr 4929 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ptr = input; ptr 4932 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c sscanf(ptr, "%16s", cmdname); ptr 4939 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ptr += cmdlen; ptr 4941 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_8192C("%s: parameters =%s\n", __func__, ptr); ptr 5001 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c str = strsep(&ptr, delim); ptr 5019 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c str = strsep(&ptr, delim); ptr 5041 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(buffer, ptr, wdata.data.length); ptr 439 drivers/staging/rtl8723bs/os_dep/os_intfs.c static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state, void *ptr) ptr 441 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 44 drivers/staging/rts5208/ms.c u8 *ptr; ptr 70 drivers/staging/rts5208/ms.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 73 drivers/staging/rts5208/ms.c if (*ptr & MS_CRC16_ERR) { ptr 78 drivers/staging/rts5208/ms.c if (CHK_MSPRO(ms_card) && !(*ptr & 0x80)) { ptr 79 drivers/staging/rts5208/ms.c if (*ptr & (MS_INT_ERR | MS_INT_CMDNK)) { ptr 86 drivers/staging/rts5208/ms.c if (*ptr & MS_RDY_TIMEOUT) { ptr 231 drivers/staging/rts5208/ms.c u8 *ptr; ptr 288 drivers/staging/rts5208/ms.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 291 drivers/staging/rts5208/ms.c data[i] = ptr[i]; ptr 295 drivers/staging/rts5208/ms.c print_hex_dump_bytes(KBUILD_MODNAME ": ", DUMP_PREFIX_NONE, ptr, ptr 1884 drivers/staging/rts5208/ms.c u8 val, extra[MS_EXTRA_SIZE], j, *ptr; ptr 1967 drivers/staging/rts5208/ms.c ptr = rtsx_get_cmd_data(chip); ptr 1968 drivers/staging/rts5208/ms.c memcpy(ms_card->raw_sys_info, ptr, 96); ptr 1990 drivers/staging/rts5208/ms.c ptr = rtsx_get_cmd_data(chip); ptr 1993 drivers/staging/rts5208/ms.c dev_dbg(rtsx_dev(chip), "%*ph\n", 16, ptr); ptr 1998 drivers/staging/rts5208/ms.c if (ptr[0] != 0x00 || ptr[1] != 0x01) { ptr 2006 drivers/staging/rts5208/ms.c if (ptr[12] != 0x02 || ptr[13] != 0x00) { ptr 2011 drivers/staging/rts5208/ms.c if ((ptr[14] == 1) || (ptr[14] == 3)) ptr 2015 drivers/staging/rts5208/ms.c block_size = ((u16)ptr[6] << 8) | ptr[7]; ptr 2027 drivers/staging/rts5208/ms.c ms_card->total_block = ((u16)ptr[8] << 8) | ptr[9]; ptr 2030 drivers/staging/rts5208/ms.c j = ptr[10]; ptr 2051 drivers/staging/rts5208/ms.c eblock_cnt = ((u16)ptr[10] << 8) | ptr[11]; ptr 2059 drivers/staging/rts5208/ms.c if (ptr[15]) { ptr 2962 drivers/staging/rts5208/ms.c u8 *ptr; ptr 3004 drivers/staging/rts5208/ms.c ptr = buf; ptr 3091 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data_partial(chip, MS_CARD, ptr, 512, ptr 3117 drivers/staging/rts5208/ms.c ptr += 512; ptr 3131 drivers/staging/rts5208/ms.c u8 *ptr; ptr 3218 drivers/staging/rts5208/ms.c ptr = buf; ptr 3260 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data_partial(chip, MS_CARD, ptr, 512, ptr 3309 drivers/staging/rts5208/ms.c ptr += 512; ptr 3401 drivers/staging/rts5208/ms.c u8 *ptr; ptr 3410 drivers/staging/rts5208/ms.c ptr = (u8 *)scsi_sglist(srb); ptr 3535 drivers/staging/rts5208/ms.c ptr, &index, &offset); ptr 3539 drivers/staging/rts5208/ms.c end_page, ptr, &index, ptr 3568 drivers/staging/rts5208/ms.c ptr += page_cnt * 512; ptr 2020 drivers/staging/rts5208/rtsx_chip.c u8 *ptr; ptr 2025 drivers/staging/rts5208/rtsx_chip.c ptr = buf; ptr 2037 drivers/staging/rts5208/rtsx_chip.c memcpy(ptr, rtsx_get_cmd_data(chip), 256); ptr 2038 drivers/staging/rts5208/rtsx_chip.c ptr += 256; ptr 2052 drivers/staging/rts5208/rtsx_chip.c memcpy(ptr, rtsx_get_cmd_data(chip), buf_len % 256); ptr 2062 drivers/staging/rts5208/rtsx_chip.c u8 *ptr; ptr 2067 drivers/staging/rts5208/rtsx_chip.c ptr = buf; ptr 2074 drivers/staging/rts5208/rtsx_chip.c *ptr); ptr 2075 drivers/staging/rts5208/rtsx_chip.c ptr++; ptr 2088 drivers/staging/rts5208/rtsx_chip.c *ptr); ptr 2089 drivers/staging/rts5208/rtsx_chip.c ptr++; ptr 95 drivers/staging/rts5208/rtsx_transport.c unsigned char *ptr = kmap(page); ptr 98 drivers/staging/rts5208/rtsx_transport.c memcpy(ptr + poff, buffer + cnt, plen); ptr 100 drivers/staging/rts5208/rtsx_transport.c memcpy(buffer + cnt, ptr + poff, plen); ptr 119 drivers/staging/rts5208/sd.c u8 *ptr; ptr 197 drivers/staging/rts5208/sd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 199 drivers/staging/rts5208/sd.c if ((ptr[0] & 0xC0) != 0) { ptr 205 drivers/staging/rts5208/sd.c if (ptr[stat_idx] & SD_CRC7_ERR) { ptr 225 drivers/staging/rts5208/sd.c if (ptr[1] & 0x80) ptr 229 drivers/staging/rts5208/sd.c if (ptr[1] & 0x7D) { ptr 231 drivers/staging/rts5208/sd.c if (ptr[1] & 0x7F) { ptr 234 drivers/staging/rts5208/sd.c ptr[1]); ptr 237 drivers/staging/rts5208/sd.c if (ptr[2] & 0xFF) { ptr 239 drivers/staging/rts5208/sd.c ptr[2]); ptr 242 drivers/staging/rts5208/sd.c if (ptr[3] & 0x80) { ptr 244 drivers/staging/rts5208/sd.c ptr[3]); ptr 247 drivers/staging/rts5208/sd.c if (ptr[3] & 0x01) ptr 255 drivers/staging/rts5208/sd.c memcpy(rsp, ptr, rsp_len); ptr 2637 drivers/staging/rts5208/sd.c u8 buf[8] = {0}, bus_width, *ptr; ptr 2711 drivers/staging/rts5208/sd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 2715 drivers/staging/rts5208/sd.c ptr[0], ptr[1]); ptr 2716 drivers/staging/rts5208/sd.c if ((ptr[0] == 0xAA) && (ptr[1] == 0x55)) { ptr 2732 drivers/staging/rts5208/sd.c dev_dbg(rtsx_dev(chip), "BUSTEST_R [4bits]: 0x%02x\n", ptr[0]); ptr 2733 drivers/staging/rts5208/sd.c if (ptr[0] == 0xA5) { ptr 2757 drivers/staging/rts5208/sd.c u8 *ptr, card_type, card_type_mask = 0; ptr 2803 drivers/staging/rts5208/sd.c ptr = rtsx_get_cmd_data(chip); ptr 2804 drivers/staging/rts5208/sd.c if (ptr[0] & SD_TRANSFER_ERR) { ptr 2811 drivers/staging/rts5208/sd.c sd_card->capacity = ((u32)ptr[5] << 24) | ((u32)ptr[4] << 16) | ptr 2812 drivers/staging/rts5208/sd.c ((u32)ptr[3] << 8) | ((u32)ptr[2]); ptr 2816 drivers/staging/rts5208/sd.c card_type = ptr[1] & card_type_mask; ptr 3582 drivers/staging/rts5208/sd.c u8 *ptr; ptr 3645 drivers/staging/rts5208/sd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 3647 drivers/staging/rts5208/sd.c if ((ptr[0] & 0xC0) != 0) { ptr 3653 drivers/staging/rts5208/sd.c if (ptr[stat_idx] & SD_CRC7_ERR) { ptr 3672 drivers/staging/rts5208/sd.c if (ptr[1] & 0x80) ptr 3676 drivers/staging/rts5208/sd.c if (ptr[1] & 0x7D) { ptr 3678 drivers/staging/rts5208/sd.c if (ptr[1] & 0x7F) { ptr 3682 drivers/staging/rts5208/sd.c if (ptr[2] & 0xF8) ptr 3687 drivers/staging/rts5208/sd.c if ((ptr[3] & 0x1E) != 0x04) ptr 3694 drivers/staging/rts5208/sd.c memcpy(rsp, ptr, rsp_len); ptr 77 drivers/staging/rts5208/xd.c u8 *ptr; ptr 94 drivers/staging/rts5208/xd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 98 drivers/staging/rts5208/xd.c memcpy(id_buf, ptr, buf_len); ptr 165 drivers/staging/rts5208/xd.c u8 *ptr = rtsx_get_cmd_data(chip) + 1; ptr 169 drivers/staging/rts5208/xd.c memcpy(buf, ptr, buf_len); ptr 443 drivers/staging/rts5208/xd.c u8 *ptr, id_buf[4], redunt[11]; ptr 561 drivers/staging/rts5208/xd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 564 drivers/staging/rts5208/xd.c ptr[0], ptr[1]); ptr 566 drivers/staging/rts5208/xd.c if (((ptr[0] & READY_FLAG) != READY_STATE) || ptr 567 drivers/staging/rts5208/xd.c !(ptr[1] & XD_RDY)) ptr 1217 drivers/staging/rts5208/xd.c u8 *ptr; ptr 1232 drivers/staging/rts5208/xd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 1233 drivers/staging/rts5208/xd.c if (((ptr[0] & READY_FLAG) == READY_STATE) && (ptr[1] & XD_RDY)) ptr 1243 drivers/staging/rts5208/xd.c u8 reg = 0, *ptr; ptr 1278 drivers/staging/rts5208/xd.c ptr = rtsx_get_cmd_data(chip) + 1; ptr 1279 drivers/staging/rts5208/xd.c if (*ptr & PROGRAM_ERROR) { ptr 1841 drivers/staging/rts5208/xd.c u8 *ptr; ptr 1850 drivers/staging/rts5208/xd.c ptr = (u8 *)scsi_sglist(srb); ptr 1976 drivers/staging/rts5208/xd.c ptr, &index, &offset); ptr 1986 drivers/staging/rts5208/xd.c ptr, &index, &offset); ptr 1996 drivers/staging/rts5208/xd.c ptr += page_cnt * 512; ptr 21 drivers/staging/speakup/devsynth.c const char __user *ptr = buffer; ptr 30 drivers/staging/speakup/devsynth.c if (copy_from_user(buf, ptr, bytes)) ptr 33 drivers/staging/speakup/devsynth.c ptr += bytes; ptr 419 drivers/staging/speakup/kobjects.c const char *ptr = buf; ptr 429 drivers/staging/speakup/kobjects.c strncpy(tmp, ptr, bytes); ptr 433 drivers/staging/speakup/kobjects.c ptr += bytes; ptr 1619 drivers/staging/speakup/main.c u16 *ptr; ptr 1621 drivers/staging/speakup/main.c for (ptr = start; ptr < end; ptr++) { ptr 1622 drivers/staging/speakup/main.c ch = get_attributes(vc, ptr); ptr 734 drivers/staging/uwb/drp.c void *ptr; ptr 736 drivers/staging/uwb/drp.c ptr = drp_evt->ie_data; ptr 738 drivers/staging/uwb/drp.c ie_hdr = uwb_ie_next(&ptr, &ielen); ptr 367 drivers/staging/uwb/est.c const void *ptr = rceb; ptr 384 drivers/staging/uwb/est.c ptr += offset; ptr 386 drivers/staging/uwb/est.c case UWB_EST_16: size += le16_to_cpu(*(__le16 *)ptr); break; ptr 387 drivers/staging/uwb/est.c case UWB_EST_8: size += *(u8 *)ptr; break; ptr 433 drivers/staging/uwb/hwa-rc.c const void *ptr = rceb; ptr 444 drivers/staging/uwb/hwa-rc.c ptr += offset; ptr 445 drivers/staging/uwb/hwa-rc.c size = core_size + le16_to_cpu(*(__le16 *)ptr); ptr 28 drivers/staging/uwb/ie.c struct uwb_ie_hdr *uwb_ie_next(void **ptr, size_t *len) ptr 36 drivers/staging/uwb/ie.c hdr = *ptr; ptr 42 drivers/staging/uwb/ie.c *ptr += ie_len; ptr 61 drivers/staging/uwb/ie.c void *ptr; ptr 66 drivers/staging/uwb/ie.c ptr = (void *)ies; ptr 68 drivers/staging/uwb/ie.c ie = uwb_ie_next(&ptr, &len); ptr 76 drivers/staging/uwb/ie.c while (d != ptr && r < size) ptr 220 drivers/staging/uwb/ie.c void *ptr, *prev_ie; ptr 235 drivers/staging/uwb/ie.c ptr = rc->ies->IEData; ptr 238 drivers/staging/uwb/ie.c prev_ie = ptr; ptr 240 drivers/staging/uwb/ie.c ie = uwb_ie_next(&ptr, &size); ptr 275 drivers/staging/uwb/ie.c void *ptr; ptr 280 drivers/staging/uwb/ie.c ptr = (void *)ies; ptr 282 drivers/staging/uwb/ie.c ie = uwb_ie_next(&ptr, &size); ptr 322 drivers/staging/uwb/ie.c void *ptr; ptr 325 drivers/staging/uwb/ie.c ptr = uwb_rc->ies->IEData; ptr 328 drivers/staging/uwb/ie.c ie = uwb_ie_next(&ptr, &size); ptr 333 drivers/staging/uwb/ie.c memmove(ie, ptr, size); ptr 334 drivers/staging/uwb/ie.c ptr = ie; ptr 120 drivers/staging/uwb/lc-rc.c void *ptr; ptr 128 drivers/staging/uwb/lc-rc.c ptr = rc->ies->IEData; ptr 131 drivers/staging/uwb/lc-rc.c ie = uwb_ie_next(&ptr, &len); ptr 720 drivers/staging/uwb/uwb.h struct uwb_ie_hdr *uwb_ie_next(void **ptr, size_t *len); ptr 143 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h void *ptr, size_t num_bytes); ptr 2490 drivers/staging/wlan-ng/hfa384x_usb.c char *ptr; ptr 2542 drivers/staging/wlan-ng/hfa384x_usb.c ptr = hw->txbuff.txfrm.data; ptr 2544 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ptr, p80211_wep->iv, sizeof(p80211_wep->iv)); ptr 2545 drivers/staging/wlan-ng/hfa384x_usb.c ptr += sizeof(p80211_wep->iv); ptr 2546 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ptr, p80211_wep->data, skb->len); ptr 2548 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ptr, skb->data, skb->len); ptr 2551 drivers/staging/wlan-ng/hfa384x_usb.c ptr += skb->len; ptr 2555 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ptr, p80211_wep->icv, sizeof(p80211_wep->icv)); ptr 136 drivers/staging/wusbcore/host/whci/whci-hc.h #define QH_LINK_PTR(ptr) ((ptr) & QH_LINK_PTR_MASK) ptr 255 drivers/staging/wusbcore/host/whci/whci-hc.h static inline void whc_qset_set_link_ptr(u64 *ptr, u64 target) ptr 258 drivers/staging/wusbcore/host/whci/whci-hc.h *ptr = (*ptr & ~(QH_LINK_PTR_MASK | QH_LINK_T)) | QH_LINK_PTR(target); ptr 260 drivers/staging/wusbcore/host/whci/whci-hc.h *ptr = QH_LINK_T; ptr 62 drivers/target/iscsi/iscsi_target_nego.c char *ptr; ptr 68 drivers/target/iscsi/iscsi_target_nego.c ptr = strstr(in_buf, pattern); ptr 69 drivers/target/iscsi/iscsi_target_nego.c if (!ptr) ptr 72 drivers/target/iscsi/iscsi_target_nego.c ptr = strstr(ptr, "="); ptr 73 drivers/target/iscsi/iscsi_target_nego.c if (!ptr) ptr 76 drivers/target/iscsi/iscsi_target_nego.c ptr += 1; ptr 77 drivers/target/iscsi/iscsi_target_nego.c if (*ptr == '0' && (*(ptr+1) == 'x' || *(ptr+1) == 'X')) { ptr 78 drivers/target/iscsi/iscsi_target_nego.c ptr += 2; /* skip 0x */ ptr 83 drivers/target/iscsi/iscsi_target_nego.c len = strlen_semi(ptr); ptr 92 drivers/target/iscsi/iscsi_target_nego.c memcpy(out_buf, ptr, len); ptr 816 drivers/target/loopback/tcm_loop.c unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; ptr 837 drivers/target/loopback/tcm_loop.c ptr = strstr(i_port, "naa."); ptr 838 drivers/target/loopback/tcm_loop.c if (ptr) { ptr 847 drivers/target/loopback/tcm_loop.c ptr = strstr(i_port, "fc."); ptr 848 drivers/target/loopback/tcm_loop.c if (ptr) { ptr 857 drivers/target/loopback/tcm_loop.c ptr = strstr(i_port, "iqn."); ptr 858 drivers/target/loopback/tcm_loop.c if (ptr) { ptr 1034 drivers/target/loopback/tcm_loop.c char *ptr; ptr 1045 drivers/target/loopback/tcm_loop.c ptr = strstr(name, "naa."); ptr 1046 drivers/target/loopback/tcm_loop.c if (ptr) { ptr 1050 drivers/target/loopback/tcm_loop.c ptr = strstr(name, "fc."); ptr 1051 drivers/target/loopback/tcm_loop.c if (ptr) { ptr 1056 drivers/target/loopback/tcm_loop.c ptr = strstr(name, "iqn."); ptr 1057 drivers/target/loopback/tcm_loop.c if (!ptr) { ptr 713 drivers/target/sbp/sbp_target.c struct sbp2_pointer *ptr = data; ptr 727 drivers/target/sbp/sbp_target.c agent->orb_pointer = sbp2_pointer_to_addr(ptr); ptr 740 drivers/target/sbp/sbp_target.c addr_to_sbp2_pointer(agent->orb_pointer, ptr); ptr 1587 drivers/target/sbp/sbp_target.c struct sbp2_pointer *ptr = data; ptr 1621 drivers/target/sbp/sbp_target.c agent->orb_offset = sbp2_pointer_to_addr(ptr); ptr 1627 drivers/target/sbp/sbp_target.c addr_to_sbp2_pointer(agent->orb_offset, ptr); ptr 188 drivers/target/sbp/sbp_target.h static inline u64 sbp2_pointer_to_addr(const struct sbp2_pointer *ptr) ptr 190 drivers/target/sbp/sbp_target.h return (u64)(be32_to_cpu(ptr->high) & 0x0000ffff) << 32 | ptr 191 drivers/target/sbp/sbp_target.h (be32_to_cpu(ptr->low) & 0xfffffffc); ptr 194 drivers/target/sbp/sbp_target.h static inline void addr_to_sbp2_pointer(u64 addr, struct sbp2_pointer *ptr) ptr 196 drivers/target/sbp/sbp_target.h ptr->high = cpu_to_be32(addr >> 32); ptr 197 drivers/target/sbp/sbp_target.h ptr->low = cpu_to_be32(addr); ptr 275 drivers/target/target_core_alua.c unsigned char *ptr; ptr 314 drivers/target/target_core_alua.c ptr = &buf[4]; /* Skip over RESERVED area in header */ ptr 318 drivers/target/target_core_alua.c alua_access_state = (ptr[0] & 0x0f); ptr 354 drivers/target/target_core_alua.c tg_pt_id = get_unaligned_be16(ptr + 2); ptr 391 drivers/target/target_core_alua.c rtpi = get_unaligned_be16(ptr + 2); ptr 420 drivers/target/target_core_alua.c ptr += 4; ptr 1849 drivers/target/target_core_configfs.c char *orig, *ptr, *opts; ptr 1875 drivers/target/target_core_configfs.c while ((ptr = strsep(&opts, ",\n")) != NULL) { ptr 1876 drivers/target/target_core_configfs.c if (!*ptr) ptr 1879 drivers/target/target_core_configfs.c token = match_token(ptr, tokens, args); ptr 2176 drivers/target/target_core_configfs.c char *ptr; ptr 2179 drivers/target/target_core_configfs.c ptr = strstr(page, "1"); ptr 2180 drivers/target/target_core_configfs.c if (!ptr) { ptr 2347 drivers/target/target_core_configfs.c char *map_entries, *orig, *ptr; ptr 2359 drivers/target/target_core_configfs.c while ((ptr = strsep(&map_entries, "\n")) != NULL) { ptr 2360 drivers/target/target_core_configfs.c if (!*ptr) ptr 2364 drivers/target/target_core_configfs.c if (sscanf(ptr, "%lu %lu\n", ptr 2373 drivers/target/target_core_configfs.c if (sscanf(ptr, "%lu %lu", &start_lba, &end_lba) != 2) { ptr 2378 drivers/target/target_core_configfs.c ptr = strchr(ptr, ' '); ptr 2379 drivers/target/target_core_configfs.c if (!ptr) { ptr 2384 drivers/target/target_core_configfs.c ptr++; ptr 2385 drivers/target/target_core_configfs.c ptr = strchr(ptr, ' '); ptr 2386 drivers/target/target_core_configfs.c if (!ptr) { ptr 2392 drivers/target/target_core_configfs.c ptr++; ptr 2400 drivers/target/target_core_configfs.c while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { ptr 2429 drivers/target/target_core_configfs.c ptr = strchr(ptr, ' '); ptr 2430 drivers/target/target_core_configfs.c if (ptr) ptr 2431 drivers/target/target_core_configfs.c ptr++; ptr 57 drivers/target/target_core_fabric_lib.c unsigned char *ptr; ptr 65 drivers/target/target_core_fabric_lib.c ptr = &se_nacl->initiatorname[0]; ptr 67 drivers/target/target_core_fabric_lib.c if (!strncmp(&ptr[i], ":", 1)) { ptr 71 drivers/target/target_core_fabric_lib.c ret = hex2bin(&buf[off++], &ptr[i], 1); ptr 718 drivers/target/target_core_file.c char *orig, *ptr, *arg_p, *opts; ptr 728 drivers/target/target_core_file.c while ((ptr = strsep(&opts, ",\n")) != NULL) { ptr 729 drivers/target/target_core_file.c if (!*ptr) ptr 732 drivers/target/target_core_file.c token = match_token(ptr, tokens, args); ptr 535 drivers/target/target_core_iblock.c char *orig, *ptr, *arg_p, *opts; ptr 546 drivers/target/target_core_iblock.c while ((ptr = strsep(&opts, ",\n")) != NULL) { ptr 547 drivers/target/target_core_iblock.c if (!*ptr) ptr 550 drivers/target/target_core_iblock.c token = match_token(ptr, tokens, args); ptr 1504 drivers/target/target_core_pr.c unsigned char *buf, *ptr, proto_ident; ptr 1574 drivers/target/target_core_pr.c ptr = &buf[28]; ptr 1579 drivers/target/target_core_pr.c proto_ident = (ptr[0] & 0x0f); ptr 1595 drivers/target/target_core_pr.c ptr, &tid_len, &iport_ptr); ptr 1661 drivers/target/target_core_pr.c " %u for Transport ID: %s\n", tid_len, ptr); ptr 1712 drivers/target/target_core_pr.c ptr += tid_len; ptr 1771 drivers/target/target_core_pr.c ptr += tid_len; ptr 722 drivers/target/target_core_pscsi.c char *orig, *ptr, *opts; ptr 732 drivers/target/target_core_pscsi.c while ((ptr = strsep(&opts, ",\n")) != NULL) { ptr 733 drivers/target/target_core_pscsi.c if (!*ptr) ptr 736 drivers/target/target_core_pscsi.c token = match_token(ptr, tokens, args); ptr 546 drivers/target/target_core_rd.c char *orig, *ptr, *opts; ptr 556 drivers/target/target_core_rd.c while ((ptr = strsep(&opts, ",\n")) != NULL) { ptr 557 drivers/target/target_core_rd.c if (!*ptr) ptr 560 drivers/target/target_core_rd.c token = match_token(ptr, tokens, args); ptr 1142 drivers/target/target_core_sbc.c unsigned char *buf, *ptr = NULL; ptr 1184 drivers/target/target_core_sbc.c ptr = &buf[8]; ptr 1186 drivers/target/target_core_sbc.c " ptr: %p\n", dev->transport->name, dl, bd_dl, size, ptr); ptr 1189 drivers/target/target_core_sbc.c lba = get_unaligned_be64(&ptr[0]); ptr 1190 drivers/target/target_core_sbc.c range = get_unaligned_be32(&ptr[8]); ptr 1210 drivers/target/target_core_sbc.c ptr += 16; ptr 2157 drivers/target/target_core_user.c char *orig, *ptr, *opts; ptr 2167 drivers/target/target_core_user.c while ((ptr = strsep(&opts, ",\n")) != NULL) { ptr 2168 drivers/target/target_core_user.c if (!*ptr) ptr 2171 drivers/target/target_core_user.c token = match_token(ptr, tokens, args); ptr 621 drivers/thermal/of-thermal.c struct thermal_zone_device **ptr, *tzd; ptr 623 drivers/thermal/of-thermal.c ptr = devres_alloc(devm_thermal_zone_of_sensor_release, sizeof(*ptr), ptr 625 drivers/thermal/of-thermal.c if (!ptr) ptr 630 drivers/thermal/of-thermal.c devres_free(ptr); ptr 634 drivers/thermal/of-thermal.c *ptr = tzd; ptr 635 drivers/thermal/of-thermal.c devres_add(dev, ptr); ptr 1084 drivers/thermal/thermal_core.c struct thermal_cooling_device **ptr, *tcd; ptr 1086 drivers/thermal/thermal_core.c ptr = devres_alloc(thermal_cooling_device_release, sizeof(*ptr), ptr 1088 drivers/thermal/thermal_core.c if (!ptr) ptr 1093 drivers/thermal/thermal_core.c devres_free(ptr); ptr 1097 drivers/thermal/thermal_core.c *ptr = tcd; ptr 1098 drivers/thermal/thermal_core.c devres_add(dev, ptr); ptr 3401 drivers/tty/cyclades.c const void *ptr = fw->data; ptr 3402 drivers/tty/cyclades.c const struct zfile_header *h = ptr; ptr 3412 drivers/tty/cyclades.c cs = ptr + h->config_offset; ptr 3413 drivers/tty/cyclades.c bs = ptr + h->block_offset; ptr 3415 drivers/tty/cyclades.c if ((void *)(cs + h->n_config) > ptr + len || ptr 3416 drivers/tty/cyclades.c (void *)(bs + h->n_blocks) > ptr + len) { ptr 3462 drivers/tty/cyclades.c cyz_fpga_copy(fpga, ptr + b->file_offset, ptr 3467 drivers/tty/cyclades.c ptr + b->file_offset, b->size); ptr 224 drivers/tty/mips_ejtag_fdc.c const char *ptr = *(ptrs++); ptr 225 drivers/tty/mips_ejtag_fdc.c const char *end = ptr + *(sizes++); ptr 227 drivers/tty/mips_ejtag_fdc.c for (; ptr < end; ++ptr) { ptr 228 drivers/tty/mips_ejtag_fdc.c word.word |= (u8)*ptr << (8*word.bytes); ptr 447 drivers/tty/moxa.c static int moxa_check_fw(const void *ptr) ptr 449 drivers/tty/moxa.c const __le16 *lptr = ptr; ptr 502 drivers/tty/moxa.c static int moxa_load_320b(struct moxa_board_conf *brd, const u8 *ptr, ptr 514 drivers/tty/moxa.c memcpy_toio(baseAddr + DynPage_addr, ptr, 7168); ptr 516 drivers/tty/moxa.c memcpy_toio(baseAddr + DynPage_addr, ptr + 7168, len - 7168); ptr 521 drivers/tty/moxa.c static int moxa_real_load_code(struct moxa_board_conf *brd, const void *ptr, ptr 525 drivers/tty/moxa.c const __le16 *uptr = ptr; ptr 565 drivers/tty/moxa.c memcpy_toio(baseAddr + loadbuf, ptr + j, len2 << 1); ptr 643 drivers/tty/moxa.c static int moxa_load_code(struct moxa_board_conf *brd, const void *ptr, ptr 655 drivers/tty/moxa.c retval = moxa_real_load_code(brd, ptr, len); /* may change numPorts */ ptr 733 drivers/tty/moxa.c const void *ptr = fw->data; ptr 746 drivers/tty/moxa.c } const *hdr = ptr; ptr 788 drivers/tty/moxa.c ptr += MOXA_FW_HDRLEN; ptr 793 drivers/tty/moxa.c ret = moxa_load_bios(brd, ptr, lens[lenp]); ptr 798 drivers/tty/moxa.c ptr += lens[lenp] + lens[lenp + 1]; ptr 802 drivers/tty/moxa.c ret = moxa_load_320b(brd, ptr, lens[lenp]); ptr 806 drivers/tty/moxa.c ptr += lens[lenp] + lens[lenp + 1]; ptr 810 drivers/tty/moxa.c ret = moxa_load_code(brd, ptr, lens[lenp]); ptr 405 drivers/tty/nozomi.c const u32 __iomem *ptr = mem_addr_start; ptr 408 drivers/tty/nozomi.c if (unlikely(!ptr || !buf)) ptr 415 drivers/tty/nozomi.c *buf16 = __le16_to_cpu(readw(ptr)); ptr 419 drivers/tty/nozomi.c *(buf) = __le32_to_cpu(readl(ptr)); ptr 428 drivers/tty/nozomi.c *(buf16) = __le16_to_cpu(readw(ptr)); ptr 432 drivers/tty/nozomi.c *(buf) = __le32_to_cpu(readl(ptr)); ptr 436 drivers/tty/nozomi.c ptr++; ptr 451 drivers/tty/nozomi.c u32 __iomem *ptr = mem_addr_start; ptr 454 drivers/tty/nozomi.c if (unlikely(!ptr || !buf)) ptr 461 drivers/tty/nozomi.c writew(__cpu_to_le16(*buf16), ptr); ptr 469 drivers/tty/nozomi.c writel(__cpu_to_le32(*buf), ptr); ptr 478 drivers/tty/nozomi.c writew(__cpu_to_le16(*buf16), ptr); ptr 482 drivers/tty/nozomi.c writel(__cpu_to_le32(*buf), ptr); ptr 486 drivers/tty/nozomi.c ptr++; ptr 94 drivers/tty/serial/8250/8250_mtk.c unsigned char *ptr; ptr 106 drivers/tty/serial/8250/8250_mtk.c ptr = (unsigned char *)(data->rx_pos + dma->rx_buf); ptr 107 drivers/tty/serial/8250/8250_mtk.c copied = tty_insert_flip_string(tty_port, ptr, cnt); ptr 111 drivers/tty/serial/8250/8250_mtk.c ptr = (unsigned char *)(dma->rx_buf); ptr 113 drivers/tty/serial/8250/8250_mtk.c copied += tty_insert_flip_string(tty_port, ptr, cnt); ptr 135 drivers/tty/serial/qcom_geni_serial.c #define to_dev_port(ptr, member) \ ptr 136 drivers/tty/serial/qcom_geni_serial.c container_of(ptr, struct qcom_geni_serial_port, member) ptr 1689 drivers/tty/serial/sh-sci.c static irqreturn_t sci_rx_interrupt(int irq, void *ptr) ptr 1691 drivers/tty/serial/sh-sci.c struct uart_port *port = ptr; ptr 1740 drivers/tty/serial/sh-sci.c static irqreturn_t sci_tx_interrupt(int irq, void *ptr) ptr 1742 drivers/tty/serial/sh-sci.c struct uart_port *port = ptr; ptr 1752 drivers/tty/serial/sh-sci.c static irqreturn_t sci_br_interrupt(int irq, void *ptr) ptr 1754 drivers/tty/serial/sh-sci.c struct uart_port *port = ptr; ptr 1763 drivers/tty/serial/sh-sci.c static irqreturn_t sci_er_interrupt(int irq, void *ptr) ptr 1765 drivers/tty/serial/sh-sci.c struct uart_port *port = ptr; ptr 1774 drivers/tty/serial/sh-sci.c sci_br_interrupt(irq, ptr); ptr 1798 drivers/tty/serial/sh-sci.c sci_tx_interrupt(irq, ptr); ptr 1803 drivers/tty/serial/sh-sci.c static irqreturn_t sci_mpxed_interrupt(int irq, void *ptr) ptr 1806 drivers/tty/serial/sh-sci.c struct uart_port *port = ptr; ptr 1822 drivers/tty/serial/sh-sci.c ret = sci_tx_interrupt(irq, ptr); ptr 1830 drivers/tty/serial/sh-sci.c ret = sci_rx_interrupt(irq, ptr); ptr 1834 drivers/tty/serial/sh-sci.c ret = sci_er_interrupt(irq, ptr); ptr 1838 drivers/tty/serial/sh-sci.c ret = sci_br_interrupt(irq, ptr); ptr 360 drivers/tty/serial/st-asc.c static irqreturn_t asc_interrupt(int irq, void *ptr) ptr 362 drivers/tty/serial/st-asc.c struct uart_port *port = ptr; ptr 452 drivers/tty/serial/stm32-usart.c static irqreturn_t stm32_interrupt(int irq, void *ptr) ptr 454 drivers/tty/serial/stm32-usart.c struct uart_port *port = ptr; ptr 485 drivers/tty/serial/stm32-usart.c static irqreturn_t stm32_threaded_interrupt(int irq, void *ptr) ptr 487 drivers/tty/serial/stm32-usart.c struct uart_port *port = ptr; ptr 467 drivers/usb/atm/usbatm.c u8 *ptr = target; ptr 469 drivers/usb/atm/usbatm.c ptr[0] = vcc->vpi >> 4; ptr 470 drivers/usb/atm/usbatm.c ptr[1] = (vcc->vpi << 4) | (vcc->vci >> 12); ptr 471 drivers/usb/atm/usbatm.c ptr[2] = vcc->vci >> 4; ptr 472 drivers/usb/atm/usbatm.c ptr[3] = vcc->vci << 4; ptr 473 drivers/usb/atm/usbatm.c ptr[4] = 0xec; ptr 474 drivers/usb/atm/usbatm.c ptr += ATM_CELL_HEADER; ptr 476 drivers/usb/atm/usbatm.c skb_copy_from_linear_data(skb, ptr, data_len); ptr 477 drivers/usb/atm/usbatm.c ptr += data_len; ptr 483 drivers/usb/atm/usbatm.c memset(ptr, 0, left); ptr 492 drivers/usb/atm/usbatm.c ctrl->crc = ~crc32_be(ctrl->crc, ptr, left - 4); ptr 503 drivers/usb/atm/usbatm.c ctrl->crc = crc32_be(ctrl->crc, ptr, left); ptr 79 drivers/usb/cdns3/gadget.c void cdns3_set_register_bit(void __iomem *ptr, u32 mask) ptr 81 drivers/usb/cdns3/gadget.c mask = readl(ptr) | mask; ptr 82 drivers/usb/cdns3/gadget.c writel(mask, ptr); ptr 1303 drivers/usb/cdns3/gadget.h void cdns3_set_register_bit(void __iomem *ptr, u32 mask); ptr 94 drivers/usb/chipidea/ci.h struct ci_hw_qh *ptr; ptr 591 drivers/usb/chipidea/core.c void *ptr) ptr 141 drivers/usb/chipidea/debug.c *((u32 *)hweprx->qh.ptr + j), ptr 142 drivers/usb/chipidea/debug.c *((u32 *)hweptx->qh.ptr + j)); ptr 178 drivers/usb/chipidea/debug.c *((u32 *)node->ptr + j)); ptr 351 drivers/usb/chipidea/udc.c node->ptr = dma_pool_zalloc(hwep->td_pool, GFP_ATOMIC, &node->dma); ptr 352 drivers/usb/chipidea/udc.c if (node->ptr == NULL) { ptr 357 drivers/usb/chipidea/udc.c node->ptr->token = cpu_to_le32(length << __ffs(TD_TOTAL_BYTES)); ptr 358 drivers/usb/chipidea/udc.c node->ptr->token &= cpu_to_le32(TD_TOTAL_BYTES); ptr 359 drivers/usb/chipidea/udc.c node->ptr->token |= cpu_to_le32(TD_STATUS_ACTIVE); ptr 366 drivers/usb/chipidea/udc.c node->ptr->token |= cpu_to_le32(mul << __ffs(TD_MULTO)); ptr 371 drivers/usb/chipidea/udc.c node->ptr->page[0] = cpu_to_le32(temp); ptr 375 drivers/usb/chipidea/udc.c node->ptr->page[i] = cpu_to_le32(page); ptr 385 drivers/usb/chipidea/udc.c lastnode->ptr->next = cpu_to_le32(node->dma); ptr 464 drivers/usb/chipidea/udc.c lastnode->ptr->next = cpu_to_le32(TD_TERMINATE); ptr 466 drivers/usb/chipidea/udc.c lastnode->ptr->token |= cpu_to_le32(TD_IOC); ptr 482 drivers/usb/chipidea/udc.c prevlastnode->ptr->next = cpu_to_le32(next); ptr 496 drivers/usb/chipidea/udc.c hwep->qh.ptr->td.next = cpu_to_le32(firstnode->dma); ptr 497 drivers/usb/chipidea/udc.c hwep->qh.ptr->td.token &= ptr 506 drivers/usb/chipidea/udc.c hwep->qh.ptr->cap |= cpu_to_le32(mul << __ffs(QH_MULT)); ptr 523 drivers/usb/chipidea/udc.c dma_pool_free(hwep->td_pool, pending->ptr, pending->dma); ptr 531 drivers/usb/chipidea/udc.c hwep->qh.ptr->td.next = cpu_to_le32(node->dma); ptr 532 drivers/usb/chipidea/udc.c hwep->qh.ptr->td.token &= ptr 560 drivers/usb/chipidea/udc.c tmptoken = le32_to_cpu(node->ptr->token); ptr 640 drivers/usb/chipidea/udc.c dma_pool_free(hwep->td_pool, node->ptr, node->dma); ptr 642 drivers/usb/chipidea/udc.c node->ptr = NULL; ptr 1032 drivers/usb/chipidea/udc.c memcpy(&req, &hwep->qh.ptr->setup, sizeof(req)); ptr 1268 drivers/usb/chipidea/udc.c hwep->qh.ptr->cap = cpu_to_le32(cap); ptr 1270 drivers/usb/chipidea/udc.c hwep->qh.ptr->td.next |= cpu_to_le32(TD_TERMINATE); /* needed? */ ptr 1372 drivers/usb/chipidea/udc.c dma_pool_free(hwep->td_pool, node->ptr, node->dma); ptr 1374 drivers/usb/chipidea/udc.c node->ptr = NULL; ptr 1430 drivers/usb/chipidea/udc.c dma_pool_free(hwep->td_pool, node->ptr, node->dma); ptr 1716 drivers/usb/chipidea/udc.c hwep->qh.ptr = dma_pool_zalloc(ci->qh_pool, GFP_KERNEL, ptr 1718 drivers/usb/chipidea/udc.c if (hwep->qh.ptr == NULL) ptr 1750 drivers/usb/chipidea/udc.c dma_pool_free(ci->qh_pool, hwep->qh.ptr, hwep->qh.dma); ptr 63 drivers/usb/chipidea/udc.h struct ci_hw_td *ptr; ptr 432 drivers/usb/core/devices.c unsigned char *ptr = (unsigned char *)desc; ptr 438 drivers/usb/core/devices.c start += sprintf(start, " %02x", *ptr); ptr 439 drivers/usb/core/devices.c ptr++; leng--; ptr 854 drivers/usb/core/usb.c unsigned char type, void **ptr, size_t minsize) ptr 871 drivers/usb/core/usb.c *ptr = header; ptr 2237 drivers/usb/dwc2/gadget.c int ptr; ptr 2244 drivers/usb/dwc2/gadget.c for (ptr = 0; ptr < size; ptr += 4) ptr 430 drivers/usb/dwc3/drd.c unsigned long event, void *ptr) ptr 343 drivers/usb/dwc3/dwc3-omap.c unsigned long event, void *ptr) ptr 356 drivers/usb/dwc3/dwc3-omap.c unsigned long event, void *ptr) ptr 121 drivers/usb/dwc3/dwc3-qcom.c unsigned long event, void *ptr) ptr 133 drivers/usb/dwc3/dwc3-qcom.c unsigned long event, void *ptr) ptr 1049 drivers/usb/early/ehci-dbgp.c char *ptr; ptr 1055 drivers/usb/early/ehci-dbgp.c ptr = strchr(str, ','); ptr 1056 drivers/usb/early/ehci-dbgp.c if (ptr) { ptr 1057 drivers/usb/early/ehci-dbgp.c ptr++; ptr 1058 drivers/usb/early/ehci-dbgp.c kgdbdbgp_wait_time = simple_strtoul(ptr, &ptr, 10); ptr 1067 drivers/usb/early/ehci-dbgp.c static int kgdbdbgp_reader_thread(void *ptr) ptr 134 drivers/usb/early/xhci-dbc.c static int handshake(void __iomem *ptr, u32 mask, u32 done, int wait, int delay) ptr 139 drivers/usb/early/xhci-dbc.c result = readl(ptr); ptr 930 drivers/usb/early/xhci-dbc.c static int xdbc_scrub_function(void *ptr) ptr 326 drivers/usb/gadget/function/f_fs.c size_t len, loff_t *ptr) ptr 502 drivers/usb/gadget/function/f_fs.c size_t len, loff_t *ptr) ptr 767 drivers/usb/gadget/function/f_fs.c void *vaddr, *ptr; ptr 782 drivers/usb/gadget/function/f_fs.c for (i = 0, ptr = vaddr; i < n_pages; ++i, ptr += PAGE_SIZE) ptr 783 drivers/usb/gadget/function/f_fs.c pages[i] = vmalloc_to_page(ptr); ptr 244 drivers/usb/gadget/function/f_hid.c size_t count, loff_t *ptr) ptr 411 drivers/usb/gadget/function/f_printer.c printer_read(struct file *fd, char __user *buf, size_t len, loff_t *ptr) ptr 547 drivers/usb/gadget/function/f_printer.c printer_write(struct file *fd, const char __user *buf, size_t len, loff_t *ptr) ptr 1643 drivers/usb/gadget/function/f_tcm.c unsigned char i_port[USBG_NAMELEN], *ptr; ptr 1659 drivers/usb/gadget/function/f_tcm.c ptr = strstr(i_port, "naa."); ptr 1660 drivers/usb/gadget/function/f_tcm.c if (!ptr) { ptr 26 drivers/usb/gadget/function/u_fs.h # define ffs_dump_mem(prefix, ptr, len) \ ptr 27 drivers/usb/gadget/function/u_fs.h print_hex_dump_bytes(pr_fmt(prefix ": "), DUMP_PREFIX_NONE, ptr, len) ptr 32 drivers/usb/gadget/function/u_fs.h # define ffs_dump_mem(prefix, ptr, len) do { } while (0) ptr 907 drivers/usb/gadget/legacy/inode.c ep0_read (struct file *fd, char __user *buf, size_t len, loff_t *ptr) ptr 1119 drivers/usb/gadget/legacy/inode.c ep0_write (struct file *fd, const char __user *buf, size_t len, loff_t *ptr) ptr 1783 drivers/usb/gadget/legacy/inode.c dev_config (struct file *fd, const char __user *buf, size_t len, loff_t *ptr) ptr 1793 drivers/usb/gadget/legacy/inode.c value = ep0_write(fd, buf, len, ptr); ptr 41 drivers/usb/gadget/u_f.h #define vla_ptr(ptr, groupname, name) \ ptr 42 drivers/usb/gadget/u_f.h ((void *) ((char *)ptr + groupname##_##name##__offset)) ptr 35 drivers/usb/gadget/udc/aspeed-vhub/ep0.c int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len) ptr 49 drivers/usb/gadget/udc/aspeed-vhub/ep0.c req->buf = ptr; ptr 513 drivers/usb/gadget/udc/aspeed-vhub/vhub.h int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len); ptr 360 drivers/usb/gadget/udc/net2280.c static int handshake(u32 __iomem *ptr, u32 mask, u32 done, int usec) ptr 365 drivers/usb/gadget/udc/net2280.c result = readl(ptr); ptr 184 drivers/usb/gadget/udc/s3c-hsudc.c static inline void __orr32(void __iomem *ptr, u32 val) ptr 186 drivers/usb/gadget/udc/s3c-hsudc.c writel(readl(ptr) | val, ptr); ptr 88 drivers/usb/gadget/udc/snps_udc_plat.c unsigned long event, void *ptr) ptr 653 drivers/usb/host/ehci-dbg.c if (likely(!p.ptr)) ptr 678 drivers/usb/host/ehci-dbg.c if (seen[temp].ptr != p.ptr) ptr 680 drivers/usb/host/ehci-dbg.c if (p.qh->qh_next.ptr) { ptr 727 drivers/usb/host/ehci-dbg.c } while (p.ptr); ptr 147 drivers/usb/host/ehci-hcd.c int ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, ptr 153 drivers/usb/host/ehci-hcd.c result = ehci_readl(ehci, ptr); ptr 57 drivers/usb/host/ehci-mem.c if (!list_empty (&qh->qtd_list) || qh->qh_next.ptr) { ptr 1025 drivers/usb/host/ehci-q.c void **ptr ptr 1031 drivers/usb/host/ehci-q.c qh = (struct ehci_qh *) *ptr; ptr 1035 drivers/usb/host/ehci-q.c *ptr = qh; ptr 63 drivers/usb/host/ehci-sched.c static void periodic_unlink(struct ehci_hcd *ehci, unsigned frame, void *ptr) ptr 70 drivers/usb/host/ehci-sched.c while (here.ptr && here.ptr != ptr) { ptr 78 drivers/usb/host/ehci-sched.c if (!here.ptr) ptr 449 drivers/usb/host/ehci-sched.c while (here.ptr) { ptr 556 drivers/usb/host/ehci-sched.c while (here.ptr) { ptr 568 drivers/usb/host/ehci-sched.c while (here.ptr && qh != here.qh) { ptr 640 drivers/usb/host/ehci-sched.c qh->qh_next.ptr = NULL; ptr 1732 drivers/usb/host/ehci-sched.c while (here.ptr) { ptr 2392 drivers/usb/host/ehci-sched.c q.ptr = q_p->ptr; ptr 2396 drivers/usb/host/ehci-sched.c while (q.ptr != NULL) { ptr 2476 drivers/usb/host/ehci-sched.c type, frame, q.ptr); ptr 2482 drivers/usb/host/ehci-sched.c q.ptr = NULL; ptr 17 drivers/usb/host/ehci-sysfs.c char *ptr = buf; ptr 24 drivers/usb/host/ehci-sysfs.c n = scnprintf(ptr, count, "%d\n", index + 1); ptr 25 drivers/usb/host/ehci-sysfs.c ptr += n; ptr 29 drivers/usb/host/ehci-sysfs.c return ptr - buf; ptr 364 drivers/usb/host/ehci.h void *ptr; ptr 882 drivers/usb/host/ehci.h extern int ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, ptr 546 drivers/usb/host/fotg210-hcd.c if (likely(!p.ptr)) ptr 572 drivers/usb/host/fotg210-hcd.c if (seen[temp].ptr != p.ptr) ptr 574 drivers/usb/host/fotg210-hcd.c if (p.qh->qh_next.ptr) { ptr 611 drivers/usb/host/fotg210-hcd.c } while (p.ptr); ptr 882 drivers/usb/host/fotg210-hcd.c static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, ptr 888 drivers/usb/host/fotg210-hcd.c result = fotg210_readl(fotg210, ptr); ptr 1843 drivers/usb/host/fotg210-hcd.c if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { ptr 2949 drivers/usb/host/fotg210-hcd.c int epnum, void **ptr) ptr 2954 drivers/usb/host/fotg210-hcd.c qh = (struct fotg210_qh *) *ptr; ptr 2958 drivers/usb/host/fotg210-hcd.c *ptr = qh; ptr 3309 drivers/usb/host/fotg210-hcd.c void *ptr) ptr 3316 drivers/usb/host/fotg210-hcd.c while (here.ptr && here.ptr != ptr) { ptr 3324 drivers/usb/host/fotg210-hcd.c if (!here.ptr) ptr 3346 drivers/usb/host/fotg210-hcd.c while (q->ptr) { ptr 3418 drivers/usb/host/fotg210-hcd.c while (here.ptr) { ptr 3506 drivers/usb/host/fotg210-hcd.c while (here.ptr) { ptr 3518 drivers/usb/host/fotg210-hcd.c while (here.ptr && qh != here.qh) { ptr 3592 drivers/usb/host/fotg210-hcd.c qh->qh_next.ptr = NULL; ptr 4337 drivers/usb/host/fotg210-hcd.c while (here.ptr) { ptr 4593 drivers/usb/host/fotg210-hcd.c q.ptr = q_p->ptr; ptr 4597 drivers/usb/host/fotg210-hcd.c while (q.ptr) { ptr 4636 drivers/usb/host/fotg210-hcd.c type, frame, q.ptr); ptr 4641 drivers/usb/host/fotg210-hcd.c q.ptr = NULL; ptr 397 drivers/usb/host/fotg210.h void *ptr; ptr 509 drivers/usb/host/isp1362.h static inline void ALIGNSTAT(struct isp1362_hcd *isp1362_hcd, void *ptr) ptr 511 drivers/usb/host/isp1362.h unsigned long p = (unsigned long)ptr; ptr 295 drivers/usb/host/oxu210hp-hcd.c void *ptr; ptr 747 drivers/usb/host/oxu210hp-hcd.c static int handshake(struct oxu_hcd *oxu, void __iomem *ptr, ptr 753 drivers/usb/host/oxu210hp-hcd.c result = readl(ptr); ptr 1049 drivers/usb/host/oxu210hp-hcd.c if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { ptr 1964 drivers/usb/host/oxu210hp-hcd.c int epnum, void **ptr) ptr 1968 drivers/usb/host/oxu210hp-hcd.c qh = (struct ehci_qh *) *ptr; ptr 1972 drivers/usb/host/oxu210hp-hcd.c *ptr = qh; ptr 2243 drivers/usb/host/oxu210hp-hcd.c static void periodic_unlink(struct oxu_hcd *oxu, unsigned frame, void *ptr) ptr 2250 drivers/usb/host/oxu210hp-hcd.c while (here.ptr && here.ptr != ptr) { ptr 2256 drivers/usb/host/oxu210hp-hcd.c if (!here.ptr) ptr 2274 drivers/usb/host/oxu210hp-hcd.c while (q->ptr) { ptr 2373 drivers/usb/host/oxu210hp-hcd.c while (here.ptr) { ptr 2385 drivers/usb/host/oxu210hp-hcd.c while (here.ptr && qh != here.qh) { ptr 2451 drivers/usb/host/oxu210hp-hcd.c qh->qh_next.ptr = NULL; ptr 2707 drivers/usb/host/oxu210hp-hcd.c q.ptr = q_p->ptr; ptr 2711 drivers/usb/host/oxu210hp-hcd.c while (q.ptr != NULL) { ptr 2727 drivers/usb/host/oxu210hp-hcd.c type, frame, q.ptr); ptr 2728 drivers/usb/host/oxu210hp-hcd.c q.ptr = NULL; ptr 2820 drivers/usb/host/oxu210hp-hcd.c (oxu->async->qh_next.ptr != NULL || ptr 1007 drivers/usb/host/pci-quirks.c static int handshake(void __iomem *ptr, u32 mask, u32 done, ptr 1013 drivers/usb/host/pci-quirks.c result = readl(ptr); ptr 820 drivers/usb/host/r8a66597-hcd.c void *ptr; ptr 822 drivers/usb/host/r8a66597-hcd.c for (ptr = urb->transfer_buffer; ptr 823 drivers/usb/host/r8a66597-hcd.c ptr < urb->transfer_buffer + urb->transfer_buffer_length; ptr 824 drivers/usb/host/r8a66597-hcd.c ptr += PAGE_SIZE) ptr 825 drivers/usb/host/r8a66597-hcd.c flush_dcache_page(virt_to_page(ptr)); ptr 69 drivers/usb/host/xhci.c int xhci_handshake(void __iomem *ptr, u32 mask, u32 done, int usec) ptr 74 drivers/usb/host/xhci.c ret = readl_poll_timeout_atomic(ptr, result, ptr 2055 drivers/usb/host/xhci.h int xhci_handshake(void __iomem *ptr, u32 mask, u32 done, int usec); ptr 684 drivers/usb/image/mdc800.c char __user *ptr = buf; ptr 758 drivers/usb/image/mdc800.c if (copy_to_user(ptr, &mdc800->out [mdc800->out_ptr], ptr 763 drivers/usb/image/mdc800.c ptr+=sts; ptr 681 drivers/usb/isp1760/isp1760-hcd.c void *ptr; ptr 682 drivers/usb/isp1760/isp1760-hcd.c for (ptr = urb->transfer_buffer; ptr 683 drivers/usb/isp1760/isp1760-hcd.c ptr < urb->transfer_buffer + urb->transfer_buffer_length; ptr 684 drivers/usb/isp1760/isp1760-hcd.c ptr += PAGE_SIZE) ptr 685 drivers/usb/isp1760/isp1760-hcd.c flush_dcache_page(virt_to_page(ptr)); ptr 42 drivers/usb/misc/isight_firmware.c const u8 *ptr; ptr 53 drivers/usb/misc/isight_firmware.c ptr = firmware->data; ptr 65 drivers/usb/misc/isight_firmware.c while (ptr+4 <= firmware->data+firmware->size) { ptr 66 drivers/usb/misc/isight_firmware.c memcpy(data, ptr, 4); ptr 69 drivers/usb/misc/isight_firmware.c ptr += 4; ptr 79 drivers/usb/misc/isight_firmware.c if (ptr+llen > firmware->data+firmware->size) { ptr 85 drivers/usb/misc/isight_firmware.c memcpy(buf, ptr, llen); ptr 87 drivers/usb/misc/isight_firmware.c ptr += llen; ptr 177 drivers/usb/mon/mon_bin.c unsigned char *ptr; /* XXX just use page_to_virt everywhere? */ ptr 207 drivers/usb/mon/mon_bin.c (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); ptr 248 drivers/usb/mon/mon_bin.c buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; ptr 280 drivers/usb/mon/mon_bin.c buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; ptr 474 drivers/usb/mon/mon_bin.c (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); ptr 809 drivers/usb/mon/mon_bin.c char *ptr; ptr 824 drivers/usb/mon/mon_bin.c ptr = ((char *)ep) + rp->b_read; ptr 825 drivers/usb/mon/mon_bin.c if (step_len && copy_to_user(buf, ptr, step_len)) { ptr 1334 drivers/usb/mon/mon_bin.c free_page((unsigned long) map[n].ptr); ptr 1337 drivers/usb/mon/mon_bin.c map[n].ptr = (unsigned char *) vaddr; ptr 1348 drivers/usb/mon/mon_bin.c free_page((unsigned long) map[n].ptr); ptr 399 drivers/usb/mon/mon_text.c struct mon_text_ptr ptr; ptr 411 drivers/usb/mon/mon_text.c ptr.cnt = 0; ptr 412 drivers/usb/mon/mon_text.c ptr.pbuf = rp->printf_buf; ptr 413 drivers/usb/mon/mon_text.c ptr.limit = rp->printf_size; ptr 415 drivers/usb/mon/mon_text.c mon_text_read_head_t(rp, &ptr, ep); ptr 416 drivers/usb/mon/mon_text.c mon_text_read_statset(rp, &ptr, ep); ptr 417 drivers/usb/mon/mon_text.c ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, ptr 419 drivers/usb/mon/mon_text.c mon_text_read_data(rp, &ptr, ep); ptr 421 drivers/usb/mon/mon_text.c rp->printf_togo = ptr.cnt; ptr 438 drivers/usb/mon/mon_text.c struct mon_text_ptr ptr; ptr 450 drivers/usb/mon/mon_text.c ptr.cnt = 0; ptr 451 drivers/usb/mon/mon_text.c ptr.pbuf = rp->printf_buf; ptr 452 drivers/usb/mon/mon_text.c ptr.limit = rp->printf_size; ptr 454 drivers/usb/mon/mon_text.c mon_text_read_head_u(rp, &ptr, ep); ptr 456 drivers/usb/mon/mon_text.c mon_text_read_statset(rp, &ptr, ep); ptr 458 drivers/usb/mon/mon_text.c mon_text_read_isostat(rp, &ptr, ep); ptr 459 drivers/usb/mon/mon_text.c mon_text_read_isodesc(rp, &ptr, ep); ptr 461 drivers/usb/mon/mon_text.c mon_text_read_intstat(rp, &ptr, ep); ptr 463 drivers/usb/mon/mon_text.c mon_text_read_statset(rp, &ptr, ep); ptr 465 drivers/usb/mon/mon_text.c ptr.cnt += snprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, ptr 467 drivers/usb/mon/mon_text.c mon_text_read_data(rp, &ptr, ep); ptr 469 drivers/usb/mon/mon_text.c rp->printf_togo = ptr.cnt; ptr 216 drivers/usb/mtu3/mtu3_dr.c unsigned long event, void *ptr) ptr 228 drivers/usb/mtu3/mtu3_dr.c unsigned long event, void *ptr) ptr 98 drivers/usb/musb/cppi_dma.c static void cppi_reset_tx(struct cppi_tx_stateram __iomem *tx, u32 ptr) ptr 107 drivers/usb/musb/cppi_dma.c musb_writel(&tx->tx_complete, 0, ptr); ptr 200 drivers/usb/musb/sunxi.c unsigned long event, void *ptr) ptr 64 drivers/usb/phy/phy-omap-otg.c unsigned long event, void *ptr) ptr 75 drivers/usb/phy/phy-omap-otg.c unsigned long event, void *ptr) ptr 417 drivers/usb/phy/phy.c struct usb_phy **ptr, *phy; ptr 419 drivers/usb/phy/phy.c ptr = devres_alloc(devm_usb_phy_release, sizeof(*ptr), GFP_KERNEL); ptr 420 drivers/usb/phy/phy.c if (!ptr) ptr 425 drivers/usb/phy/phy.c *ptr = phy; ptr 426 drivers/usb/phy/phy.c devres_add(dev, ptr); ptr 428 drivers/usb/phy/phy.c devres_free(ptr); ptr 491 drivers/usb/phy/phy.c struct phy_devm *ptr; ptr 494 drivers/usb/phy/phy.c ptr = devres_alloc(devm_usb_phy_release2, sizeof(*ptr), GFP_KERNEL); ptr 495 drivers/usb/phy/phy.c if (!ptr) { ptr 504 drivers/usb/phy/phy.c devres_free(ptr); ptr 510 drivers/usb/phy/phy.c devres_free(ptr); ptr 515 drivers/usb/phy/phy.c ptr->phy = phy; ptr 516 drivers/usb/phy/phy.c ptr->nb = nb; ptr 517 drivers/usb/phy/phy.c devres_add(dev, ptr); ptr 337 drivers/usb/serial/garmin_gps.c __u8 *ptr = pkt; ptr 343 drivers/usb/serial/garmin_gps.c *ptr++ = DLE; ptr 344 drivers/usb/serial/garmin_gps.c *ptr++ = ACK; ptr 347 drivers/usb/serial/garmin_gps.c *ptr++ = 2; ptr 350 drivers/usb/serial/garmin_gps.c *ptr++ = pkt_id; ptr 354 drivers/usb/serial/garmin_gps.c *ptr++ = DLE; ptr 356 drivers/usb/serial/garmin_gps.c *ptr++ = 0; ptr 357 drivers/usb/serial/garmin_gps.c *ptr++ = (-cksum) & 0xFF; ptr 358 drivers/usb/serial/garmin_gps.c *ptr++ = DLE; ptr 359 drivers/usb/serial/garmin_gps.c *ptr++ = ETX; ptr 361 drivers/usb/serial/garmin_gps.c l = ptr-pkt; ptr 802 drivers/usb/storage/alauda.c unsigned char *ptr, unsigned char *blockbuffer) ptr 871 drivers/usb/storage/alauda.c xptr = ptr; ptr 1124 drivers/usb/storage/alauda.c unsigned char *ptr = us->iobuf; ptr 1131 drivers/usb/storage/alauda.c memcpy(ptr, inquiry_response, sizeof(inquiry_response)); ptr 1132 drivers/usb/storage/alauda.c fill_inquiry_response(us, ptr, 36); ptr 1156 drivers/usb/storage/alauda.c ((__be32 *) ptr)[0] = cpu_to_be32(capacity - 1); ptr 1157 drivers/usb/storage/alauda.c ((__be32 *) ptr)[1] = cpu_to_be32(512); ptr 1159 drivers/usb/storage/alauda.c usb_stor_set_xfer_buf(ptr, 8, srb); ptr 1200 drivers/usb/storage/alauda.c memset(ptr, 0, 18); ptr 1201 drivers/usb/storage/alauda.c ptr[0] = 0xF0; ptr 1202 drivers/usb/storage/alauda.c ptr[2] = info->sense_key; ptr 1203 drivers/usb/storage/alauda.c ptr[7] = 11; ptr 1204 drivers/usb/storage/alauda.c ptr[12] = info->sense_asc; ptr 1205 drivers/usb/storage/alauda.c ptr[13] = info->sense_ascq; ptr 1206 drivers/usb/storage/alauda.c usb_stor_set_xfer_buf(ptr, 18, srb); ptr 456 drivers/usb/storage/datafab.c unsigned char *ptr = us->iobuf; ptr 481 drivers/usb/storage/datafab.c memset(ptr, 0, 8); ptr 483 drivers/usb/storage/datafab.c ptr[2] = 0x00; // WP enable: 0x80 ptr 486 drivers/usb/storage/datafab.c ptr[3] = 0x00; // WP enable: 0x80 ptr 499 drivers/usb/storage/datafab.c memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); ptr 504 drivers/usb/storage/datafab.c memcpy(ptr + i, cache_page, sizeof(cache_page)); ptr 509 drivers/usb/storage/datafab.c memcpy(ptr + i, rbac_page, sizeof(rbac_page)); ptr 514 drivers/usb/storage/datafab.c memcpy(ptr + i, timer_page, sizeof(timer_page)); ptr 519 drivers/usb/storage/datafab.c memcpy(ptr + i, timer_page, sizeof(timer_page)); ptr 521 drivers/usb/storage/datafab.c memcpy(ptr + i, rbac_page, sizeof(rbac_page)); ptr 523 drivers/usb/storage/datafab.c memcpy(ptr + i, cache_page, sizeof(cache_page)); ptr 525 drivers/usb/storage/datafab.c memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); ptr 531 drivers/usb/storage/datafab.c ptr[0] = i - 1; ptr 533 drivers/usb/storage/datafab.c ((__be16 *) ptr)[0] = cpu_to_be16(i - 2); ptr 534 drivers/usb/storage/datafab.c usb_stor_set_xfer_buf(ptr, i, srb); ptr 553 drivers/usb/storage/datafab.c unsigned char *ptr = us->iobuf; ptr 571 drivers/usb/storage/datafab.c memcpy(ptr, inquiry_reply, sizeof(inquiry_reply)); ptr 572 drivers/usb/storage/datafab.c fill_inquiry_response(us, ptr, 36); ptr 587 drivers/usb/storage/datafab.c ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); ptr 588 drivers/usb/storage/datafab.c ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); ptr 589 drivers/usb/storage/datafab.c usb_stor_set_xfer_buf(ptr, 8, srb); ptr 663 drivers/usb/storage/datafab.c memset(ptr, 0, 18); ptr 664 drivers/usb/storage/datafab.c ptr[0] = 0xF0; ptr 665 drivers/usb/storage/datafab.c ptr[2] = info->sense_key; ptr 666 drivers/usb/storage/datafab.c ptr[7] = 11; ptr 667 drivers/usb/storage/datafab.c ptr[12] = info->sense_asc; ptr 668 drivers/usb/storage/datafab.c ptr[13] = info->sense_ascq; ptr 669 drivers/usb/storage/datafab.c usb_stor_set_xfer_buf(ptr, 18, srb); ptr 385 drivers/usb/storage/jumpshot.c unsigned char *ptr = us->iobuf; ptr 405 drivers/usb/storage/jumpshot.c memset(ptr, 0, 8); ptr 407 drivers/usb/storage/jumpshot.c ptr[2] = 0x00; // WP enable: 0x80 ptr 410 drivers/usb/storage/jumpshot.c ptr[3] = 0x00; // WP enable: 0x80 ptr 423 drivers/usb/storage/jumpshot.c memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); ptr 428 drivers/usb/storage/jumpshot.c memcpy(ptr + i, cache_page, sizeof(cache_page)); ptr 433 drivers/usb/storage/jumpshot.c memcpy(ptr + i, rbac_page, sizeof(rbac_page)); ptr 438 drivers/usb/storage/jumpshot.c memcpy(ptr + i, timer_page, sizeof(timer_page)); ptr 443 drivers/usb/storage/jumpshot.c memcpy(ptr + i, timer_page, sizeof(timer_page)); ptr 445 drivers/usb/storage/jumpshot.c memcpy(ptr + i, rbac_page, sizeof(rbac_page)); ptr 447 drivers/usb/storage/jumpshot.c memcpy(ptr + i, cache_page, sizeof(cache_page)); ptr 449 drivers/usb/storage/jumpshot.c memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); ptr 455 drivers/usb/storage/jumpshot.c ptr[0] = i - 1; ptr 457 drivers/usb/storage/jumpshot.c ((__be16 *) ptr)[0] = cpu_to_be16(i - 2); ptr 458 drivers/usb/storage/jumpshot.c usb_stor_set_xfer_buf(ptr, i, srb); ptr 479 drivers/usb/storage/jumpshot.c unsigned char *ptr = us->iobuf; ptr 496 drivers/usb/storage/jumpshot.c memcpy(ptr, inquiry_response, sizeof(inquiry_response)); ptr 497 drivers/usb/storage/jumpshot.c fill_inquiry_response(us, ptr, 36); ptr 517 drivers/usb/storage/jumpshot.c ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); ptr 518 drivers/usb/storage/jumpshot.c ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); ptr 519 drivers/usb/storage/jumpshot.c usb_stor_set_xfer_buf(ptr, 8, srb); ptr 588 drivers/usb/storage/jumpshot.c memset(ptr, 0, 18); ptr 589 drivers/usb/storage/jumpshot.c ptr[0] = 0xF0; ptr 590 drivers/usb/storage/jumpshot.c ptr[2] = info->sense_key; ptr 591 drivers/usb/storage/jumpshot.c ptr[7] = 11; ptr 592 drivers/usb/storage/jumpshot.c ptr[12] = info->sense_asc; ptr 593 drivers/usb/storage/jumpshot.c ptr[13] = info->sense_ascq; ptr 594 drivers/usb/storage/jumpshot.c usb_stor_set_xfer_buf(ptr, 18, srb); ptr 853 drivers/usb/storage/sddr09.c unsigned char *ptr, unsigned char *blockbuffer) { ptr 918 drivers/usb/storage/sddr09.c xptr = ptr; ptr 1202 drivers/usb/storage/sddr09.c unsigned char *buffer, *buffer_end, *ptr; ptr 1251 drivers/usb/storage/sddr09.c ptr = buffer_end; ptr 1253 drivers/usb/storage/sddr09.c ptr += (1 << CONTROL_SHIFT); ptr 1254 drivers/usb/storage/sddr09.c if (ptr >= buffer_end) { ptr 1266 drivers/usb/storage/sddr09.c ptr = buffer; ptr 1276 drivers/usb/storage/sddr09.c if (ptr[j] != 0) ptr 1286 drivers/usb/storage/sddr09.c if (ptr[j] != 0xff) ptr 1297 drivers/usb/storage/sddr09.c i, ptr[0], ptr[1], ptr[2], ptr[3], ptr 1298 drivers/usb/storage/sddr09.c ptr[4], ptr[5]); ptr 1303 drivers/usb/storage/sddr09.c if ((ptr[6] >> 4) != 0x01) { ptr 1307 drivers/usb/storage/sddr09.c i, ptr[6], ptr[7], ptr[11], ptr[12]); ptr 1313 drivers/usb/storage/sddr09.c if (parity[ptr[6] ^ ptr[7]]) { ptr 1316 drivers/usb/storage/sddr09.c " (%02X %02X)\n", i, ptr[6], ptr[7]); ptr 1321 drivers/usb/storage/sddr09.c lba = short_pack(ptr[7], ptr[6]); ptr 1542 drivers/usb/storage/sddr09.c unsigned char *ptr = us->iobuf; ptr 1563 drivers/usb/storage/sddr09.c memset(ptr, 0, 18); ptr 1564 drivers/usb/storage/sddr09.c ptr[0] = 0x70; ptr 1565 drivers/usb/storage/sddr09.c ptr[2] = sensekey; ptr 1566 drivers/usb/storage/sddr09.c ptr[7] = 11; ptr 1567 drivers/usb/storage/sddr09.c ptr[12] = sensecode; ptr 1568 drivers/usb/storage/sddr09.c usb_stor_set_xfer_buf(ptr, 18, srb); ptr 1581 drivers/usb/storage/sddr09.c memcpy(ptr, inquiry_response, 8); ptr 1582 drivers/usb/storage/sddr09.c fill_inquiry_response(us, ptr, 36); ptr 1617 drivers/usb/storage/sddr09.c ((__be32 *) ptr)[0] = cpu_to_be32(capacity); ptr 1621 drivers/usb/storage/sddr09.c ((__be32 *) ptr)[1] = cpu_to_be32(info->pagesize); ptr 1622 drivers/usb/storage/sddr09.c usb_stor_set_xfer_buf(ptr, 8, srb); ptr 1639 drivers/usb/storage/sddr09.c memcpy(ptr, mode_page_01, sizeof(mode_page_01)); ptr 1640 drivers/usb/storage/sddr09.c ((__be16*)ptr)[0] = cpu_to_be16(sizeof(mode_page_01) - 2); ptr 1641 drivers/usb/storage/sddr09.c ptr[3] = (info->flags & SDDR09_WP) ? 0x80 : 0; ptr 1642 drivers/usb/storage/sddr09.c usb_stor_set_xfer_buf(ptr, sizeof(mode_page_01), srb); ptr 1703 drivers/usb/storage/sddr09.c ptr[0] = 0; ptr 1705 drivers/usb/storage/sddr09.c sprintf(ptr+strlen(ptr), "%02X ", srb->cmnd[i]); ptr 1707 drivers/usb/storage/sddr09.c usb_stor_dbg(us, "Send control for command %s\n", ptr); ptr 787 drivers/usb/storage/sddr55.c unsigned char *ptr = us->iobuf; ptr 811 drivers/usb/storage/sddr55.c memcpy (ptr, info->sense_data, sizeof info->sense_data); ptr 812 drivers/usb/storage/sddr55.c ptr[0] = 0x70; ptr 813 drivers/usb/storage/sddr55.c ptr[7] = 11; ptr 814 drivers/usb/storage/sddr55.c usb_stor_set_xfer_buf (ptr, sizeof info->sense_data, srb); ptr 828 drivers/usb/storage/sddr55.c memcpy(ptr, inquiry_response, 8); ptr 829 drivers/usb/storage/sddr55.c fill_inquiry_response(us, ptr, 36); ptr 886 drivers/usb/storage/sddr55.c ((__be32 *) ptr)[0] = cpu_to_be32(capacity); ptr 887 drivers/usb/storage/sddr55.c ((__be32 *) ptr)[1] = cpu_to_be32(PAGESIZE); ptr 888 drivers/usb/storage/sddr55.c usb_stor_set_xfer_buf(ptr, 8, srb); ptr 897 drivers/usb/storage/sddr55.c memcpy(ptr, mode_page_01, sizeof mode_page_01); ptr 898 drivers/usb/storage/sddr55.c ptr[3] = (info->read_only || info->force_read_only) ? 0x80 : 0; ptr 899 drivers/usb/storage/sddr55.c usb_stor_set_xfer_buf(ptr, sizeof(mode_page_01), srb); ptr 1685 drivers/usb/storage/shuttle_usbat.c unsigned char *ptr = us->iobuf; ptr 1692 drivers/usb/storage/shuttle_usbat.c memcpy(ptr, inquiry_response, sizeof(inquiry_response)); ptr 1693 drivers/usb/storage/shuttle_usbat.c fill_inquiry_response(us, ptr, 36); ptr 1716 drivers/usb/storage/shuttle_usbat.c ((__be32 *) ptr)[0] = cpu_to_be32(info->sectors - 1); ptr 1717 drivers/usb/storage/shuttle_usbat.c ((__be32 *) ptr)[1] = cpu_to_be32(info->ssize); ptr 1718 drivers/usb/storage/shuttle_usbat.c usb_stor_set_xfer_buf(ptr, 8, srb); ptr 1794 drivers/usb/storage/shuttle_usbat.c memset(ptr, 0, 18); ptr 1795 drivers/usb/storage/shuttle_usbat.c ptr[0] = 0xF0; ptr 1796 drivers/usb/storage/shuttle_usbat.c ptr[2] = info->sense_key; ptr 1797 drivers/usb/storage/shuttle_usbat.c ptr[7] = 11; ptr 1798 drivers/usb/storage/shuttle_usbat.c ptr[12] = info->sense_asc; ptr 1799 drivers/usb/storage/shuttle_usbat.c ptr[13] = info->sense_ascq; ptr 1800 drivers/usb/storage/shuttle_usbat.c usb_stor_set_xfer_buf(ptr, 18, srb); ptr 50 drivers/vfio/pci/vfio_pci_nvlink2.c void __iomem *ptr; ptr 71 drivers/vfio/pci/vfio_pci_nvlink2.c ptr = ioremap_cache(data->gpu_hpa + posaligned, sizealigned); ptr 72 drivers/vfio/pci/vfio_pci_nvlink2.c if (!ptr) ptr 76 drivers/vfio/pci/vfio_pci_nvlink2.c if (copy_from_user(ptr + posoff, buf, count)) ptr 81 drivers/vfio/pci/vfio_pci_nvlink2.c if (copy_to_user(buf, ptr + posoff, count)) ptr 87 drivers/vfio/pci/vfio_pci_nvlink2.c iounmap(ptr); ptr 198 drivers/vhost/net.c static int vhost_net_buf_peek_len(void *ptr) ptr 200 drivers/vhost/net.c if (tun_is_xdp_frame(ptr)) { ptr 201 drivers/vhost/net.c struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); ptr 206 drivers/vhost/net.c return __skb_array_len_with_tag(ptr); ptr 467 drivers/vhost/net.c .ptr = nvq->xdp, ptr 906 drivers/vhost/net.c ctl.ptr = ubuf; ptr 2068 drivers/vhost/scsi.c unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; ptr 2089 drivers/vhost/scsi.c ptr = strstr(i_port, "naa."); ptr 2090 drivers/vhost/scsi.c if (ptr) { ptr 2100 drivers/vhost/scsi.c ptr = strstr(i_port, "fc."); ptr 2101 drivers/vhost/scsi.c if (ptr) { ptr 2111 drivers/vhost/scsi.c ptr = strstr(i_port, "iqn."); ptr 2112 drivers/vhost/scsi.c if (ptr) { ptr 2208 drivers/vhost/scsi.c char *ptr; ptr 2225 drivers/vhost/scsi.c ptr = strstr(name, "naa."); ptr 2226 drivers/vhost/scsi.c if (ptr) { ptr 2230 drivers/vhost/scsi.c ptr = strstr(name, "fc."); ptr 2231 drivers/vhost/scsi.c if (ptr) { ptr 2236 drivers/vhost/scsi.c ptr = strstr(name, "iqn."); ptr 2237 drivers/vhost/scsi.c if (ptr) { ptr 897 drivers/vhost/vhost.c #define vhost_put_user(vq, x, ptr) \ ptr 901 drivers/vhost/vhost.c ret = __put_user(x, ptr); \ ptr 903 drivers/vhost/vhost.c __typeof__(ptr) to = \ ptr 904 drivers/vhost/vhost.c (__typeof__(ptr)) __vhost_get_user(vq, ptr, \ ptr 905 drivers/vhost/vhost.c sizeof(*ptr), VHOST_ADDR_USED); \ ptr 942 drivers/vhost/vhost.c #define vhost_get_user(vq, x, ptr, type) \ ptr 946 drivers/vhost/vhost.c ret = __get_user(x, ptr); \ ptr 948 drivers/vhost/vhost.c __typeof__(ptr) from = \ ptr 949 drivers/vhost/vhost.c (__typeof__(ptr)) __vhost_get_user(vq, ptr, \ ptr 950 drivers/vhost/vhost.c sizeof(*ptr), \ ptr 960 drivers/vhost/vhost.c #define vhost_get_avail(vq, x, ptr) \ ptr 961 drivers/vhost/vhost.c vhost_get_user(vq, x, ptr, VHOST_ADDR_AVAIL) ptr 963 drivers/vhost/vhost.c #define vhost_get_used(vq, x, ptr) \ ptr 964 drivers/vhost/vhost.c vhost_get_user(vq, x, ptr, VHOST_ADDR_USED) ptr 75 drivers/vhost/vringh.c void *ptr, size_t len, ptr 76 drivers/vhost/vringh.c int (*xfer)(void *addr, void *ptr, ptr 85 drivers/vhost/vringh.c err = xfer(iov->iov[iov->i].iov_base, ptr, partlen); ptr 90 drivers/vhost/vringh.c ptr += partlen; ptr 534 drivers/video/backlight/backlight.c struct backlight_device **ptr, *backlight; ptr 536 drivers/video/backlight/backlight.c ptr = devres_alloc(devm_backlight_device_release, sizeof(*ptr), ptr 538 drivers/video/backlight/backlight.c if (!ptr) ptr 544 drivers/video/backlight/backlight.c *ptr = backlight; ptr 545 drivers/video/backlight/backlight.c devres_add(dev, ptr); ptr 547 drivers/video/backlight/backlight.c devres_free(ptr); ptr 280 drivers/video/backlight/lcd.c struct lcd_device **ptr, *lcd; ptr 282 drivers/video/backlight/lcd.c ptr = devres_alloc(devm_lcd_device_release, sizeof(*ptr), GFP_KERNEL); ptr 283 drivers/video/backlight/lcd.c if (!ptr) ptr 288 drivers/video/backlight/lcd.c *ptr = lcd; ptr 289 drivers/video/backlight/lcd.c devres_add(dev, ptr); ptr 291 drivers/video/backlight/lcd.c devres_free(ptr); ptr 626 drivers/video/fbdev/amifb.c #define assignchunk(name, type, ptr, size) \ ptr 628 drivers/video/fbdev/amifb.c (name) = (type)(ptr); \ ptr 629 drivers/video/fbdev/amifb.c ptr += size; \ ptr 232 drivers/video/fbdev/fm2fb.c unsigned long *ptr; ptr 262 drivers/video/fbdev/fm2fb.c ptr = (unsigned long *)fb_fix.smem_start; ptr 264 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0xffffff;/* white */ ptr 265 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0xffff00;/* yellow */ ptr 266 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0x00ffff;/* cyan */ ptr 267 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0x00ff00;/* green */ ptr 268 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0xff00ff;/* magenta */ ptr 269 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0xff0000;/* red */ ptr 270 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0x0000ff;/* blue */ ptr 271 drivers/video/fbdev/fm2fb.c for (x = 0; x < 96; x++) *ptr++ = 0x000000;/* black */ ptr 178 drivers/video/fbdev/g364fb.c volatile unsigned int *ptr = (volatile unsigned int *) CLR_PAL_REG; ptr 187 drivers/video/fbdev/g364fb.c ptr[regno << 1] = (red << 16) | (green << 8) | blue; ptr 1589 drivers/video/fbdev/matrox/matroxfb_base.c const char* ptr; ptr 1598 drivers/video/fbdev/matrox/matroxfb_base.c ptr = outputs; ptr 1600 drivers/video/fbdev/matrox/matroxfb_base.c char c = *ptr++; ptr 126 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c unsigned const char *line, *ptr; ptr 135 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c line = ptr = image->data; ptr 139 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c ptr = line; ptr 142 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c (((u32 *) (info->pseudo_palette))[*ptr]) & 0xffff; ptr 143 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c ptr++; ptr 146 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c pseudo_palette))[*ptr]) & 0xffff) << 16; ptr 147 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c ptr++; ptr 548 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c char *ptr = buf; ptr 552 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ptr += sprintf(ptr, "%08x = %08x\n", ptr 556 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ptr += sprintf(ptr, "%08x = %08x\n", ptr 560 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ptr += sprintf(ptr, "%08x = %08x\n", ptr 564 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ptr += sprintf(ptr, "geo %08x = %08x\n", ptr 568 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ptr += sprintf(ptr, "draw %08x = %08x\n", ptr 572 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c ptr += sprintf(ptr, "draw %08x = %08x\n", ptr 575 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c return ptr - buf; ptr 413 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c u8 *ptr; ptr 425 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c ptr = data + HDMI_INFOFRAME_HEADER_SIZE; ptr 427 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c y = (ptr[0] >> 5) & 0x3; ptr 428 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c a = (ptr[0] >> 4) & 0x1; ptr 429 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c b = (ptr[0] >> 2) & 0x3; ptr 430 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c s = (ptr[0] >> 0) & 0x3; ptr 432 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c c = (ptr[1] >> 6) & 0x3; ptr 433 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c m = (ptr[1] >> 4) & 0x3; ptr 434 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c r = (ptr[1] >> 0) & 0xf; ptr 436 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c itc = (ptr[2] >> 7) & 0x1; ptr 437 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c ec = (ptr[2] >> 4) & 0x7; ptr 438 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c q = (ptr[2] >> 2) & 0x3; ptr 439 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c sc = (ptr[2] >> 0) & 0x3; ptr 441 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c vic = ptr[3]; ptr 443 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c yq = (ptr[4] >> 6) & 0x3; ptr 444 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c cn = (ptr[4] >> 4) & 0x3; ptr 445 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c pr = (ptr[4] >> 0) & 0xf; ptr 908 drivers/video/fbdev/ps3fb.c static irqreturn_t ps3fb_vsync_interrupt(int irq, void *ptr) ptr 910 drivers/video/fbdev/ps3fb.c struct device *dev = ptr; ptr 80 drivers/video/fbdev/pxa3xx-gcu.c u32 *ptr; ptr 413 drivers/video/fbdev/pxa3xx-gcu.c ret = copy_from_user(buffer->ptr, buff, words * 4); ptr 425 drivers/video/fbdev/pxa3xx-gcu.c buffer->ptr[words] = 0x01000000; ptr 538 drivers/video/fbdev/pxa3xx-gcu.c buffer->ptr = dma_alloc_coherent(dev, PXA3XX_GCU_BATCH_WORDS * 4, ptr 540 drivers/video/fbdev/pxa3xx-gcu.c if (!buffer->ptr) { ptr 561 drivers/video/fbdev/pxa3xx-gcu.c buffer->ptr, buffer->phys); ptr 176 drivers/video/fbdev/pxafb.h #define TO_INF(ptr,member) container_of(ptr,struct pxafb_info,member) ptr 75 drivers/video/fbdev/sa1100fb.h #define TO_INF(ptr,member) container_of(ptr,struct sa1100fb_info,member) ptr 5109 drivers/video/fbdev/sis/sis_main.c const u8 *ptr, *ptr2; ptr 5195 drivers/video/fbdev/sis/sis_main.c ptr = cs78; ptr 5197 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x78]; ptr 5200 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISSR, 0x23 + i, ptr[i]); ptr 5203 drivers/video/fbdev/sis/sis_main.c ptr = cs76; ptr 5205 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x76]; ptr 5208 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISSR, 0x21 + i, ptr[i]); ptr 5223 drivers/video/fbdev/sis/sis_main.c ptr = cs7b; ptr 5225 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x7b]; ptr 5228 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISSR, 0x31 + i, ptr[i]); ptr 5409 drivers/video/fbdev/sis/sis_main.c ptr = cs128; ptr 5411 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x128]; ptr 5414 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISCR, 0x68 + i, ptr[j + regb]); ptr 5417 drivers/video/fbdev/sis/sis_main.c ptr = cs31a; ptr 5421 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[index]; ptr 5426 drivers/video/fbdev/sis/sis_main.c regd = le32_to_cpu(((u32 *)ptr)[regb]); ptr 5447 drivers/video/fbdev/sis/sis_main.c ptr = NULL; ptr 5450 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[index]; ptr 5457 drivers/video/fbdev/sis/sis_main.c if(ptr) { ptr 5458 drivers/video/fbdev/sis/sis_main.c regd = le32_to_cpu(((u32 *)ptr)[regb * 8]); ptr 5459 drivers/video/fbdev/sis/sis_main.c ptr += 4; ptr 5475 drivers/video/fbdev/sis/sis_main.c ptr = cs148; ptr 5477 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x148]; ptr 5480 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISCR, 0x80 + i, ptr[j + regb]); ptr 5485 drivers/video/fbdev/sis/sis_main.c ptr = cs45a; ptr 5488 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[index]; ptr 5490 drivers/video/fbdev/sis/sis_main.c regd = le16_to_cpu(((const u16 *)ptr)[regb]); ptr 5515 drivers/video/fbdev/sis/sis_main.c ptr = cs170; ptr 5517 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x170]; ptr 5520 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISCR, 0x90 + i, ptr[j + regb]); ptr 5525 drivers/video/fbdev/sis/sis_main.c ptr = cs1a8; ptr 5527 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x1a8]; ptr 5530 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISCR, 0xc3 + i, ptr[j + regb]); ptr 5533 drivers/video/fbdev/sis/sis_main.c ptr = cs100; ptr 5535 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[0x100]; ptr 5538 drivers/video/fbdev/sis/sis_main.c SiS_SetReg(SISCR, 0x8a + i, ptr[j + regb]); ptr 172 drivers/video/fbdev/sm501fb.c unsigned int ptr; ptr 177 drivers/video/fbdev/sm501fb.c ptr = inf->fbmem_len - size; ptr 178 drivers/video/fbdev/sm501fb.c inf->fbmem_len = ptr; /* adjust available memory. */ ptr 185 drivers/video/fbdev/sm501fb.c ptr = inf->fbmem_len - size; ptr 192 drivers/video/fbdev/sm501fb.c if (ptr > 0) ptr 193 drivers/video/fbdev/sm501fb.c ptr &= ~(PAGE_SIZE - 1); ptr 195 drivers/video/fbdev/sm501fb.c if (fbi && ptr < smem_len) ptr 201 drivers/video/fbdev/sm501fb.c ptr = 0; ptr 213 drivers/video/fbdev/sm501fb.c if ((ptr + size) > end) ptr 220 drivers/video/fbdev/sm501fb.c ptr = fbi ? smem_len : 0; ptr 229 drivers/video/fbdev/sm501fb.c if ((ptr + size) > end) ptr 239 drivers/video/fbdev/sm501fb.c mem->sm_addr = ptr; ptr 240 drivers/video/fbdev/sm501fb.c mem->k_addr = inf->fbmem + ptr; ptr 1222 drivers/video/fbdev/sm501fb.c static int sm501fb_show_regs(struct sm501fb_info *info, char *ptr, ptr 1226 drivers/video/fbdev/sm501fb.c char *buf = ptr; ptr 1230 drivers/video/fbdev/sm501fb.c ptr += sprintf(ptr, "%08x = %08x\n", reg, ptr 1233 drivers/video/fbdev/sm501fb.c return ptr - buf; ptr 1245 drivers/video/fbdev/sm501fb.c char *ptr = buf; ptr 1247 drivers/video/fbdev/sm501fb.c ptr += sm501fb_show_regs(info, ptr, SM501_DC_CRT_CONTROL, 0x40); ptr 1248 drivers/video/fbdev/sm501fb.c ptr += sm501fb_show_regs(info, ptr, SM501_DC_CRT_HWC_BASE, 0x10); ptr 1250 drivers/video/fbdev/sm501fb.c return ptr - buf; ptr 1264 drivers/video/fbdev/sm501fb.c char *ptr = buf; ptr 1266 drivers/video/fbdev/sm501fb.c ptr += sm501fb_show_regs(info, ptr, 0x0, 0x40); ptr 1267 drivers/video/fbdev/sm501fb.c ptr += sm501fb_show_regs(info, ptr, SM501_DC_PANEL_HWC_BASE, 0x10); ptr 1269 drivers/video/fbdev/sm501fb.c return ptr - buf; ptr 254 drivers/video/fbdev/vga16fb.c } *ptr, *best, vgaclocks[] = { ptr 266 drivers/video/fbdev/vga16fb.c for (ptr = vgaclocks + 1; ptr->pixclock; ptr++) { ptr 269 drivers/video/fbdev/vga16fb.c tmp = pixclock - ptr->pixclock; ptr 273 drivers/video/fbdev/vga16fb.c best = ptr; ptr 899 drivers/video/fbdev/via/hw.c char *ptr = input; ptr 908 drivers/video/fbdev/via/hw.c if (!strncmp(ptr, device_mapping[i].name, len)) { ptr 910 drivers/video/fbdev/via/hw.c ptr += len; ptr 911 drivers/video/fbdev/via/hw.c if (*ptr == ',') { ptr 912 drivers/video/fbdev/via/hw.c ptr++; ptr 919 drivers/video/fbdev/via/hw.c *end = ptr; ptr 1467 drivers/video/fbdev/via/viafbdev.c char buf[64], *ptr = buf; ptr 1479 drivers/video/fbdev/via/viafbdev.c ptr++; ptr 1480 drivers/video/fbdev/via/viafbdev.c devices = via_parse_odev(ptr, &ptr); ptr 1481 drivers/video/fbdev/via/viafbdev.c if (*ptr == '\n') ptr 1482 drivers/video/fbdev/via/viafbdev.c ptr++; ptr 1483 drivers/video/fbdev/via/viafbdev.c if (*ptr != 0) ptr 1635 drivers/video/fbdev/via/viafbdev.c char *ptr; ptr 1658 drivers/video/fbdev/via/viafbdev.c *xres = simple_strtoul(str, &ptr, 10); ptr 1659 drivers/video/fbdev/via/viafbdev.c if (ptr[0] != 'x') ptr 1662 drivers/video/fbdev/via/viafbdev.c *yres = simple_strtoul(&ptr[1], &ptr, 10); ptr 1663 drivers/video/fbdev/via/viafbdev.c if (ptr[0]) ptr 34 drivers/video/hdmi.c static u8 hdmi_infoframe_checksum(const u8 *ptr, size_t size) ptr 41 drivers/video/hdmi.c csum += ptr[i]; ptr 48 drivers/video/hdmi.c u8 *ptr = buffer; ptr 50 drivers/video/hdmi.c ptr[3] = hdmi_infoframe_checksum(buffer, size); ptr 116 drivers/video/hdmi.c u8 *ptr = buffer; ptr 131 drivers/video/hdmi.c ptr[0] = frame->type; ptr 132 drivers/video/hdmi.c ptr[1] = frame->version; ptr 133 drivers/video/hdmi.c ptr[2] = frame->length; ptr 134 drivers/video/hdmi.c ptr[3] = 0; /* checksum */ ptr 137 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 139 drivers/video/hdmi.c ptr[0] = ((frame->colorspace & 0x3) << 5) | (frame->scan_mode & 0x3); ptr 146 drivers/video/hdmi.c ptr[0] |= BIT(4); ptr 150 drivers/video/hdmi.c ptr[0] |= BIT(3); ptr 153 drivers/video/hdmi.c ptr[0] |= BIT(2); ptr 155 drivers/video/hdmi.c ptr[1] = ((frame->colorimetry & 0x3) << 6) | ptr 159 drivers/video/hdmi.c ptr[2] = ((frame->extended_colorimetry & 0x7) << 4) | ptr 164 drivers/video/hdmi.c ptr[2] |= BIT(7); ptr 166 drivers/video/hdmi.c ptr[3] = frame->video_code & 0x7f; ptr 168 drivers/video/hdmi.c ptr[4] = ((frame->ycc_quantization_range & 0x3) << 6) | ptr 172 drivers/video/hdmi.c ptr[5] = frame->top_bar & 0xff; ptr 173 drivers/video/hdmi.c ptr[6] = (frame->top_bar >> 8) & 0xff; ptr 174 drivers/video/hdmi.c ptr[7] = frame->bottom_bar & 0xff; ptr 175 drivers/video/hdmi.c ptr[8] = (frame->bottom_bar >> 8) & 0xff; ptr 176 drivers/video/hdmi.c ptr[9] = frame->left_bar & 0xff; ptr 177 drivers/video/hdmi.c ptr[10] = (frame->left_bar >> 8) & 0xff; ptr 178 drivers/video/hdmi.c ptr[11] = frame->right_bar & 0xff; ptr 179 drivers/video/hdmi.c ptr[12] = (frame->right_bar >> 8) & 0xff; ptr 283 drivers/video/hdmi.c u8 *ptr = buffer; ptr 298 drivers/video/hdmi.c ptr[0] = frame->type; ptr 299 drivers/video/hdmi.c ptr[1] = frame->version; ptr 300 drivers/video/hdmi.c ptr[2] = frame->length; ptr 301 drivers/video/hdmi.c ptr[3] = 0; /* checksum */ ptr 304 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 306 drivers/video/hdmi.c memcpy(ptr, frame->vendor, sizeof(frame->vendor)); ptr 307 drivers/video/hdmi.c memcpy(ptr + 8, frame->product, sizeof(frame->product)); ptr 309 drivers/video/hdmi.c ptr[24] = frame->sdi; ptr 408 drivers/video/hdmi.c u8 *ptr = buffer; ptr 428 drivers/video/hdmi.c ptr[0] = frame->type; ptr 429 drivers/video/hdmi.c ptr[1] = frame->version; ptr 430 drivers/video/hdmi.c ptr[2] = frame->length; ptr 431 drivers/video/hdmi.c ptr[3] = 0; /* checksum */ ptr 434 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 436 drivers/video/hdmi.c ptr[0] = ((frame->coding_type & 0xf) << 4) | (channels & 0x7); ptr 437 drivers/video/hdmi.c ptr[1] = ((frame->sample_frequency & 0x7) << 2) | ptr 439 drivers/video/hdmi.c ptr[2] = frame->coding_type_ext & 0x1f; ptr 440 drivers/video/hdmi.c ptr[3] = frame->channel_allocation; ptr 441 drivers/video/hdmi.c ptr[4] = (frame->level_shift_value & 0xf) << 3; ptr 444 drivers/video/hdmi.c ptr[4] |= BIT(7); ptr 570 drivers/video/hdmi.c u8 *ptr = buffer; ptr 585 drivers/video/hdmi.c ptr[0] = frame->type; ptr 586 drivers/video/hdmi.c ptr[1] = frame->version; ptr 587 drivers/video/hdmi.c ptr[2] = frame->length; ptr 588 drivers/video/hdmi.c ptr[3] = 0; /* checksum */ ptr 591 drivers/video/hdmi.c ptr[4] = 0x03; ptr 592 drivers/video/hdmi.c ptr[5] = 0x0c; ptr 593 drivers/video/hdmi.c ptr[6] = 0x00; ptr 596 drivers/video/hdmi.c ptr[7] = 0x2 << 5; /* video format */ ptr 597 drivers/video/hdmi.c ptr[8] = (frame->s3d_struct & 0xf) << 4; ptr 599 drivers/video/hdmi.c ptr[9] = (frame->s3d_ext_data & 0xf) << 4; ptr 601 drivers/video/hdmi.c ptr[7] = 0x1 << 5; /* video format */ ptr 602 drivers/video/hdmi.c ptr[8] = frame->vic; ptr 604 drivers/video/hdmi.c ptr[7] = 0x0 << 5; /* video format */ ptr 714 drivers/video/hdmi.c u8 *ptr = buffer; ptr 725 drivers/video/hdmi.c ptr[0] = frame->type; ptr 726 drivers/video/hdmi.c ptr[1] = frame->version; ptr 727 drivers/video/hdmi.c ptr[2] = frame->length; ptr 728 drivers/video/hdmi.c ptr[3] = 0; /* checksum */ ptr 731 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 733 drivers/video/hdmi.c *ptr++ = frame->eotf; ptr 734 drivers/video/hdmi.c *ptr++ = frame->metadata_type; ptr 737 drivers/video/hdmi.c *ptr++ = frame->display_primaries[i].x; ptr 738 drivers/video/hdmi.c *ptr++ = frame->display_primaries[i].x >> 8; ptr 739 drivers/video/hdmi.c *ptr++ = frame->display_primaries[i].y; ptr 740 drivers/video/hdmi.c *ptr++ = frame->display_primaries[i].y >> 8; ptr 743 drivers/video/hdmi.c *ptr++ = frame->white_point.x; ptr 744 drivers/video/hdmi.c *ptr++ = frame->white_point.x >> 8; ptr 746 drivers/video/hdmi.c *ptr++ = frame->white_point.y; ptr 747 drivers/video/hdmi.c *ptr++ = frame->white_point.y >> 8; ptr 749 drivers/video/hdmi.c *ptr++ = frame->max_display_mastering_luminance; ptr 750 drivers/video/hdmi.c *ptr++ = frame->max_display_mastering_luminance >> 8; ptr 752 drivers/video/hdmi.c *ptr++ = frame->min_display_mastering_luminance; ptr 753 drivers/video/hdmi.c *ptr++ = frame->min_display_mastering_luminance >> 8; ptr 755 drivers/video/hdmi.c *ptr++ = frame->max_cll; ptr 756 drivers/video/hdmi.c *ptr++ = frame->max_cll >> 8; ptr 758 drivers/video/hdmi.c *ptr++ = frame->max_fall; ptr 759 drivers/video/hdmi.c *ptr++ = frame->max_fall >> 8; ptr 1555 drivers/video/hdmi.c const u8 *ptr = buffer; ptr 1561 drivers/video/hdmi.c if (ptr[0] != HDMI_INFOFRAME_TYPE_AVI || ptr 1562 drivers/video/hdmi.c ptr[1] != 2 || ptr 1563 drivers/video/hdmi.c ptr[2] != HDMI_AVI_INFOFRAME_SIZE) ptr 1573 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 1575 drivers/video/hdmi.c frame->colorspace = (ptr[0] >> 5) & 0x3; ptr 1576 drivers/video/hdmi.c if (ptr[0] & 0x10) ptr 1577 drivers/video/hdmi.c frame->active_aspect = ptr[1] & 0xf; ptr 1578 drivers/video/hdmi.c if (ptr[0] & 0x8) { ptr 1579 drivers/video/hdmi.c frame->top_bar = (ptr[6] << 8) | ptr[5]; ptr 1580 drivers/video/hdmi.c frame->bottom_bar = (ptr[8] << 8) | ptr[7]; ptr 1582 drivers/video/hdmi.c if (ptr[0] & 0x4) { ptr 1583 drivers/video/hdmi.c frame->left_bar = (ptr[10] << 8) | ptr[9]; ptr 1584 drivers/video/hdmi.c frame->right_bar = (ptr[12] << 8) | ptr[11]; ptr 1586 drivers/video/hdmi.c frame->scan_mode = ptr[0] & 0x3; ptr 1588 drivers/video/hdmi.c frame->colorimetry = (ptr[1] >> 6) & 0x3; ptr 1589 drivers/video/hdmi.c frame->picture_aspect = (ptr[1] >> 4) & 0x3; ptr 1590 drivers/video/hdmi.c frame->active_aspect = ptr[1] & 0xf; ptr 1592 drivers/video/hdmi.c frame->itc = ptr[2] & 0x80 ? true : false; ptr 1593 drivers/video/hdmi.c frame->extended_colorimetry = (ptr[2] >> 4) & 0x7; ptr 1594 drivers/video/hdmi.c frame->quantization_range = (ptr[2] >> 2) & 0x3; ptr 1595 drivers/video/hdmi.c frame->nups = ptr[2] & 0x3; ptr 1597 drivers/video/hdmi.c frame->video_code = ptr[3] & 0x7f; ptr 1598 drivers/video/hdmi.c frame->ycc_quantization_range = (ptr[4] >> 6) & 0x3; ptr 1599 drivers/video/hdmi.c frame->content_type = (ptr[4] >> 4) & 0x3; ptr 1601 drivers/video/hdmi.c frame->pixel_repeat = ptr[4] & 0xf; ptr 1622 drivers/video/hdmi.c const u8 *ptr = buffer; ptr 1628 drivers/video/hdmi.c if (ptr[0] != HDMI_INFOFRAME_TYPE_SPD || ptr 1629 drivers/video/hdmi.c ptr[1] != 1 || ptr 1630 drivers/video/hdmi.c ptr[2] != HDMI_SPD_INFOFRAME_SIZE) { ptr 1637 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 1639 drivers/video/hdmi.c ret = hdmi_spd_infoframe_init(frame, ptr, ptr + 8); ptr 1643 drivers/video/hdmi.c frame->sdi = ptr[24]; ptr 1664 drivers/video/hdmi.c const u8 *ptr = buffer; ptr 1670 drivers/video/hdmi.c if (ptr[0] != HDMI_INFOFRAME_TYPE_AUDIO || ptr 1671 drivers/video/hdmi.c ptr[1] != 1 || ptr 1672 drivers/video/hdmi.c ptr[2] != HDMI_AUDIO_INFOFRAME_SIZE) { ptr 1683 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 1685 drivers/video/hdmi.c frame->channels = ptr[0] & 0x7; ptr 1686 drivers/video/hdmi.c frame->coding_type = (ptr[0] >> 4) & 0xf; ptr 1687 drivers/video/hdmi.c frame->sample_size = ptr[1] & 0x3; ptr 1688 drivers/video/hdmi.c frame->sample_frequency = (ptr[1] >> 2) & 0x7; ptr 1689 drivers/video/hdmi.c frame->coding_type_ext = ptr[2] & 0x1f; ptr 1690 drivers/video/hdmi.c frame->channel_allocation = ptr[3]; ptr 1691 drivers/video/hdmi.c frame->level_shift_value = (ptr[4] >> 3) & 0xf; ptr 1692 drivers/video/hdmi.c frame->downmix_inhibit = ptr[4] & 0x80 ? true : false; ptr 1714 drivers/video/hdmi.c const u8 *ptr = buffer; ptr 1723 drivers/video/hdmi.c if (ptr[0] != HDMI_INFOFRAME_TYPE_VENDOR || ptr 1724 drivers/video/hdmi.c ptr[1] != 1 || ptr 1725 drivers/video/hdmi.c (ptr[2] != 4 && ptr[2] != 5 && ptr[2] != 6)) ptr 1728 drivers/video/hdmi.c length = ptr[2]; ptr 1737 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 1740 drivers/video/hdmi.c if ((ptr[0] != 0x03) || ptr 1741 drivers/video/hdmi.c (ptr[1] != 0x0c) || ptr 1742 drivers/video/hdmi.c (ptr[2] != 0x00)) ptr 1745 drivers/video/hdmi.c hdmi_video_format = ptr[3] >> 5; ptr 1759 drivers/video/hdmi.c hvf->s3d_struct = ptr[4] >> 4; ptr 1763 drivers/video/hdmi.c hvf->s3d_ext_data = ptr[5] >> 4; ptr 1768 drivers/video/hdmi.c hvf->vic = ptr[4]; ptr 1793 drivers/video/hdmi.c const u8 *ptr = buffer; ptr 1803 drivers/video/hdmi.c if (ptr[0] != HDMI_INFOFRAME_TYPE_DRM || ptr 1804 drivers/video/hdmi.c ptr[1] != 1 || ptr 1805 drivers/video/hdmi.c ptr[2] != HDMI_DRM_INFOFRAME_SIZE) ptr 1815 drivers/video/hdmi.c ptr += HDMI_INFOFRAME_HEADER_SIZE; ptr 1817 drivers/video/hdmi.c frame->eotf = ptr[0] & 0x7; ptr 1818 drivers/video/hdmi.c frame->metadata_type = ptr[1] & 0x7; ptr 1820 drivers/video/hdmi.c temp = ptr + 2; ptr 1830 drivers/video/hdmi.c frame->white_point.x = (ptr[15] << 8) | ptr[14]; ptr 1831 drivers/video/hdmi.c frame->white_point.y = (ptr[17] << 8) | ptr[16]; ptr 1833 drivers/video/hdmi.c frame->max_display_mastering_luminance = (ptr[19] << 8) | ptr[18]; ptr 1834 drivers/video/hdmi.c frame->min_display_mastering_luminance = (ptr[21] << 8) | ptr[20]; ptr 1835 drivers/video/hdmi.c frame->max_cll = (ptr[23] << 8) | ptr[22]; ptr 1836 drivers/video/hdmi.c frame->max_fall = (ptr[25] << 8) | ptr[24]; ptr 1858 drivers/video/hdmi.c const u8 *ptr = buffer; ptr 1863 drivers/video/hdmi.c switch (ptr[0]) { ptr 157 drivers/virtio/virtio_mmio.c u8 *ptr = buf; ptr 161 drivers/virtio/virtio_mmio.c ptr[i] = readb(base + offset + i); ptr 199 drivers/virtio/virtio_mmio.c const u8 *ptr = buf; ptr 203 drivers/virtio/virtio_mmio.c writeb(ptr[i], base + offset + i); ptr 54 drivers/virtio/virtio_pci_legacy.c u8 *ptr = buf; ptr 58 drivers/virtio/virtio_pci_legacy.c ptr[i] = ioread8(ioaddr + i); ptr 70 drivers/virtio/virtio_pci_legacy.c const u8 *ptr = buf; ptr 74 drivers/virtio/virtio_pci_legacy.c iowrite8(ptr[i], ioaddr + i); ptr 150 drivers/vme/bridges/vme_ca91cx42.c static irqreturn_t ca91cx42_irqhandler(int irq, void *ptr) ptr 156 drivers/vme/bridges/vme_ca91cx42.c ca91cx42_bridge = ptr; ptr 244 drivers/vme/bridges/vme_tsi148.c static irqreturn_t tsi148_irqhandler(int irq, void *ptr) ptr 250 drivers/vme/bridges/vme_tsi148.c tsi148_bridge = ptr; ptr 251 drivers/watchdog/diag288_wdt.c void *ptr) ptr 460 drivers/watchdog/wdrtas.c unsigned long code, void *ptr) ptr 460 drivers/watchdog/wdt.c size_t count, loff_t *ptr) ptr 500 drivers/watchdog/wdt_pci.c size_t count, loff_t *ptr) ptr 1030 drivers/xen/gntdev.c void __user *ptr = (void __user *)arg; ptr 1034 drivers/xen/gntdev.c return gntdev_ioctl_map_grant_ref(priv, ptr); ptr 1037 drivers/xen/gntdev.c return gntdev_ioctl_unmap_grant_ref(priv, ptr); ptr 1040 drivers/xen/gntdev.c return gntdev_ioctl_get_offset_for_vaddr(priv, ptr); ptr 1043 drivers/xen/gntdev.c return gntdev_ioctl_notify(priv, ptr); ptr 1046 drivers/xen/gntdev.c return gntdev_ioctl_grant_copy(priv, ptr); ptr 1050 drivers/xen/gntdev.c return gntdev_ioctl_dmabuf_exp_from_refs(priv, use_ptemod, ptr); ptr 1053 drivers/xen/gntdev.c return gntdev_ioctl_dmabuf_exp_wait_released(priv, ptr); ptr 1056 drivers/xen/gntdev.c return gntdev_ioctl_dmabuf_imp_to_refs(priv, ptr); ptr 1059 drivers/xen/gntdev.c return gntdev_ioctl_dmabuf_imp_release(priv, ptr); ptr 259 drivers/xen/xen-front-pgdir-shbuf.c unsigned char *ptr; ptr 279 drivers/xen/xen-front-pgdir-shbuf.c ptr = buf->directory; ptr 284 drivers/xen/xen-front-pgdir-shbuf.c (struct xen_page_directory *)ptr; ptr 302 drivers/xen/xen-front-pgdir-shbuf.c ptr += PAGE_SIZE; ptr 337 drivers/xen/xen-front-pgdir-shbuf.c unsigned char *ptr; ptr 340 drivers/xen/xen-front-pgdir-shbuf.c ptr = buf->directory; ptr 345 drivers/xen/xen-front-pgdir-shbuf.c page_dir = (struct xen_page_directory *)ptr; ptr 348 drivers/xen/xen-front-pgdir-shbuf.c ptr += PAGE_SIZE; ptr 351 drivers/xen/xen-front-pgdir-shbuf.c page_dir = (struct xen_page_directory *)ptr; ptr 363 drivers/xen/xen-front-pgdir-shbuf.c unsigned char *ptr; ptr 366 drivers/xen/xen-front-pgdir-shbuf.c ptr = buf->directory; ptr 377 drivers/xen/xen-front-pgdir-shbuf.c (struct xen_page_directory *)ptr; ptr 388 drivers/xen/xen-front-pgdir-shbuf.c ptr += PAGE_SIZE; ptr 1319 drivers/xen/xen-scsiback.c char *ptr; ptr 1332 drivers/xen/xen-scsiback.c ptr = strstr(name, "naa."); ptr 1333 drivers/xen/xen-scsiback.c if (ptr) { ptr 1337 drivers/xen/xen-scsiback.c ptr = strstr(name, "fc."); ptr 1338 drivers/xen/xen-scsiback.c if (ptr) { ptr 1343 drivers/xen/xen-scsiback.c ptr = strstr(name, "iqn."); ptr 1344 drivers/xen/xen-scsiback.c if (ptr) { ptr 1620 drivers/xen/xen-scsiback.c unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; ptr 1641 drivers/xen/xen-scsiback.c ptr = strstr(i_port, "naa."); ptr 1642 drivers/xen/xen-scsiback.c if (ptr) { ptr 1651 drivers/xen/xen-scsiback.c ptr = strstr(i_port, "fc."); ptr 1652 drivers/xen/xen-scsiback.c if (ptr) { ptr 1661 drivers/xen/xen-scsiback.c ptr = strstr(i_port, "iqn."); ptr 1662 drivers/xen/xen-scsiback.c if (ptr) { ptr 76 fs/adfs/dir_f.c union { __le32 *ptr32; u8 *ptr8; } ptr, end; ptr 100 fs/adfs/dir_f.c ptr.ptr8 = bufoff(bh, i); ptr 101 fs/adfs/dir_f.c end.ptr8 = ptr.ptr8 + last - i; ptr 104 fs/adfs/dir_f.c dircheck = *ptr.ptr8++ ^ ror13(dircheck); ptr 105 fs/adfs/dir_f.c } while (ptr.ptr8 < end.ptr8); ptr 115 fs/adfs/dir_f.c ptr.ptr8 = bufoff(bh, 2008); ptr 116 fs/adfs/dir_f.c end.ptr8 = ptr.ptr8 + 36; ptr 119 fs/adfs/dir_f.c __le32 v = *ptr.ptr32++; ptr 121 fs/adfs/dir_f.c } while (ptr.ptr32 < end.ptr32); ptr 341 fs/affs/amigaffs.c __be32 *ptr = (__be32 *)bh->b_data; ptr 347 fs/affs/amigaffs.c sum += be32_to_cpu(*ptr++); ptr 360 fs/affs/amigaffs.c __be32 *ptr = (__be32 *)bh->b_data; ptr 364 fs/affs/amigaffs.c checksumptr = ptr + 5; ptr 366 fs/affs/amigaffs.c for (checksum = 0; cnt > 0; ptr++, cnt--) ptr 367 fs/affs/amigaffs.c checksum += be32_to_cpu(*ptr); ptr 56 fs/affs/file.c char *ptr = (char *)get_zeroed_page(GFP_NOFS); ptr 57 fs/affs/file.c if (!ptr) ptr 59 fs/affs/file.c AFFS_I(inode)->i_lc = (u32 *)ptr; ptr 60 fs/affs/file.c AFFS_I(inode)->i_ac = (struct affs_ext_key *)(ptr + AFFS_CACHE_SIZE / 2); ptr 388 fs/binfmt_flat.c unsigned long __user *ptr; ptr 393 fs/binfmt_flat.c ptr = (unsigned long __user *)(current->mm->start_code + r.reloc.offset); ptr 395 fs/binfmt_flat.c ptr = (unsigned long __user *)(current->mm->start_data + r.reloc.offset); ptr 397 fs/binfmt_flat.c get_user(val, ptr); ptr 401 fs/binfmt_flat.c r.reloc.offset, ptr, val, segment[r.reloc.type]); ptr 417 fs/binfmt_flat.c put_user(val, ptr); ptr 886 fs/btrfs/backref.c unsigned long ptr; ptr 906 fs/btrfs/backref.c ptr = (unsigned long)(ei + 1); ptr 913 fs/btrfs/backref.c info = (struct btrfs_tree_block_info *)ptr; ptr 915 fs/btrfs/backref.c ptr += sizeof(struct btrfs_tree_block_info); ptr 916 fs/btrfs/backref.c BUG_ON(ptr > end); ptr 923 fs/btrfs/backref.c while (ptr < end) { ptr 928 fs/btrfs/backref.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 987 fs/btrfs/backref.c ptr += btrfs_extent_inline_ref_size(type); ptr 1540 fs/btrfs/backref.c unsigned long ptr; ptr 1587 fs/btrfs/backref.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 1588 fs/btrfs/backref.c extref = (struct btrfs_inode_extref *)ptr; ptr 1764 fs/btrfs/backref.c static int get_extent_inline_ref(unsigned long *ptr, ptr 1776 fs/btrfs/backref.c if (!*ptr) { ptr 1793 fs/btrfs/backref.c *ptr = (unsigned long)*out_eiref; ptr 1794 fs/btrfs/backref.c if ((unsigned long)(*ptr) >= (unsigned long)ei + item_size) ptr 1799 fs/btrfs/backref.c *out_eiref = (struct btrfs_extent_inline_ref *)(*ptr); ptr 1805 fs/btrfs/backref.c *ptr += btrfs_extent_inline_ref_size(*out_type); ptr 1806 fs/btrfs/backref.c WARN_ON(*ptr > end); ptr 1807 fs/btrfs/backref.c if (*ptr == end) ptr 1820 fs/btrfs/backref.c int tree_backref_for_extent(unsigned long *ptr, struct extent_buffer *eb, ptr 1828 fs/btrfs/backref.c if (*ptr == (unsigned long)-1) ptr 1832 fs/btrfs/backref.c ret = get_extent_inline_ref(ptr, eb, key, ei, item_size, ptr 1859 fs/btrfs/backref.c *ptr = (unsigned long)-1; ptr 2074 fs/btrfs/backref.c unsigned long ptr; ptr 2096 fs/btrfs/backref.c ptr = btrfs_item_ptr_offset(eb, slot); ptr 2102 fs/btrfs/backref.c extref = (struct btrfs_inode_extref *)(ptr + cur_offset); ptr 26 fs/btrfs/backref.h int tree_backref_for_extent(unsigned long *ptr, struct extent_buffer *eb, ptr 4636 fs/btrfs/ctree.c unsigned long ptr; ptr 4646 fs/btrfs/ctree.c ptr = btrfs_item_ptr_offset(leaf, slot); ptr 4647 fs/btrfs/ctree.c memmove_extent_buffer(leaf, ptr, ptr 4877 fs/btrfs/ctree.c unsigned long ptr; ptr 4885 fs/btrfs/ctree.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 4886 fs/btrfs/ctree.c write_extent_buffer(leaf, data, ptr, data_size); ptr 476 fs/btrfs/ctree.h void *ptr; ptr 485 fs/btrfs/ctree.h bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr); ptr 1313 fs/btrfs/ctree.h #define read_eb_member(eb, ptr, type, member, result) (\ ptr 1315 fs/btrfs/ctree.h ((unsigned long)(ptr)) + \ ptr 1319 fs/btrfs/ctree.h #define write_eb_member(eb, ptr, type, member, result) (\ ptr 1321 fs/btrfs/ctree.h ((unsigned long)(ptr)) + \ ptr 1327 fs/btrfs/ctree.h const void *ptr, unsigned long off, \ ptr 1329 fs/btrfs/ctree.h void btrfs_set_token_##bits(struct extent_buffer *eb, const void *ptr, \ ptr 1333 fs/btrfs/ctree.h const void *ptr, unsigned long off); \ ptr 1334 fs/btrfs/ctree.h void btrfs_set_##bits(struct extent_buffer *eb, void *ptr, \ ptr 1596 fs/btrfs/ctree.h unsigned long ptr = offsetof(struct btrfs_dev_extent, chunk_tree_uuid); ptr 1597 fs/btrfs/ctree.h return (unsigned long)dev + ptr; ptr 1671 fs/btrfs/ctree.h unsigned long ptr; ptr 1672 fs/btrfs/ctree.h ptr = offsetof(struct btrfs_node, ptrs) + ptr 1674 fs/btrfs/ctree.h return btrfs_key_blockptr(eb, (struct btrfs_key_ptr *)ptr); ptr 1680 fs/btrfs/ctree.h unsigned long ptr; ptr 1681 fs/btrfs/ctree.h ptr = offsetof(struct btrfs_node, ptrs) + ptr 1683 fs/btrfs/ctree.h btrfs_set_key_blockptr(eb, (struct btrfs_key_ptr *)ptr, val); ptr 1688 fs/btrfs/ctree.h unsigned long ptr; ptr 1689 fs/btrfs/ctree.h ptr = offsetof(struct btrfs_node, ptrs) + ptr 1691 fs/btrfs/ctree.h return btrfs_key_generation(eb, (struct btrfs_key_ptr *)ptr); ptr 1697 fs/btrfs/ctree.h unsigned long ptr; ptr 1698 fs/btrfs/ctree.h ptr = offsetof(struct btrfs_node, ptrs) + ptr 1700 fs/btrfs/ctree.h btrfs_set_key_generation(eb, (struct btrfs_key_ptr *)ptr, val); ptr 1715 fs/btrfs/ctree.h unsigned long ptr; ptr 1716 fs/btrfs/ctree.h ptr = btrfs_node_key_ptr_offset(nr); ptr 1717 fs/btrfs/ctree.h write_eb_member(eb, (struct btrfs_key_ptr *)ptr, ptr 809 fs/btrfs/delayed-inode.c char *ptr; ptr 821 fs/btrfs/delayed-inode.c ptr = btrfs_item_ptr(leaf, path->slots[0], char); ptr 823 fs/btrfs/delayed-inode.c write_extent_buffer(leaf, delayed_item->data, (unsigned long)ptr, ptr 43 fs/btrfs/dev-replace.c struct btrfs_dev_replace_item *ptr; ptr 80 fs/btrfs/dev-replace.c ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item); ptr 88 fs/btrfs/dev-replace.c src_devid = btrfs_dev_replace_src_devid(eb, ptr); ptr 90 fs/btrfs/dev-replace.c btrfs_dev_replace_cont_reading_from_srcdev_mode(eb, ptr); ptr 91 fs/btrfs/dev-replace.c dev_replace->replace_state = btrfs_dev_replace_replace_state(eb, ptr); ptr 92 fs/btrfs/dev-replace.c dev_replace->time_started = btrfs_dev_replace_time_started(eb, ptr); ptr 94 fs/btrfs/dev-replace.c btrfs_dev_replace_time_stopped(eb, ptr); ptr 96 fs/btrfs/dev-replace.c btrfs_dev_replace_num_write_errors(eb, ptr)); ptr 98 fs/btrfs/dev-replace.c btrfs_dev_replace_num_uncorrectable_read_errors(eb, ptr)); ptr 99 fs/btrfs/dev-replace.c dev_replace->cursor_left = btrfs_dev_replace_cursor_left(eb, ptr); ptr 102 fs/btrfs/dev-replace.c dev_replace->cursor_right = btrfs_dev_replace_cursor_right(eb, ptr); ptr 286 fs/btrfs/dev-replace.c struct btrfs_dev_replace_item *ptr; ptr 315 fs/btrfs/dev-replace.c btrfs_item_size_nr(path->nodes[0], path->slots[0]) < sizeof(*ptr)) { ptr 341 fs/btrfs/dev-replace.c &key, sizeof(*ptr)); ptr 350 fs/btrfs/dev-replace.c ptr = btrfs_item_ptr(eb, path->slots[0], ptr 355 fs/btrfs/dev-replace.c btrfs_set_dev_replace_src_devid(eb, ptr, ptr 358 fs/btrfs/dev-replace.c btrfs_set_dev_replace_src_devid(eb, ptr, (u64)-1); ptr 359 fs/btrfs/dev-replace.c btrfs_set_dev_replace_cont_reading_from_srcdev_mode(eb, ptr, ptr 361 fs/btrfs/dev-replace.c btrfs_set_dev_replace_replace_state(eb, ptr, ptr 363 fs/btrfs/dev-replace.c btrfs_set_dev_replace_time_started(eb, ptr, dev_replace->time_started); ptr 364 fs/btrfs/dev-replace.c btrfs_set_dev_replace_time_stopped(eb, ptr, dev_replace->time_stopped); ptr 365 fs/btrfs/dev-replace.c btrfs_set_dev_replace_num_write_errors(eb, ptr, ptr 367 fs/btrfs/dev-replace.c btrfs_set_dev_replace_num_uncorrectable_read_errors(eb, ptr, ptr 371 fs/btrfs/dev-replace.c btrfs_set_dev_replace_cursor_left(eb, ptr, ptr 373 fs/btrfs/dev-replace.c btrfs_set_dev_replace_cursor_right(eb, ptr, ptr 29 fs/btrfs/dir-item.c char *ptr; ptr 45 fs/btrfs/dir-item.c ptr = btrfs_item_ptr(leaf, path->slots[0], char); ptr 47 fs/btrfs/dir-item.c ptr += btrfs_item_size(leaf, item) - data_size; ptr 48 fs/btrfs/dir-item.c return (struct btrfs_dir_item *)ptr; ptr 426 fs/btrfs/dir-item.c unsigned long ptr = (unsigned long)di; ptr 430 fs/btrfs/dir-item.c memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, ptr 431 fs/btrfs/dir-item.c item_len - (ptr + sub_item_len - start)); ptr 833 fs/btrfs/extent-tree.c unsigned long ptr; ptr 914 fs/btrfs/extent-tree.c ptr = (unsigned long)(ei + 1); ptr 918 fs/btrfs/extent-tree.c ptr += sizeof(struct btrfs_tree_block_info); ptr 919 fs/btrfs/extent-tree.c BUG_ON(ptr > end); ptr 929 fs/btrfs/extent-tree.c if (ptr >= end) { ptr 930 fs/btrfs/extent-tree.c WARN_ON(ptr > end); ptr 933 fs/btrfs/extent-tree.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 943 fs/btrfs/extent-tree.c ptr += btrfs_extent_inline_ref_size(type); ptr 977 fs/btrfs/extent-tree.c ptr += btrfs_extent_inline_ref_size(type); ptr 998 fs/btrfs/extent-tree.c *ref_ret = (struct btrfs_extent_inline_ref *)ptr; ptr 1020 fs/btrfs/extent-tree.c unsigned long ptr; ptr 1043 fs/btrfs/extent-tree.c ptr = (unsigned long)ei + item_offset; ptr 1045 fs/btrfs/extent-tree.c if (ptr < end - size) ptr 1046 fs/btrfs/extent-tree.c memmove_extent_buffer(leaf, ptr + size, ptr, ptr 1047 fs/btrfs/extent-tree.c end - size - ptr); ptr 1049 fs/btrfs/extent-tree.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 1112 fs/btrfs/extent-tree.c unsigned long ptr; ptr 1157 fs/btrfs/extent-tree.c ptr = (unsigned long)iref; ptr 1159 fs/btrfs/extent-tree.c if (ptr + size < end) ptr 1160 fs/btrfs/extent-tree.c memmove_extent_buffer(leaf, ptr, ptr + size, ptr 1161 fs/btrfs/extent-tree.c end - ptr - size); ptr 5675 fs/btrfs/extent_io.c char *ptr = (char *)ptrv; ptr 5691 fs/btrfs/extent_io.c ret = memcmp(ptr, kaddr + offset, cur); ptr 5695 fs/btrfs/extent_io.c ptr += cur; ptr 285 fs/btrfs/free-space-tree.c unsigned long ptr; ptr 303 fs/btrfs/free-space-tree.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 304 fs/btrfs/free-space-tree.c write_extent_buffer(leaf, bitmap_cursor, ptr, ptr 371 fs/btrfs/free-space-tree.c unsigned long ptr; ptr 386 fs/btrfs/free-space-tree.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); ptr 387 fs/btrfs/free-space-tree.c read_extent_buffer(leaf, bitmap_cursor, ptr, ptr 500 fs/btrfs/free-space-tree.c unsigned long ptr, i; ptr 510 fs/btrfs/free-space-tree.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 513 fs/btrfs/free-space-tree.c return !!extent_buffer_test_bit(leaf, ptr, i); ptr 525 fs/btrfs/free-space-tree.c unsigned long ptr, first, last; ptr 539 fs/btrfs/free-space-tree.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 543 fs/btrfs/free-space-tree.c extent_buffer_bitmap_set(leaf, ptr, first, last - first); ptr 545 fs/btrfs/free-space-tree.c extent_buffer_bitmap_clear(leaf, ptr, first, last - first); ptr 16 fs/btrfs/inode-item.c unsigned long ptr; ptr 23 fs/btrfs/inode-item.c ptr = btrfs_item_ptr_offset(leaf, slot); ptr 25 fs/btrfs/inode-item.c ref = (struct btrfs_inode_ref *)(ptr + cur_offset); ptr 42 fs/btrfs/inode-item.c unsigned long ptr; ptr 49 fs/btrfs/inode-item.c ptr = btrfs_item_ptr_offset(leaf, slot); ptr 58 fs/btrfs/inode-item.c extref = (struct btrfs_inode_extref *) (ptr + cur_offset); ptr 110 fs/btrfs/inode-item.c unsigned long ptr; ptr 157 fs/btrfs/inode-item.c ptr = (unsigned long)extref; ptr 160 fs/btrfs/inode-item.c memmove_extent_buffer(leaf, ptr, ptr + del_len, ptr 161 fs/btrfs/inode-item.c item_size - (ptr + del_len - item_start)); ptr 180 fs/btrfs/inode-item.c unsigned long ptr; ptr 224 fs/btrfs/inode-item.c ptr = (unsigned long)ref; ptr 227 fs/btrfs/inode-item.c memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, ptr 228 fs/btrfs/inode-item.c item_size - (ptr + sub_item_len - item_start)); ptr 259 fs/btrfs/inode-item.c unsigned long ptr; ptr 291 fs/btrfs/inode-item.c ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); ptr 292 fs/btrfs/inode-item.c ptr += btrfs_item_size(leaf, item) - ins_len; ptr 293 fs/btrfs/inode-item.c extref = (struct btrfs_inode_extref *)ptr; ptr 299 fs/btrfs/inode-item.c ptr = (unsigned long)&extref->name; ptr 300 fs/btrfs/inode-item.c write_extent_buffer(path->nodes[0], name, ptr, name_len); ptr 318 fs/btrfs/inode-item.c unsigned long ptr; ptr 348 fs/btrfs/inode-item.c ptr = (unsigned long)(ref + 1); ptr 365 fs/btrfs/inode-item.c ptr = (unsigned long)(ref + 1); ptr 367 fs/btrfs/inode-item.c write_extent_buffer(path->nodes[0], name, ptr, name_len); ptr 176 fs/btrfs/inode.c unsigned long ptr; ptr 213 fs/btrfs/inode.c ptr = btrfs_file_extent_inline_start(ei); ptr 224 fs/btrfs/inode.c write_extent_buffer(leaf, kaddr, ptr, cur_size); ptr 228 fs/btrfs/inode.c ptr += cur_size; ptr 239 fs/btrfs/inode.c write_extent_buffer(leaf, kaddr + offset, ptr, size); ptr 3801 fs/btrfs/inode.c unsigned long ptr; ptr 3919 fs/btrfs/inode.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 3923 fs/btrfs/inode.c ref = (struct btrfs_inode_ref *)ptr; ptr 3928 fs/btrfs/inode.c extref = (struct btrfs_inode_extref *)ptr; ptr 6427 fs/btrfs/inode.c unsigned long ptr; ptr 6542 fs/btrfs/inode.c ptr = (unsigned long)(ref + 1); ptr 6543 fs/btrfs/inode.c write_extent_buffer(path->nodes[0], name, ptr, name_len); ptr 6973 fs/btrfs/inode.c unsigned long ptr; ptr 6984 fs/btrfs/inode.c ptr = btrfs_file_extent_inline_start(item); ptr 6986 fs/btrfs/inode.c read_extent_buffer(leaf, tmp, ptr, inline_size); ptr 7170 fs/btrfs/inode.c unsigned long ptr; ptr 7187 fs/btrfs/inode.c ptr = btrfs_file_extent_inline_start(item) + extent_offset; ptr 7201 fs/btrfs/inode.c read_extent_buffer(leaf, map + pg_offset, ptr, ptr 10362 fs/btrfs/inode.c unsigned long ptr; ptr 10435 fs/btrfs/inode.c ptr = btrfs_file_extent_inline_start(ei); ptr 10436 fs/btrfs/inode.c write_extent_buffer(leaf, symname, ptr, name_len); ptr 10734 fs/btrfs/inode.c static int btrfs_add_swapfile_pin(struct inode *inode, void *ptr, ptr 10745 fs/btrfs/inode.c sp->ptr = ptr; ptr 10754 fs/btrfs/inode.c if (sp->ptr < entry->ptr || ptr 10755 fs/btrfs/inode.c (sp->ptr == entry->ptr && sp->inode < entry->inode)) { ptr 10757 fs/btrfs/inode.c } else if (sp->ptr > entry->ptr || ptr 10758 fs/btrfs/inode.c (sp->ptr == entry->ptr && sp->inode > entry->inode)) { ptr 10787 fs/btrfs/inode.c btrfs_put_block_group(sp->ptr); ptr 1828 fs/btrfs/ioctl.c u64 *ptr = NULL; ptr 1854 fs/btrfs/ioctl.c ptr = &transid; ptr 1871 fs/btrfs/ioctl.c vol_args->fd, subvol, ptr, ptr 1876 fs/btrfs/ioctl.c if (ptr && copy_to_user(arg + ptr 1879 fs/btrfs/ioctl.c ptr, sizeof(*ptr))) ptr 2295 fs/btrfs/ioctl.c char *ptr; ptr 2313 fs/btrfs/ioctl.c ptr = &name[BTRFS_INO_LOOKUP_PATH_MAX - 1]; ptr 2349 fs/btrfs/ioctl.c ptr -= len + 1; ptr 2351 fs/btrfs/ioctl.c if (ptr < name) { ptr 2356 fs/btrfs/ioctl.c *(ptr + len) = '/'; ptr 2357 fs/btrfs/ioctl.c read_extent_buffer(l, ptr, (unsigned long)(iref + 1), len); ptr 2367 fs/btrfs/ioctl.c memmove(name, ptr, total_len); ptr 2392 fs/btrfs/ioctl.c char *ptr; ptr 2407 fs/btrfs/ioctl.c ptr = &args->path[BTRFS_INO_LOOKUP_USER_PATH_MAX - 1]; ptr 2442 fs/btrfs/ioctl.c ptr -= len + 1; ptr 2444 fs/btrfs/ioctl.c if (ptr < args->path) { ptr 2449 fs/btrfs/ioctl.c *(ptr + len) = '/'; ptr 2450 fs/btrfs/ioctl.c read_extent_buffer(leaf, ptr, ptr 2496 fs/btrfs/ioctl.c memmove(args->path, ptr, total_len); ptr 49 fs/btrfs/print-tree.c unsigned long ptr; ptr 81 fs/btrfs/print-tree.c ptr = (unsigned long)iref; ptr 83 fs/btrfs/print-tree.c while (ptr < end) { ptr 84 fs/btrfs/print-tree.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 123 fs/btrfs/print-tree.c ptr += btrfs_extent_inline_ref_size(type); ptr 125 fs/btrfs/print-tree.c WARN_ON(ptr > end); ptr 375 fs/btrfs/qgroup.c struct btrfs_qgroup_status_item *ptr; ptr 377 fs/btrfs/qgroup.c ptr = btrfs_item_ptr(l, slot, ptr 380 fs/btrfs/qgroup.c if (btrfs_qgroup_status_version(l, ptr) != ptr 386 fs/btrfs/qgroup.c if (btrfs_qgroup_status_generation(l, ptr) != ptr 393 fs/btrfs/qgroup.c ptr); ptr 394 fs/btrfs/qgroup.c rescan_progress = btrfs_qgroup_status_rescan(l, ptr); ptr 417 fs/btrfs/qgroup.c struct btrfs_qgroup_info_item *ptr; ptr 419 fs/btrfs/qgroup.c ptr = btrfs_item_ptr(l, slot, ptr 421 fs/btrfs/qgroup.c qgroup->rfer = btrfs_qgroup_info_rfer(l, ptr); ptr 422 fs/btrfs/qgroup.c qgroup->rfer_cmpr = btrfs_qgroup_info_rfer_cmpr(l, ptr); ptr 423 fs/btrfs/qgroup.c qgroup->excl = btrfs_qgroup_info_excl(l, ptr); ptr 424 fs/btrfs/qgroup.c qgroup->excl_cmpr = btrfs_qgroup_info_excl_cmpr(l, ptr); ptr 429 fs/btrfs/qgroup.c struct btrfs_qgroup_limit_item *ptr; ptr 431 fs/btrfs/qgroup.c ptr = btrfs_item_ptr(l, slot, ptr 433 fs/btrfs/qgroup.c qgroup->lim_flags = btrfs_qgroup_limit_flags(l, ptr); ptr 434 fs/btrfs/qgroup.c qgroup->max_rfer = btrfs_qgroup_limit_max_rfer(l, ptr); ptr 435 fs/btrfs/qgroup.c qgroup->max_excl = btrfs_qgroup_limit_max_excl(l, ptr); ptr 436 fs/btrfs/qgroup.c qgroup->rsv_rfer = btrfs_qgroup_limit_rsv_rfer(l, ptr); ptr 437 fs/btrfs/qgroup.c qgroup->rsv_excl = btrfs_qgroup_limit_rsv_excl(l, ptr); ptr 797 fs/btrfs/qgroup.c struct btrfs_qgroup_status_item *ptr; ptr 818 fs/btrfs/qgroup.c ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item); ptr 819 fs/btrfs/qgroup.c btrfs_set_qgroup_status_flags(l, ptr, fs_info->qgroup_flags); ptr 820 fs/btrfs/qgroup.c btrfs_set_qgroup_status_generation(l, ptr, trans->transid); ptr 821 fs/btrfs/qgroup.c btrfs_set_qgroup_status_rescan(l, ptr, ptr 884 fs/btrfs/qgroup.c struct btrfs_qgroup_status_item *ptr; ptr 940 fs/btrfs/qgroup.c sizeof(*ptr)); ptr 947 fs/btrfs/qgroup.c ptr = btrfs_item_ptr(leaf, path->slots[0], ptr 949 fs/btrfs/qgroup.c btrfs_set_qgroup_status_generation(leaf, ptr, trans->transid); ptr 950 fs/btrfs/qgroup.c btrfs_set_qgroup_status_version(leaf, ptr, BTRFS_QGROUP_STATUS_VERSION); ptr 953 fs/btrfs/qgroup.c btrfs_set_qgroup_status_flags(leaf, ptr, fs_info->qgroup_flags); ptr 954 fs/btrfs/qgroup.c btrfs_set_qgroup_status_rescan(leaf, ptr, 0); ptr 1019 fs/btrfs/raid56.c #define CONSUME_ALLOC(ptr, count) do { \ ptr 1020 fs/btrfs/raid56.c ptr = p; \ ptr 1021 fs/btrfs/raid56.c p = (unsigned char *)p + sizeof(*(ptr)) * (count); \ ptr 437 fs/btrfs/ref-verify.c unsigned long end, ptr; ptr 457 fs/btrfs/ref-verify.c ptr = (unsigned long)iref; ptr 459 fs/btrfs/ref-verify.c while (ptr < end) { ptr 460 fs/btrfs/ref-verify.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 490 fs/btrfs/ref-verify.c ptr += btrfs_extent_inline_ref_size(type); ptr 627 fs/btrfs/relocation.c unsigned long *ptr, unsigned long *end) ptr 659 fs/btrfs/relocation.c *ptr = (unsigned long)(bi + 1); ptr 661 fs/btrfs/relocation.c *ptr = (unsigned long)(ei + 1); ptr 700 fs/btrfs/relocation.c unsigned long ptr; ptr 729 fs/btrfs/relocation.c ptr = 0; ptr 772 fs/btrfs/relocation.c if (ptr >= end) { ptr 793 fs/btrfs/relocation.c &ptr, &end); ptr 799 fs/btrfs/relocation.c if (ptr < end) { ptr 803 fs/btrfs/relocation.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 1016 fs/btrfs/relocation.c if (ptr < end) { ptr 1017 fs/btrfs/relocation.c ptr += btrfs_extent_inline_ref_size(key.type); ptr 1018 fs/btrfs/relocation.c if (ptr >= end) { ptr 1019 fs/btrfs/relocation.c WARN_ON(ptr > end); ptr 1020 fs/btrfs/relocation.c ptr = 0; ptr 1024 fs/btrfs/relocation.c if (ptr >= end) ptr 3826 fs/btrfs/relocation.c unsigned long ptr; ptr 3833 fs/btrfs/relocation.c ptr = btrfs_item_ptr_offset(eb, path->slots[0]); ptr 3834 fs/btrfs/relocation.c end = ptr + btrfs_item_size_nr(eb, path->slots[0]); ptr 3835 fs/btrfs/relocation.c ptr += sizeof(struct btrfs_extent_item); ptr 3837 fs/btrfs/relocation.c while (ptr < end) { ptr 3838 fs/btrfs/relocation.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 3859 fs/btrfs/relocation.c ptr += btrfs_extent_inline_ref_size(key.type); ptr 3861 fs/btrfs/relocation.c WARN_ON(ptr > end); ptr 129 fs/btrfs/root-tree.c unsigned long ptr; ptr 152 fs/btrfs/root-tree.c ptr = btrfs_item_ptr_offset(l, slot); ptr 183 fs/btrfs/root-tree.c ptr = btrfs_item_ptr_offset(l, slot); ptr 192 fs/btrfs/root-tree.c write_extent_buffer(l, item, ptr, sizeof(*item)); ptr 361 fs/btrfs/root-tree.c unsigned long ptr; ptr 379 fs/btrfs/root-tree.c ptr = (unsigned long)(ref + 1); ptr 382 fs/btrfs/root-tree.c memcmp_extent_buffer(leaf, name, ptr, name_len)) { ptr 434 fs/btrfs/root-tree.c unsigned long ptr; ptr 457 fs/btrfs/root-tree.c ptr = (unsigned long)(ref + 1); ptr 458 fs/btrfs/root-tree.c write_extent_buffer(leaf, name, ptr, name_len); ptr 738 fs/btrfs/scrub.c unsigned long ptr = 0; ptr 773 fs/btrfs/scrub.c ret = tree_backref_for_extent(&ptr, eb, &found_key, ei, ptr 910 fs/btrfs/send.c unsigned long ptr; ptr 924 fs/btrfs/send.c ptr = (unsigned long)btrfs_item_ptr(eb, slot, ptr 930 fs/btrfs/send.c ptr = btrfs_item_ptr_offset(eb, slot); ptr 939 fs/btrfs/send.c iref = (struct btrfs_inode_ref *)(ptr + cur); ptr 945 fs/btrfs/send.c extref = (struct btrfs_inode_extref *)(ptr + cur); ptr 3637 fs/btrfs/send.c unsigned long ptr; ptr 3640 fs/btrfs/send.c ptr = btrfs_item_ptr_offset(leaf, slot); ptr 3642 fs/btrfs/send.c (ptr + cur_offset); ptr 6412 fs/btrfs/send.c unsigned long ptr; ptr 6428 fs/btrfs/send.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 6430 fs/btrfs/send.c extref = (struct btrfs_inode_extref *)(ptr + ptr 42 fs/btrfs/struct-funcs.c const void *ptr, unsigned long off, \ ptr 45 fs/btrfs/struct-funcs.c unsigned long part_offset = (unsigned long)ptr; \ ptr 80 fs/btrfs/struct-funcs.c const void *ptr, unsigned long off) \ ptr 82 fs/btrfs/struct-funcs.c unsigned long part_offset = (unsigned long)ptr; \ ptr 105 fs/btrfs/struct-funcs.c const void *ptr, unsigned long off, \ ptr 109 fs/btrfs/struct-funcs.c unsigned long part_offset = (unsigned long)ptr; \ ptr 142 fs/btrfs/struct-funcs.c void btrfs_set_##bits(struct extent_buffer *eb, void *ptr, \ ptr 145 fs/btrfs/struct-funcs.c unsigned long part_offset = (unsigned long)ptr; \ ptr 175 fs/btrfs/struct-funcs.c unsigned long ptr = btrfs_node_key_ptr_offset(nr); ptr 176 fs/btrfs/struct-funcs.c read_eb_member(eb, (struct btrfs_key_ptr *)ptr, ptr 1017 fs/btrfs/super.c char *name = NULL, *ptr; ptr 1034 fs/btrfs/super.c ptr = name + PATH_MAX - 1; ptr 1035 fs/btrfs/super.c ptr[0] = '\0'; ptr 1066 fs/btrfs/super.c ptr -= len + 1; ptr 1067 fs/btrfs/super.c if (ptr < name) { ptr 1071 fs/btrfs/super.c read_extent_buffer(path->nodes[0], ptr + 1, ptr 1073 fs/btrfs/super.c ptr[0] = '/'; ptr 1117 fs/btrfs/super.c ptr -= len + 1; ptr 1118 fs/btrfs/super.c if (ptr < name) { ptr 1122 fs/btrfs/super.c read_extent_buffer(path->nodes[0], ptr + 1, ptr 1124 fs/btrfs/super.c ptr[0] = '/'; ptr 1130 fs/btrfs/super.c if (ptr == name + PATH_MAX - 1) { ptr 1134 fs/btrfs/super.c memmove(name, ptr, name + PATH_MAX - ptr); ptr 956 fs/btrfs/tree-checker.c unsigned long ptr; /* Current pointer inside inline refs */ ptr 1058 fs/btrfs/tree-checker.c ptr = (unsigned long)(struct btrfs_extent_item *)(ei + 1); ptr 1064 fs/btrfs/tree-checker.c info = (struct btrfs_tree_block_info *)ptr; ptr 1072 fs/btrfs/tree-checker.c ptr = (unsigned long)(struct btrfs_tree_block_info *)(info + 1); ptr 1076 fs/btrfs/tree-checker.c while (ptr < end) { ptr 1084 fs/btrfs/tree-checker.c if (ptr + sizeof(*iref) > end) { ptr 1087 fs/btrfs/tree-checker.c ptr, sizeof(*iref), end); ptr 1090 fs/btrfs/tree-checker.c iref = (struct btrfs_extent_inline_ref *)ptr; ptr 1093 fs/btrfs/tree-checker.c if (ptr + btrfs_extent_inline_ref_size(inline_type) > end) { ptr 1096 fs/btrfs/tree-checker.c ptr, inline_type, end); ptr 1146 fs/btrfs/tree-checker.c ptr += btrfs_extent_inline_ref_size(inline_type); ptr 1149 fs/btrfs/tree-checker.c if (ptr != end) { ptr 1200 fs/btrfs/tree-checker.c unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); ptr 1201 fs/btrfs/tree-checker.c const unsigned long end = ptr + btrfs_item_size_nr(leaf, slot); ptr 1215 fs/btrfs/tree-checker.c for (; ptr < end; ptr += sizeof(*dref)) { ptr 1221 fs/btrfs/tree-checker.c dref = (struct btrfs_extent_data_ref *)ptr; ptr 950 fs/btrfs/tree-log.c unsigned long ptr; ptr 966 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); ptr 979 fs/btrfs/tree-log.c ptr_end = ptr + item_size; ptr 980 fs/btrfs/tree-log.c while (ptr < ptr_end) { ptr 981 fs/btrfs/tree-log.c ref = (struct btrfs_inode_ref *)ptr; ptr 992 fs/btrfs/tree-log.c ptr = (unsigned long)(ref + 1) + found_name_len; ptr 1025 fs/btrfs/tree-log.c unsigned long ptr; ptr 1040 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 1041 fs/btrfs/tree-log.c ptr_end = ptr + btrfs_item_size_nr(leaf, path->slots[0]); ptr 1042 fs/btrfs/tree-log.c while (ptr < ptr_end) { ptr 1043 fs/btrfs/tree-log.c victim_ref = (struct btrfs_inode_ref *)ptr; ptr 1074 fs/btrfs/tree-log.c ptr = (unsigned long)(victim_ref + 1) + victim_name_len; ptr 1608 fs/btrfs/tree-log.c unsigned long ptr; ptr 1620 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); ptr 1624 fs/btrfs/tree-log.c extref = (struct btrfs_inode_extref *) (ptr + cur_offset); ptr 1648 fs/btrfs/tree-log.c unsigned long ptr; ptr 1672 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); ptr 1673 fs/btrfs/tree-log.c ptr_end = ptr + btrfs_item_size_nr(path->nodes[0], ptr 1675 fs/btrfs/tree-log.c while (ptr < ptr_end) { ptr 1678 fs/btrfs/tree-log.c ref = (struct btrfs_inode_ref *)ptr; ptr 1681 fs/btrfs/tree-log.c ptr = (unsigned long)(ref + 1) + name_len; ptr 2063 fs/btrfs/tree-log.c unsigned long ptr; ptr 2067 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(eb, slot); ptr 2068 fs/btrfs/tree-log.c ptr_end = ptr + item_size; ptr 2069 fs/btrfs/tree-log.c while (ptr < ptr_end) { ptr 2070 fs/btrfs/tree-log.c di = (struct btrfs_dir_item *)ptr; ptr 2075 fs/btrfs/tree-log.c ptr = (unsigned long)(di + 1); ptr 2076 fs/btrfs/tree-log.c ptr += name_len; ptr 2230 fs/btrfs/tree-log.c unsigned long ptr; ptr 2240 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(eb, slot); ptr 2241 fs/btrfs/tree-log.c ptr_end = ptr + item_size; ptr 2242 fs/btrfs/tree-log.c while (ptr < ptr_end) { ptr 2243 fs/btrfs/tree-log.c di = (struct btrfs_dir_item *)ptr; ptr 2308 fs/btrfs/tree-log.c ptr = (unsigned long)(di + 1); ptr 2309 fs/btrfs/tree-log.c ptr += name_len; ptr 4747 fs/btrfs/tree-log.c unsigned long ptr = btrfs_item_ptr_offset(eb, slot); ptr 4765 fs/btrfs/tree-log.c iref = (struct btrfs_inode_ref *)(ptr + cur_offset); ptr 4773 fs/btrfs/tree-log.c extref = (struct btrfs_inode_extref *)(ptr + ptr 5704 fs/btrfs/tree-log.c unsigned long ptr; ptr 5721 fs/btrfs/tree-log.c ptr = btrfs_item_ptr_offset(leaf, slot); ptr 5733 fs/btrfs/tree-log.c (ptr + cur_offset); ptr 1936 fs/btrfs/volumes.c unsigned long ptr; ptr 1969 fs/btrfs/volumes.c ptr = btrfs_device_uuid(dev_item); ptr 1970 fs/btrfs/volumes.c write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); ptr 1971 fs/btrfs/volumes.c ptr = btrfs_device_fsid(dev_item); ptr 1973 fs/btrfs/volumes.c ptr, BTRFS_FSID_SIZE); ptr 2934 fs/btrfs/volumes.c u8 *ptr; ptr 2945 fs/btrfs/volumes.c ptr = super_copy->sys_chunk_array; ptr 2949 fs/btrfs/volumes.c disk_key = (struct btrfs_disk_key *)ptr; ptr 2955 fs/btrfs/volumes.c chunk = (struct btrfs_chunk *)(ptr + len); ptr 2964 fs/btrfs/volumes.c memmove(ptr, ptr + len, array_size - (cur + len)); ptr 2968 fs/btrfs/volumes.c ptr += len; ptr 4905 fs/btrfs/volumes.c u8 *ptr; ptr 4915 fs/btrfs/volumes.c ptr = super_copy->sys_chunk_array + array_size; ptr 4917 fs/btrfs/volumes.c memcpy(ptr, &disk_key, sizeof(disk_key)); ptr 4918 fs/btrfs/volumes.c ptr += sizeof(disk_key); ptr 4919 fs/btrfs/volumes.c memcpy(ptr, chunk, item_size); ptr 6881 fs/btrfs/volumes.c unsigned long ptr; ptr 6896 fs/btrfs/volumes.c ptr = btrfs_device_uuid(dev_item); ptr 6897 fs/btrfs/volumes.c read_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); ptr 7348 fs/btrfs/volumes.c const struct btrfs_dev_stats_item *ptr, ptr 7355 fs/btrfs/volumes.c ((unsigned long)ptr) + (index * sizeof(u64)), ptr 7361 fs/btrfs/volumes.c struct btrfs_dev_stats_item *ptr, ptr 7366 fs/btrfs/volumes.c ((unsigned long)ptr) + (index * sizeof(u64)), ptr 7389 fs/btrfs/volumes.c struct btrfs_dev_stats_item *ptr; ptr 7406 fs/btrfs/volumes.c ptr = btrfs_item_ptr(eb, slot, ptr 7412 fs/btrfs/volumes.c btrfs_dev_stats_value(eb, ptr, i)); ptr 7435 fs/btrfs/volumes.c struct btrfs_dev_stats_item *ptr; ptr 7455 fs/btrfs/volumes.c btrfs_item_size_nr(path->nodes[0], path->slots[0]) < sizeof(*ptr)) { ptr 7471 fs/btrfs/volumes.c &key, sizeof(*ptr)); ptr 7481 fs/btrfs/volumes.c ptr = btrfs_item_ptr(eb, path->slots[0], struct btrfs_dev_stats_item); ptr 7483 fs/btrfs/volumes.c btrfs_set_dev_stats_value(eb, ptr, i, ptr 7911 fs/btrfs/volumes.c bool btrfs_pinned_by_swapfile(struct btrfs_fs_info *fs_info, void *ptr) ptr 7920 fs/btrfs/volumes.c if (ptr < sp->ptr) ptr 7922 fs/btrfs/volumes.c else if (ptr > sp->ptr) ptr 175 fs/btrfs/xattr.c char *ptr; ptr 200 fs/btrfs/xattr.c ptr = btrfs_item_ptr(leaf, slot, char); ptr 201 fs/btrfs/xattr.c ptr += btrfs_item_size(leaf, item) - data_size; ptr 202 fs/btrfs/xattr.c di = (struct btrfs_dir_item *)ptr; ptr 172 fs/ceph/debugfs.c static int mds_sessions_show(struct seq_file *s, void *ptr) ptr 891 fs/cifs/netmisc.c struct smb_hdr *ptr = (struct smb_hdr *)buf; ptr 892 fs/cifs/netmisc.c return (sizeof(struct smb_hdr) + (2 * ptr->WordCount) + ptr 893 fs/cifs/netmisc.c 2 /* size of the bcc field */ + get_bcc(ptr)); ptr 54 fs/cifs/smb2inode.c __u32 create_options, umode_t mode, void *ptr, int command, ptr 191 fs/cifs/smb2inode.c data[0] = ptr; ptr 210 fs/cifs/smb2inode.c data[0] = ptr; ptr 241 fs/cifs/smb2inode.c len = (2 * UniStrnlen((wchar_t *)ptr, PATH_MAX)); ptr 251 fs/cifs/smb2inode.c data[1] = (__le16 *)ptr; ptr 279 fs/cifs/smb2inode.c len = (2 * UniStrnlen((wchar_t *)ptr, PATH_MAX)); ptr 289 fs/cifs/smb2inode.c data[1] = (__le16 *)ptr; ptr 354 fs/cifs/smb2inode.c ptr); ptr 260 fs/compat_ioctl.c void __user *ptr; ptr 264 fs/compat_ioctl.c get_user(ptr, &r[i].usr_ptr) || ptr 266 fs/compat_ioctl.c put_user((u32)(unsigned long)(ptr), &o[i].usr_ptr) || ptr 309 fs/compat_ioctl.c compat_caddr_t ptr; ptr 351 fs/compat_ioctl.c if (get_user(data, &odata32->ptr)) ptr 355 fs/compat_ioctl.c if (put_user(datap, &odata->ptr)) ptr 456 fs/coredump.c struct core_thread *ptr; ptr 466 fs/coredump.c ptr = core_state->dumper.next; ptr 467 fs/coredump.c while (ptr != NULL) { ptr 468 fs/coredump.c wait_task_inactive(ptr->task, 0); ptr 469 fs/coredump.c ptr = ptr->next; ptr 179 fs/efs/inode.c efs_extent_check(efs_extent *ptr, efs_block_t block, struct efs_sb_info *sb) { ptr 188 fs/efs/inode.c start = ptr->cooked.ex_bn; ptr 189 fs/efs/inode.c length = ptr->cooked.ex_length; ptr 190 fs/efs/inode.c offset = ptr->cooked.ex_offset; ptr 249 fs/erofs/internal.h #define EROFS_I(ptr) \ ptr 250 fs/erofs/internal.h container_of(ptr, struct erofs_inode, vfs_inode) ptr 49 fs/erofs/super.c static void erofs_inode_init_once(void *ptr) ptr 51 fs/erofs/super.c struct erofs_inode *vi = ptr; ptr 36 fs/erofs/tagptr.h #define __tagptr_mask_1(ptr, n) \ ptr 37 fs/erofs/tagptr.h __builtin_types_compatible_p(typeof(ptr), struct __tagptr##n) ? \ ptr 40 fs/erofs/tagptr.h #define __tagptr_mask(ptr) (\ ptr 41 fs/erofs/tagptr.h __tagptr_mask_1(ptr, 1) ( \ ptr 42 fs/erofs/tagptr.h __tagptr_mask_1(ptr, 2) ( \ ptr 43 fs/erofs/tagptr.h __tagptr_mask_1(ptr, 3) ( \ ptr 44 fs/erofs/tagptr.h __tagptr_mask_1(ptr, 4) ( \ ptr 58 fs/erofs/tagptr.h #define tagptr_fold(type, ptr, _tags) ({ \ ptr 62 fs/erofs/tagptr.h tagptr_init(type, (uintptr_t)(ptr) | tags); }) ptr 57 fs/erofs/zdata.c static void z_erofs_pcluster_init_once(void *ptr) ptr 59 fs/erofs/zdata.c struct z_erofs_pcluster *pcl = ptr; ptr 701 fs/erofs/zdata.c static void z_erofs_vle_unzip_kickoff(void *ptr, int bios) ptr 703 fs/erofs/zdata.c tagptr1_t t = tagptr_init(tagptr1_t, ptr); ptr 398 fs/exec.c } ptr; ptr 409 fs/exec.c if (get_user(compat, argv.ptr.compat + nr)) ptr 416 fs/exec.c if (get_user(native, argv.ptr.native + nr)) ptr 429 fs/exec.c if (argv.ptr.native != NULL) { ptr 601 fs/exec.c .ptr.native = (const char __user *const __user *)__argv, ptr 1873 fs/exec.c struct user_arg_ptr argv = { .ptr.native = __argv }; ptr 1874 fs/exec.c struct user_arg_ptr envp = { .ptr.native = __envp }; ptr 1883 fs/exec.c struct user_arg_ptr argv = { .ptr.native = __argv }; ptr 1884 fs/exec.c struct user_arg_ptr envp = { .ptr.native = __envp }; ptr 1893 fs/exec.c struct user_arg_ptr argv = { .ptr.native = __argv }; ptr 1894 fs/exec.c struct user_arg_ptr envp = { .ptr.native = __envp }; ptr 1906 fs/exec.c .ptr.compat = __argv, ptr 1910 fs/exec.c .ptr.compat = __envp, ptr 1922 fs/exec.c .ptr.compat = __argv, ptr 1926 fs/exec.c .ptr.compat = __envp, ptr 70 fs/ext2/xattr.c #define ENTRY(ptr) ((struct ext2_xattr_entry *)(ptr)) ptr 961 fs/ext4/extents.c int logical, ext4_fsblk_t ptr) ptr 988 fs/ext4/extents.c ext_debug("insert new index %d after: %llu\n", logical, ptr); ptr 992 fs/ext4/extents.c ext_debug("insert new index %d before: %llu\n", logical, ptr); ptr 1011 fs/ext4/extents.c ext4_idx_store_pblock(ix, ptr); ptr 22 fs/ext4/resize.c void *ptr; ptr 27 fs/ext4/resize.c struct ext4_rcu_ptr *ptr; ptr 29 fs/ext4/resize.c ptr = container_of(head, struct ext4_rcu_ptr, rcu); ptr 30 fs/ext4/resize.c kvfree(ptr->ptr); ptr 31 fs/ext4/resize.c kfree(ptr); ptr 36 fs/ext4/resize.c struct ext4_rcu_ptr *ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); ptr 38 fs/ext4/resize.c if (ptr) { ptr 39 fs/ext4/resize.c ptr->ptr = to_free; ptr 40 fs/ext4/resize.c call_rcu(&ptr->rcu, ext4_rcu_ptr_callback); ptr 296 fs/ext4/sysfs.c void *ptr = calc_ptr(a, sbi); ptr 313 fs/ext4/sysfs.c if (!ptr) ptr 317 fs/ext4/sysfs.c le32_to_cpup(ptr)); ptr 320 fs/ext4/sysfs.c *((unsigned int *) ptr)); ptr 322 fs/ext4/sysfs.c if (!ptr) ptr 325 fs/ext4/sysfs.c atomic_read((atomic_t *) ptr)); ptr 346 fs/ext4/sysfs.c void *ptr = calc_ptr(a, sbi); ptr 354 fs/ext4/sysfs.c if (!ptr) ptr 360 fs/ext4/sysfs.c *((__le32 *) ptr) = cpu_to_le32(t); ptr 362 fs/ext4/sysfs.c *((unsigned int *) ptr) = t; ptr 92 fs/ext4/xattr.h #define ENTRY(ptr) ((struct ext4_xattr_entry *)(ptr)) ptr 170 fs/f2fs/sysfs.c unsigned char *ptr = NULL; ptr 173 fs/f2fs/sysfs.c ptr = __struct_ptr(sbi, a->struct_type); ptr 174 fs/f2fs/sysfs.c if (!ptr) ptr 198 fs/f2fs/sysfs.c ui = (unsigned int *)(ptr + a->offset); ptr 207 fs/f2fs/sysfs.c unsigned char *ptr; ptr 212 fs/f2fs/sysfs.c ptr = __struct_ptr(sbi, a->struct_type); ptr 213 fs/f2fs/sysfs.c if (!ptr) ptr 251 fs/f2fs/sysfs.c ui = (unsigned int *)(ptr + a->offset); ptr 55 fs/f2fs/xattr.h #define XATTR_HDR(ptr) ((struct f2fs_xattr_header *)(ptr)) ptr 56 fs/f2fs/xattr.h #define XATTR_ENTRY(ptr) ((struct f2fs_xattr_entry *)(ptr)) ptr 57 fs/f2fs/xattr.h #define XATTR_FIRST_ENTRY(ptr) (XATTR_ENTRY(XATTR_HDR(ptr) + 1)) ptr 328 fs/gfs2/bmap.c __be64 *ptr = metapointer(x, mp); ptr 329 fs/gfs2/bmap.c u64 dblock = be64_to_cpu(*ptr); ptr 428 fs/gfs2/bmap.c static inline unsigned int gfs2_extent_length(struct buffer_head *bh, __be64 *ptr, size_t limit, int *eob) ptr 431 fs/gfs2/bmap.c const __be64 *first = ptr; ptr 432 fs/gfs2/bmap.c u64 d = be64_to_cpu(*ptr); ptr 436 fs/gfs2/bmap.c ptr++; ptr 437 fs/gfs2/bmap.c if (ptr >= end) ptr 440 fs/gfs2/bmap.c } while(be64_to_cpu(*ptr) == d); ptr 441 fs/gfs2/bmap.c if (ptr >= end) ptr 443 fs/gfs2/bmap.c return ptr - first; ptr 555 fs/gfs2/bmap.c const __be64 *start, *ptr, *end; ptr 562 fs/gfs2/bmap.c for (ptr = start; ptr < end; ptr++) { ptr 563 fs/gfs2/bmap.c if (*ptr) { ptr 564 fs/gfs2/bmap.c mp->mp_list[hgt] += ptr - start; ptr 613 fs/gfs2/bmap.c __be64 *ptr = (__be64 *)(mp->mp_bh[i - 1]->b_data + ptr 622 fs/gfs2/bmap.c ptr += offset; ptr 623 fs/gfs2/bmap.c *ptr = cpu_to_be64(bn); ptr 624 fs/gfs2/bmap.c return ptr; ptr 675 fs/gfs2/bmap.c __be64 *ptr; ptr 720 fs/gfs2/bmap.c ptr = (__be64 *)(dibh->b_data + ptr 722 fs/gfs2/bmap.c zero_bn = *ptr; ptr 735 fs/gfs2/bmap.c ptr = (__be64 *)(mp->mp_bh[i]->b_data + ptr 737 fs/gfs2/bmap.c *ptr = zero_bn; ptr 766 fs/gfs2/bmap.c ptr = metapointer(end_of_metadata, mp); ptr 770 fs/gfs2/bmap.c *ptr++ = cpu_to_be64(bn++); ptr 801 fs/gfs2/bmap.c const __be64 *first, *ptr, *end; ptr 824 fs/gfs2/bmap.c for (ptr = first; ptr < end; ptr++) { ptr 825 fs/gfs2/bmap.c if (*ptr) ptr 828 fs/gfs2/bmap.c return ptr - first; ptr 849 fs/gfs2/bmap.c __be64 *ptr; ptr 916 fs/gfs2/bmap.c ptr = metapointer(ip->i_height - 1, mp); ptr 917 fs/gfs2/bmap.c if (*ptr == 0) ptr 921 fs/gfs2/bmap.c len = gfs2_extent_length(bh, ptr, len, &eob); ptr 923 fs/gfs2/bmap.c iomap->addr = be64_to_cpu(*ptr) << inode->i_blkbits; ptr 1668 fs/gfs2/bmap.c __be64 *first, *ptr, *end; ptr 1671 fs/gfs2/bmap.c ptr = first + mp->mp_list[h]; ptr 1678 fs/gfs2/bmap.c while (ptr < end) { ptr 1679 fs/gfs2/bmap.c if (*ptr) { /* if we have a non-null pointer */ ptr 1680 fs/gfs2/bmap.c mp->mp_list[h] = ptr - first; ptr 1686 fs/gfs2/bmap.c ptr++; ptr 449 fs/gfs2/dir.c void *ptr) ptr 455 fs/gfs2/dir.c if (ptr < (void *)dent || ptr >= (void *)dent + totlen) ptr 459 fs/gfs2/dir.c if (ptr < (void *)dent + actual) ptr 461 fs/gfs2/dir.c if ((void *)dent + totlen >= ptr + required) ptr 613 fs/gfs2/dir.c const void *ptr = d; ptr 618 fs/gfs2/dir.c ptr += rec_len; ptr 619 fs/gfs2/dir.c if (ptr < end_p) ptr 621 fs/gfs2/dir.c if (ptr == end_p) ptr 748 fs/gfs2/dir.c void *ptr) ptr 752 fs/gfs2/dir.c gfs2_dirent_find_offset, name, ptr); ptr 756 fs/gfs2/dir.c (unsigned)(ptr - (void *)dent)); ptr 1094 fs/gfs2/dir.c void *ptr = ((char *)dent - obh->b_data) + nbh->b_data; ptr 1098 fs/gfs2/dir.c new = gfs2_dirent_split_alloc(inode, nbh, &str, ptr); ptr 1328 fs/gfs2/dir.c void *ptr = NULL; ptr 1331 fs/gfs2/dir.c ptr = kmalloc(size, GFP_NOFS | __GFP_NOWARN); ptr 1332 fs/gfs2/dir.c if (!ptr) ptr 1333 fs/gfs2/dir.c ptr = __vmalloc(size, GFP_NOFS, PAGE_KERNEL); ptr 1334 fs/gfs2/dir.c return ptr; ptr 156 fs/gfs2/file.c static int gfs2_get_flags(struct file *filp, u32 __user *ptr) ptr 171 fs/gfs2/file.c if (put_user(fsflags, ptr)) ptr 299 fs/gfs2/file.c static int gfs2_set_flags(struct file *filp, u32 __user *ptr) ptr 306 fs/gfs2/file.c if (get_user(fsflags, ptr)) ptr 57 fs/gfs2/incore.h struct gfs2_log_descriptor *ld, __be64 *ptr, ptr 614 fs/gfs2/lops.c __be32 *ptr; ptr 618 fs/gfs2/lops.c ptr = kaddr + bh_offset(bh); ptr 619 fs/gfs2/lops.c if (*ptr == cpu_to_be32(GFS2_MAGIC)) ptr 647 fs/gfs2/lops.c __be64 *ptr; ptr 662 fs/gfs2/lops.c ptr = (__be64 *)(ld + 1); ptr 666 fs/gfs2/lops.c *ptr++ = cpu_to_be64(bd1->bd_bh->b_blocknr); ptr 669 fs/gfs2/lops.c *ptr++ = cpu_to_be64(buffer_escaped(bd1->bd_bh) ? 1 : 0); ptr 688 fs/gfs2/lops.c ptr = page_address(page); ptr 690 fs/gfs2/lops.c memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), ptr 693 fs/gfs2/lops.c *(__be32 *)ptr = 0; ptr 749 fs/gfs2/lops.c struct gfs2_log_descriptor *ld, __be64 *ptr, ptr 766 fs/gfs2/lops.c blkno = be64_to_cpu(*ptr++); ptr 921 fs/gfs2/lops.c struct gfs2_log_descriptor *ld, __be64 *ptr, ptr 1004 fs/gfs2/lops.c __be64 *ptr, int pass) ptr 1019 fs/gfs2/lops.c blkno = be64_to_cpu(*ptr++); ptr 1020 fs/gfs2/lops.c esc = be64_to_cpu(*ptr++); ptr 76 fs/gfs2/lops.h __be64 *ptr, ptr 83 fs/gfs2/lops.h ld, ptr, pass); ptr 772 fs/gfs2/quota.c void *ptr; ptr 785 fs/gfs2/quota.c ptr = qp; ptr 786 fs/gfs2/quota.c error = gfs2_write_buf_to_page(ip, pg_beg, pg_off, ptr, ptr 791 fs/gfs2/quota.c ptr + nbytes - overflow, ptr 201 fs/gfs2/recovery.c __be64 *ptr; ptr 235 fs/gfs2/recovery.c ptr = (__be64 *)(bh->b_data + offset); ptr 236 fs/gfs2/recovery.c error = lops_scan_elements(jd, start, ld, ptr, pass); ptr 171 fs/gfs2/rgrp.c static inline u64 gfs2_bit_search(const __le64 *ptr, u64 mask, u8 state) ptr 180 fs/gfs2/rgrp.c tmp = le64_to_cpu(*ptr) ^ search[state]; ptr 232 fs/gfs2/rgrp.c const __le64 *ptr = ((__le64 *)buf) + (goal >> 5); ptr 240 fs/gfs2/rgrp.c tmp = gfs2_bit_search(ptr, mask, state); ptr 241 fs/gfs2/rgrp.c ptr++; ptr 242 fs/gfs2/rgrp.c while(tmp == 0 && ptr < end) { ptr 243 fs/gfs2/rgrp.c tmp = gfs2_bit_search(ptr, 0x5555555555555555ULL, state); ptr 244 fs/gfs2/rgrp.c ptr++; ptr 247 fs/gfs2/rgrp.c if (ptr == end && (len & (sizeof(u64) - 1))) ptr 252 fs/gfs2/rgrp.c ptr--; ptr 255 fs/gfs2/rgrp.c return (((const unsigned char *)ptr - buf) * GFS2_NBBY) + bit; ptr 365 fs/gfs2/rgrp.c u8 *ptr, *start, *end; ptr 385 fs/gfs2/rgrp.c ptr = memchr_inv(start, 0, bytes); ptr 386 fs/gfs2/rgrp.c chunk_size = ((ptr == NULL) ? bytes : (ptr - start)); ptr 395 fs/gfs2/rgrp.c if (ptr) { ptr 17 fs/hfs/bfind.c void *ptr; ptr 21 fs/hfs/bfind.c ptr = kmalloc(tree->max_key_len * 2 + 4, GFP_KERNEL); ptr 22 fs/hfs/bfind.c if (!ptr) ptr 24 fs/hfs/bfind.c fd->search_key = ptr; ptr 25 fs/hfs/bfind.c fd->key = ptr + tree->max_key_len + 2; ptr 120 fs/hfs/bnode.c void *ptr; ptr 128 fs/hfs/bnode.c ptr = kmap(page); ptr 129 fs/hfs/bnode.c memmove(ptr + dst, ptr + src, len); ptr 72 fs/hfs/mdb.c char *ptr; ptr 177 fs/hfs/mdb.c ptr = (u8 *)HFS_SB(sb)->bitmap; ptr 186 fs/hfs/mdb.c memcpy(ptr, bh->b_data + off2, len); ptr 188 fs/hfs/mdb.c ptr += len; ptr 303 fs/hfs/mdb.c char *ptr; ptr 310 fs/hfs/mdb.c ptr = (u8 *)HFS_SB(sb)->bitmap; ptr 320 fs/hfs/mdb.c memcpy(bh->b_data + off, ptr, len); ptr 327 fs/hfs/mdb.c ptr += len; ptr 17 fs/hfsplus/bfind.c void *ptr; ptr 21 fs/hfsplus/bfind.c ptr = kmalloc(tree->max_key_len * 2 + 4, GFP_KERNEL); ptr 22 fs/hfsplus/bfind.c if (!ptr) ptr 24 fs/hfsplus/bfind.c fd->search_key = ptr; ptr 25 fs/hfsplus/bfind.c fd->key = ptr + tree->max_key_len + 2; ptr 48 fs/hostfs/hostfs_kern.c char *ptr; ptr 50 fs/hostfs/hostfs_kern.c ptr = strchr(options, ','); ptr 51 fs/hostfs/hostfs_kern.c if (ptr != NULL) ptr 52 fs/hostfs/hostfs_kern.c *ptr++ = '\0'; ptr 56 fs/hostfs/hostfs_kern.c options = ptr; ptr 58 fs/hostfs/hostfs_kern.c ptr = strchr(options, ','); ptr 59 fs/hostfs/hostfs_kern.c if (ptr != NULL) ptr 60 fs/hostfs/hostfs_kern.c *ptr++ = '\0'; ptr 67 fs/hostfs/hostfs_kern.c options = ptr; ptr 140 fs/hpfs/dnode.c static void set_last_pointer(struct super_block *s, struct dnode *d, dnode_secno ptr) ptr 158 fs/hpfs/dnode.c if (ptr) { ptr 167 fs/hpfs/dnode.c *(__le32 *)((char *)de + 32) = cpu_to_le32(ptr); ptr 749 fs/hpfs/dnode.c dnode_secno ptr, odno = 0; ptr 756 fs/hpfs/dnode.c ptr = 0; ptr 762 fs/hpfs/dnode.c if (ptr) while(1) { ptr 763 fs/hpfs/dnode.c if (de->down) if (de_down_pointer(de) == ptr) goto process_de; ptr 767 fs/hpfs/dnode.c ptr, dno, odno); ptr 783 fs/hpfs/dnode.c ptr = dno; ptr 791 fs/hpfs/dnode.c if (hpfs_stop_cycles(s, ptr, &d1, &d2, "hpfs_count_dnodes #2")) return; ptr 62 fs/hpfs/map.c unsigned char *ptr; ptr 94 fs/hpfs/map.c ptr = (unsigned char *)cpd + le16_to_cpu(cpd->offs[cpi]) + 6; ptr 100 fs/hpfs/map.c memcpy(cp_table, ptr, 128); ptr 3335 fs/io_uring.c static void io_mem_free(void *ptr) ptr 3339 fs/io_uring.c if (!ptr) ptr 3342 fs/io_uring.c page = virt_to_head_page(ptr); ptr 3707 fs/io_uring.c void *ptr; ptr 3712 fs/io_uring.c ptr = ctx->rings; ptr 3715 fs/io_uring.c ptr = ctx->sq_sqes; ptr 3721 fs/io_uring.c page = virt_to_head_page(ptr); ptr 3725 fs/io_uring.c pfn = virt_to_phys(ptr) >> PAGE_SHIFT; ptr 2340 fs/jbd2/journal.c void *ptr; ptr 2345 fs/jbd2/journal.c ptr = kmem_cache_alloc(get_slab(size), flags); ptr 2347 fs/jbd2/journal.c ptr = (void *)__get_free_pages(flags, get_order(size)); ptr 2351 fs/jbd2/journal.c BUG_ON(((unsigned long) ptr) & (size-1)); ptr 2353 fs/jbd2/journal.c return ptr; ptr 2356 fs/jbd2/journal.c void jbd2_free(void *ptr, size_t size) ptr 2359 fs/jbd2/journal.c kmem_cache_free(get_slab(size), ptr); ptr 2361 fs/jbd2/journal.c free_pages((unsigned long)ptr, get_order(size)); ptr 25 fs/lockd/clntlock.c static int reclaimer(void *ptr); ptr 229 fs/lockd/clntlock.c reclaimer(void *ptr) ptr 231 fs/lockd/clntlock.c struct nlm_host *host = (struct nlm_host *) ptr; ptr 300 fs/lockd/svc.c unsigned long event, void *ptr) ptr 302 fs/lockd/svc.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 330 fs/lockd/svc.c unsigned long event, void *ptr) ptr 332 fs/lockd/svc.c struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; ptr 166 fs/nfs/blocklayout/rpc_pipefs.c void *ptr) ptr 168 fs/nfs/blocklayout/rpc_pipefs.c struct super_block *sb = ptr; ptr 426 fs/nfs/dns_resolve.c void *ptr) ptr 428 fs/nfs/dns_resolve.c struct super_block *sb = ptr; ptr 8679 fs/nfs/nfs4proc.c unsigned *ptr; ptr 8694 fs/nfs/nfs4proc.c ptr = (unsigned *)&session->sess_id.data[0]; ptr 8696 fs/nfs/nfs4proc.c clp->cl_seqid, ptr[0], ptr[1], ptr[2], ptr[3]); ptr 2631 fs/nfs/nfs4state.c static int nfs4_run_state_manager(void *ptr) ptr 2633 fs/nfs/nfs4state.c struct nfs_client *clp = ptr; ptr 2135 fs/nfsd/nfs4recover.c rpc_pipefs_event(struct notifier_block *nb, unsigned long event, void *ptr) ptr 2137 fs/nfsd/nfs4recover.c struct super_block *sb = ptr; ptr 402 fs/nfsd/nfs4state.c opaque_hashval(const void *ptr, int nbytes) ptr 404 fs/nfsd/nfs4state.c unsigned char *cptr = (unsigned char *) ptr; ptr 1483 fs/nfsd/nfs4state.c u32 *ptr = (u32 *)(&sessionid->data[0]); ptr 1484 fs/nfsd/nfs4state.c dprintk("%s: %u:%u:%u:%u\n", fn, ptr[0], ptr[1], ptr[2], ptr[3]); ptr 429 fs/nfsd/nfssvc.c void *ptr) ptr 431 fs/nfsd/nfssvc.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 460 fs/nfsd/nfssvc.c unsigned long event, void *ptr) ptr 462 fs/nfsd/nfssvc.c struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; ptr 98 fs/nilfs2/bmap.c static int nilfs_bmap_do_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) ptr 112 fs/nilfs2/bmap.c bmap, key, ptr, keys, ptrs, n); ptr 121 fs/nilfs2/bmap.c return bmap->b_ops->bop_insert(bmap, key, ptr); ptr 81 fs/nilfs2/bmap.h static inline int nilfs_bmap_is_new_ptr(unsigned long ptr) ptr 83 fs/nilfs2/bmap.h return !!(ptr & NILFS_BMAP_NEW_PTR_INIT); ptr 168 fs/nilfs2/bmap.h __u64 *ptr) ptr 170 fs/nilfs2/bmap.h return nilfs_bmap_lookup_at_level(bmap, key, 1, ptr); ptr 232 fs/nilfs2/bmap.h __u64 ptr) ptr 235 fs/nilfs2/bmap.h bmap->b_last_allocated_ptr = ptr; ptr 59 fs/nilfs2/btree.c __u64 ptr, struct buffer_head **bhp) ptr 64 fs/nilfs2/btree.c bh = nilfs_btnode_create_block(btnc, ptr); ptr 155 fs/nilfs2/btree.c nilfs_btree_node_set_ptr(struct nilfs_btree_node *node, int index, __u64 ptr, ptr 158 fs/nilfs2/btree.c *(nilfs_btree_node_dptrs(node, ncmax) + index) = cpu_to_le64(ptr); ptr 239 fs/nilfs2/btree.c __u64 key, __u64 ptr, int ncmax) ptr 255 fs/nilfs2/btree.c dptrs[index] = cpu_to_le64(ptr); ptr 265 fs/nilfs2/btree.c __u64 ptr; ptr 273 fs/nilfs2/btree.c ptr = le64_to_cpu(dptrs[index]); ptr 278 fs/nilfs2/btree.c *ptrp = ptr; ptr 469 fs/nilfs2/btree.c static int __nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, ptr 478 fs/nilfs2/btree.c ret = nilfs_btnode_submit_block(btnc, ptr, 0, REQ_OP_READ, 0, &bh, ptr 513 fs/nilfs2/btree.c btree->b_inode->i_ino, (unsigned long long)ptr); ptr 529 fs/nilfs2/btree.c static int nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, ptr 532 fs/nilfs2/btree.c return __nilfs_btree_get_block(btree, ptr, bhp, NULL); ptr 542 fs/nilfs2/btree.c __u64 ptr; ptr 551 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, ptr 567 fs/nilfs2/btree.c ret = __nilfs_btree_get_block(btree, ptr, &path[level].bp_bh, ptr 580 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, ncmax); ptr 584 fs/nilfs2/btree.c ptr = NILFS_BMAP_INVALID_PTR; ptr 592 fs/nilfs2/btree.c *ptrp = ptr; ptr 602 fs/nilfs2/btree.c __u64 ptr; ptr 610 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, ptr 617 fs/nilfs2/btree.c ret = nilfs_btree_get_block(btree, ptr, &path[level].bp_bh); ptr 624 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, ncmax); ptr 631 fs/nilfs2/btree.c *ptrp = ptr; ptr 698 fs/nilfs2/btree.c __u64 ptr, ptr2; ptr 708 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, &ptr, level, 1); ptr 714 fs/nilfs2/btree.c ret = nilfs_dat_translate(dat, ptr, &blocknr); ptr 717 fs/nilfs2/btree.c ptr = blocknr; ptr 738 fs/nilfs2/btree.c if (ptr2 != ptr + cnt || ++cnt == maxblocks) ptr 769 fs/nilfs2/btree.c *ptrp = ptr; ptr 1030 fs/nilfs2/btree.c __u64 ptr; ptr 1032 fs/nilfs2/btree.c ptr = nilfs_bmap_find_target_seq(btree, key); ptr 1033 fs/nilfs2/btree.c if (ptr != NILFS_BMAP_INVALID_PTR) ptr 1035 fs/nilfs2/btree.c return ptr; ptr 1037 fs/nilfs2/btree.c ptr = nilfs_btree_find_near(btree, path); ptr 1038 fs/nilfs2/btree.c if (ptr != NILFS_BMAP_INVALID_PTR) ptr 1040 fs/nilfs2/btree.c return ptr; ptr 1048 fs/nilfs2/btree.c int *levelp, __u64 key, __u64 ptr, ptr 1197 fs/nilfs2/btree.c int maxlevel, __u64 key, __u64 ptr) ptr 1202 fs/nilfs2/btree.c set_buffer_nilfs_volatile((struct buffer_head *)((unsigned long)ptr)); ptr 1203 fs/nilfs2/btree.c ptr = path[NILFS_BTREE_LEVEL_DATA].bp_newreq.bpr_ptr; ptr 1205 fs/nilfs2/btree.c nilfs_bmap_set_target_v(btree, key, ptr); ptr 1212 fs/nilfs2/btree.c path[level].bp_op(btree, path, level, &key, &ptr); ptr 1219 fs/nilfs2/btree.c static int nilfs_btree_insert(struct nilfs_bmap *btree, __u64 key, __u64 ptr) ptr 1237 fs/nilfs2/btree.c ret = nilfs_btree_prepare_insert(btree, path, &level, key, ptr, &stats); ptr 1240 fs/nilfs2/btree.c nilfs_btree_commit_insert(btree, path, level, key, ptr); ptr 1642 fs/nilfs2/btree.c __u64 ptr; ptr 1655 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(root, nchildren - 1, ptr 1657 fs/nilfs2/btree.c ret = nilfs_btree_get_block(btree, ptr, &bh); ptr 1683 fs/nilfs2/btree.c __u64 ptr; ptr 1696 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(root, nchildren - 1, ptr 1698 fs/nilfs2/btree.c ret = nilfs_btree_get_block(btree, ptr, &bh); ptr 1780 fs/nilfs2/btree.c __u64 key, __u64 ptr, ptr 1797 fs/nilfs2/btree.c set_buffer_nilfs_volatile((struct buffer_head *)((unsigned long)ptr)); ptr 1852 fs/nilfs2/btree.c __u64 key, __u64 ptr, ptr 1877 fs/nilfs2/btree.c nilfs_btree_commit_convert_and_insert(btree, key, ptr, keys, ptrs, n, ptr 2023 fs/nilfs2/btree.c __u64 ptr; ptr 2035 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(parent, ptr 2038 fs/nilfs2/btree.c ret = nilfs_dat_mark_dirty(dat, ptr); ptr 2181 fs/nilfs2/btree.c __u64 ptr; ptr 2185 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, ptr 2188 fs/nilfs2/btree.c path[level].bp_ctxt.oldkey = ptr; ptr 2223 fs/nilfs2/btree.c __u64 ptr; ptr 2228 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, ptr 2230 fs/nilfs2/btree.c req.bpr_ptr = ptr; ptr 2238 fs/nilfs2/btree.c binfo->bi_v.bi_vblocknr = cpu_to_le64(ptr); ptr 2314 fs/nilfs2/btree.c __u64 ptr; ptr 2321 fs/nilfs2/btree.c ret = nilfs_btree_do_lookup(btree, path, key, &ptr, level + 1, 0); ptr 2326 fs/nilfs2/btree.c ret = nilfs_btree_get_block(btree, ptr, &bh); ptr 30 fs/nilfs2/direct.c __u64 key, __u64 ptr) ptr 32 fs/nilfs2/direct.c *(nilfs_direct_dptrs(direct) + key) = cpu_to_le64(ptr); ptr 38 fs/nilfs2/direct.c __u64 ptr; ptr 42 fs/nilfs2/direct.c ptr = nilfs_direct_get_ptr(direct, key); ptr 43 fs/nilfs2/direct.c if (ptr == NILFS_BMAP_INVALID_PTR) ptr 46 fs/nilfs2/direct.c *ptrp = ptr; ptr 55 fs/nilfs2/direct.c __u64 ptr, ptr2; ptr 61 fs/nilfs2/direct.c ptr = nilfs_direct_get_ptr(direct, key); ptr 62 fs/nilfs2/direct.c if (ptr == NILFS_BMAP_INVALID_PTR) ptr 67 fs/nilfs2/direct.c ret = nilfs_dat_translate(dat, ptr, &blocknr); ptr 70 fs/nilfs2/direct.c ptr = blocknr; ptr 85 fs/nilfs2/direct.c if (ptr2 != ptr + cnt) ptr 88 fs/nilfs2/direct.c *ptrp = ptr; ptr 95 fs/nilfs2/direct.c __u64 ptr; ptr 97 fs/nilfs2/direct.c ptr = nilfs_bmap_find_target_seq(direct, key); ptr 98 fs/nilfs2/direct.c if (ptr != NILFS_BMAP_INVALID_PTR) ptr 100 fs/nilfs2/direct.c return ptr; ptr 106 fs/nilfs2/direct.c static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) ptr 125 fs/nilfs2/direct.c bh = (struct buffer_head *)((unsigned long)ptr); ptr 206 fs/nilfs2/direct.c __u64 ptr; ptr 213 fs/nilfs2/direct.c ptr = nilfs_direct_get_ptr(direct, key); ptr 214 fs/nilfs2/direct.c if (ptr != NILFS_BMAP_INVALID_PTR) { ptr 216 fs/nilfs2/direct.c ptrs[n] = ptr; ptr 262 fs/nilfs2/direct.c __u64 ptr; ptr 270 fs/nilfs2/direct.c ptr = nilfs_direct_get_ptr(bmap, key); ptr 272 fs/nilfs2/direct.c oldreq.pr_entry_nr = ptr; ptr 273 fs/nilfs2/direct.c newreq.pr_entry_nr = ptr; ptr 282 fs/nilfs2/direct.c ret = nilfs_dat_mark_dirty(dat, ptr); ptr 288 fs/nilfs2/direct.c __u64 key, __u64 ptr, ptr 297 fs/nilfs2/direct.c req.bpr_ptr = ptr; ptr 301 fs/nilfs2/direct.c binfo->bi_v.bi_vblocknr = cpu_to_le64(ptr); ptr 308 fs/nilfs2/direct.c __u64 key, __u64 ptr, ptr 327 fs/nilfs2/direct.c __u64 ptr; ptr 336 fs/nilfs2/direct.c ptr = nilfs_direct_get_ptr(bmap, key); ptr 337 fs/nilfs2/direct.c if (unlikely(ptr == NILFS_BMAP_INVALID_PTR)) { ptr 340 fs/nilfs2/direct.c bmap->b_inode->i_ino, (unsigned long long)ptr); ptr 345 fs/nilfs2/direct.c nilfs_direct_assign_v(bmap, key, ptr, bh, blocknr, binfo) : ptr 346 fs/nilfs2/direct.c nilfs_direct_assign_p(bmap, key, ptr, bh, blocknr, binfo); ptr 246 fs/nilfs2/recovery.c void *ptr; ptr 259 fs/nilfs2/recovery.c ptr = (*pbh)->b_data + *offset; ptr 261 fs/nilfs2/recovery.c return ptr; ptr 686 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_DINODE(ptr) \ ptr 687 fs/ocfs2/ocfs2.h (!strcmp((ptr)->i_signature, OCFS2_INODE_SIGNATURE)) ptr 689 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_EXTENT_BLOCK(ptr) \ ptr 690 fs/ocfs2/ocfs2.h (!strcmp((ptr)->h_signature, OCFS2_EXTENT_BLOCK_SIGNATURE)) ptr 692 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_GROUP_DESC(ptr) \ ptr 693 fs/ocfs2/ocfs2.h (!strcmp((ptr)->bg_signature, OCFS2_GROUP_DESC_SIGNATURE)) ptr 696 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_XATTR_BLOCK(ptr) \ ptr 697 fs/ocfs2/ocfs2.h (!strcmp((ptr)->xb_signature, OCFS2_XATTR_BLOCK_SIGNATURE)) ptr 699 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_DIR_TRAILER(ptr) \ ptr 700 fs/ocfs2/ocfs2.h (!strcmp((ptr)->db_signature, OCFS2_DIR_TRAILER_SIGNATURE)) ptr 702 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_DX_ROOT(ptr) \ ptr 703 fs/ocfs2/ocfs2.h (!strcmp((ptr)->dr_signature, OCFS2_DX_ROOT_SIGNATURE)) ptr 705 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_DX_LEAF(ptr) \ ptr 706 fs/ocfs2/ocfs2.h (!strcmp((ptr)->dl_signature, OCFS2_DX_LEAF_SIGNATURE)) ptr 708 fs/ocfs2/ocfs2.h #define OCFS2_IS_VALID_REFCOUNT_BLOCK(ptr) \ ptr 709 fs/ocfs2/ocfs2.h (!strcmp((ptr)->rf_signature, OCFS2_REFCOUNT_BLOCK_SIGNATURE)) ptr 1234 fs/ocfs2/ocfs2_fs.h char *ptr = buf; ptr 1235 fs/ocfs2/ocfs2_fs.h ptr += blocksize - OCFS2_QBLK_RESERVED_SPACE; ptr 1237 fs/ocfs2/ocfs2_fs.h return (struct ocfs2_disk_dqtrailer *)ptr; ptr 364 fs/ocfs2/stack_user.c char *ptr = NULL; ptr 379 fs/ocfs2/stack_user.c nodenum = simple_strtol(msg->nodestr, &ptr, 16); ptr 380 fs/ocfs2/stack_user.c if (!ptr || *ptr) ptr 395 fs/ocfs2/stack_user.c char *ptr = NULL; ptr 413 fs/ocfs2/stack_user.c major = simple_strtol(msg->major, &ptr, 16); ptr 414 fs/ocfs2/stack_user.c if (!ptr || *ptr) ptr 416 fs/ocfs2/stack_user.c minor = simple_strtol(msg->minor, &ptr, 16); ptr 417 fs/ocfs2/stack_user.c if (!ptr || *ptr) ptr 1942 fs/ocfs2/super.c char *ptr; ptr 1950 fs/ocfs2/super.c for (i = 0, ptr = osb->uuid_str; i < OCFS2_VOL_UUID_LEN; i++) { ptr 1952 fs/ocfs2/super.c ret = snprintf(ptr, 3, "%02X", uuid[i]); ptr 1956 fs/ocfs2/super.c ptr += 2; ptr 83 fs/ocfs2/xattr.c #define OCFS2_XATTR_FREE_IN_BLOCK(ptr) ((ptr)->i_sb->s_blocksize \ ptr 220 fs/omfs/dir.c u64 *ptr; ptr 228 fs/omfs/dir.c ptr = (u64 *) &bh->b_data[OMFS_DIR_START]; ptr 230 fs/omfs/dir.c for (i = 0; i < nbuckets; i++, ptr++) ptr 231 fs/omfs/dir.c if (*ptr != ~0) ptr 235 fs/omfs/dir.c return *ptr != ~0; ptr 87 fs/omfs/inode.c unsigned char *ptr = (unsigned char *) oi; ptr 92 fs/omfs/inode.c crc = crc_itu_t(crc, ptr + ofs, count); ptr 95 fs/omfs/inode.c xor = ptr[0]; ptr 97 fs/omfs/inode.c xor ^= ptr[i]; ptr 343 fs/omfs/inode.c unsigned long **ptr; ptr 361 fs/omfs/inode.c ptr = sbi->s_imap; ptr 366 fs/omfs/inode.c *ptr = kmalloc(sb->s_blocksize, GFP_KERNEL); ptr 367 fs/omfs/inode.c if (!*ptr) { ptr 371 fs/omfs/inode.c memcpy(*ptr, bh->b_data, sb->s_blocksize); ptr 373 fs/omfs/inode.c memset((void *)*ptr + count, 0xff, ptr 376 fs/omfs/inode.c ptr++; ptr 716 fs/orangefs/devorangefs-req.c compat_uptr_t ptr; ptr 742 fs/orangefs/devorangefs-req.c desc.ptr = compat_ptr(d32.ptr); ptr 271 fs/orangefs/orangefs-bufmap.c ret = get_user_pages_fast((unsigned long)user_desc->ptr, ptr 302 fs/orangefs/orangefs-bufmap.c (user_desc->ptr + (i * pages_per_desc * PAGE_SIZE)); ptr 324 fs/orangefs/orangefs-bufmap.c user_desc->ptr, ptr 337 fs/orangefs/orangefs-bufmap.c if (PAGE_ALIGN((unsigned long)user_desc->ptr) != ptr 338 fs/orangefs/orangefs-bufmap.c (unsigned long)user_desc->ptr) { ptr 340 fs/orangefs/orangefs-bufmap.c user_desc->ptr); ptr 344 fs/orangefs/orangefs-bufmap.c if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size)) ptr 345 fs/orangefs/orangefs-bufmap.c != (unsigned long)(user_desc->ptr + user_desc->total_size)) { ptr 347 fs/orangefs/orangefs-bufmap.c user_desc->ptr, ptr 345 fs/orangefs/protocol.h void __user *ptr; ptr 1884 fs/proc/base.c instantiate_t instantiate, struct task_struct *task, const void *ptr) ptr 1900 fs/proc/base.c res = instantiate(child, task, ptr); ptr 2085 fs/proc/base.c struct task_struct *task, const void *ptr) ptr 2087 fs/proc/base.c fmode_t mode = (fmode_t)(unsigned long)ptr; ptr 2453 fs/proc/base.c struct task_struct *task, const void *ptr) ptr 2455 fs/proc/base.c const struct pid_entry *p = ptr; ptr 3223 fs/proc/base.c struct task_struct *task, const void *ptr) ptr 3518 fs/proc/base.c struct task_struct *task, const void *ptr) ptr 183 fs/proc/fd.c struct task_struct *task, const void *ptr) ptr 185 fs/proc/fd.c const struct fd_data *data = ptr; ptr 322 fs/proc/fd.c struct task_struct *task, const void *ptr) ptr 324 fs/proc/fd.c const struct fd_data *data = ptr; ptr 91 fs/proc/namespaces.c struct task_struct *task, const void *ptr) ptr 93 fs/proc/namespaces.c const struct proc_ns_operations *ns_ops = ptr; ptr 42 fs/pstore/inode.c const void *ptr; ptr 88 fs/qnx6/inode.c static int qnx6_check_blockptr(__fs32 ptr) ptr 90 fs/qnx6/inode.c if (ptr == ~(__fs32)0) { ptr 119 fs/qnx6/inode.c __fs32 ptr; ptr 145 fs/qnx6/inode.c ptr = ((__fs32 *)bh->b_data)[levelptr]; ptr 147 fs/qnx6/inode.c if (!qnx6_check_blockptr(ptr)) ptr 150 fs/qnx6/inode.c block = qnx6_get_devblock(s, ptr); ptr 514 fs/qnx6/inode.c memcpy(ei->di_block_ptr, p->ptr, sizeof(p->ptr)); ptr 207 fs/ramfs/file-nommu.c struct page **pages = NULL, **ptr, *page; ptr 232 fs/ramfs/file-nommu.c ptr = pages; ptr 233 fs/ramfs/file-nommu.c page = *ptr++; ptr 236 fs/ramfs/file-nommu.c if (*ptr++ != page++) ptr 243 fs/ramfs/file-nommu.c ptr = pages; ptr 245 fs/ramfs/file-nommu.c put_page(*ptr++); ptr 444 fs/romfs/super.c const __be32 *ptr = data; ptr 450 fs/romfs/super.c sum += be32_to_cpu(*ptr++); ptr 861 fs/seq_file.c const u8 *ptr = buf; ptr 876 fs/seq_file.c seq_printf(m, "%s%p: ", prefix_str, ptr + i); ptr 887 fs/seq_file.c ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, ptr 337 fs/sysfs/file.c int sysfs_create_files(struct kobject *kobj, const struct attribute * const *ptr) ptr 342 fs/sysfs/file.c for (i = 0; ptr[i] && !err; i++) ptr 343 fs/sysfs/file.c err = sysfs_create_file(kobj, ptr[i]); ptr 346 fs/sysfs/file.c sysfs_remove_file(kobj, ptr[i]); ptr 496 fs/sysfs/file.c void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr) ptr 500 fs/sysfs/file.c for (i = 0; ptr[i]; i++) ptr 501 fs/sysfs/file.c sysfs_remove_file(kobj, ptr[i]); ptr 1937 fs/ubifs/lpt.c } ptr; ptr 1963 fs/ubifs/lpt.c path->ptr.nnode = nnode; ptr 1968 fs/ubifs/lpt.c path->ptr.nnode = nnode; ptr 2022 fs/ubifs/lpt.c path->ptr.pnode = pnode; ptr 2027 fs/ubifs/lpt.c path->ptr.pnode = pnode; ptr 2106 fs/ubifs/lpt.c path[0].ptr.nnode = c->nroot; ptr 2155 fs/ubifs/lpt.c path[h].ptr.nnode = nnode; ptr 2172 fs/ubifs/lpt.c path[h].ptr.pnode = pnode; ptr 2213 fs/ubifs/lpt.c nnode = path[h].ptr.nnode; ptr 229 fs/udf/balloc.c char *ptr; ptr 248 fs/udf/balloc.c ptr = memscan((char *)bh->b_data + group_start, 0xFF, ptr 251 fs/udf/balloc.c if ((ptr - ((char *)bh->b_data)) < sb->s_blocksize) { ptr 261 fs/udf/balloc.c ptr = memscan((char *)bh->b_data + (bit >> 3), 0xFF, ptr 263 fs/udf/balloc.c newbit = (ptr - ((char *)bh->b_data)) << 3; ptr 288 fs/udf/balloc.c ptr = memscan((char *)bh->b_data + group_start, 0xFF, ptr 290 fs/udf/balloc.c if ((ptr - ((char *)bh->b_data)) < sb->s_blocksize) { ptr 291 fs/udf/balloc.c bit = (ptr - ((char *)bh->b_data)) << 3; ptr 162 fs/udf/directory.c uint8_t *ptr; ptr 171 fs/udf/directory.c ptr = buffer; ptr 174 fs/udf/directory.c ptr += *offset; ptr 175 fs/udf/directory.c fi = (struct fileIdentDesc *)ptr; ptr 199 fs/udf/directory.c struct short_ad *udf_get_fileshortad(uint8_t *ptr, int maxoffset, uint32_t *offset, ptr 204 fs/udf/directory.c if ((!ptr) || (!offset)) { ptr 212 fs/udf/directory.c sa = (struct short_ad *)ptr; ptr 222 fs/udf/directory.c struct long_ad *udf_get_filelongad(uint8_t *ptr, int maxoffset, uint32_t *offset, int inc) ptr 226 fs/udf/directory.c if ((!ptr) || (!offset)) { ptr 234 fs/udf/directory.c la = (struct long_ad *)ptr; ptr 2085 fs/udf/inode.c uint8_t *ptr; ptr 2091 fs/udf/inode.c ptr = iinfo->i_ext.i_data + epos->offset - ptr 2095 fs/udf/inode.c ptr = epos->bh->b_data + epos->offset; ptr 2099 fs/udf/inode.c sad = (struct short_ad *)ptr; ptr 2105 fs/udf/inode.c lad = (struct long_ad *)ptr; ptr 2175 fs/udf/inode.c uint8_t *ptr; ptr 2183 fs/udf/inode.c ptr = iinfo->i_ext.i_data + epos->offset - ptr 2191 fs/udf/inode.c ptr = epos->bh->b_data + epos->offset; ptr 2199 fs/udf/inode.c sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); ptr 2209 fs/udf/inode.c lad = udf_get_filelongad(ptr, alen, &epos->offset, inc); ptr 2424 fs/udf/super.c uint8_t *ptr; ptr 2444 fs/udf/super.c ptr = (uint8_t *)bh->b_data; ptr 2448 fs/udf/super.c accum += bitmap_weight((const unsigned long *)(ptr + index), ptr 2460 fs/udf/super.c ptr = (uint8_t *)bh->b_data; ptr 154 fs/ufs/inode.c __fs32 *ptr; ptr 162 fs/ufs/inode.c ptr = (__fs32 *)bh->b_data + (n & mask); ptr 163 fs/ufs/inode.c if (!grow_chain32(ufsi, bh, ptr, chain, ++q)) ptr 178 fs/ufs/inode.c __fs64 *ptr; ptr 186 fs/ufs/inode.c ptr = (__fs64 *)bh->b_data + (n & mask); ptr 187 fs/ufs/inode.c if (!grow_chain64(ufsi, bh, ptr, chain, ++q)) ptr 16 fs/xfs/kmem.c void *ptr; ptr 21 fs/xfs/kmem.c ptr = kmalloc(size, lflags); ptr 22 fs/xfs/kmem.c if (ptr || (flags & KM_MAYFAIL)) ptr 23 fs/xfs/kmem.c return ptr; ptr 45 fs/xfs/kmem.c void *ptr; ptr 51 fs/xfs/kmem.c ptr = __vmalloc(size, lflags, PAGE_KERNEL); ptr 56 fs/xfs/kmem.c return ptr; ptr 68 fs/xfs/kmem.c void *ptr; ptr 75 fs/xfs/kmem.c ptr = kmem_alloc(size, flags | KM_MAYFAIL); ptr 76 fs/xfs/kmem.c if (ptr) { ptr 77 fs/xfs/kmem.c if (!((uintptr_t)ptr & align_mask)) ptr 78 fs/xfs/kmem.c return ptr; ptr 79 fs/xfs/kmem.c kfree(ptr); ptr 87 fs/xfs/kmem.c void *ptr; ptr 91 fs/xfs/kmem.c ptr = kmem_alloc(size, flags | KM_MAYFAIL); ptr 92 fs/xfs/kmem.c if (ptr) ptr 93 fs/xfs/kmem.c return ptr; ptr 102 fs/xfs/kmem.c void *ptr; ptr 107 fs/xfs/kmem.c ptr = krealloc(old, newsize, lflags); ptr 108 fs/xfs/kmem.c if (ptr || (flags & KM_MAYFAIL)) ptr 109 fs/xfs/kmem.c return ptr; ptr 124 fs/xfs/kmem.c void *ptr; ptr 128 fs/xfs/kmem.c ptr = kmem_cache_alloc(zone, lflags); ptr 129 fs/xfs/kmem.c if (ptr || (flags & KM_MAYFAIL)) ptr 130 fs/xfs/kmem.c return ptr; ptr 59 fs/xfs/kmem.h static inline void kmem_free(const void *ptr) ptr 61 fs/xfs/kmem.h kvfree(ptr); ptr 103 fs/xfs/kmem.h kmem_zone_free(kmem_zone_t *zone, void *ptr) ptr 105 fs/xfs/kmem.h kmem_cache_free(zone, ptr); ptr 35 fs/xfs/libxfs/xfs_alloc_btree.c union xfs_btree_ptr *ptr, ptr 44 fs/xfs/libxfs/xfs_alloc_btree.c ASSERT(ptr->s != 0); ptr 46 fs/xfs/libxfs/xfs_alloc_btree.c agf->agf_roots[btnum] = ptr->s; ptr 113 fs/xfs/libxfs/xfs_alloc_btree.c int ptr, ptr 130 fs/xfs/libxfs/xfs_alloc_btree.c if (ptr != xfs_btree_get_numrecs(block)) ptr 142 fs/xfs/libxfs/xfs_alloc_btree.c if (ptr <= numrecs) ptr 144 fs/xfs/libxfs/xfs_alloc_btree.c ASSERT(ptr == numrecs + 1); ptr 227 fs/xfs/libxfs/xfs_alloc_btree.c union xfs_btree_ptr *ptr) ptr 233 fs/xfs/libxfs/xfs_alloc_btree.c ptr->s = agf->agf_roots[cur->bc_btnum]; ptr 50 fs/xfs/libxfs/xfs_attr_remote.c void *ptr, ptr 56 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_attr3_rmt_hdr *rmt = ptr; ptr 75 fs/xfs/libxfs/xfs_attr_remote.c void *ptr, ptr 79 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_attr3_rmt_hdr *rmt = ptr; ptr 107 fs/xfs/libxfs/xfs_attr_remote.c char *ptr; ptr 116 fs/xfs/libxfs/xfs_attr_remote.c ptr = bp->b_addr; ptr 123 fs/xfs/libxfs/xfs_attr_remote.c !xfs_verify_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF)) { ptr 127 fs/xfs/libxfs/xfs_attr_remote.c *failaddr = xfs_attr3_rmt_verify(mp, bp, ptr, blksize, bno); ptr 131 fs/xfs/libxfs/xfs_attr_remote.c ptr += blksize; ptr 173 fs/xfs/libxfs/xfs_attr_remote.c char *ptr; ptr 181 fs/xfs/libxfs/xfs_attr_remote.c ptr = bp->b_addr; ptr 187 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_attr3_rmt_hdr *rmt = (struct xfs_attr3_rmt_hdr *)ptr; ptr 189 fs/xfs/libxfs/xfs_attr_remote.c fa = xfs_attr3_rmt_verify(mp, bp, ptr, blksize, bno); ptr 203 fs/xfs/libxfs/xfs_attr_remote.c xfs_update_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF); ptr 206 fs/xfs/libxfs/xfs_attr_remote.c ptr += blksize; ptr 225 fs/xfs/libxfs/xfs_attr_remote.c void *ptr, ptr 231 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_attr3_rmt_hdr *rmt = ptr; ptr 383 fs/xfs/libxfs/xfs_bmap_btree.c union xfs_btree_ptr *ptr) ptr 385 fs/xfs/libxfs/xfs_bmap_btree.c ptr->l = 0; ptr 229 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 234 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_check_lptr(cur, be64_to_cpu((&ptr->l)[index]), ptr 243 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_check_sptr(cur, be32_to_cpu((&ptr->s)[index]), ptr 989 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 996 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_check_ptr(cur, ptr, 0, 1); ptr 1001 fs/xfs/libxfs/xfs_btree.c fsbno = be64_to_cpu(ptr->l); ptr 1004 fs/xfs/libxfs/xfs_btree.c agbno = be32_to_cpu(ptr->s); ptr 1021 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 1026 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_ptr_to_daddr(cur, ptr, &daddr)) ptr 1066 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr) ptr 1069 fs/xfs/libxfs/xfs_btree.c return ptr->l == cpu_to_be64(NULLFSBLOCK); ptr 1071 fs/xfs/libxfs/xfs_btree.c return ptr->s == cpu_to_be32(NULLAGBLOCK); ptr 1077 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr) ptr 1080 fs/xfs/libxfs/xfs_btree.c ptr->l = cpu_to_be64(NULLFSBLOCK); ptr 1082 fs/xfs/libxfs/xfs_btree.c ptr->s = cpu_to_be32(NULLAGBLOCK); ptr 1092 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 1099 fs/xfs/libxfs/xfs_btree.c ptr->l = block->bb_u.l.bb_rightsib; ptr 1101 fs/xfs/libxfs/xfs_btree.c ptr->l = block->bb_u.l.bb_leftsib; ptr 1104 fs/xfs/libxfs/xfs_btree.c ptr->s = block->bb_u.s.bb_rightsib; ptr 1106 fs/xfs/libxfs/xfs_btree.c ptr->s = block->bb_u.s.bb_leftsib; ptr 1114 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 1121 fs/xfs/libxfs/xfs_btree.c block->bb_u.l.bb_rightsib = ptr->l; ptr 1123 fs/xfs/libxfs/xfs_btree.c block->bb_u.l.bb_leftsib = ptr->l; ptr 1126 fs/xfs/libxfs/xfs_btree.c block->bb_u.s.bb_rightsib = ptr->s; ptr 1128 fs/xfs/libxfs/xfs_btree.c block->bb_u.s.bb_leftsib = ptr->s; ptr 1224 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr ptr; ptr 1231 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, block, &ptr, XFS_BB_RIGHTSIB); ptr 1232 fs/xfs/libxfs/xfs_btree.c if (!xfs_btree_ptr_is_null(cur, &ptr)) ptr 1241 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr) ptr 1244 fs/xfs/libxfs/xfs_btree.c ptr->l = cpu_to_be64(XFS_DADDR_TO_FSB(cur->bc_mp, ptr 1247 fs/xfs/libxfs/xfs_btree.c ptr->s = cpu_to_be32(xfs_daddr_to_agbno(cur->bc_mp, ptr 1283 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 1291 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_ptr_to_daddr(cur, ptr, &d); ptr 1312 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 1324 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_ptr_to_daddr(cur, ptr, &d); ptr 1424 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr, ptr 1433 fs/xfs/libxfs/xfs_btree.c dst_ptr = (char *)ptr + (dir * xfs_btree_ptr_len(cur)); ptr 1434 fs/xfs/libxfs/xfs_btree.c memmove(dst_ptr, ptr, numptrs * xfs_btree_ptr_len(cur)); ptr 1582 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr ptr; ptr 1606 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, block, &ptr, XFS_BB_RIGHTSIB); ptr 1607 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_ptr_is_null(cur, &ptr)) ptr 1687 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr ptr; ptr 1708 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, block, &ptr, XFS_BB_LEFTSIB); ptr 1709 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_ptr_is_null(cur, &ptr)) ptr 1865 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr ptr; /* ptr to btree block */ ptr 1877 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->init_ptr_from_cur(cur, &ptr); ptr 1878 fs/xfs/libxfs/xfs_btree.c pp = &ptr; ptr 1980 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, block, &ptr, XFS_BB_RIGHTSIB); ptr 1983 fs/xfs/libxfs/xfs_btree.c !xfs_btree_ptr_is_null(cur, &ptr)) { ptr 2108 fs/xfs/libxfs/xfs_btree.c int ptr) ptr 2110 fs/xfs/libxfs/xfs_btree.c return (cur->bc_flags & XFS_BTREE_OVERLAPPING) || ptr == 1; ptr 2132 fs/xfs/libxfs/xfs_btree.c int ptr; ptr 2156 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; ptr 2157 fs/xfs/libxfs/xfs_btree.c nlkey = xfs_btree_key_addr(cur, ptr, block); ptr 2158 fs/xfs/libxfs/xfs_btree.c nhkey = xfs_btree_high_key_addr(cur, ptr, block); ptr 2164 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_keys(cur, bp, ptr, ptr); ptr 2198 fs/xfs/libxfs/xfs_btree.c int ptr; ptr 2213 fs/xfs/libxfs/xfs_btree.c for (level++, ptr = 1; ptr == 1 && level < cur->bc_nlevels; level++) { ptr 2223 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; ptr 2224 fs/xfs/libxfs/xfs_btree.c kp = xfs_btree_key_addr(cur, ptr, block); ptr 2226 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_keys(cur, bp, ptr, ptr); ptr 2245 fs/xfs/libxfs/xfs_btree.c int ptr; ptr 2257 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[0]; ptr 2258 fs/xfs/libxfs/xfs_btree.c rp = xfs_btree_rec_addr(cur, ptr, block); ptr 2262 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_recs(cur, bp, ptr, ptr); ptr 2270 fs/xfs/libxfs/xfs_btree.c ptr, LASTREC_UPDATE); ptr 2274 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_needs_key_update(cur, ptr)) { ptr 3231 fs/xfs/libxfs/xfs_btree.c int ptr; /* key/record index */ ptr 3253 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; ptr 3254 fs/xfs/libxfs/xfs_btree.c if (ptr == 0) { ptr 3259 fs/xfs/libxfs/xfs_btree.c optr = ptr; ptr 3274 fs/xfs/libxfs/xfs_btree.c if (ptr <= numrecs) { ptr 3277 fs/xfs/libxfs/xfs_btree.c xfs_btree_rec_addr(cur, ptr, block))); ptr 3280 fs/xfs/libxfs/xfs_btree.c xfs_btree_key_addr(cur, ptr, block))); ptr 3292 fs/xfs/libxfs/xfs_btree.c &optr, &ptr, &nptr, &ncur, lkey, stat); ptr 3314 fs/xfs/libxfs/xfs_btree.c XFS_BTREE_STATS_ADD(cur, moves, numrecs - ptr + 1); ptr 3321 fs/xfs/libxfs/xfs_btree.c kp = xfs_btree_key_addr(cur, ptr, block); ptr 3322 fs/xfs/libxfs/xfs_btree.c pp = xfs_btree_ptr_addr(cur, ptr, block); ptr 3324 fs/xfs/libxfs/xfs_btree.c for (i = numrecs - ptr; i >= 0; i--) { ptr 3330 fs/xfs/libxfs/xfs_btree.c xfs_btree_shift_keys(cur, kp, 1, numrecs - ptr + 1); ptr 3331 fs/xfs/libxfs/xfs_btree.c xfs_btree_shift_ptrs(cur, pp, 1, numrecs - ptr + 1); ptr 3342 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_ptrs(cur, bp, ptr, numrecs); ptr 3343 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_keys(cur, bp, ptr, numrecs); ptr 3345 fs/xfs/libxfs/xfs_btree.c if (ptr < numrecs) { ptr 3347 fs/xfs/libxfs/xfs_btree.c xfs_btree_key_addr(cur, ptr + 1, block))); ptr 3354 fs/xfs/libxfs/xfs_btree.c rp = xfs_btree_rec_addr(cur, ptr, block); ptr 3356 fs/xfs/libxfs/xfs_btree.c xfs_btree_shift_recs(cur, rp, 1, numrecs - ptr + 1); ptr 3361 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_recs(cur, bp, ptr, numrecs); ptr 3363 fs/xfs/libxfs/xfs_btree.c if (ptr < numrecs) { ptr 3365 fs/xfs/libxfs/xfs_btree.c xfs_btree_rec_addr(cur, ptr + 1, block))); ptr 3395 fs/xfs/libxfs/xfs_btree.c ptr, LASTREC_INSREC); ptr 3522 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr ptr; ptr 3558 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, block, &ptr, XFS_BB_LEFTSIB); ptr 3559 fs/xfs/libxfs/xfs_btree.c ASSERT(xfs_btree_ptr_is_null(cur, &ptr)); ptr 3560 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, block, &ptr, XFS_BB_RIGHTSIB); ptr 3561 fs/xfs/libxfs/xfs_btree.c ASSERT(xfs_btree_ptr_is_null(cur, &ptr)); ptr 3673 fs/xfs/libxfs/xfs_btree.c int ptr; /* key/record index */ ptr 3686 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[level]; ptr 3687 fs/xfs/libxfs/xfs_btree.c if (ptr == 0) { ptr 3703 fs/xfs/libxfs/xfs_btree.c if (ptr > numrecs) { ptr 3709 fs/xfs/libxfs/xfs_btree.c XFS_BTREE_STATS_ADD(cur, moves, numrecs - ptr); ptr 3717 fs/xfs/libxfs/xfs_btree.c lkp = xfs_btree_key_addr(cur, ptr + 1, block); ptr 3718 fs/xfs/libxfs/xfs_btree.c lpp = xfs_btree_ptr_addr(cur, ptr + 1, block); ptr 3720 fs/xfs/libxfs/xfs_btree.c for (i = 0; i < numrecs - ptr; i++) { ptr 3726 fs/xfs/libxfs/xfs_btree.c if (ptr < numrecs) { ptr 3727 fs/xfs/libxfs/xfs_btree.c xfs_btree_shift_keys(cur, lkp, -1, numrecs - ptr); ptr 3728 fs/xfs/libxfs/xfs_btree.c xfs_btree_shift_ptrs(cur, lpp, -1, numrecs - ptr); ptr 3729 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_keys(cur, bp, ptr, numrecs - 1); ptr 3730 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_ptrs(cur, bp, ptr, numrecs - 1); ptr 3734 fs/xfs/libxfs/xfs_btree.c if (ptr < numrecs) { ptr 3736 fs/xfs/libxfs/xfs_btree.c xfs_btree_rec_addr(cur, ptr + 1, block), ptr 3737 fs/xfs/libxfs/xfs_btree.c -1, numrecs - ptr); ptr 3738 fs/xfs/libxfs/xfs_btree.c xfs_btree_log_recs(cur, bp, ptr, numrecs - 1); ptr 3754 fs/xfs/libxfs/xfs_btree.c ptr, LASTREC_DELREC); ptr 3806 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_needs_key_update(cur, ptr)) { ptr 4223 fs/xfs/libxfs/xfs_btree.c int ptr; /* record number */ ptr 4228 fs/xfs/libxfs/xfs_btree.c ptr = cur->bc_ptrs[0]; ptr 4240 fs/xfs/libxfs/xfs_btree.c if (ptr > xfs_btree_get_numrecs(block) || ptr <= 0) { ptr 4248 fs/xfs/libxfs/xfs_btree.c *recp = xfs_btree_rec_addr(cur, ptr, block); ptr 4307 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr *ptr; ptr 4309 fs/xfs/libxfs/xfs_btree.c ptr = xfs_btree_ptr_addr(cur, 1, block); ptr 4310 fs/xfs/libxfs/xfs_btree.c xfs_btree_readahead_ptr(cur, ptr, 1); ptr 4313 fs/xfs/libxfs/xfs_btree.c xfs_btree_copy_ptrs(cur, &lptr, ptr, 1); ptr 4642 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr ptr; ptr 4659 fs/xfs/libxfs/xfs_btree.c cur->bc_ops->init_ptr_from_cur(cur, &ptr); ptr 4660 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_lookup_get_block(cur, level, &ptr, &block); ptr 120 fs/xfs/libxfs/xfs_btree.h int ptr, int reason); ptr 135 fs/xfs/libxfs/xfs_btree.h union xfs_btree_ptr *ptr); ptr 502 fs/xfs/libxfs/xfs_btree.h bool xfs_btree_ptr_is_null(struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr); ptr 508 fs/xfs/libxfs/xfs_btree.h union xfs_btree_ptr *ptr, int lr); ptr 151 fs/xfs/libxfs/xfs_dir2_sf.c char *ptr; /* current data pointer */ ptr 179 fs/xfs/libxfs/xfs_dir2_sf.c ptr = (char *)dp->d_ops->data_entry_p(hdr); ptr 186 fs/xfs/libxfs/xfs_dir2_sf.c while (ptr < endptr) { ptr 190 fs/xfs/libxfs/xfs_dir2_sf.c dup = (xfs_dir2_data_unused_t *)ptr; ptr 192 fs/xfs/libxfs/xfs_dir2_sf.c ptr += be16_to_cpu(dup->length); ptr 195 fs/xfs/libxfs/xfs_dir2_sf.c dep = (xfs_dir2_data_entry_t *)ptr; ptr 224 fs/xfs/libxfs/xfs_dir2_sf.c ptr += dp->d_ops->data_entsize(dep->namelen); ptr 213 fs/xfs/libxfs/xfs_ialloc_btree.c union xfs_btree_ptr *ptr) ptr 219 fs/xfs/libxfs/xfs_ialloc_btree.c ptr->s = agi->agi_root; ptr 225 fs/xfs/libxfs/xfs_ialloc_btree.c union xfs_btree_ptr *ptr) ptr 230 fs/xfs/libxfs/xfs_ialloc_btree.c ptr->s = agi->agi_free_root; ptr 431 fs/xfs/libxfs/xfs_iext_tree.c void *ptr) ptr 447 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(node == ptr); ptr 496 fs/xfs/libxfs/xfs_iext_tree.c void *ptr, ptr 529 fs/xfs/libxfs/xfs_iext_tree.c node->ptrs[pos] = ptr; ptr 533 fs/xfs/libxfs/xfs_iext_tree.c ptr = new; ptr 65 fs/xfs/libxfs/xfs_log_format.h static inline uint xlog_get_cycle(char *ptr) ptr 67 fs/xfs/libxfs/xfs_log_format.h if (be32_to_cpu(*(__be32 *)ptr) == XLOG_HEADER_MAGIC_NUM) ptr 68 fs/xfs/libxfs/xfs_log_format.h return be32_to_cpu(*((__be32 *)ptr + 1)); ptr 70 fs/xfs/libxfs/xfs_log_format.h return be32_to_cpu(*(__be32 *)ptr); ptr 34 fs/xfs/libxfs/xfs_refcount_btree.c union xfs_btree_ptr *ptr, ptr 42 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(ptr->s != 0); ptr 44 fs/xfs/libxfs/xfs_refcount_btree.c agf->agf_refcount_root = ptr->s; ptr 170 fs/xfs/libxfs/xfs_refcount_btree.c union xfs_btree_ptr *ptr) ptr 176 fs/xfs/libxfs/xfs_refcount_btree.c ptr->s = agf->agf_refcount_root; ptr 60 fs/xfs/libxfs/xfs_rmap_btree.c union xfs_btree_ptr *ptr, ptr 69 fs/xfs/libxfs/xfs_rmap_btree.c ASSERT(ptr->s != 0); ptr 71 fs/xfs/libxfs/xfs_rmap_btree.c agf->agf_roots[btnum] = ptr->s; ptr 216 fs/xfs/libxfs/xfs_rmap_btree.c union xfs_btree_ptr *ptr) ptr 222 fs/xfs/libxfs/xfs_rmap_btree.c ptr->s = agf->agf_roots[cur->bc_btnum]; ptr 223 fs/xfs/scrub/btree.c union xfs_btree_ptr *ptr) ptr 234 fs/xfs/scrub/btree.c res = xfs_btree_check_lptr(bs->cur, be64_to_cpu(ptr->l), level); ptr 236 fs/xfs/scrub/btree.c res = xfs_btree_check_sptr(bs->cur, be32_to_cpu(ptr->s), level); ptr 602 fs/xfs/scrub/btree.c union xfs_btree_ptr ptr; ptr 629 fs/xfs/scrub/btree.c cur->bc_ops->init_ptr_from_cur(cur, &ptr); ptr 630 fs/xfs/scrub/btree.c if (!xchk_btree_ptr_ok(&bs, cur->bc_nlevels, &ptr)) ptr 632 fs/xfs/scrub/btree.c error = xchk_btree_get_block(&bs, level, &ptr, &block, &bp); ptr 195 fs/xfs/scrub/dir.c xfs_dir2_dataptr_t ptr; ptr 207 fs/xfs/scrub/dir.c ptr = be32_to_cpu(ent->address); ptr 208 fs/xfs/scrub/dir.c if (ptr == 0) ptr 212 fs/xfs/scrub/dir.c db = xfs_dir2_dataptr_to_db(mp->m_dir_geo, ptr); ptr 213 fs/xfs/scrub/dir.c off = xfs_dir2_dataptr_to_off(mp->m_dir_geo, ptr); ptr 323 fs/xfs/scrub/dir.c char *ptr; ptr 386 fs/xfs/scrub/dir.c ptr = (char *)d_ops->data_entry_p(bp->b_addr); ptr 390 fs/xfs/scrub/dir.c while (ptr < endptr) { ptr 391 fs/xfs/scrub/dir.c dup = (struct xfs_dir2_data_unused *)ptr; ptr 396 fs/xfs/scrub/dir.c dep = (struct xfs_dir2_data_entry *)ptr; ptr 403 fs/xfs/scrub/dir.c ptr += newlen; ptr 428 fs/xfs/scrub/dir.c ptr += newlen; ptr 429 fs/xfs/scrub/dir.c if (ptr <= endptr) ptr 434 fs/xfs/scrub/dir.c if (ptr != endptr) ptr 332 fs/xfs/scrub/trace.h __field(int, ptr); ptr 345 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; ptr 354 fs/xfs/scrub/trace.h __entry->ptr, ptr 372 fs/xfs/scrub/trace.h __field(int, ptr) ptr 386 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; ptr 399 fs/xfs/scrub/trace.h __entry->ptr, ptr 417 fs/xfs/scrub/trace.h __field(int, ptr); ptr 428 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; ptr 436 fs/xfs/scrub/trace.h __entry->ptr, ptr 455 fs/xfs/scrub/trace.h __field(int, ptr); ptr 468 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; ptr 478 fs/xfs/scrub/trace.h __entry->ptr, ptr 496 fs/xfs/scrub/trace.h __field(int, ptr) ptr 508 fs/xfs/scrub/trace.h __entry->ptr = cur->bc_ptrs[level]; ptr 518 fs/xfs/scrub/trace.h __entry->ptr) ptr 144 fs/xfs/xfs_dir2_readdir.c char *ptr; /* current data entry */ ptr 172 fs/xfs/xfs_dir2_readdir.c ptr = (char *)dp->d_ops->data_entry_p(hdr); ptr 179 fs/xfs/xfs_dir2_readdir.c while (ptr < endptr) { ptr 182 fs/xfs/xfs_dir2_readdir.c dup = (xfs_dir2_data_unused_t *)ptr; ptr 187 fs/xfs/xfs_dir2_readdir.c ptr += be16_to_cpu(dup->length); ptr 191 fs/xfs/xfs_dir2_readdir.c dep = (xfs_dir2_data_entry_t *)ptr; ptr 196 fs/xfs/xfs_dir2_readdir.c ptr += dp->d_ops->data_entsize(dep->namelen); ptr 350 fs/xfs/xfs_dir2_readdir.c char *ptr = NULL; /* pointer to current data */ ptr 383 fs/xfs/xfs_dir2_readdir.c if (!bp || ptr >= (char *)bp->b_addr + geo->blksize) { ptr 401 fs/xfs/xfs_dir2_readdir.c ptr = (char *)dp->d_ops->data_entry_p(hdr); ptr 412 fs/xfs/xfs_dir2_readdir.c while ((char *)ptr - (char *)hdr < byteoff) { ptr 413 fs/xfs/xfs_dir2_readdir.c dup = (xfs_dir2_data_unused_t *)ptr; ptr 419 fs/xfs/xfs_dir2_readdir.c ptr += length; ptr 422 fs/xfs/xfs_dir2_readdir.c dep = (xfs_dir2_data_entry_t *)ptr; ptr 425 fs/xfs/xfs_dir2_readdir.c ptr += length; ptr 433 fs/xfs/xfs_dir2_readdir.c (char *)ptr - (char *)hdr); ptr 434 fs/xfs/xfs_dir2_readdir.c if (ptr >= (char *)hdr + geo->blksize) { ptr 443 fs/xfs/xfs_dir2_readdir.c dup = (xfs_dir2_data_unused_t *)ptr; ptr 449 fs/xfs/xfs_dir2_readdir.c ptr += length; ptr 454 fs/xfs/xfs_dir2_readdir.c dep = (xfs_dir2_data_entry_t *)ptr; ptr 467 fs/xfs/xfs_dir2_readdir.c ptr += length; ptr 2084 fs/xfs/xfs_inode.c void *ptr, ptr 2087 fs/xfs/xfs_inode.c struct xfs_iunlink *iu = ptr; ptr 91 fs/xfs/xfs_log.c void *ptr); ptr 2392 fs/xfs/xfs_log.c void *ptr; ptr 2401 fs/xfs/xfs_log.c ptr = iclog->ic_datap + log_offset; ptr 2428 fs/xfs/xfs_log.c ASSERT((unsigned long)ptr % sizeof(int32_t) == 0); ptr 2430 fs/xfs/xfs_log.c start_rec_copy = xlog_write_start_rec(ptr, ticket); ptr 2433 fs/xfs/xfs_log.c xlog_write_adv_cnt(&ptr, &len, &log_offset, ptr 2437 fs/xfs/xfs_log.c ophdr = xlog_write_setup_ophdr(log, ptr, ticket, flags); ptr 2441 fs/xfs/xfs_log.c xlog_write_adv_cnt(&ptr, &len, &log_offset, ptr 2450 fs/xfs/xfs_log.c xlog_verify_dest_ptr(log, ptr); ptr 2462 fs/xfs/xfs_log.c memcpy(ptr, reg->i_addr + copy_off, copy_len); ptr 2463 fs/xfs/xfs_log.c xlog_write_adv_cnt(&ptr, &len, &log_offset, ptr 3708 fs/xfs/xfs_log.c void *ptr) ptr 3714 fs/xfs/xfs_log.c if (ptr >= log->l_iclog_bak[i] && ptr 3715 fs/xfs/xfs_log.c ptr <= log->l_iclog_bak[i] + log->l_iclog_size) ptr 3810 fs/xfs/xfs_log.c void *base_ptr, *ptr, *p; ptr 3830 fs/xfs/xfs_log.c base_ptr = ptr = &iclog->ic_header; ptr 3832 fs/xfs/xfs_log.c for (ptr += BBSIZE; ptr < base_ptr + count; ptr += BBSIZE) { ptr 3833 fs/xfs/xfs_log.c if (*(__be32 *)ptr == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) ptr 3840 fs/xfs/xfs_log.c base_ptr = ptr = iclog->ic_datap; ptr 3841 fs/xfs/xfs_log.c ophead = ptr; ptr 3844 fs/xfs/xfs_log.c ophead = ptr; ptr 3885 fs/xfs/xfs_log.c ptr += sizeof(xlog_op_header_t) + op_len; ptr 439 fs/xfs/xfs_log_priv.h xlog_write_adv_cnt(void **ptr, int *len, int *off, size_t bytes) ptr 441 fs/xfs/xfs_log_priv.h *ptr += bytes; ptr 4179 fs/xfs/xfs_log_recover.c char *ptr, *old_ptr; ptr 4194 fs/xfs/xfs_log_recover.c ptr = (char *)&trans->r_theader + ptr 4196 fs/xfs/xfs_log_recover.c memcpy(ptr, dp, len); ptr 4206 fs/xfs/xfs_log_recover.c ptr = kmem_realloc(old_ptr, len + old_len, 0); ptr 4207 fs/xfs/xfs_log_recover.c memcpy(&ptr[old_len], dp, len); ptr 4209 fs/xfs/xfs_log_recover.c item->ri_buf[item->ri_cnt-1].i_addr = ptr; ptr 4236 fs/xfs/xfs_log_recover.c char *ptr; ptr 4266 fs/xfs/xfs_log_recover.c ptr = kmem_alloc(len, 0); ptr 4267 fs/xfs/xfs_log_recover.c memcpy(ptr, dp, len); ptr 4268 fs/xfs/xfs_log_recover.c in_f = (struct xfs_inode_log_format *)ptr; ptr 4287 fs/xfs/xfs_log_recover.c kmem_free(ptr); ptr 4298 fs/xfs/xfs_log_recover.c item->ri_buf[item->ri_cnt].i_addr = ptr; ptr 2212 fs/xfs/xfs_trace.h __field(int, ptr) ptr 2220 fs/xfs/xfs_trace.h __entry->ptr = cur->bc_ptrs[level]; ptr 2228 fs/xfs/xfs_trace.h __entry->ptr, ptr 1644 include/asm-generic/atomic-instrumented.h #define xchg(ptr, ...) \ ptr 1646 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1653 include/asm-generic/atomic-instrumented.h #define xchg_acquire(ptr, ...) \ ptr 1655 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1662 include/asm-generic/atomic-instrumented.h #define xchg_release(ptr, ...) \ ptr 1664 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1671 include/asm-generic/atomic-instrumented.h #define xchg_relaxed(ptr, ...) \ ptr 1673 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1680 include/asm-generic/atomic-instrumented.h #define cmpxchg(ptr, ...) \ ptr 1682 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1689 include/asm-generic/atomic-instrumented.h #define cmpxchg_acquire(ptr, ...) \ ptr 1691 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1698 include/asm-generic/atomic-instrumented.h #define cmpxchg_release(ptr, ...) \ ptr 1700 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1707 include/asm-generic/atomic-instrumented.h #define cmpxchg_relaxed(ptr, ...) \ ptr 1709 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1716 include/asm-generic/atomic-instrumented.h #define cmpxchg64(ptr, ...) \ ptr 1718 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1725 include/asm-generic/atomic-instrumented.h #define cmpxchg64_acquire(ptr, ...) \ ptr 1727 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1734 include/asm-generic/atomic-instrumented.h #define cmpxchg64_release(ptr, ...) \ ptr 1736 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1743 include/asm-generic/atomic-instrumented.h #define cmpxchg64_relaxed(ptr, ...) \ ptr 1745 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1751 include/asm-generic/atomic-instrumented.h #define cmpxchg_local(ptr, ...) \ ptr 1753 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1758 include/asm-generic/atomic-instrumented.h #define cmpxchg64_local(ptr, ...) \ ptr 1760 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1765 include/asm-generic/atomic-instrumented.h #define sync_cmpxchg(ptr, ...) \ ptr 1767 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1772 include/asm-generic/atomic-instrumented.h #define cmpxchg_double(ptr, ...) \ ptr 1774 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 1780 include/asm-generic/atomic-instrumented.h #define cmpxchg_double_local(ptr, ...) \ ptr 1782 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ ptr 195 include/asm-generic/atomic.h #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v))) ptr 230 include/asm-generic/barrier.h #define smp_cond_load_relaxed(ptr, cond_expr) ({ \ ptr 231 include/asm-generic/barrier.h typeof(ptr) __PTR = (ptr); \ ptr 232 include/asm-generic/barrier.h typeof(*ptr) VAL; \ ptr 252 include/asm-generic/barrier.h #define smp_cond_load_acquire(ptr, cond_expr) ({ \ ptr 253 include/asm-generic/barrier.h typeof(*ptr) _val; \ ptr 254 include/asm-generic/barrier.h _val = smp_cond_load_relaxed(ptr, cond_expr); \ ptr 8 include/asm-generic/cmpxchg-local.h extern unsigned long wrong_size_cmpxchg(volatile void *ptr) ptr 15 include/asm-generic/cmpxchg-local.h static inline unsigned long __cmpxchg_local_generic(volatile void *ptr, ptr 24 include/asm-generic/cmpxchg-local.h wrong_size_cmpxchg(ptr); ptr 28 include/asm-generic/cmpxchg-local.h case 1: prev = *(u8 *)ptr; ptr 30 include/asm-generic/cmpxchg-local.h *(u8 *)ptr = (u8)new; ptr 32 include/asm-generic/cmpxchg-local.h case 2: prev = *(u16 *)ptr; ptr 34 include/asm-generic/cmpxchg-local.h *(u16 *)ptr = (u16)new; ptr 36 include/asm-generic/cmpxchg-local.h case 4: prev = *(u32 *)ptr; ptr 38 include/asm-generic/cmpxchg-local.h *(u32 *)ptr = (u32)new; ptr 40 include/asm-generic/cmpxchg-local.h case 8: prev = *(u64 *)ptr; ptr 42 include/asm-generic/cmpxchg-local.h *(u64 *)ptr = (u64)new; ptr 45 include/asm-generic/cmpxchg-local.h wrong_size_cmpxchg(ptr); ptr 54 include/asm-generic/cmpxchg-local.h static inline u64 __cmpxchg64_local_generic(volatile void *ptr, ptr 61 include/asm-generic/cmpxchg-local.h prev = *(u64 *)ptr; ptr 63 include/asm-generic/cmpxchg-local.h *(u64 *)ptr = new; ptr 26 include/asm-generic/cmpxchg.h unsigned long __xchg(unsigned long x, volatile void *ptr, int size) ptr 33 include/asm-generic/cmpxchg.h return __xchg_u8(x, ptr); ptr 36 include/asm-generic/cmpxchg.h ret = *(volatile u8 *)ptr; ptr 37 include/asm-generic/cmpxchg.h *(volatile u8 *)ptr = x; ptr 44 include/asm-generic/cmpxchg.h return __xchg_u16(x, ptr); ptr 47 include/asm-generic/cmpxchg.h ret = *(volatile u16 *)ptr; ptr 48 include/asm-generic/cmpxchg.h *(volatile u16 *)ptr = x; ptr 55 include/asm-generic/cmpxchg.h return __xchg_u32(x, ptr); ptr 58 include/asm-generic/cmpxchg.h ret = *(volatile u32 *)ptr; ptr 59 include/asm-generic/cmpxchg.h *(volatile u32 *)ptr = x; ptr 67 include/asm-generic/cmpxchg.h return __xchg_u64(x, ptr); ptr 70 include/asm-generic/cmpxchg.h ret = *(volatile u64 *)ptr; ptr 71 include/asm-generic/cmpxchg.h *(volatile u64 *)ptr = x; ptr 83 include/asm-generic/cmpxchg.h #define xchg(ptr, x) ({ \ ptr 84 include/asm-generic/cmpxchg.h ((__typeof__(*(ptr))) \ ptr 85 include/asm-generic/cmpxchg.h __xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))); \ ptr 96 include/asm-generic/cmpxchg.h #define cmpxchg_local(ptr, o, n) ({ \ ptr 97 include/asm-generic/cmpxchg.h ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ ptr 98 include/asm-generic/cmpxchg.h (unsigned long)(n), sizeof(*(ptr)))); \ ptr 103 include/asm-generic/cmpxchg.h #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) ptr 106 include/asm-generic/cmpxchg.h #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) ptr 107 include/asm-generic/cmpxchg.h #define cmpxchg64(ptr, o, n) cmpxchg64_local((ptr), (o), (n)) ptr 27 include/asm-generic/msi.h void *ptr; ptr 44 include/asm-generic/percpu.h #define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset) ptr 112 include/asm-generic/uaccess.h #define __put_user(x, ptr) \ ptr 114 include/asm-generic/uaccess.h __typeof__(*(ptr)) __x = (x); \ ptr 116 include/asm-generic/uaccess.h __chk_user_ptr(ptr); \ ptr 117 include/asm-generic/uaccess.h switch (sizeof (*(ptr))) { \ ptr 122 include/asm-generic/uaccess.h __pu_err = __put_user_fn(sizeof (*(ptr)), \ ptr 123 include/asm-generic/uaccess.h ptr, &__x); \ ptr 132 include/asm-generic/uaccess.h #define put_user(x, ptr) \ ptr 134 include/asm-generic/uaccess.h void __user *__p = (ptr); \ ptr 136 include/asm-generic/uaccess.h access_ok(__p, sizeof(*ptr)) ? \ ptr 137 include/asm-generic/uaccess.h __put_user((x), ((__typeof__(*(ptr)) __user *)__p)) : \ ptr 143 include/asm-generic/uaccess.h static inline int __put_user_fn(size_t size, void __user *ptr, void *x) ptr 145 include/asm-generic/uaccess.h return unlikely(raw_copy_to_user(ptr, x, size)) ? -EFAULT : 0; ptr 154 include/asm-generic/uaccess.h #define __get_user(x, ptr) \ ptr 157 include/asm-generic/uaccess.h __chk_user_ptr(ptr); \ ptr 158 include/asm-generic/uaccess.h switch (sizeof(*(ptr))) { \ ptr 161 include/asm-generic/uaccess.h __gu_err = __get_user_fn(sizeof (*(ptr)), \ ptr 162 include/asm-generic/uaccess.h ptr, &__x); \ ptr 163 include/asm-generic/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 168 include/asm-generic/uaccess.h __gu_err = __get_user_fn(sizeof (*(ptr)), \ ptr 169 include/asm-generic/uaccess.h ptr, &__x); \ ptr 170 include/asm-generic/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 175 include/asm-generic/uaccess.h __gu_err = __get_user_fn(sizeof (*(ptr)), \ ptr 176 include/asm-generic/uaccess.h ptr, &__x); \ ptr 177 include/asm-generic/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 182 include/asm-generic/uaccess.h __gu_err = __get_user_fn(sizeof (*(ptr)), \ ptr 183 include/asm-generic/uaccess.h ptr, &__x); \ ptr 184 include/asm-generic/uaccess.h (x) = *(__force __typeof__(*(ptr)) *) &__x; \ ptr 194 include/asm-generic/uaccess.h #define get_user(x, ptr) \ ptr 196 include/asm-generic/uaccess.h const void __user *__p = (ptr); \ ptr 198 include/asm-generic/uaccess.h access_ok(__p, sizeof(*ptr)) ? \ ptr 199 include/asm-generic/uaccess.h __get_user((x), (__typeof__(*(ptr)) __user *)__p) :\ ptr 200 include/asm-generic/uaccess.h ((x) = (__typeof__(*(ptr)))0,-EFAULT); \ ptr 204 include/asm-generic/uaccess.h static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) ptr 206 include/asm-generic/uaccess.h return unlikely(raw_copy_from_user(x, ptr, size)) ? -EFAULT : 0; ptr 150 include/drm/drm_atomic.h struct drm_plane *ptr; ptr 155 include/drm/drm_atomic.h struct drm_crtc *ptr; ptr 173 include/drm/drm_atomic.h struct drm_connector *ptr; ptr 294 include/drm/drm_atomic.h struct drm_private_obj *ptr; ptr 694 include/drm/drm_atomic.h for_each_if ((__state)->connectors[__i].ptr && \ ptr 695 include/drm/drm_atomic.h ((connector) = (__state)->connectors[__i].ptr, \ ptr 715 include/drm/drm_atomic.h for_each_if ((__state)->connectors[__i].ptr && \ ptr 716 include/drm/drm_atomic.h ((connector) = (__state)->connectors[__i].ptr, \ ptr 735 include/drm/drm_atomic.h for_each_if ((__state)->connectors[__i].ptr && \ ptr 736 include/drm/drm_atomic.h ((connector) = (__state)->connectors[__i].ptr, \ ptr 755 include/drm/drm_atomic.h for_each_if ((__state)->crtcs[__i].ptr && \ ptr 756 include/drm/drm_atomic.h ((crtc) = (__state)->crtcs[__i].ptr, \ ptr 775 include/drm/drm_atomic.h for_each_if ((__state)->crtcs[__i].ptr && \ ptr 776 include/drm/drm_atomic.h ((crtc) = (__state)->crtcs[__i].ptr, \ ptr 794 include/drm/drm_atomic.h for_each_if ((__state)->crtcs[__i].ptr && \ ptr 795 include/drm/drm_atomic.h ((crtc) = (__state)->crtcs[__i].ptr, \ ptr 814 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ ptr 815 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ ptr 836 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ ptr 837 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ ptr 856 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ ptr 857 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ ptr 874 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ ptr 875 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ ptr 893 include/drm/drm_atomic.h ((obj) = (__state)->private_objs[__i].ptr, \ ptr 912 include/drm/drm_atomic.h ((obj) = (__state)->private_objs[__i].ptr, \ ptr 930 include/drm/drm_atomic.h ((obj) = (__state)->private_objs[__i].ptr, \ ptr 704 include/drm/drm_dp_mst_helper.h if (objs_state->ptr->funcs != &drm_dp_mst_topology_state_funcs) ptr 707 include/drm/drm_dp_mst_helper.h *mgr = to_dp_mst_topology_mgr(objs_state->ptr); ptr 12 include/linux/adfs_fs.h static inline int adfs_checkbblk(unsigned char *ptr) ptr 15 include/linux/adfs_fs.h unsigned char *p = ptr + 511; ptr 20 include/linux/adfs_fs.h } while (p != ptr); ptr 22 include/linux/adfs_fs.h return (result & 0xff) != ptr[511]; ptr 90 include/linux/assoc_array_priv.h struct assoc_array_ptr **ptr; ptr 550 include/linux/bio.h unsigned long ptr = (unsigned long) buffer & PAGE_MASK; ptr 552 include/linux/bio.h kunmap_atomic((void *) ptr); ptr 246 include/linux/bitops.h #define set_mask_bits(ptr, mask, bits) \ ptr 248 include/linux/bitops.h const typeof(*(ptr)) mask__ = (mask), bits__ = (bits); \ ptr 249 include/linux/bitops.h typeof(*(ptr)) old__, new__; \ ptr 252 include/linux/bitops.h old__ = READ_ONCE(*(ptr)); \ ptr 254 include/linux/bitops.h } while (cmpxchg(ptr, old__, new__) != old__); \ ptr 261 include/linux/bitops.h #define bit_clear_unless(ptr, clear, test) \ ptr 263 include/linux/bitops.h const typeof(*(ptr)) clear__ = (clear), test__ = (test);\ ptr 264 include/linux/bitops.h typeof(*(ptr)) old__, new__; \ ptr 267 include/linux/bitops.h old__ = READ_ONCE(*(ptr)); \ ptr 270 include/linux/bitops.h cmpxchg(ptr, old__, new__) != old__); \ ptr 673 include/linux/blkdev.h #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist) ptr 52 include/linux/bpf.h void (*map_fd_put_ptr)(void *ptr); ptr 54 include/linux/bpf.h u32 (*map_fd_sys_lookup_elem)(void *ptr); ptr 27 include/linux/clk/ti.h void __iomem *ptr; ptr 34 include/linux/compiler-gcc.h #define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory") ptr 54 include/linux/compiler-gcc.h #define RELOC_HIDE(ptr, off) \ ptr 57 include/linux/compiler-gcc.h __asm__ ("" : "=r"(__ptr) : "0"(ptr)); \ ptr 58 include/linux/compiler-gcc.h (typeof(ptr)) (__ptr + (off)); \ ptr 17 include/linux/compiler-intel.h #define barrier_data(ptr) barrier() ptr 19 include/linux/compiler-intel.h #define RELOC_HIDE(ptr, off) \ ptr 21 include/linux/compiler-intel.h __ptr = (unsigned long) (ptr); \ ptr 22 include/linux/compiler-intel.h (typeof(ptr)) (__ptr + (off)); }) ptr 87 include/linux/compiler.h # define barrier_data(ptr) barrier() ptr 163 include/linux/compiler.h # define RELOC_HIDE(ptr, off) \ ptr 165 include/linux/compiler.h __ptr = (unsigned long) (ptr); \ ptr 166 include/linux/compiler.h (typeof(ptr)) (__ptr + (off)); }) ptr 32 include/linux/crash_core.h void crash_update_vmcoreinfo_safecopy(void *ptr); ptr 37 include/linux/device-mapper.h void *ptr; ptr 399 include/linux/device-mapper.h void dm_set_mdptr(struct mapped_device *md, void *ptr); ptr 47 include/linux/dm-io.h } ptr; ptr 583 include/linux/dma-mapping.h static inline dma_addr_t dma_map_single_attrs(struct device *dev, void *ptr, ptr 587 include/linux/dma-mapping.h if (dev_WARN_ONCE(dev, is_vmalloc_addr(ptr), ptr 590 include/linux/dma-mapping.h debug_dma_map_single(dev, ptr, size); ptr 591 include/linux/dma-mapping.h return dma_map_page_attrs(dev, virt_to_page(ptr), offset_in_page(ptr), ptr 716 include/linux/efi.h unsigned long *ptr; ptr 166 include/linux/elevator.h #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist) ptr 29 include/linux/err.h static inline long __must_check PTR_ERR(__force const void *ptr) ptr 31 include/linux/err.h return (long) ptr; ptr 34 include/linux/err.h static inline bool __must_check IS_ERR(__force const void *ptr) ptr 36 include/linux/err.h return IS_ERR_VALUE((unsigned long)ptr); ptr 39 include/linux/err.h static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) ptr 41 include/linux/err.h return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); ptr 51 include/linux/err.h static inline void * __must_check ERR_CAST(__force const void *ptr) ptr 54 include/linux/err.h return (void *) ptr; ptr 57 include/linux/err.h static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) ptr 59 include/linux/err.h if (IS_ERR(ptr)) ptr 60 include/linux/err.h return PTR_ERR(ptr); ptr 122 include/linux/ethtool.h #define ethtool_link_ksettings_zero_link_mode(ptr, name) \ ptr 123 include/linux/ethtool.h bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS) ptr 133 include/linux/ethtool.h #define ethtool_link_ksettings_add_link_mode(ptr, name, mode) \ ptr 134 include/linux/ethtool.h __set_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name) ptr 144 include/linux/ethtool.h #define ethtool_link_ksettings_del_link_mode(ptr, name, mode) \ ptr 145 include/linux/ethtool.h __clear_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name) ptr 156 include/linux/ethtool.h #define ethtool_link_ksettings_test_link_mode(ptr, name, mode) \ ptr 157 include/linux/ethtool.h test_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name) ptr 40 include/linux/fsl/bestcomm/sram.h extern void bcom_sram_free(void *ptr); ptr 47 include/linux/futex.h u64 ptr; ptr 53 include/linux/futex.h #define FUTEX_KEY_INIT (union futex_key) { .both = { .ptr = 0ULL } } ptr 11 include/linux/goldfish.h static inline void gf_write_ptr(const void *ptr, void __iomem *portl, ptr 14 include/linux/goldfish.h const unsigned long addr = (unsigned long)ptr; ptr 88 include/linux/hash.h static inline u32 hash_ptr(const void *ptr, unsigned int bits) ptr 90 include/linux/hash.h return hash_long((unsigned long)ptr, bits); ptr 94 include/linux/hash.h static inline u32 hash32_ptr(const void *ptr) ptr 96 include/linux/hash.h unsigned long val = (unsigned long)ptr; ptr 55 include/linux/hugetlb_cgroup.h struct hugetlb_cgroup **ptr); ptr 86 include/linux/hugetlb_cgroup.h struct hugetlb_cgroup **ptr) ptr 13 include/linux/i2c-pxa.h void (*event)(void *ptr, i2c_slave_event_t event); ptr 14 include/linux/i2c-pxa.h int (*read) (void *ptr); ptr 15 include/linux/i2c-pxa.h void (*write)(void *ptr, unsigned int val); ptr 114 include/linux/idr.h int idr_alloc(struct idr *, void *ptr, int start, int end, gfp_t); ptr 115 include/linux/idr.h int __must_check idr_alloc_u32(struct idr *, void *ptr, u32 *id, ptr 117 include/linux/idr.h int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t); ptr 153 include/linux/if_team.h const void *ptr; ptr 19 include/linux/if_tun.h void *ptr; ptr 30 include/linux/if_tun.h bool tun_is_xdp_frame(void *ptr); ptr 31 include/linux/if_tun.h void *tun_xdp_to_ptr(void *ptr); ptr 32 include/linux/if_tun.h void *tun_ptr_to_xdp(void *ptr); ptr 33 include/linux/if_tun.h void tun_ptr_free(void *ptr); ptr 47 include/linux/if_tun.h static inline bool tun_is_xdp_frame(void *ptr) ptr 51 include/linux/if_tun.h static inline void *tun_xdp_to_ptr(void *ptr) ptr 55 include/linux/if_tun.h static inline void *tun_ptr_to_xdp(void *ptr) ptr 59 include/linux/if_tun.h static inline void tun_ptr_free(void *ptr) ptr 67 include/linux/jbd2.h extern void jbd2_free(void *ptr, size_t size); ptr 54 include/linux/kallsyms.h static inline void *dereference_symbol_descriptor(void *ptr) ptr 59 include/linux/kallsyms.h ptr = dereference_kernel_function_descriptor(ptr); ptr 60 include/linux/kallsyms.h if (is_ksym_addr((unsigned long)ptr)) ptr 61 include/linux/kallsyms.h return ptr; ptr 64 include/linux/kallsyms.h mod = __module_address((unsigned long)ptr); ptr 68 include/linux/kallsyms.h ptr = dereference_module_function_descriptor(mod, ptr); ptr 70 include/linux/kallsyms.h return ptr; ptr 55 include/linux/kasan.h void * __must_check kasan_kmalloc_large(const void *ptr, size_t size, ptr 57 include/linux/kasan.h void kasan_kfree_large(void *ptr, unsigned long ip); ptr 58 include/linux/kasan.h void kasan_poison_kfree(void *ptr, unsigned long ip); ptr 80 include/linux/kasan.h static inline void kasan_unpoison_slab(const void *ptr) ptr 82 include/linux/kasan.h kasan_unpoison_shadow(ptr, __ksize(ptr)); ptr 117 include/linux/kasan.h static inline void *kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) ptr 119 include/linux/kasan.h return ptr; ptr 121 include/linux/kasan.h static inline void kasan_kfree_large(void *ptr, unsigned long ip) {} ptr 122 include/linux/kasan.h static inline void kasan_poison_kfree(void *ptr, unsigned long ip) {} ptr 156 include/linux/kasan.h static inline void kasan_unpoison_slab(const void *ptr) { } ptr 500 include/linux/kernel.h extern unsigned long long memparse(const char *ptr, char **retptr); ptr 509 include/linux/kernel.h extern int func_ptr_is_kernel_text(void *ptr); ptr 992 include/linux/kernel.h #define container_of(ptr, type, member) ({ \ ptr 993 include/linux/kernel.h void *__mptr = (void *)(ptr); \ ptr 994 include/linux/kernel.h BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ptr 995 include/linux/kernel.h !__same_type(*(ptr), void), \ ptr 1007 include/linux/kernel.h #define container_of_safe(ptr, type, member) ({ \ ptr 1008 include/linux/kernel.h void *__mptr = (void *)(ptr); \ ptr 1009 include/linux/kernel.h BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ ptr 1010 include/linux/kernel.h !__same_type(*(ptr), void), \ ptr 58 include/linux/kfifo.h ptrtype *ptr; \ ptr 415 include/linux/kfifo.h typeof(__tmp->ptr) __val = (val); \ ptr 454 include/linux/kfifo.h typeof(__tmp->ptr) __val = (val); \ ptr 540 include/linux/kfifo.h typeof(__tmp->ptr) __buf = (buf); \ ptr 748 include/linux/kfifo.h typeof(__tmp->ptr) __buf = (buf); \ ptr 308 include/linux/kgdb.h extern int kgdb_hex2long(char **ptr, unsigned long *long_val); ptr 18 include/linux/kmemleak.h extern void kmemleak_alloc(const void *ptr, size_t size, int min_count, ptr 20 include/linux/kmemleak.h extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, ptr 24 include/linux/kmemleak.h extern void kmemleak_free(const void *ptr) __ref; ptr 25 include/linux/kmemleak.h extern void kmemleak_free_part(const void *ptr, size_t size) __ref; ptr 26 include/linux/kmemleak.h extern void kmemleak_free_percpu(const void __percpu *ptr) __ref; ptr 27 include/linux/kmemleak.h extern void kmemleak_update_trace(const void *ptr) __ref; ptr 28 include/linux/kmemleak.h extern void kmemleak_not_leak(const void *ptr) __ref; ptr 29 include/linux/kmemleak.h extern void kmemleak_ignore(const void *ptr) __ref; ptr 30 include/linux/kmemleak.h extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref; ptr 31 include/linux/kmemleak.h extern void kmemleak_no_scan(const void *ptr) __ref; ptr 38 include/linux/kmemleak.h static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, ptr 43 include/linux/kmemleak.h kmemleak_alloc(ptr, size, min_count, gfp); ptr 46 include/linux/kmemleak.h static inline void kmemleak_free_recursive(const void *ptr, slab_flags_t flags) ptr 49 include/linux/kmemleak.h kmemleak_free(ptr); ptr 52 include/linux/kmemleak.h static inline void kmemleak_erase(void **ptr) ptr 54 include/linux/kmemleak.h *ptr = NULL; ptr 62 include/linux/kmemleak.h static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, ptr 66 include/linux/kmemleak.h static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, ptr 71 include/linux/kmemleak.h static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, ptr 79 include/linux/kmemleak.h static inline void kmemleak_free(const void *ptr) ptr 82 include/linux/kmemleak.h static inline void kmemleak_free_part(const void *ptr, size_t size) ptr 85 include/linux/kmemleak.h static inline void kmemleak_free_recursive(const void *ptr, slab_flags_t flags) ptr 88 include/linux/kmemleak.h static inline void kmemleak_free_percpu(const void __percpu *ptr) ptr 91 include/linux/kmemleak.h static inline void kmemleak_update_trace(const void *ptr) ptr 94 include/linux/kmemleak.h static inline void kmemleak_not_leak(const void *ptr) ptr 97 include/linux/kmemleak.h static inline void kmemleak_ignore(const void *ptr) ptr 100 include/linux/kmemleak.h static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) ptr 103 include/linux/kmemleak.h static inline void kmemleak_erase(void **ptr) ptr 106 include/linux/kmemleak.h static inline void kmemleak_no_scan(const void *ptr) ptr 478 include/linux/list.h #define list_entry(ptr, type, member) \ ptr 479 include/linux/list.h container_of(ptr, type, member) ptr 489 include/linux/list.h #define list_first_entry(ptr, type, member) \ ptr 490 include/linux/list.h list_entry((ptr)->next, type, member) ptr 500 include/linux/list.h #define list_last_entry(ptr, type, member) \ ptr 501 include/linux/list.h list_entry((ptr)->prev, type, member) ptr 511 include/linux/list.h #define list_first_entry_or_null(ptr, type, member) ({ \ ptr 512 include/linux/list.h struct list_head *head__ = (ptr); \ ptr 740 include/linux/list.h #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) ptr 847 include/linux/list.h #define hlist_entry(ptr, type, member) container_of(ptr,type,member) ptr 856 include/linux/list.h #define hlist_entry_safe(ptr, type, member) \ ptr 857 include/linux/list.h ({ typeof(ptr) ____ptr = (ptr); \ ptr 41 include/linux/list_bl.h #define INIT_HLIST_BL_HEAD(ptr) \ ptr 42 include/linux/list_bl.h ((ptr)->first = NULL) ptr 50 include/linux/list_bl.h #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member) ptr 29 include/linux/list_nulls.h #define INIT_HLIST_NULLS_HEAD(ptr, nulls) \ ptr 30 include/linux/list_nulls.h ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) ptr 32 include/linux/list_nulls.h #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) ptr 34 include/linux/list_nulls.h #define hlist_nulls_entry_safe(ptr, type, member) \ ptr 35 include/linux/list_nulls.h ({ typeof(ptr) ____ptr = (ptr); \ ptr 43 include/linux/list_nulls.h static inline int is_a_nulls(const struct hlist_nulls_node *ptr) ptr 45 include/linux/list_nulls.h return ((unsigned long)ptr & 1); ptr 54 include/linux/list_nulls.h static inline unsigned long get_nulls_value(const struct hlist_nulls_node *ptr) ptr 56 include/linux/list_nulls.h return ((unsigned long)ptr) >> 1; ptr 80 include/linux/llist.h #define llist_entry(ptr, type, member) \ ptr 81 include/linux/llist.h container_of(ptr, type, member) ptr 97 include/linux/llist.h #define member_address_is_nonnull(ptr, member) \ ptr 98 include/linux/llist.h ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0) ptr 296 include/linux/lru_cache.h #define lc_entry(ptr, type, member) \ ptr 297 include/linux/lru_cache.h container_of(ptr, type, member) ptr 52 include/linux/mlx4/doorbell.h #define MLX4_INIT_DOORBELL_LOCK(ptr) do { } while (0) ptr 53 include/linux/mlx4/doorbell.h #define MLX4_GET_DOORBELL_LOCK(ptr) (NULL) ptr 70 include/linux/mlx4/doorbell.h #define MLX4_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) ptr 71 include/linux/mlx4/doorbell.h #define MLX4_GET_DOORBELL_LOCK(ptr) (ptr) ptr 39 include/linux/mlx5/cmd.h u64 ptr; ptr 55 include/linux/mlx5/eq.h #define mlx5_nb_cof(ptr, type, member) \ ptr 56 include/linux/mlx5/eq.h (container_of(container_of(ptr, struct mlx5_nb, nb), type, member)) ptr 649 include/linux/module.h void *dereference_module_function_descriptor(struct module *mod, void *ptr); ptr 829 include/linux/module.h void *dereference_module_function_descriptor(struct module *mod, void *ptr) ptr 831 include/linux/module.h return ptr; ptr 321 include/linux/mtd/map.h static inline map_word map_word_load(struct map_info *map, const void *ptr) ptr 326 include/linux/mtd/map.h r.x[0] = *(unsigned char *)ptr; ptr 328 include/linux/mtd/map.h r.x[0] = get_unaligned((uint16_t *)ptr); ptr 330 include/linux/mtd/map.h r.x[0] = get_unaligned((uint32_t *)ptr); ptr 333 include/linux/mtd/map.h r.x[0] = get_unaligned((uint64_t *)ptr); ptr 336 include/linux/mtd/map.h memcpy(r.x, ptr, map->bankwidth); ptr 2820 include/linux/netdevice.h static inline void *skb_gro_remcsum_process(struct sk_buff *skb, void *ptr, ptr 2833 include/linux/netdevice.h return ptr; ptr 2836 include/linux/netdevice.h ptr = skb_gro_header_fast(skb, off); ptr 2838 include/linux/netdevice.h ptr = skb_gro_header_slow(skb, off + plen, off); ptr 2839 include/linux/netdevice.h if (!ptr) ptr 2843 include/linux/netdevice.h delta = remcsum_adjust(ptr + hdrlen, NAPI_GRO_CB(skb)->csum, ptr 2852 include/linux/netdevice.h return ptr; ptr 2858 include/linux/netdevice.h void *ptr; ptr 2864 include/linux/netdevice.h ptr = skb_gro_header_fast(skb, grc->offset); ptr 2866 include/linux/netdevice.h ptr = skb_gro_header_slow(skb, plen, grc->offset); ptr 2867 include/linux/netdevice.h if (!ptr) ptr 2871 include/linux/netdevice.h remcsum_unadjust((__sum16 *)ptr, grc->delta); ptr 12 include/linux/netfilter/x_tables.h #define NF_INVF(ptr, flag, boolean) \ ptr 13 include/linux/netfilter/x_tables.h ((boolean) ^ !!((ptr)->invflags & (flag))) ptr 22 include/linux/nubus.h unsigned char *ptr; ptr 38 include/linux/pci-dma-compat.h pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) ptr 40 include/linux/pci-dma-compat.h return dma_map_single(&hwdev->dev, ptr, size, (enum dma_data_direction)direction); ptr 217 include/linux/percpu-defs.h #define __verify_pcpu_ptr(ptr) \ ptr 219 include/linux/percpu-defs.h const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ ptr 233 include/linux/percpu-defs.h #define per_cpu_ptr(ptr, cpu) \ ptr 235 include/linux/percpu-defs.h __verify_pcpu_ptr(ptr); \ ptr 236 include/linux/percpu-defs.h SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \ ptr 239 include/linux/percpu-defs.h #define raw_cpu_ptr(ptr) \ ptr 241 include/linux/percpu-defs.h __verify_pcpu_ptr(ptr); \ ptr 242 include/linux/percpu-defs.h arch_raw_cpu_ptr(ptr); \ ptr 246 include/linux/percpu-defs.h #define this_cpu_ptr(ptr) \ ptr 248 include/linux/percpu-defs.h __verify_pcpu_ptr(ptr); \ ptr 249 include/linux/percpu-defs.h SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \ ptr 252 include/linux/percpu-defs.h #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) ptr 263 include/linux/percpu-defs.h #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); }) ptr 264 include/linux/percpu-defs.h #define raw_cpu_ptr(ptr) per_cpu_ptr(ptr, 0) ptr 265 include/linux/percpu-defs.h #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr) ptr 100 include/linux/percpu.h typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size); ptr 103 include/linux/ptr_ring.h static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) ptr 112 include/linux/ptr_ring.h WRITE_ONCE(r->queue[r->producer++], ptr); ptr 123 include/linux/ptr_ring.h static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) ptr 128 include/linux/ptr_ring.h ret = __ptr_ring_produce(r, ptr); ptr 134 include/linux/ptr_ring.h static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) ptr 139 include/linux/ptr_ring.h ret = __ptr_ring_produce(r, ptr); ptr 145 include/linux/ptr_ring.h static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) ptr 151 include/linux/ptr_ring.h ret = __ptr_ring_produce(r, ptr); ptr 157 include/linux/ptr_ring.h static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) ptr 162 include/linux/ptr_ring.h ret = __ptr_ring_produce(r, ptr); ptr 292 include/linux/ptr_ring.h void *ptr; ptr 298 include/linux/ptr_ring.h ptr = __ptr_ring_peek(r); ptr 299 include/linux/ptr_ring.h if (ptr) ptr 302 include/linux/ptr_ring.h return ptr; ptr 308 include/linux/ptr_ring.h void *ptr; ptr 312 include/linux/ptr_ring.h ptr = __ptr_ring_consume(r); ptr 313 include/linux/ptr_ring.h if (!ptr) ptr 315 include/linux/ptr_ring.h array[i] = ptr; ptr 328 include/linux/ptr_ring.h void *ptr; ptr 331 include/linux/ptr_ring.h ptr = __ptr_ring_consume(r); ptr 334 include/linux/ptr_ring.h return ptr; ptr 339 include/linux/ptr_ring.h void *ptr; ptr 342 include/linux/ptr_ring.h ptr = __ptr_ring_consume(r); ptr 345 include/linux/ptr_ring.h return ptr; ptr 351 include/linux/ptr_ring.h void *ptr; ptr 354 include/linux/ptr_ring.h ptr = __ptr_ring_consume(r); ptr 357 include/linux/ptr_ring.h return ptr; ptr 362 include/linux/ptr_ring.h void *ptr; ptr 365 include/linux/ptr_ring.h ptr = __ptr_ring_consume(r); ptr 368 include/linux/ptr_ring.h return ptr; ptr 563 include/linux/ptr_ring.h void *ptr; ptr 565 include/linux/ptr_ring.h while ((ptr = __ptr_ring_consume(r))) ptr 567 include/linux/ptr_ring.h queue[producer++] = ptr; ptr 569 include/linux/ptr_ring.h destroy(ptr); ptr 665 include/linux/ptr_ring.h void *ptr; ptr 668 include/linux/ptr_ring.h while ((ptr = ptr_ring_consume(r))) ptr 669 include/linux/ptr_ring.h destroy(ptr); ptr 54 include/linux/qed/qede_rdma.h void *ptr; ptr 88 include/linux/qnx6_fs.h __fs32 ptr[QNX6_NO_DIRECT_POINTERS]; ptr 43 include/linux/radix-tree.h static inline bool radix_tree_is_internal_node(void *ptr) ptr 45 include/linux/radix-tree.h return ((unsigned long)ptr & RADIX_TREE_ENTRY_MASK) == ptr 38 include/linux/rbtree.h #define rb_entry(ptr, type, member) container_of(ptr, type, member) ptr 87 include/linux/rbtree.h #define rb_entry_safe(ptr, type, member) \ ptr 88 include/linux/rbtree.h ({ typeof(ptr) ____ptr = (ptr); \ ptr 295 include/linux/rculist.h #define list_entry_rcu(ptr, type, member) \ ptr 296 include/linux/rculist.h container_of(READ_ONCE(ptr), type, member) ptr 331 include/linux/rculist.h #define list_first_or_null_rcu(ptr, type, member) \ ptr 333 include/linux/rculist.h struct list_head *__ptr = (ptr); \ ptr 350 include/linux/rculist.h #define list_next_or_null_rcu(head, ptr, type, member) \ ptr 353 include/linux/rculist.h struct list_head *__ptr = (ptr); \ ptr 389 include/linux/rculist.h #define list_entry_lockless(ptr, type, member) \ ptr 390 include/linux/rculist.h container_of((typeof(ptr))READ_ONCE(ptr), type, member) ptr 395 include/linux/rcupdate.h #define rcu_swap_protected(rcu_ptr, ptr, c) do { \ ptr 396 include/linux/rcupdate.h typeof(ptr) __tmp = rcu_dereference_protected((rcu_ptr), (c)); \ ptr 397 include/linux/rcupdate.h rcu_assign_pointer((rcu_ptr), (ptr)); \ ptr 398 include/linux/rcupdate.h (ptr) = __tmp; \ ptr 835 include/linux/rcupdate.h #define kfree_rcu(ptr, rhf) \ ptr 837 include/linux/rcupdate.h typeof (ptr) ___p = (ptr); \ ptr 840 include/linux/rcupdate.h __kfree_rcu(&((___p)->rhf), offsetof(typeof(*(ptr)), rhf)); \ ptr 103 include/linux/rhashtable.h #define RHT_NULLS_MARKER(ptr) \ ptr 104 include/linux/rhashtable.h ((void *)NULLS_MARKER(((unsigned long) (ptr)) >> 1)) ptr 105 include/linux/rhashtable.h #define INIT_RHT_NULLS_HEAD(ptr) \ ptr 106 include/linux/rhashtable.h ((ptr) = NULL) ptr 108 include/linux/rhashtable.h static inline bool rht_is_a_nulls(const struct rhash_head *ptr) ptr 110 include/linux/rhashtable.h return ((unsigned long) ptr & 1); ptr 168 include/linux/rhashtable.h const char *ptr = rht_obj(ht, he); ptr 171 include/linux/rhashtable.h rht_bucket_index(tbl, params.obj_hashfn(ptr, params.key_len ?: ptr 174 include/linux/rhashtable.h rht_key_hashfn(ht, tbl, ptr + params.key_offset, params); ptr 260 include/linux/rhashtable.h void (*free_fn)(void *ptr, void *arg), ptr 582 include/linux/rhashtable.h const char *ptr = obj; ptr 584 include/linux/rhashtable.h return memcmp(ptr + ht->p.key_offset, arg->key, ht->p.key_len); ptr 1270 include/linux/rhashtable.h void (*free_fn)(void *ptr, ptr 185 include/linux/skb_array.h static void __skb_array_destroy_skb(void *ptr) ptr 187 include/linux/skb_array.h kfree_skb(ptr); ptr 3012 include/linux/skbuff.h void *ptr = page_address(skb_frag_page(frag)); ptr 3013 include/linux/skbuff.h if (unlikely(!ptr)) ptr 3016 include/linux/skbuff.h return ptr + skb_frag_off(frag); ptr 4024 include/linux/skbuff.h static inline void skb_remcsum_adjust_partial(struct sk_buff *skb, void *ptr, ptr 4028 include/linux/skbuff.h skb->csum_start = ((unsigned char *)ptr + start) - skb->head; ptr 4037 include/linux/skbuff.h static inline void skb_remcsum_process(struct sk_buff *skb, void *ptr, ptr 4043 include/linux/skbuff.h skb_remcsum_adjust_partial(skb, ptr, start, offset); ptr 4049 include/linux/skbuff.h skb_postpull_rcsum(skb, skb->data, ptr - (void *)skb->data); ptr 4052 include/linux/skbuff.h delta = remcsum_adjust(ptr, skb->csum, start, offset); ptr 195 include/linux/slab.h void __check_heap_object(const void *ptr, unsigned long n, struct page *page, ptr 198 include/linux/slab.h static inline void __check_heap_object(const void *ptr, unsigned long n, ptr 229 include/linux/string.h size_t memweight(const void *ptr, size_t bytes); ptr 123 include/linux/sunrpc/xdr.h __be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int len); ptr 124 include/linux/sunrpc/xdr.h __be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int len); ptr 161 include/linux/sunrpc/xdr.h xdr_decode_opaque_fixed(__be32 *p, void *ptr, unsigned int len) ptr 163 include/linux/sunrpc/xdr.h memcpy(ptr, p, len); ptr 283 include/linux/sunrpc/xdr.h ssize_t xdr_stream_decode_opaque(struct xdr_stream *xdr, void *ptr, ptr 285 include/linux/sunrpc/xdr.h ssize_t xdr_stream_decode_opaque_dup(struct xdr_stream *xdr, void **ptr, ptr 359 include/linux/sunrpc/xdr.h xdr_stream_encode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t len) ptr 365 include/linux/sunrpc/xdr.h *ptr = NULL; ptr 369 include/linux/sunrpc/xdr.h *ptr = ++p; ptr 384 include/linux/sunrpc/xdr.h xdr_stream_encode_opaque_fixed(struct xdr_stream *xdr, const void *ptr, size_t len) ptr 390 include/linux/sunrpc/xdr.h xdr_encode_opaque_fixed(p, ptr, len); ptr 405 include/linux/sunrpc/xdr.h xdr_stream_encode_opaque(struct xdr_stream *xdr, const void *ptr, size_t len) ptr 412 include/linux/sunrpc/xdr.h xdr_encode_opaque(p, ptr, len); ptr 451 include/linux/sunrpc/xdr.h xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr) ptr 453 include/linux/sunrpc/xdr.h const size_t count = sizeof(*ptr); ptr 458 include/linux/sunrpc/xdr.h *ptr = be32_to_cpup(p); ptr 473 include/linux/sunrpc/xdr.h xdr_stream_decode_opaque_fixed(struct xdr_stream *xdr, void *ptr, size_t len) ptr 479 include/linux/sunrpc/xdr.h xdr_decode_opaque_fixed(p, ptr, len); ptr 500 include/linux/sunrpc/xdr.h xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen) ptr 505 include/linux/sunrpc/xdr.h *ptr = NULL; ptr 514 include/linux/sunrpc/xdr.h *ptr = p; ptr 1210 include/linux/syscalls.h unsigned long third, void __user *ptr, long fifth); ptr 1272 include/linux/syscalls.h unsigned long third, void __user * ptr, long fifth); ptr 1274 include/linux/syscalls.h u32 third, u32 ptr, u32 fifth); ptr 112 include/linux/thread_info.h extern void __check_object_size(const void *ptr, unsigned long n, ptr 115 include/linux/thread_info.h static __always_inline void check_object_size(const void *ptr, unsigned long n, ptr 119 include/linux/thread_info.h __check_object_size(ptr, n, to_user); ptr 122 include/linux/thread_info.h static inline void check_object_size(const void *ptr, unsigned long n, ptr 368 include/linux/uaccess.h #define user_access_begin(ptr,len) access_ok(ptr, len) ptr 11 include/linux/unaligned/generic.h #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ ptr 12 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 1, *(ptr), \ ptr 13 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 2, get_unaligned_le16((ptr)), \ ptr 14 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_le32((ptr)), \ ptr 15 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 8, get_unaligned_le64((ptr)), \ ptr 19 include/linux/unaligned/generic.h #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ ptr 20 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 1, *(ptr), \ ptr 21 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 2, get_unaligned_be16((ptr)), \ ptr 22 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_be32((ptr)), \ ptr 23 include/linux/unaligned/generic.h __builtin_choose_expr(sizeof(*(ptr)) == 8, get_unaligned_be64((ptr)), \ ptr 27 include/linux/unaligned/generic.h #define __put_unaligned_le(val, ptr) ({ \ ptr 28 include/linux/unaligned/generic.h void *__gu_p = (ptr); \ ptr 29 include/linux/unaligned/generic.h switch (sizeof(*(ptr))) { \ ptr 48 include/linux/unaligned/generic.h #define __put_unaligned_be(val, ptr) ({ \ ptr 49 include/linux/unaligned/generic.h void *__gu_p = (ptr); \ ptr 50 include/linux/unaligned/generic.h switch (sizeof(*(ptr))) { \ ptr 12 include/linux/unaligned/packed_struct.h const struct __una_u16 *ptr = (const struct __una_u16 *)p; ptr 13 include/linux/unaligned/packed_struct.h return ptr->x; ptr 18 include/linux/unaligned/packed_struct.h const struct __una_u32 *ptr = (const struct __una_u32 *)p; ptr 19 include/linux/unaligned/packed_struct.h return ptr->x; ptr 24 include/linux/unaligned/packed_struct.h const struct __una_u64 *ptr = (const struct __una_u64 *)p; ptr 25 include/linux/unaligned/packed_struct.h return ptr->x; ptr 30 include/linux/unaligned/packed_struct.h struct __una_u16 *ptr = (struct __una_u16 *)p; ptr 31 include/linux/unaligned/packed_struct.h ptr->x = val; ptr 36 include/linux/unaligned/packed_struct.h struct __una_u32 *ptr = (struct __una_u32 *)p; ptr 37 include/linux/unaligned/packed_struct.h ptr->x = val; ptr 42 include/linux/unaligned/packed_struct.h struct __una_u64 *ptr = (struct __una_u64 *)p; ptr 43 include/linux/unaligned/packed_struct.h ptr->x = val; ptr 408 include/linux/usb.h unsigned char type, void **ptr, size_t min); ptr 409 include/linux/usb.h #define usb_get_extra_descriptor(ifpoint, type, ptr) \ ptr 412 include/linux/usb.h type, (void **)ptr, sizeof(**(ptr))) ptr 291 include/linux/virtio_config.h #define virtio_cread(vdev, structname, member, ptr) \ ptr 295 include/linux/virtio_config.h if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \ ptr 296 include/linux/virtio_config.h (*ptr) = 1; \ ptr 298 include/linux/virtio_config.h switch (sizeof(*ptr)) { \ ptr 300 include/linux/virtio_config.h *(ptr) = virtio_cread8(vdev, \ ptr 304 include/linux/virtio_config.h *(ptr) = virtio_cread16(vdev, \ ptr 308 include/linux/virtio_config.h *(ptr) = virtio_cread32(vdev, \ ptr 312 include/linux/virtio_config.h *(ptr) = virtio_cread64(vdev, \ ptr 321 include/linux/virtio_config.h #define virtio_cwrite(vdev, structname, member, ptr) \ ptr 325 include/linux/virtio_config.h if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \ ptr 326 include/linux/virtio_config.h BUG_ON((*ptr) == 1); \ ptr 328 include/linux/virtio_config.h switch (sizeof(*ptr)) { \ ptr 332 include/linux/virtio_config.h *(ptr)); \ ptr 337 include/linux/virtio_config.h *(ptr)); \ ptr 342 include/linux/virtio_config.h *(ptr)); \ ptr 347 include/linux/virtio_config.h *(ptr)); \ ptr 452 include/linux/virtio_config.h #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \ ptr 458 include/linux/virtio_config.h virtio_cread((vdev), structname, member, ptr); \ ptr 391 include/linux/wimax/debug.h #define d_dump(l, dev, ptr, size) \ ptr 398 include/linux/wimax/debug.h ((void *) ptr), (size), 0); \ ptr 109 include/media/v4l2-ctrls.h union v4l2_ctrl_ptr ptr); ptr 112 include/media/v4l2-ctrls.h union v4l2_ctrl_ptr ptr); ptr 106 include/net/caif/caif_hsi.h int (*cfhsi_tx) (u8 *ptr, int len, struct cfhsi_ops *dev); ptr 107 include/net/caif/caif_hsi.h int (*cfhsi_rx) (u8 *ptr, int len, struct cfhsi_ops *dev); ptr 159 include/net/checksum.h static inline __wsum remcsum_adjust(void *ptr, __wsum csum, ptr 162 include/net/checksum.h __sum16 *psum = (__sum16 *)(ptr + offset); ptr 166 include/net/checksum.h csum = csum_sub(csum, csum_partial(ptr, start, 0)); ptr 25 include/net/dn_neigh.h int dn_neigh_elist(struct net_device *dev, unsigned char *ptr, int n); ptr 52 include/net/gen_stats.h struct net_rate_estimator __rcu **ptr); ptr 68 include/net/gen_stats.h void gen_kill_estimator(struct net_rate_estimator __rcu **ptr); ptr 71 include/net/gen_stats.h struct net_rate_estimator __rcu **ptr, ptr 74 include/net/gen_stats.h bool gen_estimator_active(struct net_rate_estimator __rcu **ptr); ptr 75 include/net/gen_stats.h bool gen_estimator_read(struct net_rate_estimator __rcu **ptr, ptr 135 include/net/gre.h __be32 *ptr = (__be32 *)(((u8 *)greh) + hdr_len - 4); ptr 138 include/net/gre.h *ptr = seq; ptr 139 include/net/gre.h ptr--; ptr 142 include/net/gre.h *ptr = key; ptr 143 include/net/gre.h ptr--; ptr 148 include/net/gre.h *ptr = 0; ptr 149 include/net/gre.h *(__sum16 *)ptr = gre_checksum(skb); ptr 194 include/net/ip.h int ptr; ptr 276 include/net/ip_fib.h struct hlist_head *ptr; ptr 278 include/net/ip_fib.h ptr = id == RT_TABLE_LOCAL ? ptr 282 include/net/ip_fib.h tb_hlist = rcu_dereference_rtnl(hlist_first_rcu(ptr)); ptr 184 include/net/ipv6.h int ptr; ptr 55 include/net/ipv6_frag.h ip6frag_obj_cmpfn(struct rhashtable_compare_arg *arg, const void *ptr) ptr 58 include/net/ipv6_frag.h const struct inet_frag_queue *fq = ptr; ptr 35 include/net/netns/generic.h void *ptr[0]; ptr 42 include/net/netns/generic.h void *ptr; ptr 46 include/net/netns/generic.h ptr = ng->ptr[id]; ptr 49 include/net/netns/generic.h return ptr; ptr 318 include/net/pkt_cls.h unsigned char * ptr; ptr 477 include/net/pkt_cls.h const unsigned char *ptr, const int len) ptr 479 include/net/pkt_cls.h return likely((ptr + len) <= skb_tail_pointer(skb) && ptr 480 include/net/pkt_cls.h ptr >= skb->head && ptr 481 include/net/pkt_cls.h (ptr <= (ptr + len))); ptr 140 include/net/snmp.h __typeof__((mib->mibs) + 0) ptr = mib->mibs; \ ptr 141 include/net/snmp.h this_cpu_inc(ptr[basefield##PKTS]); \ ptr 142 include/net/snmp.h this_cpu_add(ptr[basefield##OCTETS], addend); \ ptr 146 include/net/snmp.h __typeof__((mib->mibs) + 0) ptr = mib->mibs; \ ptr 147 include/net/snmp.h __this_cpu_inc(ptr[basefield##PKTS]); \ ptr 148 include/net/snmp.h __this_cpu_add(ptr[basefield##OCTETS], addend); \ ptr 156 include/net/snmp.h __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \ ptr 157 include/net/snmp.h u64_stats_update_begin(&ptr->syncp); \ ptr 158 include/net/snmp.h ptr->mibs[field] += addend; \ ptr 159 include/net/snmp.h u64_stats_update_end(&ptr->syncp); \ ptr 173 include/net/snmp.h __typeof__(*mib) *ptr; \ ptr 174 include/net/snmp.h ptr = raw_cpu_ptr((mib)); \ ptr 175 include/net/snmp.h u64_stats_update_begin(&ptr->syncp); \ ptr 176 include/net/snmp.h ptr->mibs[basefield##PKTS]++; \ ptr 177 include/net/snmp.h ptr->mibs[basefield##OCTETS] += addend; \ ptr 178 include/net/snmp.h u64_stats_update_end(&ptr->syncp); \ ptr 525 include/net/sock.h #define rcu_assign_sk_user_data(sk, ptr) rcu_assign_pointer(__sk_user_data((sk)), ptr) ptr 91 include/rdma/uverbs_ioctl.h } ptr; ptr 475 include/rdma/uverbs_ioctl.h .u.ptr.min_len = _min_len, .u.ptr.len = _len ptr 485 include/rdma/uverbs_ioctl.h .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type) ptr 625 include/rdma/uverbs_ioctl.h void *ptr; ptr 801 include/rdma/uverbs_ioctl.h attr->ptr_attr.ptr; ptr 42 include/scsi/scsi_cmnd.h char *ptr; /* data pointer */ ptr 15 include/sound/asequencer.h #define snd_seq_event_bounce_ext_data(ev) ((void*)((char *)(ev)->data.ext.ptr + sizeof(struct snd_seq_event_bounce))) ptr 180 include/sound/gus.h unsigned int ptr; ptr 611 include/sound/gus.h int snd_gus_dram_write(struct snd_gus_card *gus, char __user *ptr, ptr 613 include/sound/gus.h int snd_gus_dram_read(struct snd_gus_card *gus, char __user *ptr, ptr 652 include/sound/hdaudio.h static inline unsigned int snd_array_index(struct snd_array *array, void *ptr) ptr 654 include/sound/hdaudio.h return (unsigned long)(ptr - array->list) / array->elem_size; ptr 658 include/sound/hdaudio.h #define snd_array_for_each(array, idx, ptr) \ ptr 659 include/sound/hdaudio.h for ((idx) = 0, (ptr) = (array)->list; (idx) < (array)->used; \ ptr 660 include/sound/hdaudio.h (ptr) = snd_array_elem(array, ++(idx))) ptr 83 include/sound/pcm-indirect.h struct snd_pcm_indirect *rec, unsigned int ptr) ptr 85 include/sound/pcm-indirect.h int bytes = ptr - rec->hw_io; ptr 88 include/sound/pcm-indirect.h rec->hw_io = ptr; ptr 151 include/sound/pcm-indirect.h struct snd_pcm_indirect *rec, unsigned int ptr) ptr 154 include/sound/pcm-indirect.h int bytes = ptr - rec->hw_io; ptr 157 include/sound/pcm-indirect.h rec->hw_io = ptr; ptr 70 include/sound/seq_kernel.h typedef int (*snd_seq_dump_func_t)(void *ptr, void *buf, int count); ptr 177 include/sound/soc-topology.h const void *ptr = hdr; ptr 179 include/sound/soc-topology.h return ptr + sizeof(*hdr); ptr 15 include/trace/events/kmem.h const void *ptr, ptr 20 include/trace/events/kmem.h TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags), ptr 24 include/trace/events/kmem.h __field( const void *, ptr ) ptr 32 include/trace/events/kmem.h __entry->ptr = ptr; ptr 40 include/trace/events/kmem.h __entry->ptr, ptr 48 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr, ptr 51 include/trace/events/kmem.h TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags) ptr 56 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr, ptr 59 include/trace/events/kmem.h TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags) ptr 65 include/trace/events/kmem.h const void *ptr, ptr 71 include/trace/events/kmem.h TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node), ptr 75 include/trace/events/kmem.h __field( const void *, ptr ) ptr 84 include/trace/events/kmem.h __entry->ptr = ptr; ptr 93 include/trace/events/kmem.h __entry->ptr, ptr 102 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr, ptr 106 include/trace/events/kmem.h TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node) ptr 111 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr, ptr 115 include/trace/events/kmem.h TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node) ptr 120 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr), ptr 122 include/trace/events/kmem.h TP_ARGS(call_site, ptr), ptr 126 include/trace/events/kmem.h __field( const void *, ptr ) ptr 131 include/trace/events/kmem.h __entry->ptr = ptr; ptr 135 include/trace/events/kmem.h (void *)__entry->call_site, __entry->ptr) ptr 140 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr), ptr 142 include/trace/events/kmem.h TP_ARGS(call_site, ptr) ptr 147 include/trace/events/kmem.h TP_PROTO(unsigned long call_site, const void *ptr), ptr 149 include/trace/events/kmem.h TP_ARGS(call_site, ptr) ptr 13 include/trace/events/percpu.h size_t align, void *base_addr, int off, void __percpu *ptr), ptr 15 include/trace/events/percpu.h TP_ARGS(reserved, is_atomic, size, align, base_addr, off, ptr), ptr 24 include/trace/events/percpu.h __field( void __percpu *, ptr ) ptr 34 include/trace/events/percpu.h __entry->ptr = ptr; ptr 40 include/trace/events/percpu.h __entry->base_addr, __entry->off, __entry->ptr) ptr 45 include/trace/events/percpu.h TP_PROTO(void *base_addr, int off, void __percpu *ptr), ptr 47 include/trace/events/percpu.h TP_ARGS(base_addr, off, ptr), ptr 52 include/trace/events/percpu.h __field( void __percpu *, ptr ) ptr 58 include/trace/events/percpu.h __entry->ptr = ptr; ptr 62 include/trace/events/percpu.h __entry->base_addr, __entry->off, __entry->ptr) ptr 28 include/trace/events/tegra_apb_dma.h TP_PROTO(struct dma_chan *dc, int count, void *ptr), ptr 29 include/trace/events/tegra_apb_dma.h TP_ARGS(dc, count, ptr), ptr 33 include/trace/events/tegra_apb_dma.h __field(void *, ptr) ptr 38 include/trace/events/tegra_apb_dma.h __entry->ptr = ptr; ptr 41 include/trace/events/tegra_apb_dma.h __get_str(chan), __entry->count, __entry->ptr) ptr 44 include/uapi/drm/armada_drm.h __u64 ptr; ptr 205 include/uapi/linux/android/binder.h binder_uintptr_t ptr; ptr 261 include/uapi/linux/android/binder.h binder_uintptr_t ptr; ptr 283 include/uapi/linux/android/binder.h } ptr; ptr 299 include/uapi/linux/android/binder.h binder_uintptr_t ptr; ptr 315 include/uapi/linux/android/binder.h binder_uintptr_t ptr; ptr 26 include/uapi/linux/bcache.h __u64 ptr[]; ptr 34 include/uapi/linux/bcache.h { return (k->ptr[i] >> offset) & ~(~0ULL << size); } \ ptr 38 include/uapi/linux/bcache.h k->ptr[i] &= ~(~(~0ULL << size) << offset); \ ptr 39 include/uapi/linux/bcache.h k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \ ptr 51 include/uapi/linux/mmc/ioctl.h #define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr ptr 51 include/uapi/linux/netfilter/xt_hashlimit.h void *ptr; ptr 62 include/uapi/linux/ppp-ioctl.h __u8 __user *ptr; ptr 112 include/uapi/linux/rseq.h __u64 ptr; ptr 122 include/uapi/linux/rseq.h } ptr; ptr 609 include/uapi/linux/soundcard.h int ptr; /* Current DMA pointer value */ ptr 1678 include/uapi/linux/videodev2.h void __user *ptr; ptr 15 include/uapi/misc/fastrpc.h __u64 ptr; ptr 39 include/uapi/mtd/mtd-abi.h unsigned char __user *ptr; ptr 224 include/uapi/sound/asequencer.h void *ptr; /* pointer to data (note: maybe 64-bit) */ ptr 478 include/xen/interface/xen.h uint64_t ptr; /* Machine address of PTE. */ ptr 687 ipc/mqueue.c struct list_head *ptr; ptr 689 ipc/mqueue.c ptr = info->e_wait_q[sr].list.prev; ptr 690 ipc/mqueue.c if (ptr == &info->e_wait_q[sr].list) ptr 692 ipc/mqueue.c return list_entry(ptr, struct ext_wait_queue, list); ptr 220 ipc/shm.c struct kern_ipc_perm *ptr = container_of(head, struct kern_ipc_perm, ptr 222 ipc/shm.c struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel, ptr 21 ipc/syscall.c unsigned long third, void __user * ptr, long fifth) ptr 30 ipc/syscall.c return ksys_semtimedop(first, (struct sembuf __user *)ptr, ptr 34 ipc/syscall.c return ksys_semtimedop(first, ptr, second, ptr 37 ipc/syscall.c return compat_ksys_semtimedop(first, ptr, second, ptr 46 ipc/syscall.c if (!ptr) ptr 48 ipc/syscall.c if (get_user(arg, (unsigned long __user *) ptr)) ptr 54 ipc/syscall.c return ksys_msgsnd(first, (struct msgbuf __user *) ptr, ptr 60 ipc/syscall.c if (!ptr) ptr 64 ipc/syscall.c (struct ipc_kludge __user *) ptr, ptr 72 ipc/syscall.c (struct msgbuf __user *) ptr, ptr 79 ipc/syscall.c (struct msqid_ds __user *)ptr); ptr 85 ipc/syscall.c ret = do_shmat(first, (char __user *)ptr, ptr 99 ipc/syscall.c return ksys_shmdt((char __user *)ptr); ptr 104 ipc/syscall.c (struct shmid_ds __user *) ptr); ptr 111 ipc/syscall.c unsigned long, third, void __user *, ptr, long, fifth) ptr 113 ipc/syscall.c return ksys_ipc(call, first, second, third, ptr, fifth); ptr 131 ipc/syscall.c u32 third, compat_uptr_t ptr, u32 fifth) ptr 142 ipc/syscall.c return ksys_semtimedop(first, compat_ptr(ptr), second, NULL); ptr 146 ipc/syscall.c return compat_ksys_semtimedop(first, compat_ptr(ptr), second, ptr 151 ipc/syscall.c if (!ptr) ptr 153 ipc/syscall.c if (get_user(pad, (u32 __user *) compat_ptr(ptr))) ptr 158 ipc/syscall.c return compat_ksys_msgsnd(first, ptr, second, third); ptr 161 ipc/syscall.c void __user *uptr = compat_ptr(ptr); ptr 175 ipc/syscall.c return compat_ksys_msgrcv(first, ptr, second, fifth, third); ptr 180 ipc/syscall.c return compat_ksys_old_msgctl(first, second, compat_ptr(ptr)); ptr 188 ipc/syscall.c err = do_shmat(first, compat_ptr(ptr), second, &raddr, ptr 195 ipc/syscall.c return ksys_shmdt(compat_ptr(ptr)); ptr 199 ipc/syscall.c return compat_ksys_old_shmctl(first, second, compat_ptr(ptr)); ptr 206 ipc/syscall.c u32, third, compat_uptr_t, ptr, u32, fifth) ptr 208 ipc/syscall.c return compat_ksys_ipc(call, first, second, third, ptr, fifth); ptr 494 ipc/util.c bool ipc_rcu_getref(struct kern_ipc_perm *ptr) ptr 496 ipc/util.c return refcount_inc_not_zero(&ptr->refcount); ptr 499 ipc/util.c void ipc_rcu_putref(struct kern_ipc_perm *ptr, ptr 502 ipc/util.c if (!refcount_dec_and_test(&ptr->refcount)) ptr 505 ipc/util.c call_rcu(&ptr->rcu, func); ptr 170 ipc/util.h bool ipc_rcu_getref(struct kern_ipc_perm *ptr); ptr 171 ipc/util.h void ipc_rcu_putref(struct kern_ipc_perm *ptr, ptr 1913 kernel/audit.c unsigned char *ptr; ptr 1931 kernel/audit.c ptr = skb_tail_pointer(skb); ptr 1933 kernel/audit.c ptr = hex_byte_pack_upper(ptr, buf[i]); ptr 1934 kernel/audit.c *ptr = 0; ptr 1946 kernel/audit.c unsigned char *ptr; ptr 1961 kernel/audit.c ptr = skb_tail_pointer(skb); ptr 1962 kernel/audit.c *ptr++ = '"'; ptr 1963 kernel/audit.c memcpy(ptr, string, slen); ptr 1964 kernel/audit.c ptr += slen; ptr 1965 kernel/audit.c *ptr++ = '"'; ptr 1966 kernel/audit.c *ptr = 0; ptr 31 kernel/bpf/arraymap.c void __percpu *ptr; ptr 35 kernel/bpf/arraymap.c ptr = __alloc_percpu_gfp(array->elem_size, 8, ptr 37 kernel/bpf/arraymap.c if (!ptr) { ptr 41 kernel/bpf/arraymap.c array->pptrs[i] = ptr; ptr 507 kernel/bpf/arraymap.c void **elem, *ptr; ptr 515 kernel/bpf/arraymap.c if (elem && (ptr = READ_ONCE(*elem))) ptr 516 kernel/bpf/arraymap.c *value = map->ops->map_fd_sys_lookup_elem(ptr); ptr 585 kernel/bpf/arraymap.c static void prog_fd_array_put_ptr(void *ptr) ptr 587 kernel/bpf/arraymap.c bpf_prog_put(ptr); ptr 590 kernel/bpf/arraymap.c static u32 prog_fd_array_sys_lookup_elem(void *ptr) ptr 592 kernel/bpf/arraymap.c return ((struct bpf_prog *)ptr)->aux->id; ptr 608 kernel/bpf/arraymap.c void **elem, *ptr; ptr 615 kernel/bpf/arraymap.c ptr = READ_ONCE(*elem); ptr 616 kernel/bpf/arraymap.c if (ptr) { ptr 618 kernel/bpf/arraymap.c prog_id = prog_fd_array_sys_lookup_elem(ptr); ptr 697 kernel/bpf/arraymap.c static void perf_event_fd_array_put_ptr(void *ptr) ptr 699 kernel/bpf/arraymap.c bpf_event_entry_free_rcu(ptr); ptr 739 kernel/bpf/arraymap.c static void cgroup_fd_array_put_ptr(void *ptr) ptr 742 kernel/bpf/arraymap.c cgroup_put(ptr); ptr 64 kernel/bpf/core.c u8 *ptr = NULL; ptr 67 kernel/bpf/core.c ptr = skb_network_header(skb) + k - SKF_NET_OFF; ptr 69 kernel/bpf/core.c ptr = skb_mac_header(skb) + k - SKF_LL_OFF; ptr 71 kernel/bpf/core.c if (ptr >= skb->head && ptr + size <= skb_tail_pointer(skb)) ptr 72 kernel/bpf/core.c return ptr; ptr 768 kernel/bpf/devmap.c ulong event, void *ptr) ptr 770 kernel/bpf/devmap.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 683 kernel/bpf/hashtab.c void *ptr = fd_htab_map_get_ptr(map, l); ptr 685 kernel/bpf/hashtab.c map->ops->map_fd_put_ptr(ptr); ptr 1403 kernel/bpf/hashtab.c void *ptr = fd_htab_map_get_ptr(map, l); ptr 1405 kernel/bpf/hashtab.c map->ops->map_fd_put_ptr(ptr); ptr 1415 kernel/bpf/hashtab.c void **ptr; ptr 1422 kernel/bpf/hashtab.c ptr = htab_map_lookup_elem(map, key); ptr 1423 kernel/bpf/hashtab.c if (ptr) ptr 1424 kernel/bpf/hashtab.c *value = map->ops->map_fd_sys_lookup_elem(READ_ONCE(*ptr)); ptr 1436 kernel/bpf/hashtab.c void *ptr; ptr 1440 kernel/bpf/hashtab.c ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); ptr 1441 kernel/bpf/hashtab.c if (IS_ERR(ptr)) ptr 1442 kernel/bpf/hashtab.c return PTR_ERR(ptr); ptr 1444 kernel/bpf/hashtab.c ret = htab_map_update_elem(map, key, &ptr, map_flags); ptr 1446 kernel/bpf/hashtab.c map->ops->map_fd_put_ptr(ptr); ptr 341 kernel/bpf/helpers.c void *ptr; ptr 346 kernel/bpf/helpers.c ptr = &READ_ONCE(storage->buf)->data[0]; ptr 348 kernel/bpf/helpers.c ptr = this_cpu_ptr(storage->percpu_buf); ptr 350 kernel/bpf/helpers.c return (unsigned long)ptr; ptr 109 kernel/bpf/map_in_map.c void bpf_map_fd_put_ptr(void *ptr) ptr 114 kernel/bpf/map_in_map.c bpf_map_put(ptr); ptr 117 kernel/bpf/map_in_map.c u32 bpf_map_fd_sys_lookup_elem(void *ptr) ptr 119 kernel/bpf/map_in_map.c return ((struct bpf_map *)ptr)->id; ptr 18 kernel/bpf/map_in_map.h void bpf_map_fd_put_ptr(void *ptr); ptr 19 kernel/bpf/map_in_map.h u32 bpf_map_fd_sys_lookup_elem(void *ptr); ptr 119 kernel/bpf/queue_stack_maps.c void *ptr; ptr 129 kernel/bpf/queue_stack_maps.c ptr = &qs->elements[qs->tail * qs->map.value_size]; ptr 130 kernel/bpf/queue_stack_maps.c memcpy(value, ptr, qs->map.value_size); ptr 148 kernel/bpf/queue_stack_maps.c void *ptr; ptr 163 kernel/bpf/queue_stack_maps.c ptr = &qs->elements[index * qs->map.value_size]; ptr 164 kernel/bpf/queue_stack_maps.c memcpy(value, ptr, qs->map.value_size); ptr 745 kernel/bpf/syscall.c void *key, *value, *ptr; ptr 820 kernel/bpf/syscall.c ptr = map->ops->map_lookup_elem_sys_only(map, key); ptr 822 kernel/bpf/syscall.c ptr = map->ops->map_lookup_elem(map, key); ptr 823 kernel/bpf/syscall.c if (IS_ERR(ptr)) { ptr 824 kernel/bpf/syscall.c err = PTR_ERR(ptr); ptr 825 kernel/bpf/syscall.c } else if (!ptr) { ptr 831 kernel/bpf/syscall.c copy_map_value_locked(map, value, ptr, true); ptr 833 kernel/bpf/syscall.c copy_map_value(map, value, ptr); ptr 304 kernel/cgroup/cgroup.c static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end, ptr 311 kernel/cgroup/cgroup.c ret = idr_alloc(idr, ptr, start, end, gfp_mask & ~__GFP_DIRECT_RECLAIM); ptr 317 kernel/cgroup/cgroup.c static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id) ptr 322 kernel/cgroup/cgroup.c ret = idr_replace(idr, ptr, id); ptr 367 kernel/compat.c void __user *ptr; ptr 373 kernel/compat.c ptr = arch_compat_alloc_user_space(len); ptr 375 kernel/compat.c if (unlikely(!access_ok(ptr, len))) ptr 378 kernel/compat.c return ptr; ptr 1334 kernel/cpu.c unsigned long action, void *ptr) ptr 328 kernel/crash_core.c void crash_update_vmcoreinfo_safecopy(void *ptr) ptr 330 kernel/crash_core.c if (ptr) ptr 331 kernel/crash_core.c memcpy(ptr, vmcoreinfo_data, vmcoreinfo_size); ptr 333 kernel/crash_core.c vmcoreinfo_data_safecopy = ptr; ptr 293 kernel/debug/gdbstub.c int kgdb_hex2long(char **ptr, unsigned long *long_val) ptr 301 kernel/debug/gdbstub.c if (**ptr == '-') { ptr 303 kernel/debug/gdbstub.c (*ptr)++; ptr 305 kernel/debug/gdbstub.c while (**ptr) { ptr 306 kernel/debug/gdbstub.c hex_val = hex_to_bin(**ptr); ptr 312 kernel/debug/gdbstub.c (*ptr)++; ptr 346 kernel/debug/gdbstub.c char *ptr = (char *)gdb_regs; ptr 349 kernel/debug/gdbstub.c dbg_get_reg(i, ptr + idx, regs); ptr 358 kernel/debug/gdbstub.c char *ptr = (char *)gdb_regs; ptr 361 kernel/debug/gdbstub.c dbg_set_reg(i, ptr + idx, regs); ptr 370 kernel/debug/gdbstub.c char *ptr = &remcom_in_buffer[1]; ptr 375 kernel/debug/gdbstub.c if (kgdb_hex2long(&ptr, &addr) > 0 && *(ptr++) == ',' && ptr 376 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, &length) > 0 && *(ptr++) == ':') { ptr 378 kernel/debug/gdbstub.c err = kgdb_ebin2mem(ptr, (char *)addr, length); ptr 380 kernel/debug/gdbstub.c err = kgdb_hex2mem(ptr, (char *)addr, length); ptr 560 kernel/debug/gdbstub.c char *ptr = &remcom_in_buffer[1]; ptr 565 kernel/debug/gdbstub.c if (kgdb_hex2long(&ptr, &addr) > 0 && *ptr++ == ',' && ptr 566 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, &length) > 0) { ptr 602 kernel/debug/gdbstub.c char *ptr = &remcom_in_buffer[1]; ptr 604 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, ®num); ptr 617 kernel/debug/gdbstub.c char *ptr = &remcom_in_buffer[1]; ptr 620 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, ®num); ptr 621 kernel/debug/gdbstub.c if (*ptr++ != '=' || ptr 629 kernel/debug/gdbstub.c if (hex_to_bin(ptr[i]) >= 0) ptr 634 kernel/debug/gdbstub.c kgdb_hex2mem(ptr, (char *)gdb_regs, i); ptr 703 kernel/debug/gdbstub.c char *ptr; ptr 716 kernel/debug/gdbstub.c ptr = remcom_out_buffer + 1; ptr 722 kernel/debug/gdbstub.c ptr = pack_threadid(ptr, thref); ptr 723 kernel/debug/gdbstub.c *(ptr++) = ','; ptr 731 kernel/debug/gdbstub.c ptr = pack_threadid(ptr, thref); ptr 732 kernel/debug/gdbstub.c *(ptr++) = ','; ptr 740 kernel/debug/gdbstub.c *(--ptr) = '\0'; ptr 755 kernel/debug/gdbstub.c ptr = remcom_in_buffer + 17; ptr 756 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, &ks->threadid); ptr 802 kernel/debug/gdbstub.c char *ptr; ptr 806 kernel/debug/gdbstub.c ptr = &remcom_in_buffer[2]; ptr 807 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, &ks->threadid); ptr 818 kernel/debug/gdbstub.c ptr = &remcom_in_buffer[2]; ptr 819 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, &ks->threadid); ptr 838 kernel/debug/gdbstub.c char *ptr = &remcom_in_buffer[1]; ptr 841 kernel/debug/gdbstub.c kgdb_hex2long(&ptr, &ks->threadid); ptr 857 kernel/debug/gdbstub.c char *ptr = &remcom_in_buffer[2]; ptr 880 kernel/debug/gdbstub.c if (*(ptr++) != ',') { ptr 884 kernel/debug/gdbstub.c if (!kgdb_hex2long(&ptr, &addr)) { ptr 888 kernel/debug/gdbstub.c if (*(ptr++) != ',' || ptr 889 kernel/debug/gdbstub.c !kgdb_hex2long(&ptr, &length)) { ptr 957 kernel/debug/gdbstub.c char *ptr; ptr 960 kernel/debug/gdbstub.c ptr = remcom_out_buffer; ptr 961 kernel/debug/gdbstub.c *ptr++ = 'T'; ptr 962 kernel/debug/gdbstub.c ptr = hex_byte_pack(ptr, ks->signo); ptr 963 kernel/debug/gdbstub.c ptr += strlen(strcpy(ptr, "thread:")); ptr 965 kernel/debug/gdbstub.c ptr = pack_threadid(ptr, thref); ptr 966 kernel/debug/gdbstub.c *ptr++ = ';'; ptr 187 kernel/dma/remap.c void *ptr = NULL; ptr 199 kernel/dma/remap.c ptr = (void *)val; ptr 200 kernel/dma/remap.c memset(ptr, 0, size); ptr 203 kernel/dma/remap.c return ptr; ptr 380 kernel/events/uprobes.c short *ptr; ptr 396 kernel/events/uprobes.c ptr = kaddr + (vaddr & ~PAGE_MASK); ptr 398 kernel/events/uprobes.c if (unlikely(*ptr + d < 0)) { ptr 400 kernel/events/uprobes.c "curr val: %d, delta: %d\n", vaddr, *ptr, d); ptr 405 kernel/events/uprobes.c *ptr += d; ptr 164 kernel/extable.c int func_ptr_is_kernel_text(void *ptr) ptr 167 kernel/extable.c addr = (unsigned long) dereference_function_descriptor(ptr); ptr 406 kernel/futex.c && key1->both.ptr == key2->both.ptr ptr 417 kernel/futex.c if (!key->both.ptr) ptr 455 kernel/futex.c if (!key->both.ptr) { ptr 77 kernel/hung_task.c hung_task_panic(struct notifier_block *this, unsigned long event, void *ptr) ptr 142 kernel/iomem.c void **ptr, *addr; ptr 144 kernel/iomem.c ptr = devres_alloc_node(devm_memremap_release, sizeof(*ptr), GFP_KERNEL, ptr 146 kernel/iomem.c if (!ptr) ptr 151 kernel/iomem.c *ptr = addr; ptr 152 kernel/iomem.c devres_add(dev, ptr); ptr 154 kernel/iomem.c devres_free(ptr); ptr 600 kernel/kexec_core.c #define for_each_kimage_entry(image, ptr, entry) \ ptr 601 kernel/kexec_core.c for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); \ ptr 602 kernel/kexec_core.c ptr = (entry & IND_INDIRECTION) ? \ ptr 603 kernel/kexec_core.c boot_phys_to_virt((entry & PAGE_MASK)) : ptr + 1) ptr 615 kernel/kexec_core.c kimage_entry_t *ptr, entry; ptr 627 kernel/kexec_core.c for_each_kimage_entry(image, ptr, entry) { ptr 662 kernel/kexec_core.c kimage_entry_t *ptr, entry; ptr 665 kernel/kexec_core.c for_each_kimage_entry(image, ptr, entry) { ptr 670 kernel/kexec_core.c return ptr; ptr 799 kernel/kexec_core.c char *ptr; ptr 812 kernel/kexec_core.c ptr = kmap(page); ptr 814 kernel/kexec_core.c clear_page(ptr); ptr 815 kernel/kexec_core.c ptr += maddr & ~PAGE_MASK; ptr 822 kernel/kexec_core.c memcpy(ptr, kbuf, uchunk); ptr 824 kernel/kexec_core.c result = copy_from_user(ptr, buf, uchunk); ptr 867 kernel/kexec_core.c char *ptr; ptr 876 kernel/kexec_core.c ptr = kmap(page); ptr 877 kernel/kexec_core.c ptr += maddr & ~PAGE_MASK; ptr 883 kernel/kexec_core.c memset(ptr + uchunk, 0, mchunk - uchunk); ptr 888 kernel/kexec_core.c memcpy(ptr, kbuf, uchunk); ptr 890 kernel/kexec_core.c result = copy_from_user(ptr, buf, uchunk); ptr 101 kernel/locking/lock_events.c unsigned long *ptr = per_cpu_ptr(lockevents, cpu); ptr 104 kernel/locking/lock_events.c WRITE_ONCE(ptr[i], 0); ptr 195 kernel/locking/lockdep_internals.h #define __debug_atomic_inc(ptr) \ ptr 196 kernel/locking/lockdep_internals.h this_cpu_inc(lockdep_stats.ptr); ptr 198 kernel/locking/lockdep_internals.h #define debug_atomic_inc(ptr) { \ ptr 200 kernel/locking/lockdep_internals.h __this_cpu_inc(lockdep_stats.ptr); \ ptr 203 kernel/locking/lockdep_internals.h #define debug_atomic_dec(ptr) { \ ptr 205 kernel/locking/lockdep_internals.h __this_cpu_dec(lockdep_stats.ptr); \ ptr 208 kernel/locking/lockdep_internals.h #define debug_atomic_read(ptr) ({ \ ptr 214 kernel/locking/lockdep_internals.h __total += __cpu_lockdep_stats->ptr; \ ptr 239 kernel/locking/lockdep_internals.h # define __debug_atomic_inc(ptr) do { } while (0) ptr 240 kernel/locking/lockdep_internals.h # define debug_atomic_inc(ptr) do { } while (0) ptr 241 kernel/locking/lockdep_internals.h # define debug_atomic_dec(ptr) do { } while (0) ptr 242 kernel/locking/lockdep_internals.h # define debug_atomic_read(ptr) 0 ptr 243 kernel/locking/lockdep_internals.h # define debug_class_ops_inc(ptr) do { } while (0) ptr 120 kernel/locking/qspinlock_stat.h static inline void __pv_wait(u8 *ptr, u8 val) ptr 125 kernel/locking/qspinlock_stat.h pv_wait(ptr, val); ptr 3255 kernel/module.c void *ptr; ptr 3258 kernel/module.c ptr = module_alloc(mod->core_layout.size); ptr 3264 kernel/module.c kmemleak_not_leak(ptr); ptr 3265 kernel/module.c if (!ptr) ptr 3268 kernel/module.c memset(ptr, 0, mod->core_layout.size); ptr 3269 kernel/module.c mod->core_layout.base = ptr; ptr 3272 kernel/module.c ptr = module_alloc(mod->init_layout.size); ptr 3279 kernel/module.c kmemleak_ignore(ptr); ptr 3280 kernel/module.c if (!ptr) { ptr 3284 kernel/module.c memset(ptr, 0, mod->init_layout.size); ptr 3285 kernel/module.c mod->init_layout.base = ptr; ptr 4105 kernel/module.c void *ptr) ptr 4107 kernel/module.c return ptr; ptr 1362 kernel/ptrace.c compat_uptr_t ptr; ptr 1368 kernel/ptrace.c if (__get_user(ptr, &uiov->iov_base) || ptr 1372 kernel/ptrace.c kiov.iov_base = compat_ptr(ptr); ptr 57 kernel/rcu/tree_stall.h static int rcu_panic(struct notifier_block *this, unsigned long ev, void *ptr) ptr 1354 kernel/resource.c static void devm_resource_release(struct device *dev, void *ptr) ptr 1356 kernel/resource.c struct resource **r = ptr; ptr 1382 kernel/resource.c struct resource *conflict, **ptr; ptr 1384 kernel/resource.c ptr = devres_alloc(devm_resource_release, sizeof(*ptr), GFP_KERNEL); ptr 1385 kernel/resource.c if (!ptr) ptr 1388 kernel/resource.c *ptr = new; ptr 1394 kernel/resource.c devres_free(ptr); ptr 1398 kernel/resource.c devres_add(dev, ptr); ptr 1405 kernel/resource.c struct resource **ptr = res; ptr 1407 kernel/resource.c return *ptr == data; ptr 118 kernel/rseq.c u64 ptr; ptr 123 kernel/rseq.c if (copy_from_user(&ptr, &t->rseq->rseq_cs.ptr64, sizeof(ptr))) ptr 125 kernel/rseq.c if (!ptr) { ptr 129 kernel/rseq.c if (ptr >= TASK_SIZE) ptr 131 kernel/rseq.c urseq_cs = (struct rseq_cs __user *)(unsigned long)ptr; ptr 302 kernel/sched/clock.c u64 *ptr, old_val, val; ptr 342 kernel/sched/clock.c ptr = &scd->clock; ptr 349 kernel/sched/clock.c ptr = &my_scd->clock; ptr 354 kernel/sched/clock.c if (cmpxchg64(ptr, old_val, val) != old_val) ptr 347 kernel/sched/core.c #define fetch_or(ptr, mask) \ ptr 349 kernel/sched/core.c typeof(ptr) _ptr = (ptr); \ ptr 6558 kernel/sched/core.c unsigned long ptr = 0; ptr 6564 kernel/sched/core.c ptr += 2 * nr_cpu_ids * sizeof(void **); ptr 6567 kernel/sched/core.c ptr += 2 * nr_cpu_ids * sizeof(void **); ptr 6569 kernel/sched/core.c if (ptr) { ptr 6570 kernel/sched/core.c ptr = (unsigned long)kzalloc(ptr, GFP_NOWAIT); ptr 6573 kernel/sched/core.c root_task_group.se = (struct sched_entity **)ptr; ptr 6574 kernel/sched/core.c ptr += nr_cpu_ids * sizeof(void **); ptr 6576 kernel/sched/core.c root_task_group.cfs_rq = (struct cfs_rq **)ptr; ptr 6577 kernel/sched/core.c ptr += nr_cpu_ids * sizeof(void **); ptr 6581 kernel/sched/core.c root_task_group.rt_se = (struct sched_rt_entity **)ptr; ptr 6582 kernel/sched/core.c ptr += nr_cpu_ids * sizeof(void **); ptr 6584 kernel/sched/core.c root_task_group.rt_rq = (struct rt_rq **)ptr; ptr 6585 kernel/sched/core.c ptr += nr_cpu_ids * sizeof(void **); ptr 2792 kernel/sched/fair.c typeof(_ptr) ptr = (_ptr); \ ptr 2794 kernel/sched/fair.c typeof(*ptr) res, var = READ_ONCE(*ptr); \ ptr 2801 kernel/sched/fair.c WRITE_ONCE(*ptr, res); \ ptr 2812 kernel/sched/fair.c typeof(_ptr) ptr = (_ptr); \ ptr 2813 kernel/sched/fair.c typeof(*ptr) val = (_val); \ ptr 2814 kernel/sched/fair.c typeof(*ptr) res, var = READ_ONCE(*ptr); \ ptr 2818 kernel/sched/fair.c WRITE_ONCE(*ptr, res); \ ptr 2828 kernel/sched/fair.c typeof(_ptr) ptr = (_ptr); \ ptr 2829 kernel/sched/fair.c *ptr -= min_t(typeof(*ptr), *ptr, _val); \ ptr 545 kernel/time/alarmtimer.c struct k_itimer *ptr = container_of(alarm, struct k_itimer, ptr 551 kernel/time/alarmtimer.c spin_lock_irqsave(&ptr->it_lock, flags); ptr 553 kernel/time/alarmtimer.c ptr->it_active = 0; ptr 554 kernel/time/alarmtimer.c if (ptr->it_interval) ptr 555 kernel/time/alarmtimer.c si_private = ++ptr->it_requeue_pending; ptr 557 kernel/time/alarmtimer.c if (posix_timer_event(ptr, si_private) && ptr->it_interval) { ptr 562 kernel/time/alarmtimer.c ptr->it_overrun += alarm_forward_now(alarm, ptr->it_interval); ptr 563 kernel/time/alarmtimer.c ++ptr->it_requeue_pending; ptr 564 kernel/time/alarmtimer.c ptr->it_active = 1; ptr 567 kernel/time/alarmtimer.c spin_unlock_irqrestore(&ptr->it_lock, flags); ptr 3418 kernel/trace/ftrace.c void *ptr; ptr 3420 kernel/trace/ftrace.c ptr = arch_ftrace_trampoline_func(ops, rec); ptr 3421 kernel/trace/ftrace.c if (ptr) ptr 3422 kernel/trace/ftrace.c seq_printf(m, " ->%pS", ptr); ptr 902 kernel/trace/ring_buffer.c unsigned long *ptr; ptr 904 kernel/trace/ring_buffer.c ptr = (unsigned long *)&list->next; ptr 905 kernel/trace/ring_buffer.c *ptr |= RB_PAGE_HEAD; ptr 906 kernel/trace/ring_buffer.c *ptr &= ~RB_PAGE_UPDATE; ptr 928 kernel/trace/ring_buffer.c unsigned long *ptr = (unsigned long *)&list->next; ptr 930 kernel/trace/ring_buffer.c *ptr &= ~RB_FLAG_MASK; ptr 1047 kernel/trace/ring_buffer.c unsigned long *ptr = (unsigned long *)&old->list.prev->next; ptr 1051 kernel/trace/ring_buffer.c val = *ptr & ~RB_FLAG_MASK; ptr 1054 kernel/trace/ring_buffer.c ret = cmpxchg(ptr, val, (unsigned long)&new->list); ptr 5031 kernel/trace/trace.c int *ptr = v; ptr 5034 kernel/trace/trace.c ptr++; ptr 5038 kernel/trace/trace.c for (; ptr <= &tgid_map[PID_MAX_DEFAULT]; ptr++) { ptr 5039 kernel/trace/trace.c if (trace_find_tgid(*ptr)) ptr 5040 kernel/trace/trace.c return ptr; ptr 5104 kernel/trace/trace.c unsigned int *ptr = v; ptr 5107 kernel/trace/trace.c ptr++; ptr 5111 kernel/trace/trace.c for (; ptr < &savedcmd->map_cmdline_to_pid[savedcmd->cmdline_num]; ptr 5112 kernel/trace/trace.c ptr++) { ptr 5113 kernel/trace/trace.c if (*ptr == -1 || *ptr == NO_CMDLINE_MAP) ptr 5116 kernel/trace/trace.c return ptr; ptr 5256 kernel/trace/trace.c update_eval_map(union trace_eval_map_item *ptr) ptr 5258 kernel/trace/trace.c if (!ptr->map.eval_string) { ptr 5259 kernel/trace/trace.c if (ptr->tail.next) { ptr 5260 kernel/trace/trace.c ptr = ptr->tail.next; ptr 5262 kernel/trace/trace.c ptr++; ptr 5266 kernel/trace/trace.c return ptr; ptr 5271 kernel/trace/trace.c union trace_eval_map_item *ptr = v; ptr 5277 kernel/trace/trace.c ptr = update_eval_map(ptr); ptr 5278 kernel/trace/trace.c if (WARN_ON_ONCE(!ptr)) ptr 5281 kernel/trace/trace.c ptr++; ptr 5285 kernel/trace/trace.c ptr = update_eval_map(ptr); ptr 5287 kernel/trace/trace.c return ptr; ptr 5315 kernel/trace/trace.c union trace_eval_map_item *ptr = v; ptr 5318 kernel/trace/trace.c ptr->map.eval_string, ptr->map.eval_value, ptr 5319 kernel/trace/trace.c ptr->map.system); ptr 5350 kernel/trace/trace.c trace_eval_jmp_to_tail(union trace_eval_map_item *ptr) ptr 5353 kernel/trace/trace.c return ptr + ptr->head.length + 1; ptr 5363 kernel/trace/trace.c union trace_eval_map_item *ptr; ptr 5383 kernel/trace/trace.c ptr = trace_eval_maps; ptr 5385 kernel/trace/trace.c ptr = trace_eval_jmp_to_tail(ptr); ptr 5386 kernel/trace/trace.c if (!ptr->tail.next) ptr 5388 kernel/trace/trace.c ptr = ptr->tail.next; ptr 5391 kernel/trace/trace.c ptr->tail.next = map_array; ptr 5777 kernel/trace/trace.c tracing_nsecs_read(unsigned long *ptr, char __user *ubuf, ptr 5784 kernel/trace/trace.c *ptr == (unsigned long)-1 ? -1 : nsecs_to_usecs(*ptr)); ptr 5791 kernel/trace/trace.c tracing_nsecs_write(unsigned long *ptr, const char __user *ubuf, ptr 5801 kernel/trace/trace.c *ptr = val * 1000; ptr 7942 kernel/trace/trace.c static void get_tr_index(void *data, struct trace_array **ptr, ptr 7947 kernel/trace/trace.c *ptr = container_of(data - *pindex, struct trace_array, ptr 2104 kernel/trace/trace_events.c static char *eval_replace(char *ptr, struct trace_eval_map *map, int len) ptr 2110 kernel/trace/trace_events.c elen = snprintf(ptr, 0, "%ld", map->eval_value); ptr 2115 kernel/trace/trace_events.c snprintf(ptr, elen + 1, "%ld", map->eval_value); ptr 2118 kernel/trace/trace_events.c rlen = strlen(ptr + len); ptr 2119 kernel/trace/trace_events.c memmove(ptr + elen, ptr + len, rlen); ptr 2121 kernel/trace/trace_events.c ptr[elen + rlen] = 0; ptr 2123 kernel/trace/trace_events.c return ptr + elen; ptr 2129 kernel/trace/trace_events.c char *ptr; ptr 2133 kernel/trace/trace_events.c for (ptr = call->print_fmt; *ptr; ptr++) { ptr 2134 kernel/trace/trace_events.c if (*ptr == '\\') { ptr 2135 kernel/trace/trace_events.c ptr++; ptr 2137 kernel/trace/trace_events.c if (!*ptr) ptr 2141 kernel/trace/trace_events.c if (*ptr == '"') { ptr 2147 kernel/trace/trace_events.c if (isdigit(*ptr)) { ptr 2150 kernel/trace/trace_events.c ptr++; ptr 2152 kernel/trace/trace_events.c } while (isalnum(*ptr)); ptr 2153 kernel/trace/trace_events.c if (!*ptr) ptr 2161 kernel/trace/trace_events.c if (isalpha(*ptr) || *ptr == '_') { ptr 2162 kernel/trace/trace_events.c if (strncmp(map->eval_string, ptr, len) == 0 && ptr 2163 kernel/trace/trace_events.c !isalnum(ptr[len]) && ptr[len] != '_') { ptr 2164 kernel/trace/trace_events.c ptr = eval_replace(ptr, map, len); ptr 2166 kernel/trace/trace_events.c if (WARN_ON_ONCE(!ptr)) ptr 2179 kernel/trace/trace_events.c ptr++; ptr 2180 kernel/trace/trace_events.c } while (isalnum(*ptr) || *ptr == '_'); ptr 2181 kernel/trace/trace_events.c if (!*ptr) ptr 2187 kernel/trace/trace_events.c if (*ptr == '.' || (ptr[0] == '-' && ptr[1] == '>')) { ptr 2188 kernel/trace/trace_events.c ptr += *ptr == '.' ? 1 : 2; ptr 2189 kernel/trace/trace_events.c if (!*ptr) ptr 416 kernel/trace/trace_events_filter.c const char *ptr = str; ptr 447 kernel/trace/trace_events_filter.c while (*ptr) { /* #1 */ ptr 448 kernel/trace/trace_events_filter.c const char *next = ptr++; ptr 476 kernel/trace/trace_events_filter.c len = parse_pred(next, data, ptr - str, pe, &prog[N].pred); ptr 481 kernel/trace/trace_events_filter.c ptr = next + len; ptr 487 kernel/trace/trace_events_filter.c next = ptr++; ptr 499 kernel/trace/trace_events_filter.c ptr++; ptr 533 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_CLOSE, ptr - str); ptr 542 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_OPEN, ptr - str); ptr 549 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_NO_FILTER, ptr - str); ptr 238 kernel/trace/trace_output.c void *ptr = (void *)buf; ptr 243 kernel/trace/trace_output.c while (ptr < buf + buf_len) { ptr 247 kernel/trace/trace_output.c *(u8 *)ptr); ptr 251 kernel/trace/trace_output.c *(u16 *)ptr); ptr 255 kernel/trace/trace_output.c *(u32 *)ptr); ptr 259 kernel/trace/trace_output.c *(u64 *)ptr); ptr 263 kernel/trace/trace_output.c *(u8 *)ptr); ptr 267 kernel/trace/trace_output.c ptr += el_size; ptr 328 kernel/trace/trace_stack.c unsigned long *ptr = filp->private_data; ptr 332 kernel/trace/trace_stack.c r = snprintf(buf, sizeof(buf), "%ld\n", *ptr); ptr 342 kernel/trace/trace_stack.c long *ptr = filp->private_data; ptr 360 kernel/trace/trace_stack.c *ptr = val; ptr 636 kernel/trace/trace_uprobe.c char *ptr; ptr 644 kernel/trace/trace_uprobe.c ptr = strpbrk(tail, ".-_"); ptr 645 kernel/trace/trace_uprobe.c if (ptr) ptr 646 kernel/trace/trace_uprobe.c *ptr = '\0'; ptr 27 lib/assoc_array.c const struct assoc_array_ptr *cursor, *ptr, *parent; ptr 52 lib/assoc_array.c ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ ptr 53 lib/assoc_array.c has_meta |= (unsigned long)ptr; ptr 54 lib/assoc_array.c if (ptr && assoc_array_ptr_is_leaf(ptr)) { ptr 59 lib/assoc_array.c ret = iterator(assoc_array_ptr_to_leaf(ptr), ptr 81 lib/assoc_array.c ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ ptr 82 lib/assoc_array.c if (assoc_array_ptr_is_meta(ptr)) { ptr 83 lib/assoc_array.c cursor = ptr; ptr 177 lib/assoc_array.c struct assoc_array_ptr *cursor, *ptr; ptr 209 lib/assoc_array.c ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ ptr 212 lib/assoc_array.c slot, level, (unsigned long)ptr & 3); ptr 214 lib/assoc_array.c if (!assoc_array_ptr_is_meta(ptr)) { ptr 225 lib/assoc_array.c if (assoc_array_ptr_is_node(ptr)) { ptr 229 lib/assoc_array.c cursor = ptr; ptr 240 lib/assoc_array.c cursor = ptr; ptr 310 lib/assoc_array.c const struct assoc_array_ptr *ptr; ptr 324 lib/assoc_array.c ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ ptr 325 lib/assoc_array.c if (ptr && assoc_array_ptr_is_leaf(ptr)) { ptr 330 lib/assoc_array.c leaf = assoc_array_ptr_to_leaf(ptr); ptr 382 lib/assoc_array.c struct assoc_array_ptr *ptr = node->slots[slot]; ptr 383 lib/assoc_array.c if (!ptr) ptr 385 lib/assoc_array.c if (assoc_array_ptr_is_meta(ptr)) { ptr 387 lib/assoc_array.c cursor = ptr; ptr 393 lib/assoc_array.c ops->free_object(assoc_array_ptr_to_leaf(ptr)); ptr 464 lib/assoc_array.c edit->set[0].ptr = &edit->array->root; ptr 481 lib/assoc_array.c struct assoc_array_ptr *ptr; ptr 505 lib/assoc_array.c ptr = node->slots[i]; ptr 506 lib/assoc_array.c if (!ptr) { ptr 510 lib/assoc_array.c if (assoc_array_ptr_is_leaf(ptr) && ptr 511 lib/assoc_array.c ops->compare_object(assoc_array_ptr_to_leaf(ptr), ptr 552 lib/assoc_array.c ptr = node->slots[i]; ptr 553 lib/assoc_array.c if (assoc_array_ptr_is_meta(ptr)) { ptr 559 lib/assoc_array.c assoc_array_ptr_to_leaf(ptr), level); ptr 690 lib/assoc_array.c ptr = node->slots[i]; ptr 691 lib/assoc_array.c BUG_ON(assoc_array_ptr_is_leaf(ptr)); ptr 692 lib/assoc_array.c if (assoc_array_ptr_is_node(ptr)) { ptr 693 lib/assoc_array.c side = assoc_array_ptr_to_node(ptr); ptr 696 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(ptr); ptr 702 lib/assoc_array.c ptr = node->back_pointer; ptr 703 lib/assoc_array.c if (!ptr) ptr 704 lib/assoc_array.c edit->set[0].ptr = &edit->array->root; ptr 705 lib/assoc_array.c else if (assoc_array_ptr_is_node(ptr)) ptr 706 lib/assoc_array.c edit->set[0].ptr = &assoc_array_ptr_to_node(ptr)->slots[node->parent_slot]; ptr 708 lib/assoc_array.c edit->set[0].ptr = &assoc_array_ptr_to_shortcut(ptr)->next_node; ptr 777 lib/assoc_array.c ptr = node->slots[i]; ptr 778 lib/assoc_array.c base_seg = ops->get_object_key_chunk(assoc_array_ptr_to_leaf(ptr), ptr 825 lib/assoc_array.c edit->set[0].ptr = &edit->array->root; ptr 828 lib/assoc_array.c edit->set[0].ptr = &node->slots[shortcut->parent_slot]; ptr 918 lib/assoc_array.c edit->set[1].ptr = &side->back_pointer; ptr 931 lib/assoc_array.c edit->set[1].ptr = &side->back_pointer; ptr 1087 lib/assoc_array.c struct assoc_array_ptr *ptr; ptr 1109 lib/assoc_array.c ptr = node->slots[slot]; ptr 1110 lib/assoc_array.c if (ptr && ptr 1111 lib/assoc_array.c assoc_array_ptr_is_leaf(ptr) && ptr 1112 lib/assoc_array.c ops->compare_object(assoc_array_ptr_to_leaf(ptr), ptr 1132 lib/assoc_array.c edit->set[0].ptr = &node->slots[slot]; ptr 1140 lib/assoc_array.c edit->set[1].ptr = &array->root; ptr 1160 lib/assoc_array.c struct assoc_array_ptr *ptr; ptr 1168 lib/assoc_array.c ptr = node->slots[i]; ptr 1169 lib/assoc_array.c if (assoc_array_ptr_is_meta(ptr)) { ptr 1185 lib/assoc_array.c ptr = parent->back_pointer; ptr 1186 lib/assoc_array.c if (!ptr) ptr 1188 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 1189 lib/assoc_array.c struct assoc_array_shortcut *s = assoc_array_ptr_to_shortcut(ptr); ptr 1190 lib/assoc_array.c ptr = s->back_pointer; ptr 1191 lib/assoc_array.c if (!ptr) ptr 1195 lib/assoc_array.c grandparent = assoc_array_ptr_to_node(ptr); ptr 1231 lib/assoc_array.c edit->set[1].ptr = &array->root; ptr 1237 lib/assoc_array.c edit->set[1].ptr = &p->slots[node->parent_slot]; ptr 1241 lib/assoc_array.c edit->set[1].ptr = &s->next_node; ptr 1290 lib/assoc_array.c edit->set[1].ptr = &array->root; ptr 1350 lib/assoc_array.c struct assoc_array_ptr *ptr; ptr 1371 lib/assoc_array.c if (edit->set[i].ptr) ptr 1372 lib/assoc_array.c *edit->set[i].ptr = edit->set[i].to; ptr 1381 lib/assoc_array.c ptr = node->back_pointer; ptr 1382 lib/assoc_array.c if (!ptr) ptr 1384 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 1385 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(ptr); ptr 1386 lib/assoc_array.c ptr = shortcut->back_pointer; ptr 1387 lib/assoc_array.c if (!ptr) ptr 1390 lib/assoc_array.c BUG_ON(!assoc_array_ptr_is_node(ptr)); ptr 1391 lib/assoc_array.c node = assoc_array_ptr_to_node(ptr); ptr 1412 lib/assoc_array.c struct assoc_array_ptr *ptr; ptr 1419 lib/assoc_array.c ptr = edit->new_meta[i]; ptr 1420 lib/assoc_array.c if (ptr) { ptr 1421 lib/assoc_array.c if (assoc_array_ptr_is_node(ptr)) ptr 1422 lib/assoc_array.c kfree(assoc_array_ptr_to_node(ptr)); ptr 1424 lib/assoc_array.c kfree(assoc_array_ptr_to_shortcut(ptr)); ptr 1462 lib/assoc_array.c struct assoc_array_ptr *cursor, *ptr; ptr 1478 lib/assoc_array.c edit->set[0].ptr = &array->root; ptr 1522 lib/assoc_array.c ptr = node->slots[slot]; ptr 1523 lib/assoc_array.c if (!ptr) ptr 1526 lib/assoc_array.c if (assoc_array_ptr_is_leaf(ptr)) { ptr 1527 lib/assoc_array.c if (iterator(assoc_array_ptr_to_leaf(ptr), ptr 1532 lib/assoc_array.c new_n->slots[slot] = ptr; ptr 1537 lib/assoc_array.c cursor = ptr; ptr 1549 lib/assoc_array.c ptr = new_n->slots[slot]; ptr 1550 lib/assoc_array.c if (!ptr) ptr 1552 lib/assoc_array.c else if (assoc_array_ptr_is_leaf(ptr)) ptr 1563 lib/assoc_array.c ptr = new_n->slots[slot]; ptr 1564 lib/assoc_array.c if (!ptr || assoc_array_ptr_is_leaf(ptr)) ptr 1568 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 1569 lib/assoc_array.c s = assoc_array_ptr_to_shortcut(ptr); ptr 1570 lib/assoc_array.c ptr = s->next_node; ptr 1573 lib/assoc_array.c child = assoc_array_ptr_to_node(ptr); ptr 1617 lib/assoc_array.c if ((ptr = new_n->slots[slot])) ptr 1620 lib/assoc_array.c if (assoc_array_ptr_is_meta(ptr) && ptr 1621 lib/assoc_array.c assoc_array_ptr_is_shortcut(ptr)) { ptr 1623 lib/assoc_array.c new_s = assoc_array_ptr_to_shortcut(ptr); ptr 1630 lib/assoc_array.c new_root = ptr; ptr 1647 lib/assoc_array.c new_root = ptr; ptr 1655 lib/assoc_array.c new_n->slots[slot] = ptr; ptr 1663 lib/assoc_array.c ptr = new_n->back_pointer; ptr 1664 lib/assoc_array.c if (!ptr) ptr 1667 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 1668 lib/assoc_array.c new_s = assoc_array_ptr_to_shortcut(ptr); ptr 1688 lib/assoc_array.c new_parent = ptr; ptr 1693 lib/assoc_array.c ptr = node->back_pointer; ptr 1694 lib/assoc_array.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 1695 lib/assoc_array.c shortcut = assoc_array_ptr_to_shortcut(ptr); ptr 1702 lib/assoc_array.c cursor = ptr; ptr 1163 lib/bch.c void *ptr; ptr 1165 lib/bch.c ptr = kmalloc(size, GFP_KERNEL); ptr 1166 lib/bch.c if (ptr == NULL) ptr 1168 lib/bch.c return ptr; ptr 125 lib/cmdline.c unsigned long long memparse(const char *ptr, char **retptr) ptr 129 lib/cmdline.c unsigned long long ret = simple_strtoull(ptr, &endptr, 0); ptr 42 lib/decompress_unlzma.c static long long INIT read_int(unsigned char *ptr, int size) ptr 48 lib/decompress_unlzma.c ret = (ret << 8) | ptr[size-i-1]; ptr 69 lib/decompress_unlzma.c uint8_t *ptr; ptr 96 lib/decompress_unlzma.c rc->ptr = rc->buffer; ptr 112 lib/decompress_unlzma.c rc->ptr = rc->buffer; ptr 123 lib/decompress_unlzma.c if (rc->ptr >= rc->buffer_end) ptr 125 lib/decompress_unlzma.c rc->code = (rc->code << 8) | *rc->ptr++; ptr 133 lib/decompress_unlzma.c if (rc->ptr >= rc->buffer_end) ptr 136 lib/decompress_unlzma.c rc->code = (rc->code << 8) | *rc->ptr++; ptr 581 lib/decompress_unlzma.c if (rc.ptr >= rc.buffer_end) ptr 583 lib/decompress_unlzma.c ((unsigned char *)&header)[i] = *rc.ptr++; ptr 654 lib/decompress_unlzma.c *posp = rc.ptr-rc.buffer; ptr 158 lib/decompress_unxz.c #define kfree(ptr) free(ptr) ptr 160 lib/decompress_unxz.c #define vfree(ptr) do { if (ptr != NULL) free(ptr); } while (0) ptr 30 lib/devres.c void __iomem **ptr, *addr = NULL; ptr 32 lib/devres.c ptr = devres_alloc(devm_ioremap_release, sizeof(*ptr), GFP_KERNEL); ptr 33 lib/devres.c if (!ptr) ptr 52 lib/devres.c *ptr = addr; ptr 53 lib/devres.c devres_add(dev, ptr); ptr 55 lib/devres.c devres_free(ptr); ptr 246 lib/devres.c void __iomem **ptr, *addr; ptr 248 lib/devres.c ptr = devres_alloc(devm_ioport_map_release, sizeof(*ptr), GFP_KERNEL); ptr 249 lib/devres.c if (!ptr) ptr 254 lib/devres.c *ptr = addr; ptr 255 lib/devres.c devres_add(dev, ptr); ptr 257 lib/devres.c devres_free(ptr); ptr 824 lib/genalloc.c struct gen_pool **ptr, *pool; ptr 837 lib/genalloc.c ptr = devres_alloc(devm_gen_pool_release, sizeof(*ptr), GFP_KERNEL); ptr 838 lib/genalloc.c if (!ptr) ptr 845 lib/genalloc.c *ptr = pool; ptr 847 lib/genalloc.c devres_add(dev, ptr); ptr 852 lib/genalloc.c devres_free(ptr); ptr 108 lib/hexdump.c const u8 *ptr = buf; ptr 171 lib/hexdump.c ch = ptr[j]; ptr 194 lib/hexdump.c ch = ptr[j]; ptr 243 lib/hexdump.c const u8 *ptr = buf; ptr 254 lib/hexdump.c hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, ptr 260 lib/hexdump.c level, prefix_str, ptr + i, linebuf); ptr 33 lib/idr.c int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, ptr 52 lib/idr.c radix_tree_iter_replace(&idr->idr_rt, &iter, slot, ptr); ptr 79 lib/idr.c int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) ptr 87 lib/idr.c ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); ptr 117 lib/idr.c int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) ptr 125 lib/idr.c err = idr_alloc_u32(idr, ptr, &id, max, gfp); ptr 128 lib/idr.c err = idr_alloc_u32(idr, ptr, &id, max, gfp); ptr 290 lib/idr.c void *idr_replace(struct idr *idr, void *ptr, unsigned long id) ptr 302 lib/idr.c __radix_tree_replace(&idr->idr_rt, node, slot, ptr); ptr 20 lib/livepatch/test_klp_shadow_vars.c void *ptr; ptr 35 lib/livepatch/test_klp_shadow_vars.c static int ptr_id(void *ptr) ptr 41 lib/livepatch/test_klp_shadow_vars.c if (sp->ptr == ptr) ptr 48 lib/livepatch/test_klp_shadow_vars.c sp->ptr = ptr; ptr 105 lib/lz4/lz4defs.h static FORCE_INLINE U16 LZ4_read16(const void *ptr) ptr 107 lib/lz4/lz4defs.h return get_unaligned((const U16 *)ptr); ptr 110 lib/lz4/lz4defs.h static FORCE_INLINE U32 LZ4_read32(const void *ptr) ptr 112 lib/lz4/lz4defs.h return get_unaligned((const U32 *)ptr); ptr 115 lib/lz4/lz4defs.h static FORCE_INLINE size_t LZ4_read_ARCH(const void *ptr) ptr 117 lib/lz4/lz4defs.h return get_unaligned((const size_t *)ptr); ptr 53 lib/lz4/lz4hc_compress.c static U32 LZ4HC_hashPtr(const void *ptr) ptr 55 lib/lz4/lz4hc_compress.c return HASH_FUNCTION(LZ4_read32(ptr)); ptr 11 lib/memweight.c size_t memweight(const void *ptr, size_t bytes) ptr 15 lib/memweight.c const unsigned char *bitmap = ptr; ptr 916 lib/objagg.c const char *ptr = obj; ptr 918 lib/objagg.c ptr += ht->p.key_offset; ptr 919 lib/objagg.c return ops->hints_obj_cmp ? ops->hints_obj_cmp(ptr, arg->key) : ptr 920 lib/objagg.c memcmp(ptr, arg->key, ht->p.key_len); ptr 76 lib/radix-tree.c static inline struct radix_tree_node *entry_to_node(void *ptr) ptr 78 lib/radix-tree.c return (void *)((unsigned long)ptr & ~RADIX_TREE_INTERNAL_NODE); ptr 81 lib/radix-tree.c static inline void *node_to_entry(void *ptr) ptr 83 lib/radix-tree.c return (void *)((unsigned long)ptr | RADIX_TREE_INTERNAL_NODE); ptr 103 lib/random32.c u8 *ptr = buf; ptr 106 lib/random32.c put_unaligned(prandom_u32_state(state), (u32 *) ptr); ptr 107 lib/random32.c ptr += sizeof(u32); ptr 114 lib/random32.c *ptr++ = (u8) rem; ptr 1090 lib/rhashtable.c void (*free_fn)(void *ptr, void *arg), ptr 1124 lib/rhashtable.c void (*free_fn)(void *ptr, void *arg), ptr 161 lib/scatterlist.c void *ptr = (void *) __get_free_page(gfp_mask); ptr 162 lib/scatterlist.c kmemleak_alloc(ptr, PAGE_SIZE, 1, gfp_mask); ptr 163 lib/scatterlist.c return ptr; ptr 71 lib/test_bpf.c } ptr; ptr 101 lib/test_bpf.c self->u.ptr.insns = insn; ptr 102 lib/test_bpf.c self->u.ptr.len = len; ptr 120 lib/test_bpf.c self->u.ptr.insns = insn; ptr 121 lib/test_bpf.c self->u.ptr.len = len; ptr 147 lib/test_bpf.c self->u.ptr.insns = insn; ptr 148 lib/test_bpf.c self->u.ptr.len = len; ptr 166 lib/test_bpf.c self->u.ptr.insns = insn; ptr 167 lib/test_bpf.c self->u.ptr.len = len; ptr 189 lib/test_bpf.c self->u.ptr.insns = insn; ptr 190 lib/test_bpf.c self->u.ptr.len = len; ptr 211 lib/test_bpf.c self->u.ptr.insns = insn; ptr 212 lib/test_bpf.c self->u.ptr.len = len; ptr 237 lib/test_bpf.c self->u.ptr.insns = insn; ptr 238 lib/test_bpf.c self->u.ptr.len = len; ptr 260 lib/test_bpf.c self->u.ptr.insns = insn; ptr 261 lib/test_bpf.c self->u.ptr.len = len; ptr 286 lib/test_bpf.c self->u.ptr.insns = insn; ptr 287 lib/test_bpf.c self->u.ptr.len = len; ptr 311 lib/test_bpf.c self->u.ptr.insns = insn; ptr 312 lib/test_bpf.c self->u.ptr.len = len; ptr 340 lib/test_bpf.c self->u.ptr.insns = insn; ptr 341 lib/test_bpf.c self->u.ptr.len = len; ptr 369 lib/test_bpf.c self->u.ptr.insns = insn; ptr 370 lib/test_bpf.c self->u.ptr.len = len; ptr 392 lib/test_bpf.c self->u.ptr.insns = insn; ptr 393 lib/test_bpf.c self->u.ptr.len = len; ptr 422 lib/test_bpf.c self->u.ptr.insns = insn; ptr 423 lib/test_bpf.c self->u.ptr.len = len; ptr 447 lib/test_bpf.c self->u.ptr.insns = insn; ptr 448 lib/test_bpf.c self->u.ptr.len = len; ptr 6522 lib/test_bpf.c void *ptr; ptr 6529 lib/test_bpf.c ptr = kmap(page); ptr 6530 lib/test_bpf.c if (!ptr) ptr 6532 lib/test_bpf.c memcpy(ptr, test->frag_data, MAX_DATA); ptr 6560 lib/test_bpf.c return tests[which].u.ptr.len; ptr 6573 lib/test_bpf.c return tests[which].u.ptr.insns; ptr 6794 lib/test_bpf.c kfree(tests[i].u.ptr.insns); ptr 32 lib/test_kasan.c char *ptr; ptr 36 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 37 lib/test_kasan.c if (!ptr) { ptr 42 lib/test_kasan.c ptr[size] = 'x'; ptr 43 lib/test_kasan.c kfree(ptr); ptr 48 lib/test_kasan.c char *ptr; ptr 52 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 53 lib/test_kasan.c if (!ptr) { ptr 58 lib/test_kasan.c *ptr = *(ptr - 1); ptr 59 lib/test_kasan.c kfree(ptr); ptr 64 lib/test_kasan.c char *ptr; ptr 68 lib/test_kasan.c ptr = kmalloc_node(size, GFP_KERNEL, 0); ptr 69 lib/test_kasan.c if (!ptr) { ptr 74 lib/test_kasan.c ptr[size] = 0; ptr 75 lib/test_kasan.c kfree(ptr); ptr 81 lib/test_kasan.c char *ptr; ptr 88 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 89 lib/test_kasan.c if (!ptr) { ptr 94 lib/test_kasan.c ptr[size] = 0; ptr 95 lib/test_kasan.c kfree(ptr); ptr 100 lib/test_kasan.c char *ptr; ptr 104 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 105 lib/test_kasan.c if (!ptr) { ptr 110 lib/test_kasan.c kfree(ptr); ptr 111 lib/test_kasan.c ptr[0] = 0; ptr 116 lib/test_kasan.c char *ptr; ptr 120 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 121 lib/test_kasan.c if (!ptr) { ptr 126 lib/test_kasan.c kfree(ptr + 1); ptr 132 lib/test_kasan.c char *ptr; ptr 138 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 139 lib/test_kasan.c if (!ptr) { ptr 144 lib/test_kasan.c ptr[size] = 0; ptr 145 lib/test_kasan.c kfree(ptr); ptr 208 lib/test_kasan.c char *ptr; ptr 212 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 213 lib/test_kasan.c if (!ptr) { ptr 218 lib/test_kasan.c memset(ptr+7, 0, 2); ptr 219 lib/test_kasan.c kfree(ptr); ptr 224 lib/test_kasan.c char *ptr; ptr 228 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 229 lib/test_kasan.c if (!ptr) { ptr 234 lib/test_kasan.c memset(ptr+5, 0, 4); ptr 235 lib/test_kasan.c kfree(ptr); ptr 241 lib/test_kasan.c char *ptr; ptr 245 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 246 lib/test_kasan.c if (!ptr) { ptr 251 lib/test_kasan.c memset(ptr+1, 0, 8); ptr 252 lib/test_kasan.c kfree(ptr); ptr 257 lib/test_kasan.c char *ptr; ptr 261 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 262 lib/test_kasan.c if (!ptr) { ptr 267 lib/test_kasan.c memset(ptr+1, 0, 16); ptr 268 lib/test_kasan.c kfree(ptr); ptr 273 lib/test_kasan.c char *ptr; ptr 277 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 278 lib/test_kasan.c if (!ptr) { ptr 283 lib/test_kasan.c memset(ptr, 0, size+5); ptr 284 lib/test_kasan.c kfree(ptr); ptr 289 lib/test_kasan.c char *ptr; ptr 293 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 294 lib/test_kasan.c if (!ptr) { ptr 299 lib/test_kasan.c kfree(ptr); ptr 300 lib/test_kasan.c *(ptr + 8) = 'x'; ptr 305 lib/test_kasan.c char *ptr; ptr 309 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 310 lib/test_kasan.c if (!ptr) { ptr 315 lib/test_kasan.c kfree(ptr); ptr 316 lib/test_kasan.c memset(ptr, 0, size); ptr 346 lib/test_kasan.c char *ptr; ptr 352 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 353 lib/test_kasan.c if (!ptr) { ptr 358 lib/test_kasan.c page = virt_to_page(ptr); ptr 359 lib/test_kasan.c offset = offset_in_page(ptr); ptr 365 lib/test_kasan.c char *ptr; ptr 370 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 371 lib/test_kasan.c if (!ptr) { ptr 376 lib/test_kasan.c phys = virt_to_phys(ptr); ptr 458 lib/test_kasan.c char *ptr; ptr 462 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 463 lib/test_kasan.c if (!ptr) { ptr 467 lib/test_kasan.c real_size = ksize(ptr); ptr 469 lib/test_kasan.c ptr[size] = 'x'; ptr 471 lib/test_kasan.c ptr[real_size] = 'y'; ptr 472 lib/test_kasan.c kfree(ptr); ptr 598 lib/test_kasan.c char *ptr; ptr 602 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO); ptr 603 lib/test_kasan.c if (!ptr) ptr 606 lib/test_kasan.c memchr(ptr, '1', size + 1); ptr 607 lib/test_kasan.c kfree(ptr); ptr 612 lib/test_kasan.c char *ptr; ptr 617 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO); ptr 618 lib/test_kasan.c if (!ptr) ptr 622 lib/test_kasan.c memcmp(ptr, arr, size+1); ptr 623 lib/test_kasan.c kfree(ptr); ptr 628 lib/test_kasan.c char *ptr; ptr 632 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO); ptr 633 lib/test_kasan.c if (!ptr) ptr 636 lib/test_kasan.c kfree(ptr); ptr 644 lib/test_kasan.c ptr += 16; ptr 645 lib/test_kasan.c strchr(ptr, '1'); ptr 648 lib/test_kasan.c strrchr(ptr, '1'); ptr 651 lib/test_kasan.c strcmp(ptr, "2"); ptr 654 lib/test_kasan.c strncmp(ptr, "2", 1); ptr 657 lib/test_kasan.c strlen(ptr); ptr 660 lib/test_kasan.c strnlen(ptr, 1); ptr 738 lib/test_kasan.c char *ptr; ptr 742 lib/test_kasan.c ptr = kmalloc(size, GFP_KERNEL); ptr 743 lib/test_kasan.c if (!ptr) { ptr 748 lib/test_kasan.c kzfree(ptr); ptr 749 lib/test_kasan.c kzfree(ptr); ptr 29 lib/test_meminit.c static int __init count_nonzero_bytes(void *ptr, size_t size) ptr 32 lib/test_meminit.c unsigned char *p = (unsigned char *)ptr; ptr 41 lib/test_meminit.c static void __init fill_with_garbage_skip(void *ptr, int size, size_t skip) ptr 43 lib/test_meminit.c unsigned int *p = (unsigned int *)((char *)ptr + skip); ptr 58 lib/test_meminit.c static void __init fill_with_garbage(void *ptr, size_t size) ptr 60 lib/test_meminit.c fill_with_garbage_skip(ptr, size, 0); ptr 495 lib/test_overflow.c #define free0(free, arg, ptr) free(ptr) ptr 496 lib/test_overflow.c #define free1(free, arg, ptr) free(arg, ptr) ptr 506 lib/test_overflow.c void *ptr; \ ptr 509 lib/test_overflow.c ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, 1);\ ptr 510 lib/test_overflow.c if (!ptr) { \ ptr 514 lib/test_overflow.c free ## want_arg (free_func, arg, ptr); \ ptr 517 lib/test_overflow.c ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \ ptr 519 lib/test_overflow.c if (!ptr) { \ ptr 523 lib/test_overflow.c free ## want_arg (free_func, arg, ptr); \ ptr 526 lib/test_overflow.c ptr = alloc ## want_arg ## want_gfp ## want_node (func, arg, \ ptr 528 lib/test_overflow.c if (ptr) { \ ptr 530 lib/test_overflow.c free ## want_arg (free_func, arg, ptr); \ ptr 40 lib/test_stackinit.c #define DO_NOTHING_RETURN_SCALAR(ptr) *(ptr) ptr 41 lib/test_stackinit.c #define DO_NOTHING_RETURN_STRING(ptr) /**/ ptr 42 lib/test_stackinit.c #define DO_NOTHING_RETURN_STRUCT(ptr) /**/ ptr 153 lib/test_stackinit.c do_nothing_ ## name(var_type *ptr) \ ptr 156 lib/test_stackinit.c if ((unsigned long)ptr > 0x2) \ ptr 157 lib/test_stackinit.c return DO_NOTHING_RETURN_ ## which(ptr); \ ptr 159 lib/test_stackinit.c return DO_NOTHING_RETURN_ ## which(ptr + 1); \ ptr 64 lib/test_ubsan.c bool val, val2, *ptr; ptr 71 lib/test_ubsan.c ptr = &val2; ptr 77 lib/test_ubsan.c volatile int *ptr = NULL; ptr 80 lib/test_ubsan.c val = *ptr; ptr 86 lib/test_ubsan.c volatile int *ptr, val = 6; ptr 88 lib/test_ubsan.c ptr = (int *)(arr + 1); ptr 89 lib/test_ubsan.c *ptr = val; ptr 96 lib/test_ubsan.c volatile long long *ptr, val2; ptr 98 lib/test_ubsan.c ptr = (long long *)&val; ptr 99 lib/test_ubsan.c val2 = *ptr; ptr 78 lib/test_vmalloc.c void *ptr; ptr 94 lib/test_vmalloc.c ptr = __vmalloc_node_range(size, align, ptr 100 lib/test_vmalloc.c if (!ptr) ptr 103 lib/test_vmalloc.c vfree(ptr); ptr 115 lib/test_vmalloc.c void *ptr; ptr 121 lib/test_vmalloc.c ptr = __vmalloc_node_range(PAGE_SIZE, align, ptr 127 lib/test_vmalloc.c if (!ptr) ptr 130 lib/test_vmalloc.c vfree(ptr); ptr 138 lib/test_vmalloc.c void *ptr; ptr 142 lib/test_vmalloc.c ptr = __vmalloc_node_range(5 * PAGE_SIZE, ptr 149 lib/test_vmalloc.c if (!ptr) ptr 152 lib/test_vmalloc.c vfree(ptr); ptr 183 lib/test_vmalloc.c void **ptr; ptr 187 lib/test_vmalloc.c ptr = vmalloc(sizeof(void *) * 15000); ptr 188 lib/test_vmalloc.c if (!ptr) ptr 192 lib/test_vmalloc.c ptr[i] = vmalloc(1 * PAGE_SIZE); ptr 217 lib/test_vmalloc.c vfree(ptr[i]); ptr 219 lib/test_vmalloc.c vfree(ptr); ptr 225 lib/test_vmalloc.c void **ptr, **junk_ptr, *tmp; ptr 233 lib/test_vmalloc.c ptr = vmalloc(sizeof(void *) * junk_length); ptr 234 lib/test_vmalloc.c if (!ptr) ptr 239 lib/test_vmalloc.c vfree(ptr); ptr 244 lib/test_vmalloc.c ptr[i] = vmalloc(1 * PAGE_SIZE); ptr 266 lib/test_vmalloc.c vfree(ptr[i]); ptr 268 lib/test_vmalloc.c vfree(ptr); ptr 276 lib/test_vmalloc.c void *ptr; ptr 280 lib/test_vmalloc.c ptr = vmalloc(3 * PAGE_SIZE); ptr 282 lib/test_vmalloc.c if (!ptr) ptr 285 lib/test_vmalloc.c *((__u8 *)ptr) = 0; ptr 287 lib/test_vmalloc.c vfree(ptr); ptr 31 lib/timerqueue.c struct timerqueue_node *ptr; ptr 39 lib/timerqueue.c ptr = rb_entry(parent, struct timerqueue_node, node); ptr 40 lib/timerqueue.c if (node->expires < ptr->expires) { ptr 266 lib/ubsan.c unsigned long ptr) ptr 275 lib/ubsan.c (void *)ptr, data->type->type_name); ptr 282 lib/ubsan.c unsigned long ptr) ptr 290 lib/ubsan.c (void *) ptr); ptr 296 lib/ubsan.c unsigned long ptr) ptr 300 lib/ubsan.c if (!ptr) ptr 302 lib/ubsan.c else if (data->alignment && !IS_ALIGNED(ptr, data->alignment)) ptr 303 lib/ubsan.c handle_misaligned_access(data, ptr); ptr 305 lib/ubsan.c handle_object_size_mismatch(data, ptr); ptr 311 lib/ubsan.c void *ptr) ptr 320 lib/ubsan.c ubsan_type_mismatch_common(&common_data, (unsigned long)ptr); ptr 325 lib/ubsan.c void *ptr) ptr 335 lib/ubsan.c ubsan_type_mismatch_common(&common_data, (unsigned long)ptr); ptr 636 lib/vsprintf.c static const char *check_pointer_msg(const void *ptr) ptr 638 lib/vsprintf.c if (!ptr) ptr 641 lib/vsprintf.c if ((unsigned long)ptr < PAGE_SIZE || IS_ERR_VALUE(ptr)) ptr 647 lib/vsprintf.c static int check_pointer(char **buf, char *end, const void *ptr, ptr 652 lib/vsprintf.c err_msg = check_pointer_msg(ptr); ptr 672 lib/vsprintf.c const void *ptr, ptr 678 lib/vsprintf.c spec.field_width = 2 * sizeof(ptr); ptr 682 lib/vsprintf.c return number(buf, end, (unsigned long int)ptr, spec); ptr 743 lib/vsprintf.c static char *ptr_to_id(char *buf, char *end, const void *ptr, ptr 746 lib/vsprintf.c const char *str = sizeof(ptr) == 8 ? "(____ptrval____)" : "(ptrval)"; ptr 753 lib/vsprintf.c if (IS_ERR_OR_NULL(ptr)) ptr 754 lib/vsprintf.c return pointer_string(buf, end, ptr, spec); ptr 758 lib/vsprintf.c hashval = hash_long((unsigned long)ptr, 32); ptr 763 lib/vsprintf.c spec.field_width = 2 * sizeof(ptr); ptr 769 lib/vsprintf.c hashval = (unsigned long)siphash_1u64((u64)ptr, &ptr_key); ptr 776 lib/vsprintf.c hashval = (unsigned long)siphash_1u32((u32)ptr, &ptr_key); ptr 784 lib/vsprintf.c char *restricted_pointer(char *buf, char *end, const void *ptr, ptr 790 lib/vsprintf.c return ptr_to_id(buf, end, ptr, spec); ptr 800 lib/vsprintf.c spec.field_width = 2 * sizeof(ptr); ptr 817 lib/vsprintf.c ptr = NULL; ptr 823 lib/vsprintf.c ptr = NULL; ptr 827 lib/vsprintf.c return pointer_string(buf, end, ptr, spec); ptr 913 lib/vsprintf.c char *symbol_string(char *buf, char *end, void *ptr, ptr 922 lib/vsprintf.c ptr = __builtin_extract_return_addr(ptr); ptr 923 lib/vsprintf.c value = (unsigned long)ptr; ptr 1518 lib/vsprintf.c char *ip_addr_string(char *buf, char *end, const void *ptr, ptr 1523 lib/vsprintf.c if (check_pointer(&buf, end, ptr, spec)) ptr 1528 lib/vsprintf.c return ip6_addr_string(buf, end, ptr, spec, fmt); ptr 1530 lib/vsprintf.c return ip4_addr_string(buf, end, ptr, spec, fmt); ptr 1536 lib/vsprintf.c } *sa = ptr; ptr 1791 lib/vsprintf.c char *time_and_date(char *buf, char *end, void *ptr, struct printf_spec spec, ptr 1796 lib/vsprintf.c return rtc_str(buf, end, (const struct rtc_time *)ptr, spec, fmt); ptr 2003 lib/vsprintf.c static char *kobject_string(char *buf, char *end, void *ptr, ptr 2008 lib/vsprintf.c return device_node_string(buf, end, ptr, spec, fmt + 1); ptr 2127 lib/vsprintf.c char *pointer(const char *fmt, char *buf, char *end, void *ptr, ptr 2135 lib/vsprintf.c ptr = dereference_symbol_descriptor(ptr); ptr 2138 lib/vsprintf.c return symbol_string(buf, end, ptr, spec, fmt); ptr 2141 lib/vsprintf.c return resource_string(buf, end, ptr, spec, fmt); ptr 2143 lib/vsprintf.c return hex_string(buf, end, ptr, spec, fmt); ptr 2147 lib/vsprintf.c return bitmap_list_string(buf, end, ptr, spec, fmt); ptr 2149 lib/vsprintf.c return bitmap_string(buf, end, ptr, spec, fmt); ptr 2155 lib/vsprintf.c return mac_address_string(buf, end, ptr, spec, fmt); ptr 2165 lib/vsprintf.c return ip_addr_string(buf, end, ptr, spec, fmt); ptr 2167 lib/vsprintf.c return escaped_string(buf, end, ptr, spec, fmt); ptr 2169 lib/vsprintf.c return uuid_string(buf, end, ptr, spec, fmt); ptr 2171 lib/vsprintf.c return va_format(buf, end, ptr, spec, fmt); ptr 2173 lib/vsprintf.c return restricted_pointer(buf, end, ptr, spec); ptr 2175 lib/vsprintf.c return netdev_bits(buf, end, ptr, spec, fmt); ptr 2177 lib/vsprintf.c return address_val(buf, end, ptr, spec, fmt); ptr 2179 lib/vsprintf.c return dentry_name(buf, end, ptr, spec, fmt); ptr 2181 lib/vsprintf.c return time_and_date(buf, end, ptr, spec, fmt); ptr 2183 lib/vsprintf.c return clock(buf, end, ptr, spec, fmt); ptr 2185 lib/vsprintf.c return file_dentry_name(buf, end, ptr, spec, fmt); ptr 2188 lib/vsprintf.c return bdev_name(buf, end, ptr, spec, fmt); ptr 2192 lib/vsprintf.c return flags_string(buf, end, ptr, spec, fmt); ptr 2194 lib/vsprintf.c return kobject_string(buf, end, ptr, spec, fmt); ptr 2196 lib/vsprintf.c return pointer_string(buf, end, ptr, spec); ptr 2200 lib/vsprintf.c return ptr_to_id(buf, end, ptr, spec); ptr 74 lib/zstd/bitstream.h char *ptr; ptr 106 lib/zstd/bitstream.h const char *ptr; ptr 167 lib/zstd/bitstream.h bitC->ptr = bitC->startPtr; ptr 168 lib/zstd/bitstream.h bitC->endPtr = bitC->startPtr + dstCapacity - sizeof(bitC->ptr); ptr 169 lib/zstd/bitstream.h if (dstCapacity <= sizeof(bitC->ptr)) ptr 196 lib/zstd/bitstream.h ZSTD_writeLEST(bitC->ptr, bitC->bitContainer); ptr 197 lib/zstd/bitstream.h bitC->ptr += nbBytes; ptr 208 lib/zstd/bitstream.h ZSTD_writeLEST(bitC->ptr, bitC->bitContainer); ptr 209 lib/zstd/bitstream.h bitC->ptr += nbBytes; ptr 210 lib/zstd/bitstream.h if (bitC->ptr > bitC->endPtr) ptr 211 lib/zstd/bitstream.h bitC->ptr = bitC->endPtr; ptr 224 lib/zstd/bitstream.h if (bitC->ptr >= bitC->endPtr) ptr 227 lib/zstd/bitstream.h return (bitC->ptr - bitC->startPtr) + (bitC->bitPos > 0); ptr 248 lib/zstd/bitstream.h bitD->ptr = (const char *)srcBuffer + srcSize - sizeof(bitD->bitContainer); ptr 249 lib/zstd/bitstream.h bitD->bitContainer = ZSTD_readLEST(bitD->ptr); ptr 258 lib/zstd/bitstream.h bitD->ptr = bitD->start; ptr 346 lib/zstd/bitstream.h if (bitD->ptr >= bitD->start + sizeof(bitD->bitContainer)) { ptr 347 lib/zstd/bitstream.h bitD->ptr -= bitD->bitsConsumed >> 3; ptr 349 lib/zstd/bitstream.h bitD->bitContainer = ZSTD_readLEST(bitD->ptr); ptr 352 lib/zstd/bitstream.h if (bitD->ptr == bitD->start) { ptr 360 lib/zstd/bitstream.h if (bitD->ptr - nbBytes < bitD->start) { ptr 361 lib/zstd/bitstream.h nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ ptr 364 lib/zstd/bitstream.h bitD->ptr -= nbBytes; ptr 366 lib/zstd/bitstream.h bitD->bitContainer = ZSTD_readLEST(bitD->ptr); /* reminder : srcSize > sizeof(bitD) */ ptr 376 lib/zstd/bitstream.h return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer) * 8)); ptr 261 lib/zstd/compress.c void *ptr; ptr 285 lib/zstd/compress.c ptr = zc->hashTable3 + h3Size; ptr 286 lib/zstd/compress.c zc->hufTable = (HUF_CElt *)ptr; ptr 289 lib/zstd/compress.c ptr = ((U32 *)ptr) + 256; /* note : HUF_CElt* is incomplete type, size is simulated using U32 */ ptr 307 lib/zstd/compress.c zc->seqStore.litFreq = (U32 *)ptr; ptr 311 lib/zstd/compress.c ptr = zc->seqStore.offCodeFreq + (MaxOff + 1); ptr 312 lib/zstd/compress.c zc->seqStore.matchTable = (ZSTD_match_t *)ptr; ptr 313 lib/zstd/compress.c ptr = zc->seqStore.matchTable + ZSTD_OPT_NUM + 1; ptr 314 lib/zstd/compress.c zc->seqStore.priceTable = (ZSTD_optimal_t *)ptr; ptr 315 lib/zstd/compress.c ptr = zc->seqStore.priceTable + ZSTD_OPT_NUM + 1; ptr 318 lib/zstd/compress.c zc->seqStore.sequencesStart = (seqDef *)ptr; ptr 319 lib/zstd/compress.c ptr = zc->seqStore.sequencesStart + maxNbSeq; ptr 320 lib/zstd/compress.c zc->seqStore.llCode = (BYTE *)ptr; ptr 954 lib/zstd/compress.c ZSTD_STATIC size_t ZSTD_hash3Ptr(const void *ptr, U32 h) { return ZSTD_hash3(ZSTD_readLE32(ptr), h); } /* only in zstd_opt.h */ ptr 958 lib/zstd/compress.c static size_t ZSTD_hash4Ptr(const void *ptr, U32 h) { return ZSTD_hash4(ZSTD_read32(ptr), h); } ptr 40 lib/zstd/decompress.c #define ZSTD_PREFETCH(ptr) __builtin_prefetch(ptr, 0, 0) ptr 429 lib/zstd/fse.h const void *ptr = ct; ptr 430 lib/zstd/fse.h const U16 *u16ptr = (const U16 *)ptr; ptr 431 lib/zstd/fse.h const U32 tableLog = ZSTD_read16(ptr); ptr 483 lib/zstd/fse.h const void *ptr = dt; ptr 484 lib/zstd/fse.h const FSE_DTableHeader *const DTableH = (const FSE_DTableHeader *)ptr; ptr 96 lib/zstd/fse_compress.c void *const ptr = ct; ptr 97 lib/zstd/fse_compress.c U16 *const tableU16 = ((U16 *)ptr) + 2; ptr 98 lib/zstd/fse_compress.c void *const FSCT = ((U32 *)ptr) + 1 /* header */ + (tableLog ? tableSize >> 1 : 1); ptr 671 lib/zstd/fse_compress.c void *const ptr = ct; ptr 672 lib/zstd/fse_compress.c U16 *const tableU16 = ((U16 *)ptr) + 2; ptr 673 lib/zstd/fse_compress.c void *const FSCT = ((U32 *)ptr) + 1 /* header */ + (tableSize >> 1); /* assumption : tableLog >= 1 */ ptr 704 lib/zstd/fse_compress.c void *ptr = ct; ptr 705 lib/zstd/fse_compress.c U16 *tableU16 = ((U16 *)ptr) + 2; ptr 706 lib/zstd/fse_compress.c void *FSCTptr = (U32 *)ptr + 2; ptr 172 lib/zstd/fse_decompress.c void *ptr = dt; ptr 173 lib/zstd/fse_decompress.c FSE_DTableHeader *const DTableH = (FSE_DTableHeader *)ptr; ptr 189 lib/zstd/fse_decompress.c void *ptr = dt; ptr 190 lib/zstd/fse_decompress.c FSE_DTableHeader *const DTableH = (FSE_DTableHeader *)ptr; ptr 284 lib/zstd/fse_decompress.c const void *ptr = dt; ptr 285 lib/zstd/fse_decompress.c const FSE_DTableHeader *DTableH = (const FSE_DTableHeader *)ptr; ptr 166 lib/zstd/huf_decompress.c #define HUF_DECODE_SYMBOLX2_0(ptr, DStreamPtr) *ptr++ = HUF_decodeSymbolX2(DStreamPtr, dt, dtLog) ptr 168 lib/zstd/huf_decompress.c #define HUF_DECODE_SYMBOLX2_1(ptr, DStreamPtr) \ ptr 170 lib/zstd/huf_decompress.c HUF_DECODE_SYMBOLX2_0(ptr, DStreamPtr) ptr 172 lib/zstd/huf_decompress.c #define HUF_DECODE_SYMBOLX2_2(ptr, DStreamPtr) \ ptr 174 lib/zstd/huf_decompress.c HUF_DECODE_SYMBOLX2_0(ptr, DStreamPtr) ptr 620 lib/zstd/huf_decompress.c #define HUF_DECODE_SYMBOLX4_0(ptr, DStreamPtr) ptr += HUF_decodeSymbolX4(ptr, DStreamPtr, dt, dtLog) ptr 622 lib/zstd/huf_decompress.c #define HUF_DECODE_SYMBOLX4_1(ptr, DStreamPtr) \ ptr 624 lib/zstd/huf_decompress.c ptr += HUF_decodeSymbolX4(ptr, DStreamPtr, dt, dtLog) ptr 626 lib/zstd/huf_decompress.c #define HUF_DECODE_SYMBOLX4_2(ptr, DStreamPtr) \ ptr 628 lib/zstd/huf_decompress.c ptr += HUF_decodeSymbolX4(ptr, DStreamPtr, dt, dtLog) ptr 30 lib/zstd/zstd_common.c void *const ptr = ZSTD_PTR_ALIGN((stack)->ptr); \ ptr 31 lib/zstd/zstd_common.c (stack)->ptr = (char *)ptr + (size); \ ptr 32 lib/zstd/zstd_common.c (stack)->ptr <= (stack)->end ? ptr : NULL; \ ptr 45 lib/zstd/zstd_common.c stack->ptr = workspace; ptr 54 lib/zstd/zstd_common.c *size = (BYTE const *)stack->end - (BYTE *)ZSTD_PTR_ALIGN(stack->ptr); ptr 71 lib/zstd/zstd_common.c void ZSTD_free(void *ptr, ZSTD_customMem customMem) ptr 73 lib/zstd/zstd_common.c if (ptr != NULL) ptr 74 lib/zstd/zstd_common.c customMem.customFree(customMem.opaque, ptr); ptr 226 lib/zstd/zstd_internal.h void ZSTD_free(void *ptr, ZSTD_customMem customMem); ptr 231 lib/zstd/zstd_internal.h void *ptr; ptr 509 mm/dmapool.c struct dma_pool **ptr, *pool; ptr 511 mm/dmapool.c ptr = devres_alloc(dmam_pool_release, sizeof(*ptr), GFP_KERNEL); ptr 512 mm/dmapool.c if (!ptr) ptr 515 mm/dmapool.c pool = *ptr = dma_pool_create(name, dev, size, align, allocation); ptr 517 mm/dmapool.c devres_add(dev, ptr); ptr 519 mm/dmapool.c devres_free(ptr); ptr 182 mm/hugetlb_cgroup.c struct hugetlb_cgroup **ptr) ptr 209 mm/hugetlb_cgroup.c *ptr = h_cg; ptr 42 mm/kasan/common.c static inline int in_irqentry_text(unsigned long ptr) ptr 44 mm/kasan/common.c return (ptr >= (unsigned long)&__irqentry_text_start && ptr 45 mm/kasan/common.c ptr < (unsigned long)&__irqentry_text_end) || ptr 46 mm/kasan/common.c (ptr >= (unsigned long)&__softirqentry_text_start && ptr 47 mm/kasan/common.c ptr < (unsigned long)&__softirqentry_text_end); ptr 528 mm/kasan/common.c void * __must_check kasan_kmalloc_large(const void *ptr, size_t size, ptr 538 mm/kasan/common.c if (unlikely(ptr == NULL)) ptr 541 mm/kasan/common.c page = virt_to_page(ptr); ptr 542 mm/kasan/common.c redzone_start = round_up((unsigned long)(ptr + size), ptr 544 mm/kasan/common.c redzone_end = (unsigned long)ptr + page_size(page); ptr 546 mm/kasan/common.c kasan_unpoison_shadow(ptr, size); ptr 550 mm/kasan/common.c return (void *)ptr; ptr 569 mm/kasan/common.c void kasan_poison_kfree(void *ptr, unsigned long ip) ptr 573 mm/kasan/common.c page = virt_to_head_page(ptr); ptr 576 mm/kasan/common.c if (ptr != page_address(page)) { ptr 577 mm/kasan/common.c kasan_report_invalid_free(ptr, ip); ptr 580 mm/kasan/common.c kasan_poison_shadow(ptr, page_size(page), KASAN_FREE_PAGE); ptr 582 mm/kasan/common.c __kasan_slab_free(page->slab_cache, ptr, ip, false); ptr 586 mm/kasan/common.c void kasan_kfree_large(void *ptr, unsigned long ip) ptr 588 mm/kasan/common.c if (ptr != page_address(virt_to_head_page(ptr))) ptr 589 mm/kasan/common.c kasan_report_invalid_free(ptr, ip); ptr 86 mm/kasan/init.c void *ptr = memblock_alloc_try_nid(size, size, __pa(MAX_DMA_ADDRESS), ptr 89 mm/kasan/init.c if (!ptr) ptr 93 mm/kasan/init.c return ptr; ptr 283 mm/kmemleak.c const u8 *ptr = (const u8 *)object->pointer; ptr 292 mm/kmemleak.c HEX_GROUP_SIZE, ptr, len, HEX_ASCII); ptr 349 mm/kmemleak.c void *ptr = (void *)object->trace[i]; ptr 350 mm/kmemleak.c warn_or_seq_printf(seq, " [<%p>] %pS\n", ptr, ptr); ptr 379 mm/kmemleak.c static struct kmemleak_object *lookup_object(unsigned long ptr, int alias) ptr 386 mm/kmemleak.c if (ptr < object->pointer) ptr 388 mm/kmemleak.c else if (object->pointer + object->size <= ptr) ptr 390 mm/kmemleak.c else if (object->pointer == ptr || alias) ptr 394 mm/kmemleak.c ptr); ptr 511 mm/kmemleak.c static struct kmemleak_object *find_and_get_object(unsigned long ptr, int alias) ptr 518 mm/kmemleak.c object = lookup_object(ptr, alias); ptr 544 mm/kmemleak.c static struct kmemleak_object *find_and_remove_object(unsigned long ptr, int alias) ptr 550 mm/kmemleak.c object = lookup_object(ptr, alias); ptr 570 mm/kmemleak.c static struct kmemleak_object *create_object(unsigned long ptr, size_t size, ptr 591 mm/kmemleak.c object->pointer = ptr; ptr 622 mm/kmemleak.c untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); ptr 630 mm/kmemleak.c if (ptr + size <= parent->pointer) ptr 632 mm/kmemleak.c else if (parent->pointer + parent->size <= ptr) ptr 636 mm/kmemleak.c ptr); ptr 680 mm/kmemleak.c static void delete_object_full(unsigned long ptr) ptr 684 mm/kmemleak.c object = find_and_remove_object(ptr, 0); ptr 688 mm/kmemleak.c ptr); ptr 700 mm/kmemleak.c static void delete_object_part(unsigned long ptr, size_t size) ptr 705 mm/kmemleak.c object = find_and_remove_object(ptr, 1); ptr 709 mm/kmemleak.c ptr, size); ptr 721 mm/kmemleak.c if (ptr > start) ptr 722 mm/kmemleak.c create_object(start, ptr - start, object->min_count, ptr 724 mm/kmemleak.c if (ptr + size < end) ptr 725 mm/kmemleak.c create_object(ptr + size, end - ptr - size, object->min_count, ptr 747 mm/kmemleak.c static void paint_ptr(unsigned long ptr, int color) ptr 751 mm/kmemleak.c object = find_and_get_object(ptr, 0); ptr 754 mm/kmemleak.c ptr, ptr 767 mm/kmemleak.c static void make_gray_object(unsigned long ptr) ptr 769 mm/kmemleak.c paint_ptr(ptr, KMEMLEAK_GREY); ptr 776 mm/kmemleak.c static void make_black_object(unsigned long ptr) ptr 778 mm/kmemleak.c paint_ptr(ptr, KMEMLEAK_BLACK); ptr 785 mm/kmemleak.c static void add_scan_area(unsigned long ptr, size_t size, gfp_t gfp) ptr 791 mm/kmemleak.c object = find_and_get_object(ptr, 1); ptr 794 mm/kmemleak.c ptr); ptr 809 mm/kmemleak.c size = object->pointer + object->size - ptr; ptr 810 mm/kmemleak.c } else if (ptr + size > object->pointer + object->size) { ptr 811 mm/kmemleak.c kmemleak_warn("Scan area larger than object 0x%08lx\n", ptr); ptr 818 mm/kmemleak.c area->start = ptr; ptr 833 mm/kmemleak.c static void object_set_excess_ref(unsigned long ptr, unsigned long excess_ref) ptr 838 mm/kmemleak.c object = find_and_get_object(ptr, 0); ptr 841 mm/kmemleak.c ptr); ptr 856 mm/kmemleak.c static void object_no_scan(unsigned long ptr) ptr 861 mm/kmemleak.c object = find_and_get_object(ptr, 0); ptr 863 mm/kmemleak.c kmemleak_warn("Not scanning unknown object at 0x%08lx\n", ptr); ptr 887 mm/kmemleak.c void __ref kmemleak_alloc(const void *ptr, size_t size, int min_count, ptr 890 mm/kmemleak.c pr_debug("%s(0x%p, %zu, %d)\n", __func__, ptr, size, min_count); ptr 892 mm/kmemleak.c if (kmemleak_enabled && ptr && !IS_ERR(ptr)) ptr 893 mm/kmemleak.c create_object((unsigned long)ptr, size, min_count, gfp); ptr 906 mm/kmemleak.c void __ref kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, ptr 911 mm/kmemleak.c pr_debug("%s(0x%p, %zu)\n", __func__, ptr, size); ptr 917 mm/kmemleak.c if (kmemleak_enabled && ptr && !IS_ERR(ptr)) ptr 919 mm/kmemleak.c create_object((unsigned long)per_cpu_ptr(ptr, cpu), ptr 956 mm/kmemleak.c void __ref kmemleak_free(const void *ptr) ptr 958 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 960 mm/kmemleak.c if (kmemleak_free_enabled && ptr && !IS_ERR(ptr)) ptr 961 mm/kmemleak.c delete_object_full((unsigned long)ptr); ptr 974 mm/kmemleak.c void __ref kmemleak_free_part(const void *ptr, size_t size) ptr 976 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 978 mm/kmemleak.c if (kmemleak_enabled && ptr && !IS_ERR(ptr)) ptr 979 mm/kmemleak.c delete_object_part((unsigned long)ptr, size); ptr 990 mm/kmemleak.c void __ref kmemleak_free_percpu(const void __percpu *ptr) ptr 994 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 996 mm/kmemleak.c if (kmemleak_free_enabled && ptr && !IS_ERR(ptr)) ptr 998 mm/kmemleak.c delete_object_full((unsigned long)per_cpu_ptr(ptr, ptr 1010 mm/kmemleak.c void __ref kmemleak_update_trace(const void *ptr) ptr 1015 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 1017 mm/kmemleak.c if (!kmemleak_enabled || IS_ERR_OR_NULL(ptr)) ptr 1020 mm/kmemleak.c object = find_and_get_object((unsigned long)ptr, 1); ptr 1024 mm/kmemleak.c ptr); ptr 1044 mm/kmemleak.c void __ref kmemleak_not_leak(const void *ptr) ptr 1046 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 1048 mm/kmemleak.c if (kmemleak_enabled && ptr && !IS_ERR(ptr)) ptr 1049 mm/kmemleak.c make_gray_object((unsigned long)ptr); ptr 1062 mm/kmemleak.c void __ref kmemleak_ignore(const void *ptr) ptr 1064 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 1066 mm/kmemleak.c if (kmemleak_enabled && ptr && !IS_ERR(ptr)) ptr 1067 mm/kmemleak.c make_black_object((unsigned long)ptr); ptr 1082 mm/kmemleak.c void __ref kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) ptr 1084 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 1086 mm/kmemleak.c if (kmemleak_enabled && ptr && size && !IS_ERR(ptr)) ptr 1087 mm/kmemleak.c add_scan_area((unsigned long)ptr, size, gfp); ptr 1100 mm/kmemleak.c void __ref kmemleak_no_scan(const void *ptr) ptr 1102 mm/kmemleak.c pr_debug("%s(0x%p)\n", __func__, ptr); ptr 1104 mm/kmemleak.c if (kmemleak_enabled && ptr && !IS_ERR(ptr)) ptr 1105 mm/kmemleak.c object_no_scan((unsigned long)ptr); ptr 1230 mm/kmemleak.c unsigned long *ptr; ptr 1237 mm/kmemleak.c for (ptr = start; ptr < end; ptr++) { ptr 1246 mm/kmemleak.c pointer = *ptr; ptr 60 mm/list_lru.c static __always_inline struct mem_cgroup *mem_cgroup_from_kmem(void *ptr) ptr 66 mm/list_lru.c page = virt_to_head_page(ptr); ptr 71 mm/list_lru.c list_lru_from_kmem(struct list_lru_node *nlru, void *ptr, ptr 80 mm/list_lru.c memcg = mem_cgroup_from_kmem(ptr); ptr 116 mm/list_lru.c list_lru_from_kmem(struct list_lru_node *nlru, void *ptr, ptr 1508 mm/memblock.c void *ptr; ptr 1514 mm/memblock.c ptr = memblock_alloc_internal(size, align, ptr 1516 mm/memblock.c if (ptr && size > 0) ptr 1517 mm/memblock.c page_init_poison(ptr, size); ptr 1519 mm/memblock.c return ptr; ptr 1544 mm/memblock.c void *ptr; ptr 1549 mm/memblock.c ptr = memblock_alloc_internal(size, align, ptr 1551 mm/memblock.c if (ptr) ptr 1552 mm/memblock.c memset(ptr, 0, size); ptr 1554 mm/memblock.c return ptr; ptr 111 mm/percpu.c #define __pcpu_ptr_to_addr(ptr) \ ptr 112 mm/percpu.c (void __force *)((unsigned long)(ptr) + \ ptr 119 mm/percpu.c #define __pcpu_ptr_to_addr(ptr) (void __force *)(ptr) ptr 520 mm/percpu.c static void pcpu_mem_free(void *ptr) ptr 522 mm/percpu.c kvfree(ptr); ptr 1598 mm/percpu.c void __percpu *ptr; ptr 1736 mm/percpu.c ptr = __addr_to_pcpu_ptr(chunk->base_addr + off); ptr 1737 mm/percpu.c kmemleak_alloc_percpu(ptr, size, gfp); ptr 1740 mm/percpu.c chunk->base_addr, off, ptr); ptr 1742 mm/percpu.c return ptr; ptr 1955 mm/percpu.c void free_percpu(void __percpu *ptr) ptr 1963 mm/percpu.c if (!ptr) ptr 1966 mm/percpu.c kmemleak_free_percpu(ptr); ptr 1968 mm/percpu.c addr = __pcpu_ptr_to_addr(ptr); ptr 1988 mm/percpu.c trace_percpu_free_percpu(chunk->base_addr, off, ptr); ptr 2125 mm/percpu.c void *ptr; ptr 2132 mm/percpu.c ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE); ptr 2133 mm/percpu.c if (!ptr) ptr 2135 mm/percpu.c ai = ptr; ptr 2136 mm/percpu.c ptr += base_size; ptr 2138 mm/percpu.c ai->groups[0].cpu_map = ptr; ptr 2730 mm/percpu.c void *ptr; ptr 2737 mm/percpu.c ptr = alloc_fn(cpu, gi->nr_units * ai->unit_size, atom_size); ptr 2738 mm/percpu.c if (!ptr) { ptr 2743 mm/percpu.c kmemleak_free(ptr); ptr 2744 mm/percpu.c areas[group] = ptr; ptr 2746 mm/percpu.c base = min(ptr, base); ptr 2747 mm/percpu.c if (ptr > areas[highest_group]) ptr 2771 mm/percpu.c void *ptr = areas[group]; ptr 2773 mm/percpu.c for (i = 0; i < gi->nr_units; i++, ptr += ai->unit_size) { ptr 2776 mm/percpu.c free_fn(ptr, ai->unit_size); ptr 2780 mm/percpu.c memcpy(ptr, __per_cpu_load, ai->static_size); ptr 2781 mm/percpu.c free_fn(ptr + size_sum, ai->unit_size - size_sum); ptr 2870 mm/percpu.c void *ptr; ptr 2872 mm/percpu.c ptr = alloc_fn(cpu, PAGE_SIZE, PAGE_SIZE); ptr 2873 mm/percpu.c if (!ptr) { ptr 2879 mm/percpu.c kmemleak_free(ptr); ptr 2880 mm/percpu.c pages[j++] = virt_to_page(ptr); ptr 2955 mm/percpu.c static void __init pcpu_dfl_fc_free(void *ptr, size_t size) ptr 2957 mm/percpu.c memblock_free_early(__pa(ptr), size); ptr 247 mm/slab.c #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ ptr 249 mm/slab.c MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \ ptr 250 mm/slab.c MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \ ptr 251 mm/slab.c MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \ ptr 1157 mm/slab.c struct kmem_cache_node *ptr; ptr 1159 mm/slab.c ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); ptr 1160 mm/slab.c BUG_ON(!ptr); ptr 1162 mm/slab.c memcpy(ptr, list, sizeof(struct kmem_cache_node)); ptr 1166 mm/slab.c spin_lock_init(&ptr->list_lock); ptr 1168 mm/slab.c MAKE_ALL_LISTS(cachep, ptr, nodeid); ptr 1169 mm/slab.c cachep->node[nodeid] = ptr; ptr 3222 mm/slab.c void *ptr; ptr 3238 mm/slab.c ptr = fallback_alloc(cachep, flags); ptr 3249 mm/slab.c ptr = ____cache_alloc(cachep, flags); ptr 3250 mm/slab.c if (ptr) ptr 3254 mm/slab.c ptr = ____cache_alloc_node(cachep, flags, nodeid); ptr 3257 mm/slab.c ptr = cache_alloc_debugcheck_after(cachep, flags, ptr, caller); ptr 3259 mm/slab.c if (unlikely(slab_want_init_on_alloc(flags, cachep)) && ptr) ptr 3260 mm/slab.c memset(ptr, 0, cachep->object_size); ptr 3262 mm/slab.c slab_post_alloc_hook(cachep, flags, 1, &ptr); ptr 3263 mm/slab.c return ptr; ptr 4167 mm/slab.c void __check_heap_object(const void *ptr, unsigned long n, struct page *page, ptr 4174 mm/slab.c ptr = kasan_reset_tag(ptr); ptr 4178 mm/slab.c objnr = obj_to_index(cachep, page, (void *)ptr); ptr 4182 mm/slab.c offset = ptr - index_to_obj(cachep, page, objnr) - obj_offset(cachep); ptr 249 mm/slub.c static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, ptr 263 mm/slub.c return (void *)((unsigned long)ptr ^ s->random ^ ptr 266 mm/slub.c return ptr; ptr 1388 mm/slub.c static inline void *kmalloc_large_node_hook(void *ptr, size_t size, gfp_t flags) ptr 1390 mm/slub.c ptr = kasan_kmalloc_large(ptr, size, flags); ptr 1392 mm/slub.c kmemleak_alloc(ptr, size, 1, flags); ptr 1393 mm/slub.c return ptr; ptr 3831 mm/slub.c void *ptr = NULL; ptr 3837 mm/slub.c ptr = page_address(page); ptr 3842 mm/slub.c return kmalloc_large_node_hook(ptr, size, flags); ptr 3885 mm/slub.c void __check_heap_object(const void *ptr, unsigned long n, struct page *page, ptr 3892 mm/slub.c ptr = kasan_reset_tag(ptr); ptr 3898 mm/slub.c if (ptr < page_address(page)) ptr 3903 mm/slub.c offset = (ptr - page_address(page)) % s->size; ptr 76 mm/sparse-vmemmap.c void *ptr = sparse_buffer_alloc(size); ptr 78 mm/sparse-vmemmap.c if (!ptr) ptr 79 mm/sparse-vmemmap.c ptr = vmemmap_alloc_block(size, node); ptr 80 mm/sparse-vmemmap.c return ptr; ptr 503 mm/sparse.c void *ptr = NULL; ptr 506 mm/sparse.c ptr = (void *) roundup((unsigned long)sparsemap_buf, size); ptr 507 mm/sparse.c if (ptr + size > sparsemap_buf_end) ptr 508 mm/sparse.c ptr = NULL; ptr 511 mm/sparse.c if ((unsigned long)(ptr - sparsemap_buf) > 0) ptr 512 mm/sparse.c sparse_buffer_free((unsigned long)(ptr - sparsemap_buf)); ptr 513 mm/sparse.c sparsemap_buf = ptr + size; ptr 516 mm/sparse.c return ptr; ptr 103 mm/usercopy.c static bool overlaps(const unsigned long ptr, unsigned long n, ptr 106 mm/usercopy.c const unsigned long check_low = ptr; ptr 117 mm/usercopy.c static inline void check_kernel_text_object(const unsigned long ptr, ptr 124 mm/usercopy.c if (overlaps(ptr, n, textlow, texthigh)) ptr 125 mm/usercopy.c usercopy_abort("kernel text", NULL, to_user, ptr - textlow, n); ptr 142 mm/usercopy.c if (overlaps(ptr, n, textlow_linear, texthigh_linear)) ptr 144 mm/usercopy.c ptr - textlow_linear, n); ptr 147 mm/usercopy.c static inline void check_bogus_address(const unsigned long ptr, unsigned long n, ptr 151 mm/usercopy.c if (ptr + (n - 1) < ptr) ptr 152 mm/usercopy.c usercopy_abort("wrapped address", NULL, to_user, 0, ptr + n); ptr 155 mm/usercopy.c if (ZERO_OR_NULL_PTR(ptr)) ptr 156 mm/usercopy.c usercopy_abort("null address", NULL, to_user, ptr, n); ptr 160 mm/usercopy.c static inline void check_page_span(const void *ptr, unsigned long n, ptr 164 mm/usercopy.c const void *end = ptr + n - 1; ptr 175 mm/usercopy.c if (ptr >= (const void *)__start_rodata && ptr 183 mm/usercopy.c if (ptr >= (const void *)_sdata && end <= (const void *)_edata) ptr 187 mm/usercopy.c if (ptr >= (const void *)__bss_start && ptr 192 mm/usercopy.c if (likely(((unsigned long)ptr & (unsigned long)PAGE_MASK) == ptr 211 mm/usercopy.c for (ptr += PAGE_SIZE; ptr <= end; ptr += PAGE_SIZE) { ptr 212 mm/usercopy.c page = virt_to_head_page(ptr); ptr 223 mm/usercopy.c static inline void check_heap_object(const void *ptr, unsigned long n, ptr 228 mm/usercopy.c if (!virt_addr_valid(ptr)) ptr 236 mm/usercopy.c page = compound_head(kmap_to_page((void *)ptr)); ptr 240 mm/usercopy.c __check_heap_object(ptr, n, page, to_user); ptr 243 mm/usercopy.c check_page_span(ptr, n, page, to_user); ptr 256 mm/usercopy.c void __check_object_size(const void *ptr, unsigned long n, bool to_user) ptr 266 mm/usercopy.c check_bogus_address((const unsigned long)ptr, n, to_user); ptr 269 mm/usercopy.c switch (check_stack_object(ptr, n)) { ptr 286 mm/usercopy.c check_heap_object(ptr, n, to_user); ptr 289 mm/usercopy.c check_kernel_text_object((const unsigned long)ptr, n, to_user); ptr 961 mm/zswap.c static int zswap_is_page_same_filled(void *ptr, unsigned long *value) ptr 966 mm/zswap.c page = (unsigned long *)ptr; ptr 975 mm/zswap.c static void zswap_fill_page(void *ptr, unsigned long value) ptr 979 mm/zswap.c page = (unsigned long *)ptr; ptr 108 net/6lowpan/core.c unsigned long event, void *ptr) ptr 110 net/6lowpan/core.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 362 net/8021q/vlan.c void *ptr) ptr 364 net/8021q/vlan.c struct netlink_ext_ack *extack = netdev_notifier_info_to_extack(ptr); ptr 365 net/8021q/vlan.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 95 net/9p/protocol.c const char *ptr; ptr 98 net/9p/protocol.c for (ptr = fmt; *ptr; ptr++) { ptr 99 net/9p/protocol.c switch (*ptr) { ptr 354 net/9p/protocol.c const char *ptr; ptr 357 net/9p/protocol.c for (ptr = fmt; *ptr; ptr++) { ptr 358 net/9p/protocol.c switch (*ptr) { ptr 328 net/appletalk/aarp.c void *ptr) ptr 330 net/appletalk/aarp.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 639 net/appletalk/ddp.c void *ptr) ptr 641 net/appletalk/ddp.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 546 net/atm/clip.c void *ptr) ptr 548 net/atm/clip.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1000 net/atm/mpc.c unsigned long event, void *ptr) ptr 1002 net/atm/mpc.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 110 net/ax25/af_ax25.c void *ptr) ptr 112 net/ax25/af_ax25.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 329 net/ax25/ax25_out.c unsigned char *ptr; ptr 353 net/ax25/ax25_out.c ptr = skb_push(skb, headroom); ptr 355 net/ax25/ax25_out.c ax25_addr_build(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); ptr 366 net/ax25/ax25_out.c unsigned char *ptr; ptr 370 net/ax25/ax25_out.c ptr = skb_push(skb, 1); ptr 371 net/ax25/ax25_out.c *ptr = 0x00; /* KISS */ ptr 106 net/batman-adv/bat_iv_ogm.c const u8 *ptr; ptr 111 net/batman-adv/bat_iv_ogm.c ptr = lq_recv; ptr 114 net/batman-adv/bat_iv_ogm.c if (*ptr != 0) { ptr 116 net/batman-adv/bat_iv_ogm.c sum += *ptr; ptr 120 net/batman-adv/bat_iv_ogm.c ptr++; ptr 1021 net/batman-adv/hard-interface.c unsigned long event, void *ptr) ptr 1023 net/batman-adv/hard-interface.c struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); ptr 1175 net/bluetooth/6lowpan.c static int lowpan_control_show(struct seq_file *f, void *ptr) ptr 1243 net/bluetooth/6lowpan.c unsigned long event, void *ptr) ptr 1245 net/bluetooth/6lowpan.c struct net_device *netdev = netdev_notifier_info_to_dev(ptr); ptr 1599 net/bluetooth/hci_conn.c char __user *ptr = arg + sizeof(req); ptr 1619 net/bluetooth/hci_conn.c return copy_to_user(ptr, &ci, sizeof(ci)) ? -EFAULT : 0; ptr 1266 net/bluetooth/hci_core.c __u8 __user *ptr = arg; ptr 1273 net/bluetooth/hci_core.c if (copy_from_user(&ir, ptr, sizeof(ir))) ptr 1344 net/bluetooth/hci_core.c if (!copy_to_user(ptr, &ir, sizeof(ir))) { ptr 1345 net/bluetooth/hci_core.c ptr += sizeof(ir); ptr 1346 net/bluetooth/hci_core.c if (copy_to_user(ptr, buf, sizeof(struct inquiry_info) * ptr 76 net/bluetooth/hci_debugfs.c static int __name ## _show(struct seq_file *f, void *ptr) \ ptr 89 net/bluetooth/hci_debugfs.c static int features_show(struct seq_file *f, void *ptr) ptr 106 net/bluetooth/hci_debugfs.c static int device_id_show(struct seq_file *f, void *ptr) ptr 120 net/bluetooth/hci_debugfs.c static int device_list_show(struct seq_file *f, void *ptr) ptr 180 net/bluetooth/hci_debugfs.c static int remote_oob_show(struct seq_file *f, void *ptr) ptr 363 net/bluetooth/hci_debugfs.c static int link_keys_show(struct seq_file *f, void *ptr) ptr 379 net/bluetooth/hci_debugfs.c static int dev_class_show(struct seq_file *f, void *ptr) ptr 713 net/bluetooth/hci_debugfs.c static int white_list_show(struct seq_file *f, void *ptr) ptr 728 net/bluetooth/hci_debugfs.c static int resolv_list_show(struct seq_file *f, void *ptr) ptr 743 net/bluetooth/hci_debugfs.c static int identity_resolving_keys_show(struct seq_file *f, void *ptr) ptr 761 net/bluetooth/hci_debugfs.c static int long_term_keys_show(struct seq_file *f, void *ptr) ptr 5240 net/bluetooth/hci_event.c u8 *ptr, real_len; ptr 5261 net/bluetooth/hci_event.c for (ptr = data; ptr < data + len && *ptr; ptr += *ptr + 1) { ptr 5262 net/bluetooth/hci_event.c if (ptr + 1 + *ptr > data + len) ptr 5266 net/bluetooth/hci_event.c real_len = ptr - data; ptr 5431 net/bluetooth/hci_event.c void *ptr = &skb->data[1]; ptr 5436 net/bluetooth/hci_event.c struct hci_ev_le_advertising_info *ev = ptr; ptr 5448 net/bluetooth/hci_event.c ptr += sizeof(*ev) + ev->length + 1; ptr 5503 net/bluetooth/hci_event.c void *ptr = &skb->data[1]; ptr 5508 net/bluetooth/hci_event.c struct hci_ev_le_ext_adv_report *ev = ptr; ptr 5520 net/bluetooth/hci_event.c ptr += sizeof(*ev) + ev->length; ptr 5706 net/bluetooth/hci_event.c void *ptr = &skb->data[1]; ptr 5711 net/bluetooth/hci_event.c struct hci_ev_le_direct_adv_info *ev = ptr; ptr 5717 net/bluetooth/hci_event.c ptr += sizeof(*ev); ptr 470 net/bluetooth/hci_request.c u8 *ptr = data, *uuids_start = NULL; ptr 474 net/bluetooth/hci_request.c return ptr; ptr 490 net/bluetooth/hci_request.c uuids_start = ptr; ptr 493 net/bluetooth/hci_request.c ptr += 2; ptr 497 net/bluetooth/hci_request.c if ((ptr - data) + sizeof(u16) > len) { ptr 502 net/bluetooth/hci_request.c *ptr++ = (uuid16 & 0x00ff); ptr 503 net/bluetooth/hci_request.c *ptr++ = (uuid16 & 0xff00) >> 8; ptr 507 net/bluetooth/hci_request.c return ptr; ptr 512 net/bluetooth/hci_request.c u8 *ptr = data, *uuids_start = NULL; ptr 516 net/bluetooth/hci_request.c return ptr; ptr 523 net/bluetooth/hci_request.c uuids_start = ptr; ptr 526 net/bluetooth/hci_request.c ptr += 2; ptr 530 net/bluetooth/hci_request.c if ((ptr - data) + sizeof(u32) > len) { ptr 535 net/bluetooth/hci_request.c memcpy(ptr, &uuid->uuid[12], sizeof(u32)); ptr 536 net/bluetooth/hci_request.c ptr += sizeof(u32); ptr 540 net/bluetooth/hci_request.c return ptr; ptr 545 net/bluetooth/hci_request.c u8 *ptr = data, *uuids_start = NULL; ptr 549 net/bluetooth/hci_request.c return ptr; ptr 556 net/bluetooth/hci_request.c uuids_start = ptr; ptr 559 net/bluetooth/hci_request.c ptr += 2; ptr 563 net/bluetooth/hci_request.c if ((ptr - data) + 16 > len) { ptr 568 net/bluetooth/hci_request.c memcpy(ptr, uuid->uuid, 16); ptr 569 net/bluetooth/hci_request.c ptr += 16; ptr 573 net/bluetooth/hci_request.c return ptr; ptr 578 net/bluetooth/hci_request.c u8 *ptr = data; ptr 587 net/bluetooth/hci_request.c ptr[1] = EIR_NAME_SHORT; ptr 589 net/bluetooth/hci_request.c ptr[1] = EIR_NAME_COMPLETE; ptr 592 net/bluetooth/hci_request.c ptr[0] = name_len + 1; ptr 594 net/bluetooth/hci_request.c memcpy(ptr + 2, hdev->dev_name, name_len); ptr 596 net/bluetooth/hci_request.c ptr += (name_len + 2); ptr 600 net/bluetooth/hci_request.c ptr[0] = 2; ptr 601 net/bluetooth/hci_request.c ptr[1] = EIR_TX_POWER; ptr 602 net/bluetooth/hci_request.c ptr[2] = (u8) hdev->inq_tx_power; ptr 604 net/bluetooth/hci_request.c ptr += 3; ptr 608 net/bluetooth/hci_request.c ptr[0] = 9; ptr 609 net/bluetooth/hci_request.c ptr[1] = EIR_DEVICE_ID; ptr 611 net/bluetooth/hci_request.c put_unaligned_le16(hdev->devid_source, ptr + 2); ptr 612 net/bluetooth/hci_request.c put_unaligned_le16(hdev->devid_vendor, ptr + 4); ptr 613 net/bluetooth/hci_request.c put_unaligned_le16(hdev->devid_product, ptr + 6); ptr 614 net/bluetooth/hci_request.c put_unaligned_le16(hdev->devid_version, ptr + 8); ptr 616 net/bluetooth/hci_request.c ptr += 10; ptr 619 net/bluetooth/hci_request.c ptr = create_uuid16_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); ptr 620 net/bluetooth/hci_request.c ptr = create_uuid32_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); ptr 621 net/bluetooth/hci_request.c ptr = create_uuid128_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); ptr 1123 net/bluetooth/hci_request.c u8 append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) ptr 1135 net/bluetooth/hci_request.c return eir_append_data(ptr, ad_len, EIR_NAME_COMPLETE, ptr 1141 net/bluetooth/hci_request.c return eir_append_data(ptr, ad_len, EIR_NAME_SHORT, ptr 1153 net/bluetooth/hci_request.c return eir_append_data(ptr, ad_len, EIR_NAME_SHORT, name, ptr 1160 net/bluetooth/hci_request.c static u8 append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) ptr 1162 net/bluetooth/hci_request.c return eir_append_le16(ptr, ad_len, EIR_APPEARANCE, hdev->appearance); ptr 1165 net/bluetooth/hci_request.c static u8 create_default_scan_rsp_data(struct hci_dev *hdev, u8 *ptr) ptr 1170 net/bluetooth/hci_request.c scan_rsp_len = append_appearance(hdev, ptr, scan_rsp_len); ptr 1173 net/bluetooth/hci_request.c return append_local_name(hdev, ptr, scan_rsp_len); ptr 1177 net/bluetooth/hci_request.c u8 *ptr) ptr 1190 net/bluetooth/hci_request.c scan_rsp_len = append_appearance(hdev, ptr, scan_rsp_len); ptr 1193 net/bluetooth/hci_request.c memcpy(&ptr[scan_rsp_len], adv_instance->scan_rsp_data, ptr 1199 net/bluetooth/hci_request.c scan_rsp_len = append_local_name(hdev, ptr, scan_rsp_len); ptr 1261 net/bluetooth/hci_request.c static u8 create_instance_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr) ptr 1307 net/bluetooth/hci_request.c ptr[0] = 0x02; ptr 1308 net/bluetooth/hci_request.c ptr[1] = EIR_FLAGS; ptr 1309 net/bluetooth/hci_request.c ptr[2] = flags; ptr 1312 net/bluetooth/hci_request.c ptr += 3; ptr 1318 net/bluetooth/hci_request.c memcpy(ptr, adv_instance->adv_data, ptr 1321 net/bluetooth/hci_request.c ptr += adv_instance->adv_data_len; ptr 1338 net/bluetooth/hci_request.c ptr[0] = 0x02; ptr 1339 net/bluetooth/hci_request.c ptr[1] = EIR_TX_POWER; ptr 1340 net/bluetooth/hci_request.c ptr[2] = (u8)adv_tx_power; ptr 1343 net/bluetooth/hci_request.c ptr += 3; ptr 119 net/bluetooth/hci_request.h u8 append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len); ptr 2988 net/bluetooth/l2cap_core.c static inline int l2cap_get_conf_opt(void **ptr, int *type, int *olen, ptr 2991 net/bluetooth/l2cap_core.c struct l2cap_conf_opt *opt = *ptr; ptr 2995 net/bluetooth/l2cap_core.c *ptr += len; ptr 3022 net/bluetooth/l2cap_core.c static void l2cap_add_conf_opt(void **ptr, u8 type, u8 len, unsigned long val, size_t size) ptr 3024 net/bluetooth/l2cap_core.c struct l2cap_conf_opt *opt = *ptr; ptr 3052 net/bluetooth/l2cap_core.c *ptr += L2CAP_CONF_OPT_SIZE + len; ptr 3055 net/bluetooth/l2cap_core.c static void l2cap_add_opt_efs(void **ptr, struct l2cap_chan *chan, size_t size) ptr 3082 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(ptr, L2CAP_CONF_EFS, sizeof(efs), ptr 3233 net/bluetooth/l2cap_core.c void *ptr = req->data; ptr 3259 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_MTU, 2, chan->imtu, endptr - ptr); ptr 3277 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, sizeof(rfc), ptr 3278 net/bluetooth/l2cap_core.c (unsigned long) &rfc, endptr - ptr); ptr 3297 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, sizeof(rfc), ptr 3298 net/bluetooth/l2cap_core.c (unsigned long) &rfc, endptr - ptr); ptr 3301 net/bluetooth/l2cap_core.c l2cap_add_opt_efs(&ptr, chan, endptr - ptr); ptr 3304 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_EWS, 2, ptr 3305 net/bluetooth/l2cap_core.c chan->tx_win, endptr - ptr); ptr 3311 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_FCS, 1, ptr 3312 net/bluetooth/l2cap_core.c chan->fcs, endptr - ptr); ptr 3329 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, sizeof(rfc), ptr 3330 net/bluetooth/l2cap_core.c (unsigned long) &rfc, endptr - ptr); ptr 3333 net/bluetooth/l2cap_core.c l2cap_add_opt_efs(&ptr, chan, endptr - ptr); ptr 3339 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_FCS, 1, ptr 3340 net/bluetooth/l2cap_core.c chan->fcs, endptr - ptr); ptr 3348 net/bluetooth/l2cap_core.c return ptr - data; ptr 3354 net/bluetooth/l2cap_core.c void *ptr = rsp->data; ptr 3428 net/bluetooth/l2cap_core.c *((u8 *) ptr++) = type; ptr 3466 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, sizeof(rfc), ptr 3467 net/bluetooth/l2cap_core.c (unsigned long) &rfc, endptr - ptr); ptr 3480 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_MTU, 2, chan->omtu, endptr - ptr); ptr 3492 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, ptr 3494 net/bluetooth/l2cap_core.c (unsigned long) &efs, endptr - ptr); ptr 3526 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, ptr 3527 net/bluetooth/l2cap_core.c sizeof(rfc), (unsigned long) &rfc, endptr - ptr); ptr 3539 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, ptr 3541 net/bluetooth/l2cap_core.c (unsigned long) &efs, endptr - ptr); ptr 3554 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, sizeof(rfc), ptr 3555 net/bluetooth/l2cap_core.c (unsigned long) &rfc, endptr - ptr); ptr 3573 net/bluetooth/l2cap_core.c return ptr - data; ptr 3580 net/bluetooth/l2cap_core.c void *ptr = req->data; ptr 3603 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_MTU, 2, chan->imtu, ptr 3604 net/bluetooth/l2cap_core.c endptr - ptr); ptr 3611 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_FLUSH_TO, 2, ptr 3612 net/bluetooth/l2cap_core.c chan->flush_to, endptr - ptr); ptr 3623 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_RFC, sizeof(rfc), ptr 3624 net/bluetooth/l2cap_core.c (unsigned long) &rfc, endptr - ptr); ptr 3631 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_EWS, 2, ptr 3632 net/bluetooth/l2cap_core.c chan->tx_win, endptr - ptr); ptr 3643 net/bluetooth/l2cap_core.c l2cap_add_conf_opt(&ptr, L2CAP_CONF_EFS, sizeof(efs), ptr 3644 net/bluetooth/l2cap_core.c (unsigned long) &efs, endptr - ptr); ptr 3691 net/bluetooth/l2cap_core.c return ptr - data; ptr 3698 net/bluetooth/l2cap_core.c void *ptr = rsp->data; ptr 3706 net/bluetooth/l2cap_core.c return ptr - data; ptr 896 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 900 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 905 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 910 net/bluetooth/rfcomm/core.c *ptr = __mcc_type(cr, type); ptr++; ptr 912 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 914 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 922 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 926 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 931 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 935 net/bluetooth/rfcomm/core.c pn = (void *) ptr; ptr += sizeof(*pn); ptr 954 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 956 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 967 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 974 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 979 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 983 net/bluetooth/rfcomm/core.c rpn = (void *) ptr; ptr += sizeof(*rpn); ptr 992 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 994 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 1002 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 1006 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 1011 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 1015 net/bluetooth/rfcomm/core.c rls = (void *) ptr; ptr += sizeof(*rls); ptr 1019 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 1021 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 1029 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 1033 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 1038 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 1042 net/bluetooth/rfcomm/core.c msc = (void *) ptr; ptr += sizeof(*msc); ptr 1046 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 1048 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 1055 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 1059 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 1064 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 1068 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 1070 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 1077 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 1081 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 1086 net/bluetooth/rfcomm/core.c mcc = (void *) ptr; ptr += sizeof(*mcc); ptr 1090 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 1092 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 1130 net/bluetooth/rfcomm/core.c u8 buf[16], *ptr = buf; ptr 1134 net/bluetooth/rfcomm/core.c hdr = (void *) ptr; ptr += sizeof(*hdr); ptr 1139 net/bluetooth/rfcomm/core.c *ptr = credits; ptr++; ptr 1141 net/bluetooth/rfcomm/core.c *ptr = __fcs(buf); ptr++; ptr 1143 net/bluetooth/rfcomm/core.c return rfcomm_send_frame(s, buf, ptr - buf); ptr 28 net/bridge/br.c static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr) ptr 30 net/bridge/br.c struct netlink_ext_ack *extack = netdev_notifier_info_to_extack(ptr); ptr 32 net/bridge/br.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 40 net/bridge/br.c err = br_vlan_bridge_event(dev, event, ptr); ptr 66 net/bridge/br.c prechaddr_info = ptr; ptr 148 net/bridge/br.c unsigned long event, void *ptr) ptr 150 net/bridge/br.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 164 net/bridge/br.c fdb_info = ptr; ptr 175 net/bridge/br.c fdb_info = ptr; ptr 182 net/bridge/br.c fdb_info = ptr; ptr 961 net/bridge/br_netfilter_hooks.c void *ptr) ptr 963 net/bridge/br_netfilter_hooks.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 901 net/bridge/br_private.h void *ptr); ptr 1092 net/bridge/br_private.h unsigned long event, void *ptr) ptr 14 net/bridge/br_vlan.c const void *ptr) ptr 16 net/bridge/br_vlan.c const struct net_bridge_vlan *vle = ptr; ptr 1461 net/bridge/br_vlan.c int br_vlan_bridge_event(struct net_device *dev, unsigned long event, void *ptr) ptr 1479 net/bridge/br_vlan.c info = ptr; ptr 20 net/bridge/br_vlan_tunnel.c const void *ptr) ptr 22 net/bridge/br_vlan_tunnel.c const struct net_bridge_vlan *vle = ptr; ptr 1561 net/bridge/netfilter/ebtables.c compat_uptr_t ptr; ptr 361 net/caif/caif_dev.c void *ptr) ptr 363 net/caif/caif_dev.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 123 net/caif/caif_usb.c void *ptr) ptr 125 net/caif/caif_usb.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 772 net/can/af_can.c void *ptr) ptr 774 net/can/af_can.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1382 net/can/bcm.c void *ptr) ptr 1384 net/can/bcm.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 520 net/can/gw.c unsigned long msg, void *ptr) ptr 522 net/can/gw.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 267 net/can/raw.c unsigned long msg, void *ptr) ptr 269 net/can/raw.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 113 net/compat.c char __user *ptr = (char __user *)cmsg + CMSG_COMPAT_ALIGN(cmsg_len); ptr 114 net/compat.c if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > ptr 117 net/compat.c return (struct compat_cmsghdr __user *)ptr; ptr 1477 net/core/drop_monitor.c unsigned long event, void *ptr) ptr 1479 net/core/drop_monitor.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 186 net/core/failover.c failover_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 188 net/core/failover.c struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); ptr 1191 net/core/fib_rules.c void *ptr) ptr 1193 net/core/fib_rules.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 181 net/core/filter.c u8 tmp, *ptr; ptr 190 net/core/filter.c ptr = bpf_internal_load_pointer_neg_helper(skb, offset, len); ptr 191 net/core/filter.c if (likely(ptr)) ptr 192 net/core/filter.c return *(u8 *)ptr; ptr 208 net/core/filter.c u16 tmp, *ptr; ptr 217 net/core/filter.c ptr = bpf_internal_load_pointer_neg_helper(skb, offset, len); ptr 218 net/core/filter.c if (likely(ptr)) ptr 219 net/core/filter.c return get_unaligned_be16(ptr); ptr 235 net/core/filter.c u32 tmp, *ptr; ptr 244 net/core/filter.c ptr = bpf_internal_load_pointer_neg_helper(skb, offset, len); ptr 245 net/core/filter.c if (likely(ptr)) ptr 246 net/core/filter.c return get_unaligned_be32(ptr); ptr 1667 net/core/filter.c void *ptr; ptr 1676 net/core/filter.c ptr = skb->data + offset; ptr 1678 net/core/filter.c __skb_postpull_rcsum(skb, ptr, len, offset); ptr 1680 net/core/filter.c memcpy(ptr, from, len); ptr 1683 net/core/filter.c __skb_postpush_rcsum(skb, ptr, len, offset); ptr 1704 net/core/filter.c void *ptr; ptr 1709 net/core/filter.c ptr = skb_header_pointer(skb, offset, len, to); ptr 1710 net/core/filter.c if (unlikely(!ptr)) ptr 1712 net/core/filter.c if (ptr != to) ptr 1713 net/core/filter.c memcpy(to, ptr, len); ptr 1735 net/core/filter.c void *ptr; ptr 1743 net/core/filter.c ptr = skb_header_pointer(ctx->skb, offset, len, to); ptr 1744 net/core/filter.c if (unlikely(!ptr)) ptr 1746 net/core/filter.c if (ptr != to) ptr 1747 net/core/filter.c memcpy(to, ptr, len); ptr 1771 net/core/filter.c u8 *ptr; ptr 1778 net/core/filter.c ptr = mac + offset; ptr 1781 net/core/filter.c ptr = net + offset; ptr 1787 net/core/filter.c if (likely(ptr >= mac && ptr + len <= end)) { ptr 1788 net/core/filter.c memcpy(to, ptr, len); ptr 1876 net/core/filter.c __sum16 *ptr; ptr 1882 net/core/filter.c if (unlikely(bpf_try_make_writable(skb, offset + sizeof(*ptr)))) ptr 1885 net/core/filter.c ptr = (__sum16 *)(skb->data + offset); ptr 1891 net/core/filter.c csum_replace_by_diff(ptr, to); ptr 1894 net/core/filter.c csum_replace2(ptr, from, to); ptr 1897 net/core/filter.c csum_replace4(ptr, from, to); ptr 1923 net/core/filter.c __sum16 *ptr; ptr 1930 net/core/filter.c if (unlikely(bpf_try_make_writable(skb, offset + sizeof(*ptr)))) ptr 1933 net/core/filter.c ptr = (__sum16 *)(skb->data + offset); ptr 1934 net/core/filter.c if (is_mmzero && !do_mforce && !*ptr) ptr 1942 net/core/filter.c inet_proto_csum_replace_by_diff(ptr, skb, to, is_pseudo); ptr 1945 net/core/filter.c inet_proto_csum_replace2(ptr, skb, from, to, is_pseudo); ptr 1948 net/core/filter.c inet_proto_csum_replace4(ptr, skb, from, to, is_pseudo); ptr 1954 net/core/filter.c if (is_mmzero && !*ptr) ptr 1955 net/core/filter.c *ptr = CSUM_MANGLED_0; ptr 3786 net/core/filter.c void *ptr = skb_header_pointer(skb, off, len, dst_buff); ptr 3788 net/core/filter.c if (unlikely(!ptr)) ptr 3790 net/core/filter.c if (ptr != dst_buff) ptr 3791 net/core/filter.c memcpy(dst_buff, ptr, len); ptr 5022 net/core/filter.c void *srh_tlvs, *srh_end, *ptr; ptr 5031 net/core/filter.c ptr = skb->data + offset; ptr 5032 net/core/filter.c if (ptr >= srh_tlvs && ptr + len <= srh_end) ptr 5034 net/core/filter.c else if (ptr < (void *)&srh->flags || ptr 5035 net/core/filter.c ptr + len > (void *)&srh->segments) ptr 5152 net/core/filter.c void *srh_end, *srh_tlvs, *ptr; ptr 5164 net/core/filter.c ptr = skb->data + offset; ptr 5166 net/core/filter.c if (unlikely(ptr < srh_tlvs || ptr > srh_end)) ptr 5168 net/core/filter.c if (unlikely(len < 0 && (void *)((char *)ptr - len) > srh_end)) ptr 75 net/core/net_namespace.c unsigned int generic_size = offsetof(struct net_generic, ptr[max_gen_ptrs]); ptr 93 net/core/net_namespace.c old_ng->ptr[id] = data; ptr 112 net/core/net_namespace.c memcpy(&ng->ptr[MIN_PERNET_OPS_ID], &old_ng->ptr[MIN_PERNET_OPS_ID], ptr 114 net/core/net_namespace.c ng->ptr[id] = data; ptr 272 net/core/netprio_cgroup.c unsigned long event, void *ptr) ptr 274 net/core/netprio_cgroup.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1942 net/core/pktgen.c unsigned long event, void *ptr) ptr 1944 net/core/pktgen.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 5287 net/core/rtnetlink.c static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 5289 net/core/rtnetlink.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 200 net/core/sysctl_net_core.c unsigned int old, *ptr; ptr 205 net/core/sysctl_net_core.c ptr = table->data; ptr 206 net/core/sysctl_net_core.c old = *ptr; ptr 208 net/core/sysctl_net_core.c if (!ret && write && !is_power_of_2(*ptr)) { ptr 209 net/core/sysctl_net_core.c *ptr = old; ptr 47 net/core/xdp.c const void *ptr) ptr 49 net/core/xdp.c const struct xdp_mem_allocator *xa = ptr; ptr 295 net/core/xdp.c void *ptr; ptr 339 net/core/xdp.c ptr = rhashtable_insert_slow(mem_id_ht, &id, &xdp_alloc->node); ptr 340 net/core/xdp.c if (IS_ERR(ptr)) { ptr 343 net/core/xdp.c errno = PTR_ERR(ptr); ptr 134 net/dccp/ackvec.c u16 ptr = av->av_buf_head; ptr 141 net/dccp/ackvec.c u8 runlen = dccp_ackvec_runlen(av->av_buf + ptr); ptr 159 net/dccp/ackvec.c if (av->av_buf[ptr] == DCCPAV_NOT_RECEIVED) ptr 160 net/dccp/ackvec.c av->av_buf[ptr] = state; ptr 168 net/dccp/ackvec.c ptr = __ackvec_idx_add(ptr, 1); ptr 170 net/dccp/ackvec.c } while (ptr != av->av_buf_tail); ptr 634 net/dccp/feat.c u8 opt, type, len, *ptr, nn_in_nbo[DCCP_OPTVAL_MAXLEN]; ptr 645 net/dccp/feat.c ptr = NULL; ptr 649 net/dccp/feat.c ptr = pos->val.sp.vec; ptr 653 net/dccp/feat.c ptr = nn_in_nbo; ptr 654 net/dccp/feat.c dccp_encode_value_var(pos->val.nn, ptr, len); ptr 660 net/dccp/feat.c dccp_feat_print_opt(opt, pos->feat_num, ptr, len, 0); ptr 662 net/dccp/feat.c if (dccp_insert_fn_opt(skb, opt, pos->feat_num, ptr, len, rpt)) ptr 319 net/dccp/options.c unsigned char *ptr; ptr 328 net/dccp/options.c ptr = skb_push(skb, len); ptr 329 net/dccp/options.c *ptr++ = DCCPO_NDP_COUNT; ptr 330 net/dccp/options.c *ptr++ = len; ptr 331 net/dccp/options.c dccp_encode_value_var(ndp, ptr, ndp_len); ptr 1003 net/decnet/af_decnet.c unsigned char *ptr = skb->data; ptr 1005 net/decnet/af_decnet.c acc->acc_userl = *ptr++; ptr 1006 net/decnet/af_decnet.c memcpy(&acc->acc_user, ptr, acc->acc_userl); ptr 1007 net/decnet/af_decnet.c ptr += acc->acc_userl; ptr 1009 net/decnet/af_decnet.c acc->acc_passl = *ptr++; ptr 1010 net/decnet/af_decnet.c memcpy(&acc->acc_pass, ptr, acc->acc_passl); ptr 1011 net/decnet/af_decnet.c ptr += acc->acc_passl; ptr 1013 net/decnet/af_decnet.c acc->acc_accl = *ptr++; ptr 1014 net/decnet/af_decnet.c memcpy(&acc->acc_acc, ptr, acc->acc_accl); ptr 1022 net/decnet/af_decnet.c unsigned char *ptr = skb->data; ptr 1023 net/decnet/af_decnet.c u16 len = *ptr++; /* yes, it's 8bit on the wire */ ptr 1028 net/decnet/af_decnet.c memcpy(opt->opt_data, ptr, len); ptr 2080 net/decnet/af_decnet.c void *ptr) ptr 2082 net/decnet/af_decnet.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 913 net/decnet/dn_dev.c unsigned char *ptr; ptr 933 net/decnet/dn_dev.c ptr = skb_put(skb, size); ptr 935 net/decnet/dn_dev.c *ptr++ = DN_RT_PKT_CNTL | DN_RT_PKT_ERTH; ptr 936 net/decnet/dn_dev.c *ptr++ = 2; /* ECO */ ptr 937 net/decnet/dn_dev.c *ptr++ = 0; ptr 938 net/decnet/dn_dev.c *ptr++ = 0; ptr 939 net/decnet/dn_dev.c dn_dn2eth(ptr, ifa->ifa_local); ptr 940 net/decnet/dn_dev.c src = ptr; ptr 941 net/decnet/dn_dev.c ptr += ETH_ALEN; ptr 942 net/decnet/dn_dev.c *ptr++ = dn_db->parms.forwarding == 1 ? ptr 944 net/decnet/dn_dev.c *((__le16 *)ptr) = cpu_to_le16(mtu2blksize(dev)); ptr 945 net/decnet/dn_dev.c ptr += 2; ptr 946 net/decnet/dn_dev.c *ptr++ = dn_db->parms.priority; /* Priority */ ptr 947 net/decnet/dn_dev.c *ptr++ = 0; /* Area: Reserved */ ptr 948 net/decnet/dn_dev.c *((__le16 *)ptr) = cpu_to_le16((unsigned short)dn_db->parms.t3); ptr 949 net/decnet/dn_dev.c ptr += 2; ptr 950 net/decnet/dn_dev.c *ptr++ = 0; /* MPD: Reserved */ ptr 951 net/decnet/dn_dev.c i1 = ptr++; ptr 952 net/decnet/dn_dev.c memset(ptr, 0, 7); /* Name: Reserved */ ptr 953 net/decnet/dn_dev.c ptr += 7; ptr 954 net/decnet/dn_dev.c i2 = ptr++; ptr 956 net/decnet/dn_dev.c n = dn_neigh_elist(dev, ptr, n); ptr 994 net/decnet/dn_dev.c unsigned char *ptr; ptr 1002 net/decnet/dn_dev.c ptr = skb_put(skb, 2 + 4 + tdlen); ptr 1004 net/decnet/dn_dev.c *ptr++ = DN_RT_PKT_HELO; ptr 1005 net/decnet/dn_dev.c *((__le16 *)ptr) = ifa->ifa_local; ptr 1006 net/decnet/dn_dev.c ptr += 2; ptr 1007 net/decnet/dn_dev.c *ptr++ = tdlen; ptr 1010 net/decnet/dn_dev.c *ptr++ = 0252; ptr 675 net/decnet/dn_fib.c static int dn_fib_dnaddr_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 677 net/decnet/dn_fib.c struct dn_ifaddr *ifa = (struct dn_ifaddr *)ptr; ptr 501 net/decnet/dn_neigh.c unsigned char *ptr; ptr 519 net/decnet/dn_neigh.c s->rs = dn_find_slot(s->ptr, s->n, dn->priority); ptr 532 net/decnet/dn_neigh.c int dn_neigh_elist(struct net_device *dev, unsigned char *ptr, int n) ptr 539 net/decnet/dn_neigh.c state.ptr = ptr; ptr 540 net/decnet/dn_neigh.c state.rs = ptr; ptr 130 net/decnet/dn_nsp_in.c __le16 *ptr = (__le16 *)skb->data; ptr 137 net/decnet/dn_nsp_in.c if ((ack = le16_to_cpu(*ptr)) & 0x8000) { ptr 139 net/decnet/dn_nsp_in.c ptr++; ptr 151 net/decnet/dn_nsp_in.c if ((ack = le16_to_cpu(*ptr)) & 0x8000) { ptr 176 net/decnet/dn_nsp_in.c unsigned char *ptr = *pptr; ptr 177 net/decnet/dn_nsp_in.c unsigned char flen = *ptr++; ptr 186 net/decnet/dn_nsp_in.c *pptr = ptr + flen; ptr 226 net/decnet/dn_nsp_in.c unsigned char *ptr; ptr 249 net/decnet/dn_nsp_in.c ptr = skb->data; ptr 254 net/decnet/dn_nsp_in.c dstlen = dn_username2sockaddr(ptr, len, &dstaddr, &type); ptr 264 net/decnet/dn_nsp_in.c ptr += dstlen; ptr 269 net/decnet/dn_nsp_in.c srclen = dn_username2sockaddr(ptr, len, &srcaddr, &type); ptr 275 net/decnet/dn_nsp_in.c ptr += srclen; ptr 280 net/decnet/dn_nsp_in.c menuver = *ptr; ptr 281 net/decnet/dn_nsp_in.c ptr++; ptr 296 net/decnet/dn_nsp_in.c if (dn_check_idf(&ptr, &len, 39, 1)) ptr 298 net/decnet/dn_nsp_in.c if (dn_check_idf(&ptr, &len, 39, 1)) ptr 300 net/decnet/dn_nsp_in.c if (dn_check_idf(&ptr, &len, 39, (menuver & DN_MENUVER_USR) ? 1 : 0)) ptr 309 net/decnet/dn_nsp_in.c if (dn_check_idf(&ptr, &len, 16, 0)) ptr 340 net/decnet/dn_nsp_in.c unsigned char *ptr; ptr 345 net/decnet/dn_nsp_in.c ptr = skb->data; ptr 346 net/decnet/dn_nsp_in.c cb->services = *ptr++; ptr 347 net/decnet/dn_nsp_in.c cb->info = *ptr++; ptr 348 net/decnet/dn_nsp_in.c cb->segsize = le16_to_cpu(*(__le16 *)ptr); ptr 511 net/decnet/dn_nsp_in.c char *ptr = skb->data; ptr 517 net/decnet/dn_nsp_in.c segnum = le16_to_cpu(*(__le16 *)ptr); ptr 518 net/decnet/dn_nsp_in.c ptr += 2; ptr 519 net/decnet/dn_nsp_in.c lsflags = *(unsigned char *)ptr++; ptr 520 net/decnet/dn_nsp_in.c fcval = *ptr; ptr 715 net/decnet/dn_nsp_in.c unsigned char *ptr = (unsigned char *)skb->data; ptr 722 net/decnet/dn_nsp_in.c cb->nsp_flags = *ptr++; ptr 754 net/decnet/dn_nsp_in.c cb->dst_port = *(__le16 *)ptr; ptr 756 net/decnet/dn_nsp_in.c ptr += 2; ptr 762 net/decnet/dn_nsp_in.c cb->src_port = *(__le16 *)ptr; ptr 763 net/decnet/dn_nsp_in.c ptr += 2; ptr 281 net/decnet/dn_nsp_out.c unsigned char *ptr = skb_push(skb, len); ptr 285 net/decnet/dn_nsp_out.c *ptr++ = msgflag; ptr 286 net/decnet/dn_nsp_out.c *((__le16 *)ptr) = scp->addrrem; ptr 287 net/decnet/dn_nsp_out.c ptr += 2; ptr 288 net/decnet/dn_nsp_out.c *((__le16 *)ptr) = scp->addrloc; ptr 289 net/decnet/dn_nsp_out.c ptr += 2; ptr 290 net/decnet/dn_nsp_out.c return (__le16 __force *)ptr; ptr 298 net/decnet/dn_nsp_out.c __le16 *ptr; ptr 314 net/decnet/dn_nsp_out.c ptr = dn_mk_common_header(scp, skb, msgflag, hlen); ptr 316 net/decnet/dn_nsp_out.c *ptr++ = cpu_to_le16(acknum); ptr 317 net/decnet/dn_nsp_out.c *ptr++ = cpu_to_le16(ackcrs); ptr 319 net/decnet/dn_nsp_out.c return ptr; ptr 326 net/decnet/dn_nsp_out.c __le16 *ptr = dn_mk_ack_header(sk, skb, cb->nsp_flags, 11, oth); ptr 335 net/decnet/dn_nsp_out.c *(ptr++) = cpu_to_le16(cb->segnum); ptr 337 net/decnet/dn_nsp_out.c return ptr; ptr 600 net/decnet/dn_nsp_out.c unsigned char *ptr; ptr 607 net/decnet/dn_nsp_out.c ptr = skb_put(skb, 2); ptr 609 net/decnet/dn_nsp_out.c *ptr++ = lsflags; ptr 610 net/decnet/dn_nsp_out.c *ptr = fcval; ptr 421 net/decnet/dn_route.c unsigned char *ptr; ptr 433 net/decnet/dn_route.c ptr = skb->data + 2; ptr 434 net/decnet/dn_route.c *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; ptr 436 net/decnet/dn_route.c dst = (__le16 *)ptr; ptr 437 net/decnet/dn_route.c ptr += 2; ptr 438 net/decnet/dn_route.c src = (__le16 *)ptr; ptr 439 net/decnet/dn_route.c ptr += 2; ptr 440 net/decnet/dn_route.c *ptr = 0; /* Zero hop count */ ptr 457 net/decnet/dn_route.c unsigned char *ptr; ptr 469 net/decnet/dn_route.c ptr = skb->data + 2; ptr 472 net/decnet/dn_route.c if (*ptr & DN_RT_F_PF) { ptr 473 net/decnet/dn_route.c char padlen = (*ptr & ~DN_RT_F_PF); ptr 474 net/decnet/dn_route.c ptr += padlen; ptr 477 net/decnet/dn_route.c *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; ptr 478 net/decnet/dn_route.c ptr += 2; ptr 479 net/decnet/dn_route.c dst_addr = ptr; ptr 480 net/decnet/dn_route.c ptr += 8; ptr 481 net/decnet/dn_route.c src_addr = ptr; ptr 482 net/decnet/dn_route.c ptr += 6; ptr 483 net/decnet/dn_route.c *ptr = 0; /* Zero hop count */ ptr 536 net/decnet/dn_route.c unsigned char *ptr = skb->data; ptr 545 net/decnet/dn_route.c ptr += 2; ptr 546 net/decnet/dn_route.c cb->dst = dn_eth2dn(ptr); ptr 547 net/decnet/dn_route.c if (memcmp(ptr, dn_hiord_addr, 4) != 0) ptr 549 net/decnet/dn_route.c ptr += 6; ptr 553 net/decnet/dn_route.c ptr += 2; ptr 554 net/decnet/dn_route.c cb->src = dn_eth2dn(ptr); ptr 555 net/decnet/dn_route.c if (memcmp(ptr, dn_hiord_addr, 4) != 0) ptr 557 net/decnet/dn_route.c ptr += 6; ptr 559 net/decnet/dn_route.c ptr++; ptr 560 net/decnet/dn_route.c cb->hops = *ptr++; /* Visit Count */ ptr 576 net/decnet/dn_route.c unsigned char *ptr = skb->data; ptr 584 net/decnet/dn_route.c cb->dst = *(__le16 *)ptr; ptr 585 net/decnet/dn_route.c ptr += 2; ptr 586 net/decnet/dn_route.c cb->src = *(__le16 *)ptr; ptr 587 net/decnet/dn_route.c ptr += 2; ptr 588 net/decnet/dn_route.c cb->hops = *ptr & 0x3f; ptr 37 net/decnet/netfilter/dn_rtmsg.c unsigned char *ptr; ptr 56 net/decnet/netfilter/dn_rtmsg.c ptr = NFDN_RTMSG(rtm); ptr 57 net/decnet/netfilter/dn_rtmsg.c skb_copy_from_linear_data(rt_skb, ptr, rt_skb->len); ptr 1546 net/dsa/slave.c unsigned long event, void *ptr) ptr 1548 net/dsa/slave.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1552 net/dsa/slave.c return dsa_slave_upper_vlan_check(dev, ptr); ptr 1554 net/dsa/slave.c return dsa_slave_changeupper(dev, ptr); ptr 1630 net/dsa/slave.c unsigned long event, void *ptr) ptr 1632 net/dsa/slave.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 1637 net/dsa/slave.c err = switchdev_handle_port_attr_set(dev, ptr, ptr 1658 net/dsa/slave.c if (dsa_slave_switchdev_fdb_work_init(switchdev_work, ptr)) ptr 1676 net/dsa/slave.c unsigned long event, void *ptr) ptr 1678 net/dsa/slave.c struct net_device *dev = switchdev_notifier_info_to_dev(ptr); ptr 1683 net/dsa/slave.c err = switchdev_handle_port_obj_add(dev, ptr, ptr 1688 net/dsa/slave.c err = switchdev_handle_port_obj_del(dev, ptr, ptr 1693 net/dsa/slave.c err = switchdev_handle_port_attr_set(dev, ptr, ptr 19 net/hsr/hsr_main.c void *ptr) ptr 27 net/hsr/hsr_main.c dev = netdev_notifier_info_to_dev(ptr); ptr 206 net/ieee802154/6lowpan/core.c unsigned long event, void *ptr) ptr 208 net/ieee802154/6lowpan/core.c struct net_device *ndev = netdev_notifier_info_to_dev(ptr); ptr 499 net/ieee802154/6lowpan/reassembly.c static int lowpan_obj_cmpfn(struct rhashtable_compare_arg *arg, const void *ptr) ptr 502 net/ieee802154/6lowpan/reassembly.c const struct inet_frag_queue *fq = ptr; ptr 256 net/ieee802154/core.c unsigned long state, void *ptr) ptr 258 net/ieee802154/core.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1240 net/ipv4/arp.c void *ptr) ptr 1242 net/ipv4/arp.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1251 net/ipv4/arp.c change_info = ptr; ptr 1522 net/ipv4/devinet.c void *ptr) ptr 1524 net/ipv4/devinet.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1421 net/ipv4/fib_frontend.c static int fib_inetaddr_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 1423 net/ipv4/fib_frontend.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 1452 net/ipv4/fib_frontend.c static int fib_netdev_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 1454 net/ipv4/fib_frontend.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1455 net/ipv4/fib_frontend.c struct netdev_notifier_changeupper_info *upper_info = ptr; ptr 1456 net/ipv4/fib_frontend.c struct netdev_notifier_info_ext *info_ext = ptr; ptr 1499 net/ipv4/fib_frontend.c upper_info = ptr; ptr 3048 net/ipv4/igmp.c unsigned long event, void *ptr) ptr 3050 net/ipv4/igmp.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 128 net/ipv4/inet_fragment.c static void inet_frags_free_cb(void *ptr, void *arg) ptr 130 net/ipv4/inet_fragment.c struct inet_frag_queue *fq = ptr; ptr 721 net/ipv4/ip_fragment.c static int ip4_obj_cmpfn(struct rhashtable_compare_arg *arg, const void *ptr) ptr 724 net/ipv4/ip_fragment.c const struct inet_frag_queue *fq = ptr; ptr 659 net/ipv4/ip_output.c state->ptr = hlen; /* Where to start from */ ptr 730 net/ipv4/ip_output.c if (skb_copy_bits(skb, state->ptr, skb_transport_header(skb2), len)) ptr 748 net/ipv4/ip_output.c state->ptr += len; ptr 357 net/ipv4/ipmr.c const void *ptr) ptr 360 net/ipv4/ipmr.c struct mfc_cache *c = (struct mfc_cache *)ptr; ptr 1744 net/ipv4/ipmr.c static int ipmr_device_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 1746 net/ipv4/ipmr.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 189 net/ipv4/netfilter/ipt_CLUSTERIP.c void *ptr) ptr 191 net/ipv4/netfilter/ipt_CLUSTERIP.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1784 net/ipv4/nexthop.c unsigned long event, void *ptr) ptr 1786 net/ipv4/nexthop.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1799 net/ipv4/nexthop.c info_ext = ptr; ptr 342 net/ipv4/proc.c atomic_long_t *ptr = net->mib.icmpmsg_statistics->mibs; ptr 356 net/ipv4/proc.c atomic_long_read(ptr + icmpmibmap[i].index)); ptr 362 net/ipv4/proc.c atomic_long_read(ptr + (icmpmibmap[i].index | 0x100))); ptr 1663 net/ipv4/tcp_input.c const unsigned char *ptr = (skb_transport_header(ack_skb) + ptr 1665 net/ipv4/tcp_input.c struct tcp_sack_block_wire *sp_wire = (struct tcp_sack_block_wire *)(ptr+2); ptr 1669 net/ipv4/tcp_input.c int num_sacks = min(TCP_NUM_SACKS, (ptr[1] - TCPOLEN_SACK_BASE) >> 3); ptr 3779 net/ipv4/tcp_input.c const unsigned char *ptr, ptr 3786 net/ipv4/tcp_input.c get_unaligned_be32(ptr) == TCPOPT_SMC_MAGIC) ptr 3797 net/ipv4/tcp_input.c const unsigned char *ptr = (const unsigned char *)(th + 1); ptr 3802 net/ipv4/tcp_input.c int opcode = *ptr++; ptr 3814 net/ipv4/tcp_input.c opsize = *ptr++; ptr 3820 net/ipv4/tcp_input.c u16 in_mss = get_unaligned_be16(ptr); ptr 3828 net/ipv4/tcp_input.c ptr += opsize - 2; ptr 3844 net/ipv4/tcp_input.c const unsigned char *ptr; ptr 3848 net/ipv4/tcp_input.c ptr = (const unsigned char *)(th + 1); ptr 3852 net/ipv4/tcp_input.c int opcode = *ptr++; ptr 3864 net/ipv4/tcp_input.c opsize = *ptr++; ptr 3872 net/ipv4/tcp_input.c u16 in_mss = get_unaligned_be16(ptr); ptr 3884 net/ipv4/tcp_input.c __u8 snd_wscale = *(__u8 *)ptr; ptr 3901 net/ipv4/tcp_input.c opt_rx->rcv_tsval = get_unaligned_be32(ptr); ptr 3902 net/ipv4/tcp_input.c opt_rx->rcv_tsecr = get_unaligned_be32(ptr + 4); ptr 3917 net/ipv4/tcp_input.c TCP_SKB_CB(skb)->sacked = (ptr - 2) - (unsigned char *)th; ptr 3931 net/ipv4/tcp_input.c ptr, th->syn, foc, false); ptr 3939 net/ipv4/tcp_input.c get_unaligned_be16(ptr) == ptr 3943 net/ipv4/tcp_input.c ptr + 2, th->syn, foc, true); ptr 3945 net/ipv4/tcp_input.c smc_parse_options(th, opt_rx, ptr, ptr 3950 net/ipv4/tcp_input.c ptr += opsize-2; ptr 3959 net/ipv4/tcp_input.c const __be32 *ptr = (const __be32 *)(th + 1); ptr 3961 net/ipv4/tcp_input.c if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) ptr 3964 net/ipv4/tcp_input.c ++ptr; ptr 3965 net/ipv4/tcp_input.c tp->rx_opt.rcv_tsval = ntohl(*ptr); ptr 3966 net/ipv4/tcp_input.c ++ptr; ptr 3967 net/ipv4/tcp_input.c if (*ptr) ptr 3968 net/ipv4/tcp_input.c tp->rx_opt.rcv_tsecr = ntohl(*ptr) - tp->tsoffset; ptr 4009 net/ipv4/tcp_input.c const u8 *ptr = (const u8 *)(th + 1); ptr 4013 net/ipv4/tcp_input.c int opcode = *ptr++; ptr 4023 net/ipv4/tcp_input.c opsize = *ptr++; ptr 4027 net/ipv4/tcp_input.c return opsize == TCPOLEN_MD5SIG ? ptr : NULL; ptr 4029 net/ipv4/tcp_input.c ptr += opsize - 2; ptr 5311 net/ipv4/tcp_input.c u32 ptr = ntohs(th->urg_ptr); ptr 5313 net/ipv4/tcp_input.c if (ptr && !sock_net(sk)->ipv4.sysctl_tcp_stdurg) ptr 5314 net/ipv4/tcp_input.c ptr--; ptr 5315 net/ipv4/tcp_input.c ptr += ntohl(th->seq); ptr 5318 net/ipv4/tcp_input.c if (after(tp->copied_seq, ptr)) ptr 5331 net/ipv4/tcp_input.c if (before(ptr, tp->rcv_nxt)) ptr 5335 net/ipv4/tcp_input.c if (tp->urg_data && !after(ptr, tp->urg_seq)) ptr 5367 net/ipv4/tcp_input.c WRITE_ONCE(tp->urg_seq, ptr); ptr 5384 net/ipv4/tcp_input.c u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - ptr 5388 net/ipv4/tcp_input.c if (ptr < skb->len) { ptr 5390 net/ipv4/tcp_input.c if (skb_copy_bits(skb, ptr, &tmp, 1)) ptr 418 net/ipv4/tcp_output.c static void smc_options_write(__be32 *ptr, u16 *options) ptr 423 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 427 net/ipv4/tcp_output.c *ptr++ = htonl(TCPOPT_SMC_MAGIC); ptr 457 net/ipv4/tcp_output.c static void tcp_options_write(__be32 *ptr, struct tcp_sock *tp, ptr 463 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | ptr 466 net/ipv4/tcp_output.c opts->hash_location = (__u8 *)ptr; ptr 467 net/ipv4/tcp_output.c ptr += 4; ptr 471 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_MSS << 24) | ptr 478 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_SACK_PERM << 24) | ptr 484 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 489 net/ipv4/tcp_output.c *ptr++ = htonl(opts->tsval); ptr 490 net/ipv4/tcp_output.c *ptr++ = htonl(opts->tsecr); ptr 494 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 501 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 512 net/ipv4/tcp_output.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 520 net/ipv4/tcp_output.c *ptr++ = htonl(sp[this_sack].start_seq); ptr 521 net/ipv4/tcp_output.c *ptr++ = htonl(sp[this_sack].end_seq); ptr 529 net/ipv4/tcp_output.c u8 *p = (u8 *)ptr; ptr 534 net/ipv4/tcp_output.c *ptr = htonl((TCPOPT_EXP << 24) | (len << 16) | ptr 548 net/ipv4/tcp_output.c ptr += (len + 3) >> 2; ptr 551 net/ipv4/tcp_output.c smc_options_write(ptr, &options); ptr 1432 net/ipv4/udp.c static spinlock_t *busylock_acquire(void *ptr) ptr 1436 net/ipv4/udp.c busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); ptr 3488 net/ipv6/addrconf.c void *ptr) ptr 3490 net/ipv6/addrconf.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 3574 net/ipv6/addrconf.c change_info = ptr; ptr 3668 net/ipv6/addrconf.c info = ptr; ptr 623 net/ipv6/datagram.c u8 *ptr = nh + sizeof(struct ipv6hdr); ptr 624 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_HOPOPTS, (ptr[1]+1)<<3, ptr); ptr 643 net/ipv6/datagram.c u8 *ptr = nh + off; ptr 647 net/ipv6/datagram.c nexthdr = ptr[0]; ptr 648 net/ipv6/datagram.c len = (ptr[1] + 1) << 3; ptr 650 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_DSTOPTS, len, ptr); ptr 653 net/ipv6/datagram.c nexthdr = ptr[0]; ptr 654 net/ipv6/datagram.c len = (ptr[1] + 1) << 3; ptr 656 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_RTHDR, len, ptr); ptr 659 net/ipv6/datagram.c nexthdr = ptr[0]; ptr 660 net/ipv6/datagram.c len = (ptr[1] + 2) << 2; ptr 663 net/ipv6/datagram.c nexthdr = ptr[0]; ptr 664 net/ipv6/datagram.c len = (ptr[1] + 1) << 3; ptr 685 net/ipv6/datagram.c u8 *ptr = nh + sizeof(struct ipv6hdr); ptr 686 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_2292HOPOPTS, (ptr[1]+1)<<3, ptr); ptr 689 net/ipv6/datagram.c u8 *ptr = nh + opt->dst0; ptr 690 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_2292DSTOPTS, (ptr[1]+1)<<3, ptr); ptr 697 net/ipv6/datagram.c u8 *ptr = nh + opt->dst1; ptr 698 net/ipv6/datagram.c put_cmsg(msg, SOL_IPV6, IPV6_2292DSTOPTS, (ptr[1]+1)<<3, ptr); ptr 145 net/ipv6/icmp.c int ptr = (u8 *)(ipv6_hdr(skb) + 1) - skb->data; ptr 146 net/ipv6/icmp.c int len = skb->len - ptr; ptr 153 net/ipv6/icmp.c ptr = ipv6_skip_exthdr(skb, ptr, &nexthdr, &frag_off); ptr 154 net/ipv6/icmp.c if (ptr < 0) ptr 159 net/ipv6/icmp.c ptr+offsetof(struct icmp6hdr, icmp6_type), ptr 179 net/ipv6/ila/ila_xlat.c static void ila_free_cb(void *ptr, void *arg) ptr 181 net/ipv6/ila/ila_xlat.c ila_free_node((struct ila_map *)ptr); ptr 677 net/ipv6/ip6_output.c state->ptr = hlen; /* Where to start from */ ptr 746 net/ipv6/ip6_output.c BUG_ON(skb_copy_bits(skb, state->ptr, skb_transport_header(frag), ptr 755 net/ipv6/ip6_output.c state->ptr += len; ptr 339 net/ipv6/ip6mr.c const void *ptr) ptr 342 net/ipv6/ip6mr.c struct mfc6_cache *c = (struct mfc6_cache *)ptr; ptr 1230 net/ipv6/ip6mr.c unsigned long event, void *ptr) ptr 1232 net/ipv6/ip6mr.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 2644 net/ipv6/mcast.c void *ptr) ptr 2646 net/ipv6/mcast.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1774 net/ipv6/ndisc.c static int ndisc_netdev_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 1776 net/ipv6/ndisc.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1796 net/ipv6/ndisc.c change_info = ptr; ptr 41 net/ipv6/netfilter/ip6t_ah.c unsigned int ptr = 0; ptr 45 net/ipv6/netfilter/ip6t_ah.c err = ipv6_find_hdr(skb, &ptr, NEXTHDR_AUTH, NULL, NULL); ptr 52 net/ipv6/netfilter/ip6t_ah.c ah = skb_header_pointer(skb, ptr, sizeof(_ah), &_ah); ptr 40 net/ipv6/netfilter/ip6t_frag.c unsigned int ptr = 0; ptr 43 net/ipv6/netfilter/ip6t_frag.c err = ipv6_find_hdr(skb, &ptr, NEXTHDR_FRAGMENT, NULL, NULL); ptr 50 net/ipv6/netfilter/ip6t_frag.c fh = skb_header_pointer(skb, ptr, sizeof(_frag), &_frag); ptr 50 net/ipv6/netfilter/ip6t_hbh.c unsigned int ptr = 0; ptr 60 net/ipv6/netfilter/ip6t_hbh.c err = ipv6_find_hdr(skb, &ptr, ptr 69 net/ipv6/netfilter/ip6t_hbh.c oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); ptr 76 net/ipv6/netfilter/ip6t_hbh.c if (skb->len - ptr < hdrlen) { ptr 94 net/ipv6/netfilter/ip6t_hbh.c ptr += 2; ptr 105 net/ipv6/netfilter/ip6t_hbh.c tp = skb_header_pointer(skb, ptr, sizeof(_opttype), ptr 125 net/ipv6/netfilter/ip6t_hbh.c lp = skb_header_pointer(skb, ptr + 1, ptr 147 net/ipv6/netfilter/ip6t_hbh.c if ((ptr > skb->len - optlen || hdrlen < optlen) && ptr 152 net/ipv6/netfilter/ip6t_hbh.c ptr += optlen; ptr 33 net/ipv6/netfilter/ip6t_ipv6header.c unsigned int ptr; ptr 40 net/ipv6/netfilter/ip6t_ipv6header.c ptr = sizeof(struct ipv6hdr); ptr 42 net/ipv6/netfilter/ip6t_ipv6header.c len = skb->len - ptr; ptr 64 net/ipv6/netfilter/ip6t_ipv6header.c hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); ptr 101 net/ipv6/netfilter/ip6t_ipv6header.c ptr += hdrlen; ptr 102 net/ipv6/netfilter/ip6t_ipv6header.c if (ptr > skb->len) ptr 42 net/ipv6/netfilter/ip6t_rt.c unsigned int ptr = 0; ptr 49 net/ipv6/netfilter/ip6t_rt.c err = ipv6_find_hdr(skb, &ptr, NEXTHDR_ROUTING, NULL, NULL); ptr 56 net/ipv6/netfilter/ip6t_rt.c rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); ptr 63 net/ipv6/netfilter/ip6t_rt.c if (skb->len - ptr < hdrlen) { ptr 107 net/ipv6/netfilter/ip6t_rt.c ptr + offsetof(struct rt0_hdr, ptr 131 net/ipv6/netfilter/ip6t_rt.c ptr ptr 164 net/ipv6/netfilter/ip6t_rt.c ptr ptr 21 net/ipv6/netfilter/ip6t_srh.c #define NF_SRH_INVF(ptr, flag, boolean) \ ptr 22 net/ipv6/netfilter/ip6t_srh.c ((boolean) ^ !!((ptr)->mt_invflags & (flag))) ptr 45 net/ipv6/netfilter/nf_log_ipv6.c unsigned int ptr; ptr 71 net/ipv6/netfilter/nf_log_ipv6.c ptr = ip6hoff + sizeof(struct ipv6hdr); ptr 77 net/ipv6/netfilter/nf_log_ipv6.c hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); ptr 93 net/ipv6/netfilter/nf_log_ipv6.c fh = skb_header_pointer(skb, ptr, sizeof(_fhdr), ptr 141 net/ipv6/netfilter/nf_log_ipv6.c ah = skb_header_pointer(skb, ptr, sizeof(_ahdr), ptr 149 net/ipv6/netfilter/nf_log_ipv6.c skb->len - ptr); ptr 176 net/ipv6/netfilter/nf_log_ipv6.c eh = skb_header_pointer(skb, ptr, sizeof(_esph), ptr 180 net/ipv6/netfilter/nf_log_ipv6.c skb->len - ptr); ptr 198 net/ipv6/netfilter/nf_log_ipv6.c ptr += hdrlen; ptr 204 net/ipv6/netfilter/nf_log_ipv6.c ptr, logflags)) ptr 209 net/ipv6/netfilter/nf_log_ipv6.c if (nf_log_dump_udp_header(m, skb, currenthdr, fragment, ptr)) ptr 223 net/ipv6/netfilter/nf_log_ipv6.c ic = skb_header_pointer(skb, ptr, sizeof(_icmp6h), &_icmp6h); ptr 226 net/ipv6/netfilter/nf_log_ipv6.c skb->len - ptr); ptr 259 net/ipv6/netfilter/nf_log_ipv6.c ptr + sizeof(_icmp6h), 0); ptr 6004 net/ipv6/route.c unsigned long event, void *ptr) ptr 6006 net/ipv6/route.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 59 net/ipv6/seg6_hmac.c static void seg6_free_hi(void *ptr, void *arg) ptr 61 net/ipv6/seg6_hmac.c struct seg6_hmac_info *hinfo = (struct seg6_hmac_info *)ptr; ptr 2347 net/iucv/af_iucv.c unsigned long event, void *ptr) ptr 2349 net/iucv/af_iucv.c struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); ptr 828 net/iucv/iucv.c unsigned long event, void *ptr) ptr 1788 net/key/af_key.c static int dump_sa(struct xfrm_state *x, int count, void *ptr) ptr 1790 net/key/af_key.c struct pfkey_sock *pfk = ptr; ptr 1903 net/key/af_key.c static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) ptr 1906 net/key/af_key.c u32 reqid = *(u32*)ptr; ptr 2678 net/key/af_key.c static int dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr) ptr 2680 net/key/af_key.c struct pfkey_sock *pfk = ptr; ptr 622 net/l2tp/l2tp_core.c unsigned char *ptr, unsigned char *optr, u16 hdrflags, ptr 631 net/l2tp/l2tp_core.c if (memcmp(ptr, &session->peer_cookie[0], session->peer_cookie_len)) { ptr 639 net/l2tp/l2tp_core.c ptr += session->peer_cookie_len; ptr 653 net/l2tp/l2tp_core.c ns = ntohs(*(__be16 *) ptr); ptr 654 net/l2tp/l2tp_core.c ptr += 2; ptr 655 net/l2tp/l2tp_core.c nr = ntohs(*(__be16 *) ptr); ptr 656 net/l2tp/l2tp_core.c ptr += 2; ptr 667 net/l2tp/l2tp_core.c u32 l2h = ntohl(*(__be32 *) ptr); ptr 680 net/l2tp/l2tp_core.c ptr += 4; ptr 733 net/l2tp/l2tp_core.c offset = ntohs(*(__be16 *)ptr); ptr 734 net/l2tp/l2tp_core.c ptr += 2 + offset; ptr 738 net/l2tp/l2tp_core.c offset = ptr - optr; ptr 800 net/l2tp/l2tp_core.c unsigned char *ptr, *optr; ptr 830 net/l2tp/l2tp_core.c optr = ptr = skb->data; ptr 833 net/l2tp/l2tp_core.c hdrflags = ntohs(*(__be16 *) ptr); ptr 856 net/l2tp/l2tp_core.c ptr += 2; ptr 861 net/l2tp/l2tp_core.c ptr += 2; ptr 864 net/l2tp/l2tp_core.c tunnel_id = ntohs(*(__be16 *) ptr); ptr 865 net/l2tp/l2tp_core.c ptr += 2; ptr 866 net/l2tp/l2tp_core.c session_id = ntohs(*(__be16 *) ptr); ptr 867 net/l2tp/l2tp_core.c ptr += 2; ptr 869 net/l2tp/l2tp_core.c ptr += 2; /* skip reserved bits */ ptr 871 net/l2tp/l2tp_core.c session_id = ntohl(*(__be32 *) ptr); ptr 872 net/l2tp/l2tp_core.c ptr += 4; ptr 889 net/l2tp/l2tp_core.c l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) ptr 892 net/l2tp/l2tp_core.c l2tp_recv_common(session, skb, ptr, optr, hdrflags, length); ptr 222 net/l2tp/l2tp_core.h unsigned char *ptr, unsigned char *optr, u16 hdrflags, ptr 302 net/l2tp/l2tp_core.h unsigned char **ptr, unsigned char **optr) ptr 307 net/l2tp/l2tp_core.h int off = *ptr - *optr; ptr 314 net/l2tp/l2tp_core.h *ptr = skb->data + off; ptr 321 net/l2tp/l2tp_core.h #define l2tp_printk(ptr, type, func, fmt, ...) \ ptr 323 net/l2tp/l2tp_core.h if (((ptr)->debug) & (type)) \ ptr 327 net/l2tp/l2tp_core.h #define l2tp_warn(ptr, type, fmt, ...) \ ptr 328 net/l2tp/l2tp_core.h l2tp_printk(ptr, type, pr_warn, fmt, ##__VA_ARGS__) ptr 329 net/l2tp/l2tp_core.h #define l2tp_info(ptr, type, fmt, ...) \ ptr 330 net/l2tp/l2tp_core.h l2tp_printk(ptr, type, pr_info, fmt, ##__VA_ARGS__) ptr 331 net/l2tp/l2tp_core.h #define l2tp_dbg(ptr, type, fmt, ...) \ ptr 332 net/l2tp/l2tp_core.h l2tp_printk(ptr, type, pr_debug, fmt, ##__VA_ARGS__) ptr 118 net/l2tp/l2tp_ip.c unsigned char *ptr, *optr; ptr 128 net/l2tp/l2tp_ip.c optr = ptr = skb->data; ptr 129 net/l2tp/l2tp_ip.c session_id = ntohl(*((__be32 *) ptr)); ptr 130 net/l2tp/l2tp_ip.c ptr += 4; ptr 157 net/l2tp/l2tp_ip.c optr = ptr = skb->data; ptr 158 net/l2tp/l2tp_ip.c ptr += 4; ptr 160 net/l2tp/l2tp_ip.c print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, ptr, length); ptr 163 net/l2tp/l2tp_ip.c if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) ptr 166 net/l2tp/l2tp_ip.c l2tp_recv_common(session, skb, ptr, optr, 0, skb->len); ptr 130 net/l2tp/l2tp_ip6.c unsigned char *ptr, *optr; ptr 140 net/l2tp/l2tp_ip6.c optr = ptr = skb->data; ptr 141 net/l2tp/l2tp_ip6.c session_id = ntohl(*((__be32 *) ptr)); ptr 142 net/l2tp/l2tp_ip6.c ptr += 4; ptr 169 net/l2tp/l2tp_ip6.c optr = ptr = skb->data; ptr 170 net/l2tp/l2tp_ip6.c ptr += 4; ptr 172 net/l2tp/l2tp_ip6.c print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, ptr, length); ptr 175 net/l2tp/l2tp_ip6.c if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) ptr 178 net/l2tp/l2tp_ip6.c l2tp_recv_common(session, skb, ptr, optr, 0, skb->len); ptr 116 net/lapb/lapb_out.c unsigned char *ptr; ptr 118 net/lapb/lapb_out.c ptr = skb_push(skb, 1); ptr 123 net/lapb/lapb_out.c *ptr = LAPB_ADDR_C; ptr 125 net/lapb/lapb_out.c *ptr = LAPB_ADDR_D; ptr 128 net/lapb/lapb_out.c *ptr = LAPB_ADDR_D; ptr 130 net/lapb/lapb_out.c *ptr = LAPB_ADDR_C; ptr 135 net/lapb/lapb_out.c *ptr = LAPB_ADDR_A; ptr 137 net/lapb/lapb_out.c *ptr = LAPB_ADDR_B; ptr 140 net/lapb/lapb_out.c *ptr = LAPB_ADDR_B; ptr 142 net/lapb/lapb_out.c *ptr = LAPB_ADDR_A; ptr 1973 net/mac80211/iface.c unsigned long state, void *ptr) ptr 1975 net/mac80211/iface.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 42 net/mac80211/mesh_pathtbl.c static void mesh_path_rht_free(void *ptr, void *tblptr) ptr 44 net/mac80211/mesh_pathtbl.c struct mesh_path *mpath = ptr; ptr 711 net/mac802154/iface.c unsigned long state, void *ptr) ptr 713 net/mac802154/iface.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1581 net/mpls/af_mpls.c void *ptr) ptr 1583 net/mpls/af_mpls.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 36 net/mpls/internal.h __typeof__(*(mdev)->stats) *ptr = \ ptr 39 net/mpls/internal.h u64_stats_update_begin(&ptr->syncp); \ ptr 40 net/mpls/internal.h ptr->stats.pkts_field++; \ ptr 41 net/mpls/internal.h ptr->stats.bytes_field += (len); \ ptr 42 net/mpls/internal.h u64_stats_update_end(&ptr->syncp); \ ptr 48 net/mpls/internal.h __typeof__(*(mdev)->stats) *ptr = \ ptr 51 net/mpls/internal.h u64_stats_update_begin(&ptr->syncp); \ ptr 52 net/mpls/internal.h ptr->stats.field++; \ ptr 53 net/mpls/internal.h u64_stats_update_end(&ptr->syncp); \ ptr 1645 net/netfilter/ipvs/ip_vs_ctl.c void *ptr) ptr 1647 net/netfilter/ipvs/ip_vs_ctl.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 347 net/netfilter/nf_conntrack_proto_tcp.c const unsigned char *ptr; ptr 353 net/netfilter/nf_conntrack_proto_tcp.c ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), ptr 355 net/netfilter/nf_conntrack_proto_tcp.c BUG_ON(ptr == NULL); ptr 361 net/netfilter/nf_conntrack_proto_tcp.c int opcode=*ptr++; ptr 373 net/netfilter/nf_conntrack_proto_tcp.c opsize=*ptr++; ptr 384 net/netfilter/nf_conntrack_proto_tcp.c state->td_scale = *(u_int8_t *)ptr; ptr 392 net/netfilter/nf_conntrack_proto_tcp.c ptr += opsize - 2; ptr 402 net/netfilter/nf_conntrack_proto_tcp.c const unsigned char *ptr; ptr 409 net/netfilter/nf_conntrack_proto_tcp.c ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), ptr 411 net/netfilter/nf_conntrack_proto_tcp.c BUG_ON(ptr == NULL); ptr 415 net/netfilter/nf_conntrack_proto_tcp.c && *(__be32 *)ptr == htonl((TCPOPT_NOP << 24) ptr 422 net/netfilter/nf_conntrack_proto_tcp.c int opcode = *ptr++; ptr 434 net/netfilter/nf_conntrack_proto_tcp.c opsize = *ptr++; ptr 448 net/netfilter/nf_conntrack_proto_tcp.c tmp = get_unaligned_be32((__be32 *)(ptr+i)+1); ptr 455 net/netfilter/nf_conntrack_proto_tcp.c ptr += opsize - 2; ptr 182 net/netfilter/nf_flow_table_core.c const void *ptr) ptr 185 net/netfilter/nf_flow_table_core.c const struct flow_offload_tuple_rhash *x = ptr; ptr 77 net/netfilter/nf_nat_masquerade.c void *ptr) ptr 79 net/netfilter/nf_nat_masquerade.c const struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 95 net/netfilter/nf_nat_masquerade.c static int inet_cmp(struct nf_conn *ct, void *ptr) ptr 97 net/netfilter/nf_nat_masquerade.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 111 net/netfilter/nf_nat_masquerade.c void *ptr) ptr 113 net/netfilter/nf_nat_masquerade.c struct in_device *idev = ((struct in_ifaddr *)ptr)->ifa_dev; ptr 125 net/netfilter/nf_nat_masquerade.c nf_ct_iterate_cleanup_net(net, inet_cmp, ptr, 0, 0); ptr 232 net/netfilter/nf_nat_masquerade.c unsigned long event, void *ptr) ptr 234 net/netfilter/nf_nat_masquerade.c struct inet6_ifaddr *ifa = ptr; ptr 32 net/netfilter/nf_synproxy_core.c u8 buf[40], *ptr; ptr 34 net/netfilter/nf_synproxy_core.c ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); ptr 35 net/netfilter/nf_synproxy_core.c if (ptr == NULL) ptr 40 net/netfilter/nf_synproxy_core.c int opcode = *ptr++; ptr 50 net/netfilter/nf_synproxy_core.c opsize = *ptr++; ptr 59 net/netfilter/nf_synproxy_core.c opts->mss_option = get_unaligned_be16(ptr); ptr 65 net/netfilter/nf_synproxy_core.c opts->wscale = *ptr; ptr 73 net/netfilter/nf_synproxy_core.c opts->tsval = get_unaligned_be32(ptr); ptr 74 net/netfilter/nf_synproxy_core.c opts->tsecr = get_unaligned_be32(ptr + 4); ptr 84 net/netfilter/nf_synproxy_core.c ptr += opsize - 2; ptr 112 net/netfilter/nf_synproxy_core.c __be32 *ptr = (__be32 *)(th + 1); ptr 116 net/netfilter/nf_synproxy_core.c *ptr++ = htonl((TCPOPT_MSS << 24) | ptr 122 net/netfilter/nf_synproxy_core.c *ptr++ = htonl((TCPOPT_SACK_PERM << 24) | ptr 127 net/netfilter/nf_synproxy_core.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 132 net/netfilter/nf_synproxy_core.c *ptr++ = htonl(opts->tsval); ptr 133 net/netfilter/nf_synproxy_core.c *ptr++ = htonl(opts->tsecr); ptr 135 net/netfilter/nf_synproxy_core.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 141 net/netfilter/nf_synproxy_core.c *ptr++ = htonl((TCPOPT_NOP << 24) | ptr 186 net/netfilter/nf_synproxy_core.c __be32 *ptr, old; ptr 214 net/netfilter/nf_synproxy_core.c ptr = (__be32 *)&op[2]; ptr 215 net/netfilter/nf_synproxy_core.c old = *ptr; ptr 216 net/netfilter/nf_synproxy_core.c *ptr = htonl(ntohl(*ptr) - ptr 219 net/netfilter/nf_synproxy_core.c ptr = (__be32 *)&op[6]; ptr 220 net/netfilter/nf_synproxy_core.c old = *ptr; ptr 221 net/netfilter/nf_synproxy_core.c *ptr = htonl(ntohl(*ptr) + ptr 225 net/netfilter/nf_synproxy_core.c old, *ptr, false); ptr 861 net/netfilter/nf_tables_api.c const void *ptr) ptr 863 net/netfilter/nf_tables_api.c const struct nft_chain *chain = ptr; ptr 886 net/netfilter/nf_tables_api.c const void *ptr) ptr 889 net/netfilter/nf_tables_api.c const struct nft_object *obj = ptr; ptr 6269 net/netfilter/nf_tables_api.c unsigned long event, void *ptr) ptr 6271 net/netfilter/nf_tables_api.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 68 net/netfilter/nf_tables_core.c unsigned char *ptr; ptr 71 net/netfilter/nf_tables_core.c ptr = skb_network_header(skb); ptr 75 net/netfilter/nf_tables_core.c ptr = skb_network_header(skb) + pkt->xt.thoff; ptr 78 net/netfilter/nf_tables_core.c ptr += priv->offset; ptr 80 net/netfilter/nf_tables_core.c if (unlikely(ptr + priv->len > skb_tail_pointer(skb))) ptr 85 net/netfilter/nf_tables_core.c *(u16 *)dest = *(u16 *)ptr; ptr 87 net/netfilter/nf_tables_core.c *(u32 *)dest = *(u32 *)ptr; ptr 89 net/netfilter/nf_tables_core.c *(u8 *)dest = *(u8 *)ptr; ptr 462 net/netfilter/nf_tables_offload.c unsigned long event, void *ptr) ptr 464 net/netfilter/nf_tables_offload.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 819 net/netfilter/nfnetlink_log.c unsigned long event, void *ptr) ptr 821 net/netfilter/nfnetlink_log.c struct netlink_notify *n = ptr; ptr 945 net/netfilter/nfnetlink_queue.c unsigned long event, void *ptr) ptr 947 net/netfilter/nfnetlink_queue.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 975 net/netfilter/nfnetlink_queue.c unsigned long event, void *ptr) ptr 977 net/netfilter/nfnetlink_queue.c struct netlink_notify *n = ptr; ptr 315 net/netfilter/nft_chain_filter.c unsigned long event, void *ptr) ptr 317 net/netfilter/nft_chain_filter.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 238 net/netfilter/nft_flow_offload.c unsigned long event, void *ptr) ptr 240 net/netfilter/nft_flow_offload.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 55 net/netfilter/nft_set_hash.c const void *ptr) ptr 58 net/netfilter/nft_set_hash.c const struct nft_rhash_elem *he = ptr; ptr 381 net/netfilter/nft_set_hash.c static void nft_rhash_elem_destroy(void *ptr, void *arg) ptr 383 net/netfilter/nft_set_hash.c nft_set_elem_destroy(arg, ptr, true); ptr 61 net/netfilter/xt_TEE.c void *ptr) ptr 63 net/netfilter/xt_TEE.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 56 net/netlabel/netlabel_addrlist.h #define __af4list_entry(ptr) container_of(ptr, struct netlbl_af4list, list) ptr 123 net/netlabel/netlabel_addrlist.h #define __af6list_entry(ptr) container_of(ptr, struct netlbl_af6list, list) ptr 66 net/netlabel/netlabel_domainhash.c struct netlbl_dom_map *ptr; ptr 74 net/netlabel/netlabel_domainhash.c ptr = container_of(entry, struct netlbl_dom_map, rcu); ptr 75 net/netlabel/netlabel_domainhash.c if (ptr->def.type == NETLBL_NLTYPE_ADDRSELECT) { ptr 77 net/netlabel/netlabel_domainhash.c &ptr->def.addrsel->list4) { ptr 83 net/netlabel/netlabel_domainhash.c &ptr->def.addrsel->list6) { ptr 89 net/netlabel/netlabel_domainhash.c kfree(ptr->domain); ptr 90 net/netlabel/netlabel_domainhash.c kfree(ptr); ptr 1360 net/netlabel/netlabel_kapi.c unsigned char *ptr; ptr 1364 net/netlabel/netlabel_kapi.c ptr = cipso_v4_optptr(skb); ptr 1365 net/netlabel/netlabel_kapi.c if (ptr && cipso_v4_getattr(ptr, secattr) == 0) ptr 1370 net/netlabel/netlabel_kapi.c ptr = calipso_optptr(skb); ptr 1371 net/netlabel/netlabel_kapi.c if (ptr && calipso_getattr(ptr, secattr) == 0) ptr 1435 net/netlabel/netlabel_kapi.c unsigned char *ptr; ptr 1442 net/netlabel/netlabel_kapi.c ptr = cipso_v4_optptr(skb); ptr 1443 net/netlabel/netlabel_kapi.c if (ptr) ptr 1444 net/netlabel/netlabel_kapi.c return cipso_v4_cache_add(ptr, secattr); ptr 1448 net/netlabel/netlabel_kapi.c ptr = calipso_optptr(skb); ptr 1449 net/netlabel/netlabel_kapi.c if (ptr) ptr 1450 net/netlabel/netlabel_kapi.c return calipso_cache_add(ptr, secattr); ptr 699 net/netlabel/netlabel_unlabeled.c unsigned long event, void *ptr) ptr 701 net/netlabel/netlabel_unlabeled.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 480 net/netlink/af_netlink.c const void *ptr) ptr 483 net/netlink/af_netlink.c const struct netlink_sock *nlk = ptr; ptr 93 net/netrom/af_netrom.c static int nr_device_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 95 net/netrom/af_netrom.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 29 net/nfc/hci/hcp.c const u8 *ptr = payload; ptr 76 net/nfc/hci/hcp.c if (ptr) { ptr 77 net/nfc/hci/hcp.c memcpy(packet->message.data, ptr, ptr 79 net/nfc/hci/hcp.c ptr += data_link_len - 1; ptr 82 net/nfc/hci/hcp.c memcpy(&packet->message, ptr, data_link_len); ptr 83 net/nfc/hci/hcp.c ptr += data_link_len; ptr 1817 net/nfc/netlink.c unsigned long event, void *ptr) ptr 1819 net/nfc/netlink.c struct netlink_notify *n = ptr; ptr 60 net/openvswitch/dp_notify.c void *ptr) ptr 63 net/openvswitch/dp_notify.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 4065 net/packet/af_packet.c unsigned long msg, void *ptr) ptr 4068 net/packet/af_packet.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 282 net/phonet/pn_dev.c void *ptr) ptr 284 net/phonet/pn_dev.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 182 net/rose/af_rose.c unsigned long event, void *ptr) ptr 184 net/rose/af_rose.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 382 net/sched/act_mirred.c unsigned long event, void *ptr) ptr 384 net/sched/act_mirred.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 329 net/sched/act_pedit.c u32 *ptr, hdata; ptr 375 net/sched/act_pedit.c ptr = skb_header_pointer(skb, hoffset + offset, ptr 377 net/sched/act_pedit.c if (!ptr) ptr 385 net/sched/act_pedit.c val = (*ptr + tkey->val) & ~tkey->mask; ptr 393 net/sched/act_pedit.c *ptr = ((*ptr & tkey->mask) ^ val); ptr 394 net/sched/act_pedit.c if (ptr == &hdata) ptr 395 net/sched/act_pedit.c skb_store_bits(skb, hoffset + offset, ptr, 4); ptr 87 net/sched/cls_u32.c void *ptr; ptr 306 net/sched/cls_u32.c static u32 gen_new_htid(struct tc_u_common *tp_c, struct tc_u_hnode *ptr) ptr 308 net/sched/cls_u32.c int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); ptr 344 net/sched/cls_u32.c if (tc->ptr == key) ptr 372 net/sched/cls_u32.c tp_c->ptr = key; ptr 25 net/sched/em_cmp.c unsigned char *ptr = tcf_get_base_ptr(skb, cmp->layer) + cmp->off; ptr 28 net/sched/em_cmp.c if (!tcf_valid_offset(skb, ptr, cmp->align)) ptr 33 net/sched/em_cmp.c val = *ptr; ptr 37 net/sched/em_cmp.c val = get_unaligned_be16(ptr); ptr 47 net/sched/em_cmp.c val = get_unaligned_be32(ptr); ptr 43 net/sched/em_nbyte.c unsigned char *ptr = tcf_get_base_ptr(skb, nbyte->hdr.layer); ptr 45 net/sched/em_nbyte.c ptr += nbyte->hdr.off; ptr 47 net/sched/em_nbyte.c if (!tcf_valid_offset(skb, ptr, nbyte->hdr.len)) ptr 50 net/sched/em_nbyte.c return !memcmp(ptr, nbyte->pattern, nbyte->hdr.len); ptr 21 net/sched/em_u32.c const unsigned char *ptr = skb_network_header(skb); ptr 24 net/sched/em_u32.c if (info->ptr) ptr 25 net/sched/em_u32.c ptr = info->ptr; ptr 26 net/sched/em_u32.c ptr += (info->nexthdr & key->offmask); ptr 29 net/sched/em_u32.c ptr += key->off; ptr 31 net/sched/em_u32.c if (!tcf_valid_offset(skb, ptr, sizeof(u32))) ptr 34 net/sched/em_u32.c return !(((*(__be32 *) ptr) ^ key->val) & key->mask); ptr 922 net/sched/sch_cake.c const u8 *ptr = (const u8 *)(tcph + 1); ptr 925 net/sched/sch_cake.c int opcode = *ptr++; ptr 934 net/sched/sch_cake.c opsize = *ptr++; ptr 940 net/sched/sch_cake.c return ptr; ptr 943 net/sched/sch_cake.c ptr += opsize - 2; ptr 1030 net/sched/sch_cake.c const u8 *ptr; ptr 1033 net/sched/sch_cake.c ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); ptr 1035 net/sched/sch_cake.c if (ptr && opsize == TCPOLEN_TIMESTAMP) { ptr 1036 net/sched/sch_cake.c *tsval = get_unaligned_be32(ptr); ptr 1037 net/sched/sch_cake.c *tsecr = get_unaligned_be32(ptr + 4); ptr 1046 net/sched/sch_cake.c const u8 *ptr = (const u8 *)(tcph + 1); ptr 1062 net/sched/sch_cake.c int opcode = *ptr++; ptr 1071 net/sched/sch_cake.c opsize = *ptr++; ptr 1088 net/sched/sch_cake.c tstamp = get_unaligned_be32(ptr); ptr 1089 net/sched/sch_cake.c tsecr = get_unaligned_be32(ptr + 4); ptr 1104 net/sched/sch_cake.c ptr += opsize - 2; ptr 332 net/sched/sch_cbs.c void *ptr) ptr 334 net/sched/sch_cbs.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 81 net/sched/sch_htb.c struct rb_node *ptr; ptr 383 net/sched/sch_htb.c if (hprio->ptr == cl->node + prio) ptr 384 net/sched/sch_htb.c htb_next_rb_node(&hprio->ptr); ptr 447 net/sched/sch_htb.c if (p->inner.clprio[prio].ptr == cl->node + prio) { ptr 453 net/sched/sch_htb.c p->inner.clprio[prio].ptr = NULL; ptr 777 net/sched/sch_htb.c sp->pptr = &hprio->ptr; ptr 812 net/sched/sch_htb.c sp->pptr = &clp->ptr; ptr 865 net/sched/sch_htb.c htb_next_rb_node(level ? &cl->parent->inner.clprio[prio].ptr: ptr 866 net/sched/sch_htb.c &q->hlevel[0].hprio[prio].ptr); ptr 876 net/sched/sch_htb.c htb_next_rb_node(level ? &cl->parent->inner.clprio[prio].ptr : ptr 877 net/sched/sch_htb.c &q->hlevel[0].hprio[prio].ptr); ptr 1069 net/sched/sch_taprio.c void *ptr) ptr 1071 net/sched/sch_taprio.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 874 net/sctp/input.c const void *ptr) ptr 876 net/sctp/input.c struct sctp_transport *t = (struct sctp_transport *)ptr; ptr 75 net/sctp/ipv6.c void *ptr) ptr 77 net/sctp/ipv6.c struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; ptr 770 net/sctp/protocol.c void *ptr) ptr 772 net/sctp/protocol.c struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; ptr 653 net/smc/smc_pnet.c unsigned long event, void *ptr) ptr 655 net/smc/smc_pnet.c struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); ptr 47 net/sunrpc/auth_gss/gss_generic_token.c #define TWRITE_STR(ptr, str, len) \ ptr 48 net/sunrpc/auth_gss/gss_generic_token.c memcpy((ptr), (char *) (str), (len)); \ ptr 49 net/sunrpc/auth_gss/gss_generic_token.c (ptr) += (len); ptr 75 net/sunrpc/auth_gss/gss_krb5_seal.c u16 *ptr; ptr 81 net/sunrpc/auth_gss/gss_krb5_seal.c ptr = (u16 *)token->data; ptr 82 net/sunrpc/auth_gss/gss_krb5_seal.c g_make_token_header(&ctx->mech_used, body_size, (unsigned char **)&ptr); ptr 85 net/sunrpc/auth_gss/gss_krb5_seal.c krb5_hdr = ptr; ptr 86 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr++ = KG_TOK_MIC_MSG; ptr 91 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr++ = (__force u16)cpu_to_le16(ctx->gk5e->signalg); ptr 92 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr++ = SEAL_ALG_NONE; ptr 93 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr = 0xffff; ptr 101 net/sunrpc/auth_gss/gss_krb5_seal.c u16 *ptr; ptr 112 net/sunrpc/auth_gss/gss_krb5_seal.c krb5_hdr = ptr = (u16 *)token->data; ptr 114 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr++ = KG2_TOK_MIC; ptr 115 net/sunrpc/auth_gss/gss_krb5_seal.c p = (u8 *)ptr; ptr 118 net/sunrpc/auth_gss/gss_krb5_seal.c ptr = (u16 *)p; ptr 119 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr++ = 0xffff; ptr 120 net/sunrpc/auth_gss/gss_krb5_seal.c *ptr = 0xffff; ptr 133 net/sunrpc/auth_gss/gss_krb5_seal.c void *ptr; ptr 143 net/sunrpc/auth_gss/gss_krb5_seal.c ptr = setup_token(ctx, token); ptr 150 net/sunrpc/auth_gss/gss_krb5_seal.c if (make_checksum(ctx, ptr, 8, text, 0, cksumkey, ptr 154 net/sunrpc/auth_gss/gss_krb5_seal.c memcpy(ptr + GSS_KRB5_TOK_HDR_LEN, md5cksum.data, md5cksum.len); ptr 159 net/sunrpc/auth_gss/gss_krb5_seal.c seq_send, ptr + GSS_KRB5_TOK_HDR_LEN, ptr + 8)) ptr 85 net/sunrpc/auth_gss/gss_krb5_unseal.c unsigned char *ptr = (unsigned char *)read_token->data; ptr 91 net/sunrpc/auth_gss/gss_krb5_unseal.c if (g_verify_token_header(&ctx->mech_used, &bodysize, &ptr, ptr 95 net/sunrpc/auth_gss/gss_krb5_unseal.c if ((ptr[0] != ((KG_TOK_MIC_MSG >> 8) & 0xff)) || ptr 96 net/sunrpc/auth_gss/gss_krb5_unseal.c (ptr[1] != (KG_TOK_MIC_MSG & 0xff))) ptr 101 net/sunrpc/auth_gss/gss_krb5_unseal.c signalg = ptr[2] + (ptr[3] << 8); ptr 105 net/sunrpc/auth_gss/gss_krb5_unseal.c sealalg = ptr[4] + (ptr[5] << 8); ptr 109 net/sunrpc/auth_gss/gss_krb5_unseal.c if ((ptr[6] != 0xff) || (ptr[7] != 0xff)) ptr 117 net/sunrpc/auth_gss/gss_krb5_unseal.c if (make_checksum(ctx, ptr, 8, message_buffer, 0, ptr 121 net/sunrpc/auth_gss/gss_krb5_unseal.c if (memcmp(md5cksum.data, ptr + GSS_KRB5_TOK_HDR_LEN, ptr 134 net/sunrpc/auth_gss/gss_krb5_unseal.c if (krb5_get_seq_num(ctx, ptr + GSS_KRB5_TOK_HDR_LEN, ptr + 8, ptr 153 net/sunrpc/auth_gss/gss_krb5_unseal.c u8 *ptr = read_token->data; ptr 162 net/sunrpc/auth_gss/gss_krb5_unseal.c memcpy(&be16_ptr, (char *) ptr, 2); ptr 166 net/sunrpc/auth_gss/gss_krb5_unseal.c flags = ptr[2]; ptr 177 net/sunrpc/auth_gss/gss_krb5_unseal.c if (ptr[i] != 0xff) ptr 188 net/sunrpc/auth_gss/gss_krb5_unseal.c if (make_checksum_v2(ctx, ptr, GSS_KRB5_TOK_HDR_LEN, message_buffer, 0, ptr 192 net/sunrpc/auth_gss/gss_krb5_unseal.c if (memcmp(cksumobj.data, ptr + GSS_KRB5_TOK_HDR_LEN, ptr 68 net/sunrpc/auth_gss/gss_krb5_wrap.c u8 *ptr; ptr 85 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr = kmap_atomic(buf->pages[last]); ptr 86 net/sunrpc/auth_gss/gss_krb5_wrap.c pad = *(ptr + offset); ptr 87 net/sunrpc/auth_gss/gss_krb5_wrap.c kunmap_atomic(ptr); ptr 165 net/sunrpc/auth_gss/gss_krb5_wrap.c unsigned char *ptr, *msg_start; ptr 186 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr = buf->head[0].iov_base + offset; ptr 195 net/sunrpc/auth_gss/gss_krb5_wrap.c kctx->gk5e->cksumlength + plainlen, &ptr); ptr 199 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr[0] = (unsigned char) ((KG_TOK_WRAP_MSG >> 8) & 0xff); ptr 200 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr[1] = (unsigned char) (KG_TOK_WRAP_MSG & 0xff); ptr 202 net/sunrpc/auth_gss/gss_krb5_wrap.c msg_start = ptr + GSS_KRB5_TOK_HDR_LEN + kctx->gk5e->cksumlength; ptr 209 net/sunrpc/auth_gss/gss_krb5_wrap.c *(__le16 *)(ptr + 2) = cpu_to_le16(kctx->gk5e->signalg); ptr 210 net/sunrpc/auth_gss/gss_krb5_wrap.c *(__le16 *)(ptr + 4) = cpu_to_le16(kctx->gk5e->sealalg); ptr 211 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr[6] = 0xff; ptr 212 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr[7] = 0xff; ptr 224 net/sunrpc/auth_gss/gss_krb5_wrap.c if (make_checksum(kctx, ptr, 8, buf, offset + headlen - conflen, ptr 229 net/sunrpc/auth_gss/gss_krb5_wrap.c memcpy(ptr + GSS_KRB5_TOK_HDR_LEN, md5cksum.data, md5cksum.len); ptr 236 net/sunrpc/auth_gss/gss_krb5_wrap.c seq_send, ptr + GSS_KRB5_TOK_HDR_LEN, ptr + 8))) ptr 276 net/sunrpc/auth_gss/gss_krb5_wrap.c unsigned char *ptr; ptr 288 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr = (u8 *)buf->head[0].iov_base + offset; ptr 289 net/sunrpc/auth_gss/gss_krb5_wrap.c if (g_verify_token_header(&kctx->mech_used, &bodysize, &ptr, ptr 293 net/sunrpc/auth_gss/gss_krb5_wrap.c if ((ptr[0] != ((KG_TOK_WRAP_MSG >> 8) & 0xff)) || ptr 294 net/sunrpc/auth_gss/gss_krb5_wrap.c (ptr[1] != (KG_TOK_WRAP_MSG & 0xff))) ptr 301 net/sunrpc/auth_gss/gss_krb5_wrap.c signalg = ptr[2] + (ptr[3] << 8); ptr 305 net/sunrpc/auth_gss/gss_krb5_wrap.c sealalg = ptr[4] + (ptr[5] << 8); ptr 309 net/sunrpc/auth_gss/gss_krb5_wrap.c if ((ptr[6] != 0xff) || (ptr[7] != 0xff)) ptr 316 net/sunrpc/auth_gss/gss_krb5_wrap.c crypt_offset = ptr + (GSS_KRB5_TOK_HDR_LEN + kctx->gk5e->cksumlength) - ptr 322 net/sunrpc/auth_gss/gss_krb5_wrap.c if (krb5_get_seq_num(kctx, ptr + GSS_KRB5_TOK_HDR_LEN, ptr 323 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr + 8, &direction, &seqnum)) ptr 356 net/sunrpc/auth_gss/gss_krb5_wrap.c if (make_checksum(kctx, ptr, 8, buf, crypt_offset, ptr 360 net/sunrpc/auth_gss/gss_krb5_wrap.c if (memcmp(md5cksum.data, ptr + GSS_KRB5_TOK_HDR_LEN, ptr 377 net/sunrpc/auth_gss/gss_krb5_wrap.c data_start = ptr + (GSS_KRB5_TOK_HDR_LEN + kctx->gk5e->cksumlength) + ptr 449 net/sunrpc/auth_gss/gss_krb5_wrap.c u8 *ptr, *plainhdr; ptr 466 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr = plainhdr = buf->head[0].iov_base + offset; ptr 467 net/sunrpc/auth_gss/gss_krb5_wrap.c *ptr++ = (unsigned char) ((KG2_TOK_WRAP>>8) & 0xff); ptr 468 net/sunrpc/auth_gss/gss_krb5_wrap.c *ptr++ = (unsigned char) (KG2_TOK_WRAP & 0xff); ptr 477 net/sunrpc/auth_gss/gss_krb5_wrap.c *ptr++ = flags; ptr 478 net/sunrpc/auth_gss/gss_krb5_wrap.c *ptr++ = 0xff; ptr 479 net/sunrpc/auth_gss/gss_krb5_wrap.c be16ptr = (__be16 *)ptr; ptr 502 net/sunrpc/auth_gss/gss_krb5_wrap.c u8 *ptr; ptr 516 net/sunrpc/auth_gss/gss_krb5_wrap.c ptr = buf->head[0].iov_base + offset; ptr 518 net/sunrpc/auth_gss/gss_krb5_wrap.c if (be16_to_cpu(*((__be16 *)ptr)) != KG2_TOK_WRAP) ptr 521 net/sunrpc/auth_gss/gss_krb5_wrap.c flags = ptr[2]; ptr 531 net/sunrpc/auth_gss/gss_krb5_wrap.c if (ptr[3] != 0xff) ptr 534 net/sunrpc/auth_gss/gss_krb5_wrap.c ec = be16_to_cpup((__be16 *)(ptr + 4)); ptr 535 net/sunrpc/auth_gss/gss_krb5_wrap.c rrc = be16_to_cpup((__be16 *)(ptr + 6)); ptr 561 net/sunrpc/auth_gss/gss_krb5_wrap.c if (memcmp(ptr, decrypted_hdr, 6) ptr 562 net/sunrpc/auth_gss/gss_krb5_wrap.c || memcmp(ptr + 8, decrypted_hdr + 8, 8)) { ptr 585 net/sunrpc/auth_gss/gss_krb5_wrap.c memmove(ptr, ptr + GSS_KRB5_TOK_HDR_LEN + headskip, movelen); ptr 238 net/sunrpc/clnt.c void *ptr) ptr 240 net/sunrpc/clnt.c struct super_block *sb = ptr; ptr 64 net/sunrpc/xdr.c __be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes) ptr 70 net/sunrpc/xdr.c if (ptr != NULL) ptr 71 net/sunrpc/xdr.c memcpy(p, ptr, nbytes); ptr 88 net/sunrpc/xdr.c __be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes) ptr 91 net/sunrpc/xdr.c return xdr_encode_opaque_fixed(p, ptr, nbytes); ptr 1630 net/sunrpc/xdr.c ssize_t xdr_stream_decode_opaque(struct xdr_stream *xdr, void *ptr, size_t size) ptr 1638 net/sunrpc/xdr.c memcpy(ptr, p, ret); ptr 1656 net/sunrpc/xdr.c ssize_t xdr_stream_decode_opaque_dup(struct xdr_stream *xdr, void **ptr, ptr 1664 net/sunrpc/xdr.c *ptr = kmemdup(p, ret, gfp_flags); ptr 1665 net/sunrpc/xdr.c if (*ptr != NULL) ptr 1669 net/sunrpc/xdr.c *ptr = NULL; ptr 606 net/tipc/bearer.c void *ptr) ptr 608 net/tipc/bearer.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1215 net/tls/tls_device.c void *ptr) ptr 1217 net/tls/tls_device.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1878 net/vmw_vsock/af_vsock.c unsigned int cmd, void __user *ptr) ptr 1880 net/vmw_vsock/af_vsock.c u32 __user *p = ptr; ptr 1255 net/wireless/core.c unsigned long state, void *ptr) ptr 1257 net/wireless/core.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 689 net/wireless/reg.c unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; ptr 690 net/wireless/reg.c struct fwdb_collection *coll = (void *)(data + ptr); ptr 896 net/wireless/reg.c unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; ptr 897 net/wireless/reg.c struct fwdb_collection *coll = (void *)((u8 *)db + ptr); ptr 944 net/wireless/reg.c unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; ptr 945 net/wireless/reg.c struct fwdb_collection *coll = (void *)((u8 *)db + ptr); ptr 562 net/wireless/util.c void *ptr, int len, int size) ptr 568 net/wireless/util.c page_offset = ptr - page_address(page); ptr 361 net/wireless/wext-core.c unsigned long state, void *ptr) ptr 222 net/x25/af_x25.c void *ptr) ptr 224 net/x25/af_x25.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 151 net/x25/x25_dev.c unsigned char *ptr; ptr 159 net/x25/x25_dev.c ptr = skb_put(skb, 1); ptr 160 net/x25/x25_dev.c *ptr = X25_IFACE_CONNECT; ptr 180 net/x25/x25_dev.c unsigned char *ptr; ptr 195 net/x25/x25_dev.c ptr = skb_put(skb, 1); ptr 196 net/x25/x25_dev.c *ptr = X25_IFACE_DISCONNECT; ptr 1008 net/xdp/xsk.c unsigned long msg, void *ptr) ptr 1010 net/xdp/xsk.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 379 net/xfrm/xfrm_device.c static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void *ptr) ptr 381 net/xfrm/xfrm_device.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1460 net/xfrm/xfrm_policy.c const void *ptr) ptr 1463 net/xfrm/xfrm_policy.c const struct xfrm_pol_inexact_bin *b = ptr; ptr 973 net/xfrm/xfrm_user.c static int dump_one_state(struct xfrm_state *x, int count, void *ptr) ptr 975 net/xfrm/xfrm_user.c struct xfrm_dump_info *sp = ptr; ptr 1761 net/xfrm/xfrm_user.c static int dump_one_policy(struct xfrm_policy *xp, int dir, int count, void *ptr) ptr 1763 net/xfrm/xfrm_user.c struct xfrm_dump_info *sp = ptr; ptr 39 samples/bpf/task_fd_query_user.c static __u64 ptr_to_u64(void *ptr) ptr 41 samples/bpf/task_fd_query_user.c return (__u64) (unsigned long) ptr; ptr 28 samples/bpf/test_lru_dist.c #define container_of(ptr, type, member) ({ \ ptr 29 samples/bpf/test_lru_dist.c const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ptr 83 samples/bpf/test_lru_dist.c #define list_entry(ptr, type, member) \ ptr 84 samples/bpf/test_lru_dist.c container_of(ptr, type, member) ptr 86 samples/bpf/test_lru_dist.c #define list_last_entry(ptr, type, member) \ ptr 87 samples/bpf/test_lru_dist.c list_entry((ptr)->prev, type, member) ptr 30 samples/bpf/tracex4_kern.c long ptr = PT_REGS_PARM2(ctx); ptr 32 samples/bpf/tracex4_kern.c bpf_map_delete_elem(&my_map, &ptr); ptr 39 samples/bpf/tracex4_kern.c long ptr = PT_REGS_RC(ctx); ptr 50 samples/bpf/tracex4_kern.c bpf_map_update_elem(&my_map, &ptr, &v, BPF_ANY); ptr 1215 samples/vfio-mdev/mtty.c u8 *data = NULL, *ptr = NULL; ptr 1231 samples/vfio-mdev/mtty.c ptr = data = memdup_user((void __user *)(arg + minsz), ptr 1240 samples/vfio-mdev/mtty.c kfree(ptr); ptr 61 scripts/dtc/fdtput.c char *ptr; /* pointer to current value position */ ptr 93 scripts/dtc/fdtput.c ptr = value + upto; ptr 95 scripts/dtc/fdtput.c memcpy(ptr, *arg, len); ptr 97 scripts/dtc/fdtput.c fprintf(stderr, "\tstring: '%s'\n", ptr); ptr 99 scripts/dtc/fdtput.c int *iptr = (int *)ptr; ptr 104 scripts/dtc/fdtput.c *ptr = (uint8_t)ival; ptr 566 scripts/dtc/flattree.c char *base, *limit, *ptr; ptr 573 scripts/dtc/flattree.c inb->ptr = inb->base; ptr 578 scripts/dtc/flattree.c if ((inb->ptr + len) > inb->limit) ptr 581 scripts/dtc/flattree.c memcpy(p, inb->ptr, len); ptr 583 scripts/dtc/flattree.c inb->ptr += len; ptr 590 scripts/dtc/flattree.c assert(((inb->ptr - inb->base) % sizeof(val)) == 0); ptr 599 scripts/dtc/flattree.c int off = inb->ptr - inb->base; ptr 601 scripts/dtc/flattree.c inb->ptr = inb->base + ALIGN(off, align); ptr 602 scripts/dtc/flattree.c if (inb->ptr > inb->limit) ptr 609 scripts/dtc/flattree.c const char *p = inb->ptr; ptr 618 scripts/dtc/flattree.c str = xstrdup(inb->ptr); ptr 620 scripts/dtc/flattree.c inb->ptr += len; ptr 319 scripts/dtc/libfdt/fdt_sw.c void *ptr; ptr 322 scripts/dtc/libfdt/fdt_sw.c ret = fdt_property_placeholder(fdt, name, len, &ptr); ptr 325 scripts/dtc/libfdt/fdt_sw.c memcpy(ptr, val, len); ptr 296 scripts/dtc/util.c const char *ptr = blob; ptr 308 scripts/dtc/util.c ret = write(fd, ptr + offset, totalsize - offset); ptr 19 scripts/kconfig/list.h #define container_of(ptr, type, member) ({ \ ptr 20 scripts/kconfig/list.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ptr 40 scripts/kconfig/list.h #define list_entry(ptr, type, member) \ ptr 41 scripts/kconfig/list.h container_of(ptr, type, member) ptr 628 scripts/kconfig/lxdialog/util.c void item_set_data(void *ptr) ptr 630 scripts/kconfig/lxdialog/util.c item_cur->node.data = ptr; ptr 114 scripts/mod/modpost.c void *do_nofail(void *ptr, const char *expr) ptr 116 scripts/mod/modpost.c if (!ptr) ptr 119 scripts/mod/modpost.c return ptr; ptr 97 scripts/mod/modpost.h #define NOFAIL(ptr) do_nofail((ptr), #ptr) ptr 98 scripts/mod/modpost.h void *do_nofail(void *ptr, const char *expr); ptr 222 scripts/recordmcount.c uint32_t *ptr; ptr 226 scripts/recordmcount.c ptr = map + offset; ptr 227 scripts/recordmcount.c if (*ptr != 0) ptr 264 scripts/recordmcount.c char *ptr; ptr 269 scripts/recordmcount.c ptr = map + offset; ptr 270 scripts/recordmcount.c if (memcmp(ptr, bl_mcount_arm, 4) == 0) { ptr 271 scripts/recordmcount.c if (memcmp(ptr - 4, push_arm, 4) == 0) { ptr 277 scripts/recordmcount.c } else if (memcmp(ptr - 2, push_bl_mcount_thumb, 6) == 0) { ptr 300 scripts/recordmcount.c uint32_t *ptr; ptr 302 scripts/recordmcount.c ptr = map + offset; ptr 304 scripts/recordmcount.c if (*ptr != 0x94000000) ptr 186 security/apparmor/policy.c static void aa_free_data(void *ptr, void *arg) ptr 188 security/apparmor/policy.c struct aa_data *data = ptr; ptr 121 security/integrity/ima/ima_crypto.c void *ptr; ptr 129 security/integrity/ima/ima_crypto.c ptr = (void *)__get_free_pages(gfp_mask, order); ptr 130 security/integrity/ima/ima_crypto.c if (ptr) { ptr 132 security/integrity/ima/ima_crypto.c return ptr; ptr 143 security/integrity/ima/ima_crypto.c ptr = (void *)__get_free_pages(gfp_mask, 0); ptr 144 security/integrity/ima/ima_crypto.c if (ptr) { ptr 146 security/integrity/ima/ima_crypto.c return ptr; ptr 158 security/integrity/ima/ima_crypto.c static void ima_free_pages(void *ptr, size_t size) ptr 160 security/integrity/ima/ima_crypto.c if (!ptr) ptr 162 security/integrity/ima/ima_crypto.c free_pages((unsigned long)ptr, get_order(size)); ptr 20 security/integrity/platform_certs/load_ipl_s390.c void *ptr, *end; ptr 26 security/integrity/platform_certs/load_ipl_s390.c ptr = (void *) ipl_cert_list_addr; ptr 27 security/integrity/platform_certs/load_ipl_s390.c end = ptr + ipl_cert_list_size; ptr 28 security/integrity/platform_certs/load_ipl_s390.c while ((void *) ptr < end) { ptr 29 security/integrity/platform_certs/load_ipl_s390.c len = *(unsigned int *) ptr; ptr 30 security/integrity/platform_certs/load_ipl_s390.c ptr += sizeof(unsigned int); ptr 31 security/integrity/platform_certs/load_ipl_s390.c add_to_platform_keyring("IPL:db", ptr, len); ptr 32 security/integrity/platform_certs/load_ipl_s390.c ptr += len; ptr 674 security/keys/keyring.c struct assoc_array_ptr *ptr; ptr 732 security/keys/keyring.c ptr = READ_ONCE(keyring->keys.root); ptr 733 security/keys/keyring.c if (!ptr) ptr 736 security/keys/keyring.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 741 security/keys/keyring.c shortcut = assoc_array_ptr_to_shortcut(ptr); ptr 745 security/keys/keyring.c ptr = READ_ONCE(shortcut->next_node); ptr 746 security/keys/keyring.c node = assoc_array_ptr_to_node(ptr); ptr 750 security/keys/keyring.c node = assoc_array_ptr_to_node(ptr); ptr 751 security/keys/keyring.c ptr = node->slots[0]; ptr 752 security/keys/keyring.c if (!assoc_array_ptr_is_meta(ptr)) ptr 760 security/keys/keyring.c if (assoc_array_ptr_is_shortcut(ptr)) { ptr 761 security/keys/keyring.c shortcut = assoc_array_ptr_to_shortcut(ptr); ptr 762 security/keys/keyring.c ptr = READ_ONCE(shortcut->next_node); ptr 763 security/keys/keyring.c BUG_ON(!assoc_array_ptr_is_node(ptr)); ptr 765 security/keys/keyring.c node = assoc_array_ptr_to_node(ptr); ptr 773 security/keys/keyring.c ptr = READ_ONCE(node->slots[slot]); ptr 775 security/keys/keyring.c if (assoc_array_ptr_is_meta(ptr) && node->back_pointer) ptr 778 security/keys/keyring.c if (!keyring_ptr_is_keyring(ptr)) ptr 781 security/keys/keyring.c key = keyring_ptr_to_key(ptr); ptr 811 security/keys/keyring.c ptr = READ_ONCE(node->back_pointer); ptr 814 security/keys/keyring.c if (ptr && assoc_array_ptr_is_shortcut(ptr)) { ptr 815 security/keys/keyring.c shortcut = assoc_array_ptr_to_shortcut(ptr); ptr 816 security/keys/keyring.c ptr = READ_ONCE(shortcut->back_pointer); ptr 819 security/keys/keyring.c if (!ptr) ptr 821 security/keys/keyring.c node = assoc_array_ptr_to_node(ptr); ptr 251 security/selinux/netif.c unsigned long event, void *ptr) ptr 253 security/selinux/netif.c struct net_device *dev = netdev_notifier_info_to_dev(ptr); ptr 1032 security/selinux/selinuxfs.c char *con = NULL, *user = NULL, *ptr; ptr 1069 security/selinux/selinuxfs.c ptr = buf + length; ptr 1081 security/selinux/selinuxfs.c memcpy(ptr, newcon, len); ptr 1083 security/selinux/selinuxfs.c ptr += len; ptr 268 security/selinux/ss/conditional.c static int cond_insertf(struct avtab *a, struct avtab_key *k, struct avtab_datum *d, void *ptr) ptr 270 security/selinux/ss/conditional.c struct cond_insertf_data *data = ptr; ptr 489 security/selinux/ss/conditional.c int cond_write_bool(void *vkey, void *datum, void *ptr) ptr 493 security/selinux/ss/conditional.c struct policy_data *pd = ptr; ptr 71 security/selinux/ss/conditional.h int cond_write_bool(void *key, void *datum, void *ptr); ptr 2595 security/selinux/ss/policydb.c static int sens_write(void *vkey, void *datum, void *ptr) ptr 2599 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 2623 security/selinux/ss/policydb.c static int cat_write(void *vkey, void *datum, void *ptr) ptr 2627 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 2758 security/selinux/ss/policydb.c static int common_write(void *vkey, void *datum, void *ptr) ptr 2762 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 2853 security/selinux/ss/policydb.c static int class_write(void *vkey, void *datum, void *ptr) ptr 2857 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 2941 security/selinux/ss/policydb.c static int role_write(void *vkey, void *datum, void *ptr) ptr 2945 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 2980 security/selinux/ss/policydb.c static int type_write(void *vkey, void *datum, void *ptr) ptr 2984 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 3021 security/selinux/ss/policydb.c static int user_write(void *vkey, void *datum, void *ptr) ptr 3025 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 3257 security/selinux/ss/policydb.c static int hashtab_cnt(void *key, void *data, void *ptr) ptr 3259 security/selinux/ss/policydb.c int *cnt = ptr; ptr 3265 security/selinux/ss/policydb.c static int range_write_helper(void *key, void *data, void *ptr) ptr 3270 security/selinux/ss/policydb.c struct policy_data *pd = ptr; ptr 3321 security/selinux/ss/policydb.c static int filename_write_helper(void *key, void *data, void *ptr) ptr 3326 security/selinux/ss/policydb.c void *fp = ptr; ptr 441 security/tomoyo/audit.c struct tomoyo_log *ptr = NULL; ptr 449 security/tomoyo/audit.c ptr = list_entry(tomoyo_log.next, typeof(*ptr), list); ptr 450 security/tomoyo/audit.c list_del(&ptr->list); ptr 452 security/tomoyo/audit.c tomoyo_memory_used[TOMOYO_MEMORY_AUDIT] -= ptr->size; ptr 455 security/tomoyo/audit.c if (ptr) { ptr 456 security/tomoyo/audit.c head->read_buf = ptr->log; ptr 458 security/tomoyo/audit.c kfree(ptr); ptr 387 security/tomoyo/common.c const struct tomoyo_name_union *ptr) ptr 390 security/tomoyo/common.c if (ptr->group) { ptr 392 security/tomoyo/common.c tomoyo_set_string(head, ptr->group->group_name->name); ptr 394 security/tomoyo/common.c tomoyo_set_string(head, ptr->filename->name); ptr 407 security/tomoyo/common.c const struct tomoyo_name_union *ptr) ptr 409 security/tomoyo/common.c if (ptr->group) { ptr 411 security/tomoyo/common.c tomoyo_set_string(head, ptr->group->group_name->name); ptr 414 security/tomoyo/common.c tomoyo_set_string(head, ptr->filename->name); ptr 428 security/tomoyo/common.c (struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) ptr 430 security/tomoyo/common.c if (ptr->group) { ptr 432 security/tomoyo/common.c tomoyo_set_string(head, ptr->group->group_name->name); ptr 435 security/tomoyo/common.c unsigned long min = ptr->values[0]; ptr 436 security/tomoyo/common.c const unsigned long max = ptr->values[1]; ptr 437 security/tomoyo/common.c u8 min_type = ptr->value_type[0]; ptr 438 security/tomoyo/common.c const u8 max_type = ptr->value_type[1]; ptr 476 security/tomoyo/common.c const struct tomoyo_number_union *ptr) ptr 479 security/tomoyo/common.c tomoyo_print_number_union_nospace(head, ptr); ptr 493 security/tomoyo/common.c struct tomoyo_profile *ptr; ptr 498 security/tomoyo/common.c ptr = ns->profile_ptr[profile]; ptr 499 security/tomoyo/common.c if (ptr) ptr 500 security/tomoyo/common.c return ptr; ptr 504 security/tomoyo/common.c ptr = ns->profile_ptr[profile]; ptr 505 security/tomoyo/common.c if (!ptr && tomoyo_memory_ok(entry)) { ptr 506 security/tomoyo/common.c ptr = entry; ptr 507 security/tomoyo/common.c ptr->default_config = TOMOYO_CONFIG_DISABLED | ptr 510 security/tomoyo/common.c memset(ptr->config, TOMOYO_CONFIG_USE_DEFAULT, ptr 511 security/tomoyo/common.c sizeof(ptr->config)); ptr 512 security/tomoyo/common.c ptr->pref[TOMOYO_PREF_MAX_AUDIT_LOG] = ptr 514 security/tomoyo/common.c ptr->pref[TOMOYO_PREF_MAX_LEARNING_ENTRY] = ptr 517 security/tomoyo/common.c ns->profile_ptr[profile] = ptr; ptr 523 security/tomoyo/common.c return ptr; ptr 538 security/tomoyo/common.c struct tomoyo_profile *ptr = ns->profile_ptr[profile]; ptr 540 security/tomoyo/common.c if (!ptr) ptr 541 security/tomoyo/common.c ptr = &tomoyo_null_profile; ptr 542 security/tomoyo/common.c return ptr; ptr 916 security/tomoyo/common.c struct tomoyo_manager *ptr = ptr 917 security/tomoyo/common.c list_entry(head->r.acl, typeof(*ptr), head.list); ptr 919 security/tomoyo/common.c if (ptr->head.is_deleted) ptr 923 security/tomoyo/common.c tomoyo_set_string(head, ptr->manager->name); ptr 939 security/tomoyo/common.c struct tomoyo_manager *ptr; ptr 954 security/tomoyo/common.c list_for_each_entry_rcu(ptr, &tomoyo_kernel_namespace.policy_list[TOMOYO_ID_MANAGER], head.list, ptr 956 security/tomoyo/common.c if (!ptr->head.is_deleted && ptr 957 security/tomoyo/common.c (!tomoyo_pathcmp(domainname, ptr->manager) || ptr 958 security/tomoyo/common.c !strcmp(exe, ptr->manager->name))) { ptr 1406 security/tomoyo/common.c struct tomoyo_path_acl *ptr = ptr 1407 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1408 security/tomoyo/common.c const u16 perm = ptr->perm; ptr 1426 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->name); ptr 1428 security/tomoyo/common.c struct tomoyo_task_acl *ptr = ptr 1429 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1433 security/tomoyo/common.c tomoyo_set_string(head, ptr->domainname->name); ptr 1437 security/tomoyo/common.c struct tomoyo_path2_acl *ptr = ptr 1438 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1439 security/tomoyo/common.c const u8 perm = ptr->perm; ptr 1455 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->name1); ptr 1456 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->name2); ptr 1458 security/tomoyo/common.c struct tomoyo_path_number_acl *ptr = ptr 1459 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1460 security/tomoyo/common.c const u8 perm = ptr->perm; ptr 1476 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->name); ptr 1477 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->number); ptr 1479 security/tomoyo/common.c struct tomoyo_mkdev_acl *ptr = ptr 1480 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1481 security/tomoyo/common.c const u8 perm = ptr->perm; ptr 1497 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->name); ptr 1498 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->mode); ptr 1499 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->major); ptr 1500 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->minor); ptr 1502 security/tomoyo/common.c struct tomoyo_inet_acl *ptr = ptr 1503 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1504 security/tomoyo/common.c const u8 perm = ptr->perm; ptr 1512 security/tomoyo/common.c [ptr->protocol]); ptr 1523 security/tomoyo/common.c if (ptr->address.group) { ptr 1525 security/tomoyo/common.c tomoyo_set_string(head, ptr->address.group->group_name ptr 1530 security/tomoyo/common.c tomoyo_print_ip(buf, sizeof(buf), &ptr->address); ptr 1533 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->port); ptr 1535 security/tomoyo/common.c struct tomoyo_unix_acl *ptr = ptr 1536 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1537 security/tomoyo/common.c const u8 perm = ptr->perm; ptr 1545 security/tomoyo/common.c [ptr->protocol]); ptr 1555 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->name); ptr 1557 security/tomoyo/common.c struct tomoyo_mount_acl *ptr = ptr 1558 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1561 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->dev_name); ptr 1562 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->dir_name); ptr 1563 security/tomoyo/common.c tomoyo_print_name_union(head, &ptr->fs_type); ptr 1564 security/tomoyo/common.c tomoyo_print_number_union(head, &ptr->flags); ptr 1566 security/tomoyo/common.c struct tomoyo_env_acl *ptr = ptr 1567 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1570 security/tomoyo/common.c tomoyo_set_string(head, ptr->env->name); ptr 1601 security/tomoyo/common.c struct tomoyo_acl_info *ptr = ptr 1602 security/tomoyo/common.c list_entry(head->r.acl, typeof(*ptr), list); ptr 1604 security/tomoyo/common.c if (!tomoyo_print_entry(head, ptr)) ptr 1808 security/tomoyo/common.c struct tomoyo_acl_head *ptr = ptr 1809 security/tomoyo/common.c list_entry(head->r.acl, typeof(*ptr), list); ptr 1811 security/tomoyo/common.c if (ptr->is_deleted) ptr 1821 security/tomoyo/common.c (ptr, struct tomoyo_path_group, ptr 1825 security/tomoyo/common.c (ptr, ptr 1831 security/tomoyo/common.c container_of(ptr, typeof(*member), ptr 1872 security/tomoyo/common.c struct tomoyo_transition_control *ptr = ptr 1873 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1877 security/tomoyo/common.c [ptr->type]); ptr 1878 security/tomoyo/common.c tomoyo_set_string(head, ptr->program ? ptr 1879 security/tomoyo/common.c ptr->program->name : "any"); ptr 1881 security/tomoyo/common.c tomoyo_set_string(head, ptr->domainname ? ptr 1882 security/tomoyo/common.c ptr->domainname->name : ptr 1888 security/tomoyo/common.c struct tomoyo_aggregator *ptr = ptr 1889 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); ptr 1894 security/tomoyo/common.c ptr->original_name->name); ptr 1897 security/tomoyo/common.c ptr->aggregated_name->name); ptr 2163 security/tomoyo/common.c struct tomoyo_query *ptr; ptr 2167 security/tomoyo/common.c list_for_each_entry(ptr, &tomoyo_query_list, list) { ptr 2168 security/tomoyo/common.c if (ptr->serial != serial) ptr 2170 security/tomoyo/common.c domain = ptr->domain; ptr 2215 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); ptr 2219 security/tomoyo/common.c len = ptr->query_len; ptr 2233 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); ptr 2241 security/tomoyo/common.c if (len == ptr->query_len) ptr 2242 security/tomoyo/common.c snprintf(buf, len + 31, "Q%u-%hu\n%s", ptr->serial, ptr 2243 security/tomoyo/common.c ptr->retry, ptr->query); ptr 2272 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); ptr 2274 security/tomoyo/common.c ptr->timer = 0; ptr 2281 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); ptr 2283 security/tomoyo/common.c if (ptr->serial != serial) ptr 2285 security/tomoyo/common.c ptr->answer = answer; ptr 2287 security/tomoyo/common.c if (ptr->answer) ptr 2288 security/tomoyo/common.c list_del_init(&ptr->list); ptr 930 security/tomoyo/common.h const struct tomoyo_number_union *ptr); ptr 940 security/tomoyo/common.h bool tomoyo_memory_ok(void *ptr); ptr 945 security/tomoyo/common.h struct tomoyo_ipaddr_union *ptr); ptr 947 security/tomoyo/common.h struct tomoyo_name_union *ptr); ptr 949 security/tomoyo/common.h struct tomoyo_number_union *ptr); ptr 964 security/tomoyo/common.h (const struct tomoyo_path_info *name, const struct tomoyo_name_union *ptr); ptr 1053 security/tomoyo/common.h void tomoyo_fill_path_info(struct tomoyo_path_info *ptr); ptr 1060 security/tomoyo/common.h const struct tomoyo_ipaddr_union *ptr); ptr 1063 security/tomoyo/common.h void tomoyo_put_name_union(struct tomoyo_name_union *ptr); ptr 1064 security/tomoyo/common.h void tomoyo_put_number_union(struct tomoyo_number_union *ptr); ptr 1181 security/tomoyo/common.h struct tomoyo_name *ptr = ptr 1182 security/tomoyo/common.h container_of(name, typeof(*ptr), entry); ptr 1183 security/tomoyo/common.h atomic_dec(&ptr->head.users); ptr 235 security/tomoyo/condition.c const struct tomoyo_name_union *ptr, ptr 247 security/tomoyo/condition.c result = tomoyo_compare_name_union(&exe, ptr); ptr 280 security/tomoyo/condition.c struct tomoyo_name_union *ptr) ptr 285 security/tomoyo/condition.c return tomoyo_parse_name_union(param, ptr); ptr 286 security/tomoyo/condition.c ptr->filename = tomoyo_get_dqword(filename); ptr 287 security/tomoyo/condition.c return ptr->filename != NULL; ptr 409 security/tomoyo/condition.c struct tomoyo_condition *ptr; ptr 414 security/tomoyo/condition.c ptr = NULL; ptr 418 security/tomoyo/condition.c list_for_each_entry(ptr, &tomoyo_condition_list, head.list) { ptr 419 security/tomoyo/condition.c if (!tomoyo_same_condition(ptr, entry) || ptr 420 security/tomoyo/condition.c atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) ptr 423 security/tomoyo/condition.c atomic_inc(&ptr->head.users); ptr 433 security/tomoyo/condition.c ptr = NULL; ptr 441 security/tomoyo/condition.c entry = ptr; ptr 811 security/tomoyo/condition.c const struct tomoyo_name_union *ptr = names_p++; ptr 820 security/tomoyo/condition.c !tomoyo_compare_name_union(symlink, ptr) ptr 827 security/tomoyo/condition.c if (!tomoyo_scan_exec_realpath(file, ptr, ptr 1063 security/tomoyo/condition.c const struct tomoyo_number_union *ptr = numbers_p++; ptr 1065 security/tomoyo/condition.c min_v[0] = ptr->values[0]; ptr 1066 security/tomoyo/condition.c max_v[0] = ptr->values[1]; ptr 1070 security/tomoyo/condition.c const struct tomoyo_number_union *ptr = numbers_p++; ptr 1072 security/tomoyo/condition.c if (ptr->group) { ptr 1075 security/tomoyo/condition.c ptr->group) ptr 1079 security/tomoyo/condition.c if ((min_v[0] <= ptr->values[1] && ptr 1080 security/tomoyo/condition.c max_v[0] >= ptr->values[0]) == match) ptr 166 security/tomoyo/domain.c struct tomoyo_acl_info *ptr; ptr 171 security/tomoyo/domain.c list_for_each_entry_rcu(ptr, list, list, ptr 173 security/tomoyo/domain.c if (ptr->is_deleted || ptr->type != r->param_type) ptr 175 security/tomoyo/domain.c if (!check_entry(r, ptr)) ptr 177 security/tomoyo/domain.c if (!tomoyo_condition(r, ptr->cond)) ptr 179 security/tomoyo/domain.c r->matched_acl = ptr; ptr 302 security/tomoyo/domain.c const struct tomoyo_transition_control *ptr; ptr 304 security/tomoyo/domain.c list_for_each_entry_rcu(ptr, list, head.list, ptr 306 security/tomoyo/domain.c if (ptr->head.is_deleted || ptr->type != type) ptr 308 security/tomoyo/domain.c if (ptr->domainname) { ptr 309 security/tomoyo/domain.c if (!ptr->is_last_name) { ptr 310 security/tomoyo/domain.c if (ptr->domainname != domainname) ptr 317 security/tomoyo/domain.c if (strcmp(ptr->domainname->name, last_name)) ptr 321 security/tomoyo/domain.c if (ptr->program && tomoyo_pathcmp(ptr->program, program)) ptr 464 security/tomoyo/domain.c struct tomoyo_policy_namespace *ptr; ptr 471 security/tomoyo/domain.c ptr = tomoyo_find_namespace(domainname, len); ptr 472 security/tomoyo/domain.c if (ptr) ptr 473 security/tomoyo/domain.c return ptr; ptr 481 security/tomoyo/domain.c ptr = tomoyo_find_namespace(domainname, len); ptr 482 security/tomoyo/domain.c if (!ptr && tomoyo_memory_ok(entry)) { ptr 485 security/tomoyo/domain.c ptr = entry; ptr 495 security/tomoyo/domain.c return ptr; ptr 736 security/tomoyo/domain.c struct tomoyo_aggregator *ptr; ptr 742 security/tomoyo/domain.c list_for_each_entry_rcu(ptr, list, head.list, ptr 744 security/tomoyo/domain.c if (ptr->head.is_deleted || ptr 746 security/tomoyo/domain.c ptr->original_name)) ptr 748 security/tomoyo/domain.c candidate = ptr->aggregated_name; ptr 19 security/tomoyo/environ.c const struct tomoyo_acl_info *ptr) ptr 22 security/tomoyo/environ.c container_of(ptr, typeof(*acl), head); ptr 67 security/tomoyo/file.c void tomoyo_put_name_union(struct tomoyo_name_union *ptr) ptr 69 security/tomoyo/file.c tomoyo_put_group(ptr->group); ptr 70 security/tomoyo/file.c tomoyo_put_name(ptr->filename); ptr 83 security/tomoyo/file.c const struct tomoyo_name_union *ptr) ptr 85 security/tomoyo/file.c if (ptr->group) ptr 86 security/tomoyo/file.c return tomoyo_path_matches_group(name, ptr->group); ptr 87 security/tomoyo/file.c if (tomoyo_path_matches_pattern(name, ptr->filename)) ptr 88 security/tomoyo/file.c return ptr->filename; ptr 99 security/tomoyo/file.c void tomoyo_put_number_union(struct tomoyo_number_union *ptr) ptr 101 security/tomoyo/file.c tomoyo_put_group(ptr->group); ptr 113 security/tomoyo/file.c const struct tomoyo_number_union *ptr) ptr 115 security/tomoyo/file.c if (ptr->group) ptr 116 security/tomoyo/file.c return tomoyo_number_matches_group(value, value, ptr->group); ptr 117 security/tomoyo/file.c return value >= ptr->values[0] && value <= ptr->values[1]; ptr 253 security/tomoyo/file.c const struct tomoyo_acl_info *ptr) ptr 255 security/tomoyo/file.c const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), ptr 276 security/tomoyo/file.c const struct tomoyo_acl_info *ptr) ptr 279 security/tomoyo/file.c container_of(ptr, typeof(*acl), head); ptr 297 security/tomoyo/file.c const struct tomoyo_acl_info *ptr) ptr 300 security/tomoyo/file.c container_of(ptr, typeof(*acl), head); ptr 317 security/tomoyo/file.c const struct tomoyo_acl_info *ptr) ptr 320 security/tomoyo/file.c container_of(ptr, typeof(*acl), head); ptr 21 security/tomoyo/gc.c static inline void tomoyo_memory_free(void *ptr) ptr 23 security/tomoyo/gc.c tomoyo_memory_used[TOMOYO_MEMORY_POLICY] -= ksize(ptr); ptr 24 security/tomoyo/gc.c kfree(ptr); ptr 111 security/tomoyo/gc.c struct tomoyo_transition_control *ptr = ptr 112 security/tomoyo/gc.c container_of(element, typeof(*ptr), head.list); ptr 114 security/tomoyo/gc.c tomoyo_put_name(ptr->domainname); ptr 115 security/tomoyo/gc.c tomoyo_put_name(ptr->program); ptr 127 security/tomoyo/gc.c struct tomoyo_aggregator *ptr = ptr 128 security/tomoyo/gc.c container_of(element, typeof(*ptr), head.list); ptr 130 security/tomoyo/gc.c tomoyo_put_name(ptr->original_name); ptr 131 security/tomoyo/gc.c tomoyo_put_name(ptr->aggregated_name); ptr 143 security/tomoyo/gc.c struct tomoyo_manager *ptr = ptr 144 security/tomoyo/gc.c container_of(element, typeof(*ptr), head.list); ptr 146 security/tomoyo/gc.c tomoyo_put_name(ptr->manager); ptr 550 security/tomoyo/gc.c struct tomoyo_shared_acl_head *ptr; ptr 553 security/tomoyo/gc.c list_for_each_entry_safe(ptr, tmp, &tomoyo_condition_list, ptr 555 security/tomoyo/gc.c if (atomic_read(&ptr->users) > 0) ptr 557 security/tomoyo/gc.c atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS); ptr 558 security/tomoyo/gc.c tomoyo_try_to_gc(TOMOYO_ID_CONDITION, &ptr->list); ptr 592 security/tomoyo/gc.c struct tomoyo_shared_acl_head *ptr; ptr 595 security/tomoyo/gc.c list_for_each_entry_safe(ptr, tmp, list, list) { ptr 596 security/tomoyo/gc.c if (atomic_read(&ptr->users) > 0) ptr 598 security/tomoyo/gc.c atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS); ptr 599 security/tomoyo/gc.c tomoyo_try_to_gc(TOMOYO_ID_NAME, &ptr->list); ptr 47 security/tomoyo/memory.c bool tomoyo_memory_ok(void *ptr) ptr 49 security/tomoyo/memory.c if (ptr) { ptr 50 security/tomoyo/memory.c const size_t s = ksize(ptr); ptr 76 security/tomoyo/memory.c void *ptr = kzalloc(size, GFP_NOFS); ptr 78 security/tomoyo/memory.c if (tomoyo_memory_ok(ptr)) { ptr 79 security/tomoyo/memory.c memmove(ptr, data, size); ptr 81 security/tomoyo/memory.c return ptr; ptr 83 security/tomoyo/memory.c kfree(ptr); ptr 154 security/tomoyo/memory.c struct tomoyo_name *ptr; ptr 166 security/tomoyo/memory.c list_for_each_entry(ptr, head, head.list) { ptr 167 security/tomoyo/memory.c if (hash != ptr->entry.hash || strcmp(name, ptr->entry.name) || ptr 168 security/tomoyo/memory.c atomic_read(&ptr->head.users) == TOMOYO_GC_IN_PROGRESS) ptr 170 security/tomoyo/memory.c atomic_inc(&ptr->head.users); ptr 173 security/tomoyo/memory.c ptr = kzalloc(sizeof(*ptr) + len, GFP_NOFS); ptr 174 security/tomoyo/memory.c if (tomoyo_memory_ok(ptr)) { ptr 175 security/tomoyo/memory.c ptr->entry.name = ((char *) ptr) + sizeof(*ptr); ptr 176 security/tomoyo/memory.c memmove((char *) ptr->entry.name, name, len); ptr 177 security/tomoyo/memory.c atomic_set(&ptr->head.users, 1); ptr 178 security/tomoyo/memory.c tomoyo_fill_path_info(&ptr->entry); ptr 179 security/tomoyo/memory.c list_add_tail(&ptr->head.list, head); ptr 181 security/tomoyo/memory.c kfree(ptr); ptr 182 security/tomoyo/memory.c ptr = NULL; ptr 186 security/tomoyo/memory.c return ptr ? &ptr->entry : NULL; ptr 48 security/tomoyo/mount.c const struct tomoyo_acl_info *ptr) ptr 51 security/tomoyo/mount.c container_of(ptr, typeof(*acl), head); ptr 51 security/tomoyo/network.c struct tomoyo_ipaddr_union *ptr) ptr 53 security/tomoyo/network.c u8 * const min = ptr->ip[0].in6_u.u6_addr8; ptr 54 security/tomoyo/network.c u8 * const max = ptr->ip[1].in6_u.u6_addr8; ptr 60 security/tomoyo/network.c ptr->is_ipv6 = false; ptr 62 security/tomoyo/network.c ptr->ip[1].s6_addr32[0] = ptr->ip[0].s6_addr32[0]; ptr 69 security/tomoyo/network.c ptr->is_ipv6 = true; ptr 125 security/tomoyo/network.c const struct tomoyo_ipaddr_union *ptr) ptr 127 security/tomoyo/network.c if (ptr->is_ipv6) ptr 128 security/tomoyo/network.c tomoyo_print_ipv6(buf, size, &ptr->ip[0], &ptr->ip[1]); ptr 130 security/tomoyo/network.c tomoyo_print_ipv4(buf, size, &ptr->ip[0].s6_addr32[0], ptr 131 security/tomoyo/network.c &ptr->ip[1].s6_addr32[0]); ptr 420 security/tomoyo/network.c const struct tomoyo_acl_info *ptr) ptr 423 security/tomoyo/network.c container_of(ptr, typeof(*acl), head); ptr 450 security/tomoyo/network.c const struct tomoyo_acl_info *ptr) ptr 453 security/tomoyo/network.c container_of(ptr, typeof(*acl), head); ptr 20 security/tomoyo/securityfs_if.c const struct tomoyo_acl_info *ptr) ptr 22 security/tomoyo/securityfs_if.c const struct tomoyo_task_acl *acl = container_of(ptr, typeof(*acl), ptr 246 security/tomoyo/util.c struct tomoyo_name_union *ptr) ptr 252 security/tomoyo/util.c ptr->group = tomoyo_get_group(param, TOMOYO_PATH_GROUP); ptr 253 security/tomoyo/util.c return ptr->group != NULL; ptr 258 security/tomoyo/util.c ptr->filename = tomoyo_get_name(filename); ptr 259 security/tomoyo/util.c return ptr->filename != NULL; ptr 271 security/tomoyo/util.c struct tomoyo_number_union *ptr) ptr 277 security/tomoyo/util.c memset(ptr, 0, sizeof(*ptr)); ptr 280 security/tomoyo/util.c ptr->group = tomoyo_get_group(param, TOMOYO_NUMBER_GROUP); ptr 281 security/tomoyo/util.c return ptr->group != NULL; ptr 287 security/tomoyo/util.c ptr->values[0] = v; ptr 288 security/tomoyo/util.c ptr->value_type[0] = type; ptr 290 security/tomoyo/util.c ptr->values[1] = v; ptr 291 security/tomoyo/util.c ptr->value_type[1] = type; ptr 297 security/tomoyo/util.c if (type == TOMOYO_VALUE_TYPE_INVALID || *data || ptr->values[0] > v) ptr 299 security/tomoyo/util.c ptr->values[1] = v; ptr 300 security/tomoyo/util.c ptr->value_type[1] = type; ptr 655 security/tomoyo/util.c void tomoyo_fill_path_info(struct tomoyo_path_info *ptr) ptr 657 security/tomoyo/util.c const char *name = ptr->name; ptr 660 security/tomoyo/util.c ptr->const_len = tomoyo_const_part_length(name); ptr 661 security/tomoyo/util.c ptr->is_dir = len && (name[len - 1] == '/'); ptr 662 security/tomoyo/util.c ptr->is_patterned = (ptr->const_len < len); ptr 663 security/tomoyo/util.c ptr->hash = full_name_hash(NULL, name, len); ptr 1026 security/tomoyo/util.c struct tomoyo_acl_info *ptr; ptr 1032 security/tomoyo/util.c list_for_each_entry_rcu(ptr, &domain->acl_info_list, list, ptr 1037 security/tomoyo/util.c if (ptr->is_deleted) ptr 1039 security/tomoyo/util.c switch (ptr->type) { ptr 1041 security/tomoyo/util.c perm = container_of(ptr, struct tomoyo_path_acl, head) ptr 1045 security/tomoyo/util.c perm = container_of(ptr, struct tomoyo_path2_acl, head) ptr 1049 security/tomoyo/util.c perm = container_of(ptr, struct tomoyo_path_number_acl, ptr 1053 security/tomoyo/util.c perm = container_of(ptr, struct tomoyo_mkdev_acl, ptr 1057 security/tomoyo/util.c perm = container_of(ptr, struct tomoyo_inet_acl, ptr 1061 security/tomoyo/util.c perm = container_of(ptr, struct tomoyo_unix_acl, ptr 603 sound/aoa/fabrics/layout.c struct layout_dev *ptr; ptr 858 sound/aoa/fabrics/layout.c ldev = dptr->ptr; ptr 1053 sound/aoa/fabrics/layout.c ldev->selfptr_headphone.ptr = ldev; ptr 1054 sound/aoa/fabrics/layout.c ldev->selfptr_lineout.ptr = ldev; ptr 211 sound/arm/aaci.c void *ptr; ptr 221 sound/arm/aaci.c ptr = aacirun->ptr; ptr 246 sound/arm/aaci.c : "+r" (ptr) ptr 250 sound/arm/aaci.c if (ptr >= aacirun->end) ptr 251 sound/arm/aaci.c ptr = aacirun->start; ptr 255 sound/arm/aaci.c aacirun->ptr = ptr; ptr 271 sound/arm/aaci.c void *ptr; ptr 281 sound/arm/aaci.c ptr = aacirun->ptr; ptr 306 sound/arm/aaci.c : "+r" (ptr) ptr 310 sound/arm/aaci.c if (ptr >= aacirun->end) ptr 311 sound/arm/aaci.c ptr = aacirun->start; ptr 315 sound/arm/aaci.c aacirun->ptr = ptr; ptr 551 sound/arm/aaci.c aacirun->ptr = aacirun->start; ptr 561 sound/arm/aaci.c ssize_t bytes = aacirun->ptr - aacirun->start; ptr 217 sound/arm/aaci.h void *ptr; ptr 1385 sound/core/control.c static int snd_ctl_subscribe_events(struct snd_ctl_file *file, int __user *ptr) ptr 1388 sound/core/control.c if (get_user(subscribe, ptr)) ptr 1392 sound/core/control.c if (put_user(subscribe, ptr)) ptr 26 sound/core/control_compat.c compat_caddr_t ptr; ptr 35 sound/core/control_compat.c if (get_user(ptr, &data32->pids) || ptr 36 sound/core/control_compat.c put_user(compat_ptr(ptr), &data->pids)) ptr 23 sound/core/hwdep_compat.c compat_caddr_t ptr; ptr 31 sound/core/hwdep_compat.c if (get_user(ptr, &src->image) || ptr 32 sound/core/hwdep_compat.c put_user(compat_ptr(ptr), &dst->image)) ptr 888 sound/core/init.c char *ptr; ptr 891 sound/core/init.c ptr = strstr(card->components, component); ptr 892 sound/core/init.c if (ptr != NULL) { ptr 893 sound/core/init.c if (ptr[len] == '\0' || ptr[len] == ' ') /* already there */ ptr 956 sound/core/oss/mixer_oss.c struct snd_mixer_oss_assign_table *ptr, ptr 962 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, ptr->name, ptr->index, ptr 966 sound/core/oss/mixer_oss.c sprintf(str, "%s Switch", ptr->name); ptr 967 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 971 sound/core/oss/mixer_oss.c sprintf(str, "%s Route", ptr->name); ptr 972 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 976 sound/core/oss/mixer_oss.c sprintf(str, "%s Volume", ptr->name); ptr 977 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 981 sound/core/oss/mixer_oss.c sprintf(str, "%s Playback Switch", ptr->name); ptr 982 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 986 sound/core/oss/mixer_oss.c sprintf(str, "%s Playback Route", ptr->name); ptr 987 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 991 sound/core/oss/mixer_oss.c sprintf(str, "%s Playback Volume", ptr->name); ptr 992 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 996 sound/core/oss/mixer_oss.c sprintf(str, "%s Capture Switch", ptr->name); ptr 997 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 1001 sound/core/oss/mixer_oss.c sprintf(str, "%s Capture Route", ptr->name); ptr 1002 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 1006 sound/core/oss/mixer_oss.c sprintf(str, "%s Capture Volume", ptr->name); ptr 1007 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, ptr 1020 sound/core/oss/mixer_oss.c static int snd_mixer_oss_build_input(struct snd_mixer_oss *mixer, struct snd_mixer_oss_assign_table *ptr, int ptr_allocated, int replace_old) ptr 1029 sound/core/oss/mixer_oss.c if (mixer->slots[ptr->oss_id].get_volume && ! replace_old) ptr 1034 sound/core/oss/mixer_oss.c if (snd_mixer_oss_build_test_all(mixer, ptr, &slot)) ptr 1037 sound/core/oss/mixer_oss.c if (ptr->index == 0 && (kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0)) != NULL) { ptr 1051 sound/core/oss/mixer_oss.c strcpy(str, ptr->name); ptr 1082 sound/core/oss/mixer_oss.c pslot->assigned = ptr; ptr 1084 sound/core/oss/mixer_oss.c rslot = &mixer->slots[ptr->oss_id]; ptr 1097 sound/core/oss/mixer_oss.c mixer->mask_recsrc |= 1 << ptr->oss_id; ptr 1206 sound/core/oss/pcm_oss.c snd_pcm_sframes_t snd_pcm_oss_write3(struct snd_pcm_substream *substream, const char *ptr, snd_pcm_uframes_t frames, int in_kernel) ptr 1223 sound/core/oss/pcm_oss.c ret = __snd_pcm_lib_xfer(substream, (void *)ptr, true, ptr 1235 sound/core/oss/pcm_oss.c snd_pcm_sframes_t snd_pcm_oss_read3(struct snd_pcm_substream *substream, char *ptr, snd_pcm_uframes_t frames, int in_kernel) ptr 1260 sound/core/oss/pcm_oss.c ret = __snd_pcm_lib_xfer(substream, (void *)ptr, true, ptr 2184 sound/core/oss/pcm_oss.c info.ptr = snd_pcm_oss_bytes(substream, runtime->status->hw_ptr % runtime->buffer_size); ptr 2285 sound/core/oss/pcm_oss.c const char *ptr, *ptrl = NULL; ptr 2286 sound/core/oss/pcm_oss.c for (ptr = path; *ptr; ptr++) { ptr 2287 sound/core/oss/pcm_oss.c if (*ptr == '/') ptr 2288 sound/core/oss/pcm_oss.c ptrl = ptr + 1; ptr 2950 sound/core/oss/pcm_oss.c const char *ptr; ptr 2957 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(task_name, line, sizeof(task_name)); ptr 2969 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(str, ptr, sizeof(str)); ptr 2971 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(str, ptr, sizeof(str)); ptr 2979 sound/core/oss/pcm_oss.c ptr = snd_info_get_str(str, ptr, sizeof(str)); ptr 143 sound/core/oss/pcm_plugin.h void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr); ptr 145 sound/core/oss/pcm_plugin.h const char *ptr, snd_pcm_uframes_t size, ptr 148 sound/core/oss/pcm_plugin.h char *ptr, snd_pcm_uframes_t size, int in_kernel); ptr 419 sound/core/pcm_compat.c u32 ptr; ptr 420 sound/core/pcm_compat.c if (get_user(ptr, bufptr)) { ptr 424 sound/core/pcm_compat.c bufs[i] = compat_ptr(ptr); ptr 116 sound/core/seq/oss/seq_oss_readq.c static int readq_dump_sysex(void *ptr, void *buf, int count) ptr 118 sound/core/seq/oss/seq_oss_readq.c struct readq_sysex_ctx *ctx = ptr; ptr 535 sound/core/seq/oss/seq_oss_synth.c ev->data.ext.ptr = sysex->buf; ptr 1080 sound/core/seq/seq_clientmgr.c event.data.ext.ptr = (char __force *)buf ptr 1086 sound/core/seq/seq_clientmgr.c void *ptr = (void __force *)compat_ptr(event.data.raw32.d[1]); ptr 1087 sound/core/seq/seq_clientmgr.c event.data.ext.ptr = ptr; ptr 2234 sound/core/seq/seq_clientmgr.c struct snd_seq_client *ptr; ptr 2239 sound/core/seq/seq_clientmgr.c ptr = clientptr(client); ptr 2240 sound/core/seq/seq_clientmgr.c if (ptr == NULL) ptr 2243 sound/core/seq/seq_clientmgr.c seq_free_client(ptr); ptr 2244 sound/core/seq/seq_clientmgr.c kfree(ptr); ptr 77 sound/core/seq/seq_memory.c char __user *curptr = (char __force __user *)event->data.ext.ptr; ptr 93 sound/core/seq/seq_memory.c return func(private_data, event->data.ext.ptr, len); ptr 95 sound/core/seq/seq_memory.c cell = (struct snd_seq_event_cell *)event->data.ext.ptr; ptr 147 sound/core/seq/seq_memory.c if (copy_from_user(buf, (void __force __user *)event->data.ext.ptr, len)) ptr 187 sound/core/seq/seq_memory.c curp = cell->event.data.ext.ptr; ptr 224 sound/core/seq/seq_memory.c if (pool->ptr == NULL) { /* not initialized */ ptr 314 sound/core/seq/seq_memory.c cell->event.data.ext.ptr = NULL; ptr 316 sound/core/seq/seq_memory.c src = (struct snd_seq_event_cell *)event->data.ext.ptr; ptr 317 sound/core/seq/seq_memory.c buf = (char *)event->data.ext.ptr; ptr 328 sound/core/seq/seq_memory.c if (cell->event.data.ext.ptr == NULL) ptr 329 sound/core/seq/seq_memory.c cell->event.data.ext.ptr = tmp; ptr 384 sound/core/seq/seq_memory.c if (pool->ptr) { ptr 390 sound/core/seq/seq_memory.c pool->ptr = cellptr; ptr 394 sound/core/seq/seq_memory.c cellptr = pool->ptr + cell; ptr 423 sound/core/seq/seq_memory.c struct snd_seq_event_cell *ptr; ptr 437 sound/core/seq/seq_memory.c ptr = pool->ptr; ptr 438 sound/core/seq/seq_memory.c pool->ptr = NULL; ptr 443 sound/core/seq/seq_memory.c kvfree(ptr); ptr 463 sound/core/seq/seq_memory.c pool->ptr = NULL; ptr 27 sound/core/seq/seq_memory.h struct snd_seq_event_cell *ptr; /* pointer to first event chunk */ ptr 230 sound/core/seq/seq_midi_event.c ev->data.ext.ptr = dev->buf; ptr 1003 sound/drivers/dummy.c const char *ptr; ptr 1007 sound/drivers/dummy.c ptr = snd_info_get_str(item, line, sizeof(item)); ptr 1014 sound/drivers/dummy.c snd_info_get_str(item, ptr, sizeof(item)); ptr 416 sound/firewire/amdtp-stream.c unsigned int ptr; ptr 418 sound/firewire/amdtp-stream.c ptr = s->pcm_buffer_pointer + frames; ptr 419 sound/firewire/amdtp-stream.c if (ptr >= pcm->runtime->buffer_size) ptr 420 sound/firewire/amdtp-stream.c ptr -= pcm->runtime->buffer_size; ptr 421 sound/firewire/amdtp-stream.c WRITE_ONCE(s->pcm_buffer_pointer, ptr); ptr 91 sound/firewire/isight.c unsigned int ptr; ptr 95 sound/firewire/isight.c ptr = isight->buffer_pointer; ptr 96 sound/firewire/isight.c ptr += count; ptr 97 sound/firewire/isight.c if (ptr >= runtime->buffer_size) ptr 98 sound/firewire/isight.c ptr -= runtime->buffer_size; ptr 99 sound/firewire/isight.c WRITE_ONCE(isight->buffer_pointer, ptr); ptr 261 sound/i2c/other/ak4xxx-adda.c const unsigned char *ptr, *inits; ptr 322 sound/i2c/other/ak4xxx-adda.c ptr = inits; ptr 323 sound/i2c/other/ak4xxx-adda.c while (*ptr != 0xff) { ptr 324 sound/i2c/other/ak4xxx-adda.c reg = *ptr++; ptr 325 sound/i2c/other/ak4xxx-adda.c data = *ptr++; ptr 288 sound/isa/ad1816a/ad1816a_lib.c size_t ptr; ptr 291 sound/isa/ad1816a/ad1816a_lib.c ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); ptr 292 sound/isa/ad1816a/ad1816a_lib.c return bytes_to_frames(substream->runtime, ptr); ptr 298 sound/isa/ad1816a/ad1816a_lib.c size_t ptr; ptr 301 sound/isa/ad1816a/ad1816a_lib.c ptr = snd_dma_pointer(chip->dma2, chip->c_dma_size); ptr 302 sound/isa/ad1816a/ad1816a_lib.c return bytes_to_frames(substream->runtime, ptr); ptr 489 sound/isa/es1688/es1688_lib.c size_t ptr; ptr 493 sound/isa/es1688/es1688_lib.c ptr = snd_dma_pointer(chip->dma8, chip->dma_size); ptr 494 sound/isa/es1688/es1688_lib.c return bytes_to_frames(substream->runtime, ptr); ptr 500 sound/isa/es1688/es1688_lib.c size_t ptr; ptr 504 sound/isa/es1688/es1688_lib.c ptr = snd_dma_pointer(chip->dma8, chip->dma_size); ptr 505 sound/isa/es1688/es1688_lib.c return bytes_to_frames(substream->runtime, ptr); ptr 38 sound/isa/gus/gus_mem.c if (pblock->ptr > nblock->ptr) { ptr 99 sound/isa/gus/gus_mem.c if (block->ptr == address) { ptr 141 sound/isa/gus/gus_mem.c while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) ptr 143 sound/isa/gus/gus_mem.c while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) ptr 147 sound/isa/gus/gus_mem.c if (pblock->ptr + pblock->size == pblock->next->ptr) ptr 149 sound/isa/gus/gus_mem.c if (pblock->next->ptr < boundary) ptr 150 sound/isa/gus/gus_mem.c ptr2 = pblock->next->ptr; ptr 152 sound/isa/gus/gus_mem.c ptr1 = ALIGN(pblock->ptr + pblock->size, align); ptr 157 sound/isa/gus/gus_mem.c block->ptr = ptr1; ptr 165 sound/isa/gus/gus_mem.c block->ptr = info[idx].address; ptr 236 sound/isa/gus/gus_mem.c block.ptr = 0; ptr 242 sound/isa/gus/gus_mem.c block.ptr = gus->gf1.default_voice_address; ptr 294 sound/isa/gus/gus_mem.c snd_iprintf(buffer, "Block %i onboard 0x%x size %i (0x%x):\n", i, block->ptr, block->size, block->size); ptr 442 sound/isa/gus/gus_pcm.c pcmp->memory = block->ptr; ptr 371 sound/isa/gus/gus_reset.c snd_gf1_i_write16(gus, SNDRV_GF1_GW_FIFO_RECORD_BASE_ADDR, gus->chip.playback_fifo_block->ptr >> 8); ptr 373 sound/isa/gus/gus_reset.c snd_gf1_i_write16(gus, SNDRV_GF1_GW_FIFO_PLAY_BASE_ADDR, gus->chip.record_fifo_block->ptr >> 8); ptr 186 sound/isa/sb/emu8000_pcm.c int ptr, delta; ptr 190 sound/isa/sb/emu8000_pcm.c ptr = emu8k_get_curpos(rec, 0); ptr 191 sound/isa/sb/emu8000_pcm.c if (ptr < rec->last_ptr) ptr 192 sound/isa/sb/emu8000_pcm.c delta = ptr + rec->buf_size - rec->last_ptr; ptr 194 sound/isa/sb/emu8000_pcm.c delta = ptr - rec->last_ptr; ptr 196 sound/isa/sb/emu8000_pcm.c rec->last_ptr = ptr; ptr 442 sound/isa/sb/sb16_main.c size_t ptr; ptr 445 sound/isa/sb/sb16_main.c ptr = snd_dma_pointer(dma, chip->p_dma_size); ptr 446 sound/isa/sb/sb16_main.c return bytes_to_frames(substream->runtime, ptr); ptr 453 sound/isa/sb/sb16_main.c size_t ptr; ptr 456 sound/isa/sb/sb16_main.c ptr = snd_dma_pointer(dma, chip->c_dma_size); ptr 457 sound/isa/sb/sb16_main.c return bytes_to_frames(substream->runtime, ptr); ptr 400 sound/isa/sb/sb8_main.c size_t ptr; ptr 409 sound/isa/sb/sb8_main.c ptr = snd_dma_pointer(dma, chip->p_dma_size); ptr 410 sound/isa/sb/sb8_main.c return bytes_to_frames(substream->runtime, ptr); ptr 416 sound/isa/sb/sb8_main.c size_t ptr; ptr 425 sound/isa/sb/sb8_main.c ptr = snd_dma_pointer(dma, chip->c_dma_size); ptr 426 sound/isa/sb/sb8_main.c return bytes_to_frames(substream->runtime, ptr); ptr 1472 sound/isa/wavefront/wavefront_synth.c u8 *ptr; ptr 1474 sound/isa/wavefront/wavefront_synth.c ptr = buf; ptr 1483 sound/isa/wavefront/wavefront_synth.c *((u32 *) &s.sampleStartOffset) = demunge_int32 (ptr, 4); ptr += 4; ptr 1484 sound/isa/wavefront/wavefront_synth.c *((u32 *) &s.loopStartOffset) = demunge_int32 (ptr, 4); ptr += 4; ptr 1485 sound/isa/wavefront/wavefront_synth.c *((u32 *) &s.loopEndOffset) = demunge_int32 (ptr, 4); ptr += 4; ptr 1486 sound/isa/wavefront/wavefront_synth.c *((u32 *) &s.sampleEndOffset) = demunge_int32 (ptr, 4); ptr += 4; ptr 1487 sound/isa/wavefront/wavefront_synth.c *((u32 *) &s.FrequencyBias) = demunge_int32 (ptr, 3); ptr += 3; ptr 1489 sound/isa/wavefront/wavefront_synth.c s.SampleResolution = *ptr & 0x3; ptr 1490 sound/isa/wavefront/wavefront_synth.c s.Loop = *ptr & 0x8; ptr 1491 sound/isa/wavefront/wavefront_synth.c s.Bidirectional = *ptr & 0x10; ptr 1492 sound/isa/wavefront/wavefront_synth.c s.Reverse = *ptr & 0x40; ptr 1143 sound/isa/wss/wss_lib.c size_t ptr; ptr 1147 sound/isa/wss/wss_lib.c ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); ptr 1148 sound/isa/wss/wss_lib.c return bytes_to_frames(substream->runtime, ptr); ptr 1154 sound/isa/wss/wss_lib.c size_t ptr; ptr 1158 sound/isa/wss/wss_lib.c ptr = snd_dma_pointer(chip->dma2, chip->c_dma_size); ptr 1159 sound/isa/wss/wss_lib.c return bytes_to_frames(substream->runtime, ptr); ptr 1252 sound/isa/wss/wss_lib.c unsigned char *ptr; ptr 1340 sound/isa/wss/wss_lib.c ptr = (unsigned char *) &chip->image; ptr 1345 sound/isa/wss/wss_lib.c snd_wss_out(chip, i, *ptr++); ptr 1225 sound/oss/dmasound/dmasound_core.c int len, ptr; ptr 1281 sound/oss/dmasound/dmasound_core.c state.ptr = 0; ptr 1360 sound/oss/dmasound/dmasound_core.c int n = state.len - state.ptr; ptr 1365 sound/oss/dmasound/dmasound_core.c if (copy_to_user(buf, &state.buf[state.ptr], n)) ptr 1367 sound/oss/dmasound/dmasound_core.c state.ptr += n; ptr 245 sound/oss/dmasound/dmasound_paula.c const u_short __user *ptr = (const u_short __user *)userPtr; \ ptr 255 sound/oss/dmasound/dmasound_paula.c if (get_user(data, ptr++)) \ ptr 270 sound/oss/dmasound/dmasound_paula.c if (get_user(data, ptr++)) \ ptr 275 sound/oss/dmasound/dmasound_paula.c if (get_user(data, ptr++)) \ ptr 367 sound/oss/dmasound/dmasound_q40.c static void Q40Free(void *ptr, unsigned int size) ptr 369 sound/oss/dmasound/dmasound_q40.c kfree(ptr); ptr 528 sound/pci/ad1889.c size_t ptr = 0; ptr 534 sound/pci/ad1889.c ptr = ad1889_readl(chip, AD_DMA_WAVCA); ptr 535 sound/pci/ad1889.c ptr -= chip->wave.addr; ptr 537 sound/pci/ad1889.c if (snd_BUG_ON(ptr >= chip->wave.size)) ptr 540 sound/pci/ad1889.c return bytes_to_frames(ss->runtime, ptr); ptr 547 sound/pci/ad1889.c size_t ptr = 0; ptr 553 sound/pci/ad1889.c ptr = ad1889_readl(chip, AD_DMA_ADCCA); ptr 554 sound/pci/ad1889.c ptr -= chip->ramc.addr; ptr 556 sound/pci/ad1889.c if (snd_BUG_ON(ptr >= chip->ramc.size)) ptr 559 sound/pci/ad1889.c return bytes_to_frames(ss->runtime, ptr); ptr 979 sound/pci/asihpi/asihpi.c snd_pcm_uframes_t ptr; ptr 983 sound/pci/asihpi/asihpi.c ptr = bytes_to_frames(runtime, dpcm->pcm_buf_dma_ofs % dpcm->buffer_bytes); ptr 984 sound/pci/asihpi/asihpi.c snd_printddd("%s, pointer=%ld\n", name, (unsigned long)ptr); ptr 985 sound/pci/asihpi/asihpi.c return ptr; ptr 176 sound/pci/asihpi/hpioctl.c u16 __user *ptr = NULL; ptr 209 sound/pci/asihpi/hpioctl.c ptr = (u16 __user *)hm->m0.u.d.u.data.pb_data; ptr 257 sound/pci/asihpi/hpioctl.c copy_from_user(pa->p_buffer, ptr, size); ptr 269 sound/pci/asihpi/hpioctl.c copy_to_user(ptr, pa->p_buffer, size); ptr 407 sound/pci/au88x0/au88x0_a3d.c static void a3dsrc_SetA3DPointerReg(a3dsrc_t * a, unsigned long ptr) ptr 410 sound/pci/au88x0/au88x0_a3d.c hwwrite(vortex->mmio, A3D_SLICE_Pointers + ((a->slice) << 0xd), ptr); ptr 428 sound/pci/au88x0/au88x0_a3d.c static void a3dsrc_GetA3DPointerReg(a3dsrc_t * a, unsigned long *ptr) ptr 431 sound/pci/au88x0/au88x0_a3d.c *ptr = hwread(vortex->mmio, A3D_SLICE_Pointers + ((a->slice) << 0xd)); ptr 378 sound/pci/aw2/aw2-saa7146.c size_t ptr = 0; ptr 382 sound/pci/aw2/aw2-saa7146.c ptr = pci_adp - (long)start_addr; ptr 384 sound/pci/aw2/aw2-saa7146.c if (ptr == buffer_size) ptr 385 sound/pci/aw2/aw2-saa7146.c ptr = 0; ptr 389 sound/pci/aw2/aw2-saa7146.c ptr = pci_adp - (size_t) start_addr; ptr 391 sound/pci/aw2/aw2-saa7146.c if (ptr == buffer_size) ptr 392 sound/pci/aw2/aw2-saa7146.c ptr = 0; ptr 394 sound/pci/aw2/aw2-saa7146.c return ptr; ptr 403 sound/pci/aw2/aw2-saa7146.c size_t ptr = 0; ptr 406 sound/pci/aw2/aw2-saa7146.c ptr = pci_adp - (size_t) start_addr; ptr 408 sound/pci/aw2/aw2-saa7146.c if (ptr == buffer_size) ptr 409 sound/pci/aw2/aw2-saa7146.c ptr = 0; ptr 411 sound/pci/aw2/aw2-saa7146.c return ptr; ptr 1044 sound/pci/ca0106/ca0106_main.c unsigned int ptr, prev_ptr; ptr 1053 sound/pci/ca0106/ca0106_main.c ptr = snd_ca0106_ptr_read(emu, PLAYBACK_LIST_PTR, channel); ptr 1054 sound/pci/ca0106/ca0106_main.c ptr = (ptr >> 3) * runtime->period_size; ptr 1055 sound/pci/ca0106/ca0106_main.c ptr += bytes_to_frames(runtime, ptr 1057 sound/pci/ca0106/ca0106_main.c if (ptr >= runtime->buffer_size) ptr 1058 sound/pci/ca0106/ca0106_main.c ptr -= runtime->buffer_size; ptr 1059 sound/pci/ca0106/ca0106_main.c if (prev_ptr == ptr) ptr 1060 sound/pci/ca0106/ca0106_main.c return ptr; ptr 1061 sound/pci/ca0106/ca0106_main.c prev_ptr = ptr; ptr 1074 sound/pci/ca0106/ca0106_main.c snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; ptr 1082 sound/pci/ca0106/ca0106_main.c ptr=ptr2; ptr 1083 sound/pci/ca0106/ca0106_main.c if (ptr >= runtime->buffer_size) ptr 1084 sound/pci/ca0106/ca0106_main.c ptr -= runtime->buffer_size; ptr 1092 sound/pci/ca0106/ca0106_main.c return ptr; ptr 930 sound/pci/cmipci.c size_t ptr; ptr 945 sound/pci/cmipci.c ptr = (rec->dma_size - (rem + 1)) >> rec->shift; ptr 948 sound/pci/cmipci.c ptr = snd_cmipci_read(cm, reg) - rec->offset; ptr 949 sound/pci/cmipci.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 952 sound/pci/cmipci.c ptr = (ptr * 2) / substream->runtime->channels; ptr 953 sound/pci/cmipci.c return ptr; ptr 899 sound/pci/cs46xx/cs46xx_lib.c size_t ptr; ptr 906 sound/pci/cs46xx/cs46xx_lib.c ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); ptr 908 sound/pci/cs46xx/cs46xx_lib.c ptr = snd_cs46xx_peek(chip, BA1_PBA); ptr 910 sound/pci/cs46xx/cs46xx_lib.c ptr -= cpcm->hw_buf.addr; ptr 911 sound/pci/cs46xx/cs46xx_lib.c return ptr >> cpcm->shift; ptr 917 sound/pci/cs46xx/cs46xx_lib.c size_t ptr; ptr 923 sound/pci/cs46xx/cs46xx_lib.c ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); ptr 925 sound/pci/cs46xx/cs46xx_lib.c ptr = snd_cs46xx_peek(chip, BA1_PBA); ptr 927 sound/pci/cs46xx/cs46xx_lib.c ptr -= cpcm->hw_buf.addr; ptr 928 sound/pci/cs46xx/cs46xx_lib.c return snd_pcm_indirect_playback_pointer(substream, &cpcm->pcm_rec, ptr); ptr 934 sound/pci/cs46xx/cs46xx_lib.c size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; ptr 935 sound/pci/cs46xx/cs46xx_lib.c return ptr >> chip->capt.shift; ptr 941 sound/pci/cs46xx/cs46xx_lib.c size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; ptr 942 sound/pci/cs46xx/cs46xx_lib.c return snd_pcm_indirect_capture_pointer(substream, &chip->capt.pcm_rec, ptr); ptr 512 sound/pci/emu10k1/emu10k1x.c snd_pcm_uframes_t ptr = 0, ptr1 = 0, ptr2= 0,ptr3 = 0,ptr4 = 0; ptr 528 sound/pci/emu10k1/emu10k1x.c ptr = ptr2; ptr 530 sound/pci/emu10k1/emu10k1x.c if (ptr >= runtime->buffer_size) ptr 531 sound/pci/emu10k1/emu10k1x.c ptr -= runtime->buffer_size; ptr 533 sound/pci/emu10k1/emu10k1x.c return ptr; ptr 671 sound/pci/emu10k1/emu10k1x.c snd_pcm_uframes_t ptr; ptr 676 sound/pci/emu10k1/emu10k1x.c ptr = bytes_to_frames(runtime, snd_emu10k1x_ptr_read(emu, CAPTURE_POINTER, 0)); ptr 677 sound/pci/emu10k1/emu10k1x.c if (ptr >= runtime->buffer_size) ptr 678 sound/pci/emu10k1/emu10k1x.c ptr -= runtime->buffer_size; ptr 680 sound/pci/emu10k1/emu10k1x.c return ptr; ptr 460 sound/pci/emu10k1/emufx.c unsigned int *ptr, ptr 464 sound/pci/emu10k1/emufx.c if (snd_BUG_ON(*ptr >= 512)) ptr 466 sound/pci/emu10k1/emufx.c code = (u_int32_t __force *)icode->code + (*ptr) * 2; ptr 467 sound/pci/emu10k1/emufx.c set_bit(*ptr, icode->code_valid); ptr 470 sound/pci/emu10k1/emufx.c (*ptr)++; ptr 473 sound/pci/emu10k1/emufx.c #define OP(icode, ptr, op, r, a, x, y) \ ptr 474 sound/pci/emu10k1/emufx.c snd_emu10k1_write_op(icode, ptr, op, r, a, x, y) ptr 477 sound/pci/emu10k1/emufx.c unsigned int *ptr, ptr 481 sound/pci/emu10k1/emufx.c if (snd_BUG_ON(*ptr >= 1024)) ptr 483 sound/pci/emu10k1/emufx.c code = (u_int32_t __force *)icode->code + (*ptr) * 2; ptr 484 sound/pci/emu10k1/emufx.c set_bit(*ptr, icode->code_valid); ptr 487 sound/pci/emu10k1/emufx.c (*ptr)++; ptr 490 sound/pci/emu10k1/emufx.c #define A_OP(icode, ptr, op, r, a, x, y) \ ptr 491 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_write_op(icode, ptr, op, r, a, x, y) ptr 1169 sound/pci/emu10k1/emufx.c u32 *ptr, int tmp, int bit_shifter16, ptr 1172 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iACC3, A_GPR(tmp + 1), reg_in, A_C_00000000, A_C_00000000); ptr 1173 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, A_GPR(tmp), A_GPR(tmp + 1), A_GPR(bit_shifter16 - 1), A_C_00000000); ptr 1174 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iTSTNEG, A_GPR(tmp + 2), A_GPR(tmp), A_C_80000000, A_GPR(bit_shifter16 - 2)); ptr 1175 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, A_GPR(tmp + 2), A_GPR(tmp + 2), A_C_80000000, A_C_00000000); ptr 1176 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, A_GPR(tmp), A_GPR(tmp), A_GPR(bit_shifter16 - 3), A_C_00000000); ptr 1177 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iMACINT0, A_GPR(tmp), A_C_00000000, A_GPR(tmp), A_C_00010000); ptr 1178 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iANDXOR, reg_out, A_GPR(tmp), A_C_ffffffff, A_GPR(tmp + 2)); ptr 1179 sound/pci/emu10k1/emufx.c A_OP(icode, ptr, iACC3, reg_out + 1, A_GPR(tmp + 1), A_C_00000000, A_C_00000000); ptr 1195 sound/pci/emu10k1/emufx.c u32 ptr; ptr 1229 sound/pci/emu10k1/emufx.c ptr = 0; ptr 1246 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_FRONT)); ptr 1247 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_FRONT)); ptr 1252 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+2), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_REAR)); ptr 1253 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+3), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_REAR)); ptr 1259 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+6), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_SIDE)); ptr 1260 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+7), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_SIDE)); ptr 1266 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+4), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_CENTER)); ptr 1271 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+5), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LFE)); ptr 1279 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(stereo_mix), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT)); ptr 1280 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(stereo_mix+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT)); ptr 1285 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(stereo_mix+0), A_GPR(stereo_mix+0), A_GPR(gpr), A_FXBUS(FXBUS_MIDI_LEFT)); ptr 1286 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(stereo_mix+1), A_GPR(stereo_mix+1), A_GPR(gpr+1), A_FXBUS(FXBUS_MIDI_RIGHT)); ptr 1291 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT)); ptr 1292 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT)); ptr 1297 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_FXBUS(FXBUS_MIDI_LEFT)); ptr 1298 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr+1), A_FXBUS(FXBUS_MIDI_RIGHT)); ptr 1306 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(var), A_GPR(var), A_GPR(vol), A_EXTIN(input)) ptr 1312 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACINT0, A_GPR(tmp), A_C_00000000, A3_EMU32IN(0x0), A_C_00000001); ptr 1313 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_GPR(tmp)); ptr 1314 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACINT0, A_GPR(tmp), A_C_00000000, A3_EMU32IN(0x1), A_C_00000001); ptr 1315 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr), A_GPR(tmp)); ptr 1317 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_P16VIN(0x0)); ptr 1318 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr+1), A_P16VIN(0x1)); ptr 1335 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iINTERP, A_EXTOUT(A_EXTOUT_MIC_CAP), A_EXTIN(A_EXTIN_AC97_L), 0xcd, A_EXTIN(A_EXTIN_AC97_R)); ptr 1405 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback), A_GPR(playback), A_GPR(gpr), A_GPR(stereo_mix)); ptr 1406 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+1), A_GPR(playback+1), A_GPR(gpr+1), A_GPR(stereo_mix+1)); ptr 1411 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+2), A_GPR(playback+2), A_GPR(gpr), A_GPR(stereo_mix)); ptr 1412 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+3), A_GPR(playback+3), A_GPR(gpr+1), A_GPR(stereo_mix+1)); ptr 1418 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iINTERP, A_GPR(tmp), A_GPR(stereo_mix), 0xcd, A_GPR(stereo_mix+1)); ptr 1419 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+4), A_GPR(playback+4), A_GPR(gpr), A_GPR(tmp)); ptr 1424 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+5), A_GPR(playback+5), A_GPR(gpr), A_GPR(tmp)); ptr 1430 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+6), A_GPR(playback+6), A_GPR(gpr), A_GPR(stereo_mix)); ptr 1431 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+7), A_GPR(playback+7), A_GPR(gpr+1), A_GPR(stereo_mix+1)); ptr 1439 sound/pci/emu10k1/emufx.c #define A_PUT_OUTPUT(out,src) A_OP(icode, &ptr, iACC3, A_EXTOUT(out), A_C_00000000, A_C_00000000, A_GPR(src)) ptr 1443 sound/pci/emu10k1/emufx.c #define _A_SWITCH(icode, ptr, dst, src, sw) \ ptr 1444 sound/pci/emu10k1/emufx.c A_OP((icode), ptr, iMACINT0, dst, A_C_00000000, src, sw); ptr 1445 sound/pci/emu10k1/emufx.c #define A_SWITCH(icode, ptr, dst, src, sw) \ ptr 1446 sound/pci/emu10k1/emufx.c _A_SWITCH(icode, ptr, A_GPR(dst), A_GPR(src), A_GPR(sw)) ptr 1447 sound/pci/emu10k1/emufx.c #define _A_SWITCH_NEG(icode, ptr, dst, src) \ ptr 1448 sound/pci/emu10k1/emufx.c A_OP((icode), ptr, iANDXOR, dst, src, A_C_00000001, A_C_00000001); ptr 1449 sound/pci/emu10k1/emufx.c #define A_SWITCH_NEG(icode, ptr, dst, src) \ ptr 1450 sound/pci/emu10k1/emufx.c _A_SWITCH_NEG(icode, ptr, A_GPR(dst), A_GPR(src)) ptr 1456 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 0), A_GPR(playback + 0), A_C_00000000, A_C_00000000); /* left */ ptr 1457 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 1), A_GPR(playback + 1), A_C_00000000, A_C_00000000); /* right */ ptr 1458 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 2), A_GPR(playback + 2), A_C_00000000, A_C_00000000); /* rear left */ ptr 1459 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 3), A_GPR(playback + 3), A_C_00000000, A_C_00000000); /* rear right */ ptr 1460 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 4), A_GPR(playback + 4), A_C_00000000, A_C_00000000); /* center */ ptr 1461 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 5), A_GPR(playback + 5), A_C_00000000, A_C_00000000); /* LFE */ ptr 1463 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 6), A_GPR(playback + 6), A_C_00000000, A_C_00000000); /* side left */ ptr 1464 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 7), A_GPR(playback + 7), A_C_00000000, A_C_00000000); /* side right */ ptr 1504 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_C_00000000, A_C_00000000, A_GPR(d), A_GPR(BASS_GPR + 0 + j)); ptr 1505 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACMV, A_GPR(k+1), A_GPR(k), A_GPR(k+1), A_GPR(BASS_GPR + 4 + j)); ptr 1506 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACMV, A_GPR(k), A_GPR(d), A_GPR(k), A_GPR(BASS_GPR + 2 + j)); ptr 1507 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACMV, A_GPR(k+3), A_GPR(k+2), A_GPR(k+3), A_GPR(BASS_GPR + 8 + j)); ptr 1508 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(k+2), A_GPR_ACCU, A_GPR(k+2), A_GPR(BASS_GPR + 6 + j)); ptr 1509 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(k+2), A_GPR(k+2), A_GPR(k+2), A_C_00000000); ptr 1511 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_C_00000000, A_C_00000000, A_GPR(k+2), A_GPR(TREBLE_GPR + 0 + j)); ptr 1512 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACMV, A_GPR(l+1), A_GPR(l), A_GPR(l+1), A_GPR(TREBLE_GPR + 4 + j)); ptr 1513 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACMV, A_GPR(l), A_GPR(k+2), A_GPR(l), A_GPR(TREBLE_GPR + 2 + j)); ptr 1514 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACMV, A_GPR(l+3), A_GPR(l+2), A_GPR(l+3), A_GPR(TREBLE_GPR + 8 + j)); ptr 1515 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(l+2), A_GPR_ACCU, A_GPR(l+2), A_GPR(TREBLE_GPR + 6 + j)); ptr 1516 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMACINT0, A_GPR(l+2), A_C_00000000, A_GPR(l+2), A_C_00000010); ptr 1518 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(d), A_GPR(l+2), A_C_00000000, A_C_00000000); ptr 1530 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 0, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, gpr + 0); ptr 1531 sound/pci/emu10k1/emufx.c A_SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 0); ptr 1532 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); ptr 1533 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000000); ptr 1539 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+0+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+0+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1540 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+1+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+1+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1541 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+2+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+2+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1542 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+3+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+3+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1543 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+4+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+4+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1544 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+5+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+5+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1545 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+6+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+6+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1546 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(playback+7+SND_EMU10K1_PLAYBACK_CHANNELS), A_C_00000000, A_GPR(gpr), A_GPR(playback+7+SND_EMU10K1_PLAYBACK_CHANNELS)); ptr 1568 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A3_EMU32OUT(z), A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), A_C_00000000, A_C_00000000); ptr 1570 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_EMU32OUTL(z), A_GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), A_C_00000000, A_C_00000000); ptr 1580 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(tmp + 2), A_FXBUS(FXBUS_PT_LEFT + z), A_C_00000000, A_C_00000000); ptr 1581 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iSKIP, A_GPR_COND, A_GPR_COND, A_GPR(gpr - 2), A_C_00000001); ptr 1582 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(tmp + 2), A_C_00000000, A_C_00010000, A_GPR(tmp + 2)); ptr 1583 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iANDXOR, A_GPR(tmp + 2), A_GPR(tmp + 2), A_GPR(gpr - 1), A_C_00000000); ptr 1584 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 0, tmp + 2, gpr + z); ptr 1585 sound/pci/emu10k1/emufx.c A_SWITCH_NEG(icode, &ptr, tmp + 1, gpr + z); ptr 1586 sound/pci/emu10k1/emufx.c A_SWITCH(icode, &ptr, tmp + 1, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, tmp + 1); ptr 1592 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_EXTOUT(A_EXTOUT_FRONT_L + z), A_GPR(gpr - 3), A_C_00000000, A_C_00000000); ptr 1593 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 3), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000000); ptr 1595 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_EXTOUT(A_EXTOUT_FRONT_L + z), A_GPR(tmp + 0), A_GPR(tmp + 1), A_C_00000000); ptr 1617 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, ptr 1635 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_P16VIN(0x0), A_FXBUS2(0) ); ptr 1643 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(2) ); ptr 1644 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x1), A_C_00000000, A_C_00000000); ptr 1646 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(4) ); ptr 1647 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x2), A_C_00000000, A_C_00000000); ptr 1649 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(6) ); ptr 1650 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x3), A_C_00000000, A_C_00000000); ptr 1654 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0x8) ); ptr 1655 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x4), A_C_00000000, A_C_00000000); ptr 1658 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0xa) ); ptr 1659 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x5), A_C_00000000, A_C_00000000); ptr 1661 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0xc) ); ptr 1662 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x6), A_C_00000000, A_C_00000000); ptr 1664 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16( icode, &ptr, tmp, bit_shifter16, A_GPR(gpr - 1), A_FXBUS2(0xe) ); ptr 1665 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x7), A_C_00000000, A_C_00000000); ptr 1671 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1675 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x8), ptr 1678 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1682 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0x9), ptr 1685 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1689 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0xa), ptr 1692 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1696 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0xb), ptr 1699 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1703 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0xc), ptr 1706 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1710 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0xd), ptr 1713 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1717 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0xe), ptr 1720 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_dsp_convert_32_to_2x16(icode, &ptr, tmp, ptr 1724 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_GPR(gpr - 1), A_P16VIN(0xf), ptr 1730 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_FXBUS2(z), A_C_00000000, A_C_00000000, A_C_00000000); ptr 1733 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_FXBUS2(z), A_C_00000000, A_C_00000000, A_C_00000000); ptr 1740 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iACC3, A_FXBUS2(z), A_C_00000000, A_C_00000000, A_EXTIN(z)); ptr 1755 sound/pci/emu10k1/emufx.c while (ptr < 0x400) ptr 1756 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, 0x0f, 0xc0, 0xc0, 0xcf, 0xc0); ptr 1780 sound/pci/emu10k1/emufx.c static void _volume(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) ptr 1782 sound/pci/emu10k1/emufx.c OP(icode, ptr, iMAC0, dst, C_00000000, src, vol); ptr 1783 sound/pci/emu10k1/emufx.c OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff); ptr 1784 sound/pci/emu10k1/emufx.c OP(icode, ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, C_00000001); ptr 1785 sound/pci/emu10k1/emufx.c OP(icode, ptr, iACC3, dst, src, C_00000000, C_00000000); ptr 1787 sound/pci/emu10k1/emufx.c static void _volume_add(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) ptr 1789 sound/pci/emu10k1/emufx.c OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff); ptr 1790 sound/pci/emu10k1/emufx.c OP(icode, ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, C_00000002); ptr 1791 sound/pci/emu10k1/emufx.c OP(icode, ptr, iMACINT0, dst, dst, src, C_00000001); ptr 1792 sound/pci/emu10k1/emufx.c OP(icode, ptr, iSKIP, C_00000000, C_7fffffff, C_7fffffff, C_00000001); ptr 1793 sound/pci/emu10k1/emufx.c OP(icode, ptr, iMAC0, dst, dst, src, vol); ptr 1795 sound/pci/emu10k1/emufx.c static void _volume_out(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) ptr 1797 sound/pci/emu10k1/emufx.c OP(icode, ptr, iANDXOR, C_00000000, vol, C_ffffffff, C_7fffffff); ptr 1798 sound/pci/emu10k1/emufx.c OP(icode, ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, C_00000002); ptr 1799 sound/pci/emu10k1/emufx.c OP(icode, ptr, iACC3, dst, src, C_00000000, C_00000000); ptr 1800 sound/pci/emu10k1/emufx.c OP(icode, ptr, iSKIP, C_00000000, C_7fffffff, C_7fffffff, C_00000001); ptr 1801 sound/pci/emu10k1/emufx.c OP(icode, ptr, iMAC0, dst, C_00000000, src, vol); ptr 1804 sound/pci/emu10k1/emufx.c #define VOLUME(icode, ptr, dst, src, vol) \ ptr 1805 sound/pci/emu10k1/emufx.c _volume(icode, ptr, GPR(dst), GPR(src), GPR(vol)) ptr 1806 sound/pci/emu10k1/emufx.c #define VOLUME_IN(icode, ptr, dst, src, vol) \ ptr 1807 sound/pci/emu10k1/emufx.c _volume(icode, ptr, GPR(dst), EXTIN(src), GPR(vol)) ptr 1808 sound/pci/emu10k1/emufx.c #define VOLUME_ADD(icode, ptr, dst, src, vol) \ ptr 1809 sound/pci/emu10k1/emufx.c _volume_add(icode, ptr, GPR(dst), GPR(src), GPR(vol)) ptr 1810 sound/pci/emu10k1/emufx.c #define VOLUME_ADDIN(icode, ptr, dst, src, vol) \ ptr 1811 sound/pci/emu10k1/emufx.c _volume_add(icode, ptr, GPR(dst), EXTIN(src), GPR(vol)) ptr 1812 sound/pci/emu10k1/emufx.c #define VOLUME_OUT(icode, ptr, dst, src, vol) \ ptr 1813 sound/pci/emu10k1/emufx.c _volume_out(icode, ptr, EXTOUT(dst), GPR(src), GPR(vol)) ptr 1814 sound/pci/emu10k1/emufx.c #define _SWITCH(icode, ptr, dst, src, sw) \ ptr 1815 sound/pci/emu10k1/emufx.c OP((icode), ptr, iMACINT0, dst, C_00000000, src, sw); ptr 1816 sound/pci/emu10k1/emufx.c #define SWITCH(icode, ptr, dst, src, sw) \ ptr 1817 sound/pci/emu10k1/emufx.c _SWITCH(icode, ptr, GPR(dst), GPR(src), GPR(sw)) ptr 1818 sound/pci/emu10k1/emufx.c #define SWITCH_IN(icode, ptr, dst, src, sw) \ ptr 1819 sound/pci/emu10k1/emufx.c _SWITCH(icode, ptr, GPR(dst), EXTIN(src), GPR(sw)) ptr 1820 sound/pci/emu10k1/emufx.c #define _SWITCH_NEG(icode, ptr, dst, src) \ ptr 1821 sound/pci/emu10k1/emufx.c OP((icode), ptr, iANDXOR, dst, src, C_00000001, C_00000001); ptr 1822 sound/pci/emu10k1/emufx.c #define SWITCH_NEG(icode, ptr, dst, src) \ ptr 1823 sound/pci/emu10k1/emufx.c _SWITCH_NEG(icode, ptr, GPR(dst), GPR(src)) ptr 1829 sound/pci/emu10k1/emufx.c u32 ptr; ptr 1870 sound/pci/emu10k1/emufx.c ptr = 0; i = 0; ptr 1885 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(0), C_00000000, FXBUS(FXBUS_PCM_LEFT), C_00000004); ptr 1886 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(1), C_00000000, FXBUS(FXBUS_PCM_RIGHT), C_00000004); ptr 1887 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(2), C_00000000, FXBUS(FXBUS_MIDI_LEFT), C_00000004); ptr 1888 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(3), C_00000000, FXBUS(FXBUS_MIDI_RIGHT), C_00000004); ptr 1889 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(4), C_00000000, FXBUS(FXBUS_PCM_LEFT_REAR), C_00000004); ptr 1890 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(5), C_00000000, FXBUS(FXBUS_PCM_RIGHT_REAR), C_00000004); ptr 1891 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(6), C_00000000, FXBUS(FXBUS_PCM_CENTER), C_00000004); ptr 1892 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(7), C_00000000, FXBUS(FXBUS_PCM_LFE), C_00000004); ptr 1893 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(8), C_00000000, C_00000000, C_00000000); /* S/PDIF left */ ptr 1894 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(9), C_00000000, C_00000000, C_00000000); /* S/PDIF right */ ptr 1895 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(10), C_00000000, FXBUS(FXBUS_PCM_LEFT_FRONT), C_00000004); ptr 1896 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(11), C_00000000, FXBUS(FXBUS_PCM_RIGHT_FRONT), C_00000004); ptr 1927 sound/pci/emu10k1/emufx.c /* 00: */ OP(icode, &ptr, iMAC0, C_00000000, GPR(ipcm->gpr_trigger), C_00000000, C_00000000); ptr 1928 sound/pci/emu10k1/emufx.c /* 01: */ OP(icode, &ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_ZERO, GPR(gpr + 6)); ptr 1930 sound/pci/emu10k1/emufx.c /* 02: */ OP(icode, &ptr, iMAC0, C_00000000, GPR(ipcm->gpr_running), C_00000000, C_00000000); ptr 1931 sound/pci/emu10k1/emufx.c /* 03: */ OP(icode, &ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, C_00000004); ptr 1933 sound/pci/emu10k1/emufx.c /* 04: */ OP(icode, &ptr, iANDXOR, GPR(tmp + 0), GPR_DBAC, GPR(gpr + 4), C_00000000); ptr 1934 sound/pci/emu10k1/emufx.c /* 05: */ OP(icode, &ptr, iMACINT0, C_00000000, GPR(tmp + 0), C_ffffffff, GPR(gpr + 5)); ptr 1935 sound/pci/emu10k1/emufx.c /* 06: */ OP(icode, &ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, GPR(gpr + 7)); ptr 1936 sound/pci/emu10k1/emufx.c /* 07: */ OP(icode, &ptr, iACC3, GPR(gpr + 12), C_00000010, C_00000001, C_00000000); ptr 1938 sound/pci/emu10k1/emufx.c /* 08: */ OP(icode, &ptr, iANDXOR, GPR(ipcm->gpr_running), GPR(ipcm->gpr_running), C_00000000, C_00000001); ptr 1939 sound/pci/emu10k1/emufx.c /* 09: */ OP(icode, &ptr, iACC3, GPR(gpr + 12), GPR(gpr + 12), C_ffffffff, C_00000000); ptr 1940 sound/pci/emu10k1/emufx.c /* 0a: */ OP(icode, &ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, GPR(gpr + 11)); ptr 1941 sound/pci/emu10k1/emufx.c /* 0b: */ OP(icode, &ptr, iACC3, GPR(gpr + 12), C_00000001, C_00000000, C_00000000); ptr 1943 sound/pci/emu10k1/emufx.c /* 0c: */ OP(icode, &ptr, iANDXOR, GPR(tmp + 0), ETRAM_DATA(ipcm->etram[0]), GPR(gpr + 0), C_00000000); ptr 1944 sound/pci/emu10k1/emufx.c /* 0d: */ OP(icode, &ptr, iLOG, GPR(tmp + 0), GPR(tmp + 0), GPR(gpr + 3), C_00000000); ptr 1945 sound/pci/emu10k1/emufx.c /* 0e: */ OP(icode, &ptr, iANDXOR, GPR(8), GPR(tmp + 0), GPR(gpr + 1), GPR(gpr + 2)); ptr 1946 sound/pci/emu10k1/emufx.c /* 0f: */ OP(icode, &ptr, iSKIP, C_00000000, GPR_COND, CC_REG_MINUS, C_00000001); ptr 1947 sound/pci/emu10k1/emufx.c /* 10: */ OP(icode, &ptr, iANDXOR, GPR(8), GPR(8), GPR(gpr + 1), GPR(gpr + 2)); ptr 1949 sound/pci/emu10k1/emufx.c /* 11: */ OP(icode, &ptr, iANDXOR, GPR(tmp + 0), ETRAM_DATA(ipcm->etram[1]), GPR(gpr + 0), C_00000000); ptr 1950 sound/pci/emu10k1/emufx.c /* 12: */ OP(icode, &ptr, iLOG, GPR(tmp + 0), GPR(tmp + 0), GPR(gpr + 3), C_00000000); ptr 1951 sound/pci/emu10k1/emufx.c /* 13: */ OP(icode, &ptr, iANDXOR, GPR(9), GPR(tmp + 0), GPR(gpr + 1), GPR(gpr + 2)); ptr 1952 sound/pci/emu10k1/emufx.c /* 14: */ OP(icode, &ptr, iSKIP, C_00000000, GPR_COND, CC_REG_MINUS, C_00000001); ptr 1953 sound/pci/emu10k1/emufx.c /* 15: */ OP(icode, &ptr, iANDXOR, GPR(9), GPR(9), GPR(gpr + 1), GPR(gpr + 2)); ptr 1955 sound/pci/emu10k1/emufx.c /* 16: */ OP(icode, &ptr, iACC3, GPR(tmp + 0), GPR(ipcm->gpr_ptr), C_00000001, C_00000000); ptr 1956 sound/pci/emu10k1/emufx.c /* 17: */ OP(icode, &ptr, iMACINT0, C_00000000, GPR(tmp + 0), C_ffffffff, GPR(ipcm->gpr_size)); ptr 1957 sound/pci/emu10k1/emufx.c /* 18: */ OP(icode, &ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_MINUS, C_00000001); ptr 1958 sound/pci/emu10k1/emufx.c /* 19: */ OP(icode, &ptr, iACC3, GPR(tmp + 0), C_00000000, C_00000000, C_00000000); ptr 1959 sound/pci/emu10k1/emufx.c /* 1a: */ OP(icode, &ptr, iACC3, GPR(ipcm->gpr_ptr), GPR(tmp + 0), C_00000000, C_00000000); ptr 1961 sound/pci/emu10k1/emufx.c /* 1b: */ OP(icode, &ptr, iACC3, GPR(ipcm->gpr_tmpcount), GPR(ipcm->gpr_tmpcount), C_ffffffff, C_00000000); ptr 1962 sound/pci/emu10k1/emufx.c /* 1c: */ OP(icode, &ptr, iSKIP, GPR_COND, GPR_COND, CC_REG_NONZERO, C_00000002); ptr 1963 sound/pci/emu10k1/emufx.c /* 1d: */ OP(icode, &ptr, iACC3, GPR(ipcm->gpr_tmpcount), GPR(ipcm->gpr_count), C_00000000, C_00000000); ptr 1964 sound/pci/emu10k1/emufx.c /* 1e: */ OP(icode, &ptr, iACC3, GPR_IRQ, C_80000000, C_00000000, C_00000000); ptr 1965 sound/pci/emu10k1/emufx.c /* 1f: */ OP(icode, &ptr, iANDXOR, GPR(ipcm->gpr_running), GPR(ipcm->gpr_running), C_00000001, C_00010000); ptr 1967 sound/pci/emu10k1/emufx.c /* 20: */ OP(icode, &ptr, iANDXOR, GPR(ipcm->gpr_running), GPR(ipcm->gpr_running), C_00010000, C_00000001); ptr 1968 sound/pci/emu10k1/emufx.c /* 21: */ OP(icode, &ptr, iSKIP, C_00000000, C_7fffffff, C_7fffffff, C_00000002); ptr 1970 sound/pci/emu10k1/emufx.c /* 22: */ OP(icode, &ptr, iMACINT1, ETRAM_ADDR(ipcm->etram[0]), GPR(gpr + 8), GPR_DBAC, C_ffffffff); ptr 1971 sound/pci/emu10k1/emufx.c /* 23: */ OP(icode, &ptr, iMACINT1, ETRAM_ADDR(ipcm->etram[1]), GPR(gpr + 9), GPR_DBAC, C_ffffffff); ptr 1978 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, playback + z, z, gpr + z); ptr 1984 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, playback + 2 + z, z, gpr + z); ptr 1989 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(tmp + 0), FXBUS(FXBUS_PCM_LEFT), FXBUS(FXBUS_PCM_RIGHT), C_00000000); ptr 1990 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(tmp + 0), C_00000000, GPR(tmp + 0), C_00000002); ptr 1991 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, playback + 4, tmp + 0, gpr); ptr 1993 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, playback + 5, tmp + 0, gpr); ptr 1998 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, z, gpr + 2 + z); ptr 1999 sound/pci/emu10k1/emufx.c VOLUME(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2007 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, playback + z, 2 + z, gpr + z); ptr 2013 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 2 + z, gpr + 2 + z); ptr 2014 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2022 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, playback + 2 + z, 4 + z, gpr + z); ptr 2028 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 4 + z, gpr + 2 + z); ptr 2029 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2036 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, playback + 4, 6, gpr); ptr 2040 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, playback + 5, 7, gpr); ptr 2045 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, playback + z, 10 + z, gpr + z); ptr 2051 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 10 + z, gpr + 2); ptr 2052 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2064 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + 0, EXTIN_AC97_L, gpr); gpr++; ptr 2065 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + 1, EXTIN_AC97_R, gpr); gpr++; ptr 2068 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, capture + 0, EXTIN_AC97_L, gpr); gpr++; ptr 2069 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, capture + 1, EXTIN_AC97_R, gpr); gpr++; ptr 2076 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_SPDIF_CD_L + z, gpr + z); ptr 2082 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_SPDIF_CD_L + z, gpr + 2 + z); ptr 2083 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2093 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_ZOOM_L + z, gpr + z); ptr 2099 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_ZOOM_L + z, gpr + 2 + z); ptr 2100 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2110 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_TOSLINK_L + z, gpr + z); ptr 2116 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_TOSLINK_L + z, gpr + 2 + z); ptr 2117 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2127 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_LINE1_L + z, gpr + z); ptr 2133 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_LINE1_L + z, gpr + 2 + z); ptr 2134 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2144 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_COAX_SPDIF_L + z, gpr + z); ptr 2150 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_COAX_SPDIF_L + z, gpr + 2 + z); ptr 2151 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2161 sound/pci/emu10k1/emufx.c VOLUME_ADDIN(icode, &ptr, playback + z, EXTIN_LINE2_L + z, gpr + z); ptr 2168 sound/pci/emu10k1/emufx.c SWITCH_IN(icode, &ptr, tmp + 0, EXTIN_LINE2_L + z, gpr + 2 + z); ptr 2169 sound/pci/emu10k1/emufx.c VOLUME_ADD(icode, &ptr, capture + z, tmp + 0, gpr + z); ptr 2181 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 0), GPR(playback + 0), C_00000000, C_00000000); /* left */ ptr 2182 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 1), GPR(playback + 1), C_00000000, C_00000000); /* right */ ptr 2183 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 2), GPR(playback + 2), C_00000000, C_00000000); /* rear left */ ptr 2184 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 3), GPR(playback + 3), C_00000000, C_00000000); /* rear right */ ptr 2185 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 4), GPR(playback + 4), C_00000000, C_00000000); /* center */ ptr 2186 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 5), GPR(playback + 5), C_00000000, C_00000000); /* LFE */ ptr 2226 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMAC0, C_00000000, C_00000000, GPR(d), GPR(BASS_GPR + 0 + j)); ptr 2227 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACMV, GPR(k+1), GPR(k), GPR(k+1), GPR(BASS_GPR + 4 + j)); ptr 2228 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACMV, GPR(k), GPR(d), GPR(k), GPR(BASS_GPR + 2 + j)); ptr 2229 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACMV, GPR(k+3), GPR(k+2), GPR(k+3), GPR(BASS_GPR + 8 + j)); ptr 2230 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMAC0, GPR(k+2), GPR_ACCU, GPR(k+2), GPR(BASS_GPR + 6 + j)); ptr 2231 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(k+2), GPR(k+2), GPR(k+2), C_00000000); ptr 2233 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMAC0, C_00000000, C_00000000, GPR(k+2), GPR(TREBLE_GPR + 0 + j)); ptr 2234 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACMV, GPR(l+1), GPR(l), GPR(l+1), GPR(TREBLE_GPR + 4 + j)); ptr 2235 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACMV, GPR(l), GPR(k+2), GPR(l), GPR(TREBLE_GPR + 2 + j)); ptr 2236 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACMV, GPR(l+3), GPR(l+2), GPR(l+3), GPR(TREBLE_GPR + 8 + j)); ptr 2237 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMAC0, GPR(l+2), GPR_ACCU, GPR(l+2), GPR(TREBLE_GPR + 6 + j)); ptr 2238 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iMACINT0, GPR(l+2), C_00000000, GPR(l+2), C_00000010); ptr 2240 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(d), GPR(l+2), C_00000000, C_00000000); ptr 2252 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, gpr + 0); ptr 2253 sound/pci/emu10k1/emufx.c SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 0); ptr 2254 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); ptr 2255 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); ptr 2267 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_L + z), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + z), C_00000000, C_00000000); ptr 2274 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, 8 + z, gpr + z); ptr 2275 sound/pci/emu10k1/emufx.c SWITCH_NEG(icode, &ptr, tmp + 1, gpr + z); ptr 2276 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 1, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, tmp + 1); ptr 2277 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_TOSLINK_L + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); ptr 2279 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ADC_CAP_L + z), GPR(tmp + 0), GPR(tmp + 1), C_00000000); ptr 2291 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 0, playback + SND_EMU10K1_PLAYBACK_CHANNELS + 4 + z, gpr + 2 + z); ptr 2292 sound/pci/emu10k1/emufx.c SWITCH_NEG(icode, &ptr, tmp + 1, gpr + 2 + z); ptr 2293 sound/pci/emu10k1/emufx.c SWITCH(icode, &ptr, tmp + 1, playback + SND_EMU10K1_PLAYBACK_CHANNELS + z, tmp + 1); ptr 2294 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, GPR(tmp + 0), GPR(tmp + 0), GPR(tmp + 1), C_00000000); ptr 2295 sound/pci/emu10k1/emufx.c VOLUME_OUT(icode, &ptr, EXTOUT_HEADPHONE_L + z, tmp + 0, gpr + z); ptr 2310 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_REAR_L + z), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 2 + z), C_00000000, C_00000000); ptr 2314 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_REAR_L + z), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 2 + z), C_00000000, C_00000000); ptr 2318 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_CENTER), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 4), C_00000000, C_00000000); ptr 2319 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ACENTER), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 4), C_00000000, C_00000000); ptr 2321 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_CENTER), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 0), C_00000000, C_00000000); ptr 2322 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ACENTER), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 0), C_00000000, C_00000000); ptr 2328 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_LFE), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 5), C_00000000, C_00000000); ptr 2329 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ALFE), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 5), C_00000000, C_00000000); ptr 2331 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_AC97_LFE), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 1), C_00000000, C_00000000); ptr 2332 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ALFE), GPR(playback + SND_EMU10K1_PLAYBACK_CHANNELS + 1), C_00000000, C_00000000); ptr 2338 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_ADC_CAP_L + z), GPR(capture + z), C_00000000, C_00000000); ptr 2342 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, EXTOUT(EXTOUT_MIC_CAP), GPR(capture + 2), C_00000000, C_00000000); ptr 2355 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, FXBUS2(14), C_00000000, C_00000000, EXTIN(0)); ptr 2356 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, FXBUS2(15), C_00000000, C_00000000, EXTIN(1)); ptr 2357 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, FXBUS2(0), C_00000000, C_00000000, EXTIN(2)); ptr 2358 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, FXBUS2(3), C_00000000, C_00000000, EXTIN(3)); ptr 2360 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, FXBUS2(z), C_00000000, C_00000000, EXTIN(z)); ptr 2363 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, FXBUS2(z), C_00000000, C_00000000, EXTIN(z)); ptr 2379 sound/pci/emu10k1/emufx.c while (ptr < 0x200) ptr 2380 sound/pci/emu10k1/emufx.c OP(icode, &ptr, iACC3, C_00000000, C_00000000, C_00000000, C_00000000); ptr 83 sound/pci/emu10k1/emupcm.c unsigned int ptr; ptr 87 sound/pci/emu10k1/emupcm.c ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff; ptr 88 sound/pci/emu10k1/emupcm.c ptr += runtime->buffer_size; ptr 89 sound/pci/emu10k1/emupcm.c ptr -= epcm->ccca_start_addr; ptr 90 sound/pci/emu10k1/emupcm.c ptr %= runtime->buffer_size; ptr 92 sound/pci/emu10k1/emupcm.c return ptr; ptr 736 sound/pci/emu10k1/emupcm.c unsigned int ptr, period_pos; ptr 742 sound/pci/emu10k1/emupcm.c ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->extra->number); ptr 743 sound/pci/emu10k1/emupcm.c ptr &= ~0x00ffffff; ptr 744 sound/pci/emu10k1/emupcm.c ptr |= epcm->ccca_start_addr + period_pos; ptr 745 sound/pci/emu10k1/emupcm.c snd_emu10k1_ptr_write(emu, CCCA, epcm->extra->number, ptr); ptr 871 sound/pci/emu10k1/emupcm.c unsigned int ptr; ptr 875 sound/pci/emu10k1/emupcm.c ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff; ptr 877 sound/pci/emu10k1/emupcm.c ptr += runtime->buffer_size; ptr 878 sound/pci/emu10k1/emupcm.c ptr -= epcm->ccca_start_addr; ptr 879 sound/pci/emu10k1/emupcm.c ptr %= runtime->buffer_size; ptr 881 sound/pci/emu10k1/emupcm.c if (ptr < epcm->ccca_start_addr) ptr 882 sound/pci/emu10k1/emupcm.c ptr += runtime->buffer_size - epcm->ccca_start_addr; ptr 884 sound/pci/emu10k1/emupcm.c ptr -= epcm->ccca_start_addr; ptr 885 sound/pci/emu10k1/emupcm.c if (ptr >= runtime->buffer_size) ptr 886 sound/pci/emu10k1/emupcm.c ptr -= runtime->buffer_size; ptr 895 sound/pci/emu10k1/emupcm.c return ptr; ptr 955 sound/pci/emu10k1/emupcm.c unsigned int ptr; ptr 963 sound/pci/emu10k1/emupcm.c ptr = snd_emu10k1_ptr_read(emu, epcm->capture_idx_reg, 0) & 0x0000ffff; ptr 964 sound/pci/emu10k1/emupcm.c return bytes_to_frames(runtime, ptr); ptr 1736 sound/pci/emu10k1/emupcm.c size_t ptr; /* byte pointer */ ptr 1740 sound/pci/emu10k1/emupcm.c ptr = snd_emu10k1_ptr_read(emu, emu->gpr_base + pcm->gpr_ptr, 0) << 2; ptr 1741 sound/pci/emu10k1/emupcm.c return snd_pcm_indirect_playback_pointer(substream, &pcm->pcm_rec, ptr); ptr 549 sound/pci/emu10k1/memory.c char *ptr; ptr 552 sound/pci/emu10k1/memory.c ptr = emu->page_ptr_table[page]; ptr 553 sound/pci/emu10k1/memory.c if (! ptr) { ptr 558 sound/pci/emu10k1/memory.c ptr += offset & (PAGE_SIZE - 1); ptr 559 sound/pci/emu10k1/memory.c return (void*)ptr; ptr 569 sound/pci/emu10k1/memory.c void *ptr; ptr 581 sound/pci/emu10k1/memory.c ptr = offset_ptr(emu, page + p->first_page, offset); ptr 582 sound/pci/emu10k1/memory.c if (ptr) ptr 583 sound/pci/emu10k1/memory.c memset(ptr, 0, temp); ptr 599 sound/pci/emu10k1/memory.c void *ptr; ptr 611 sound/pci/emu10k1/memory.c ptr = offset_ptr(emu, page + p->first_page, offset); ptr 612 sound/pci/emu10k1/memory.c if (ptr && copy_from_user(ptr, data, temp)) ptr 533 sound/pci/emu10k1/p16v.c snd_pcm_uframes_t ptr, ptr1, ptr2,ptr3,ptr4 = 0; ptr 544 sound/pci/emu10k1/p16v.c ptr=ptr2; ptr 545 sound/pci/emu10k1/p16v.c if (ptr >= runtime->buffer_size) ptr 546 sound/pci/emu10k1/p16v.c ptr -= runtime->buffer_size; ptr 548 sound/pci/emu10k1/p16v.c return ptr; ptr 558 sound/pci/emu10k1/p16v.c snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; ptr 566 sound/pci/emu10k1/p16v.c ptr=ptr2; ptr 567 sound/pci/emu10k1/p16v.c if (ptr >= runtime->buffer_size) { ptr 568 sound/pci/emu10k1/p16v.c ptr -= runtime->buffer_size; ptr 578 sound/pci/emu10k1/p16v.c return ptr; ptr 999 sound/pci/ens1370.c size_t ptr; ptr 1004 sound/pci/ens1370.c ptr = ES_REG_FCURR_COUNTI(inl(ES_REG(ensoniq, DAC1_SIZE))); ptr 1005 sound/pci/ens1370.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 1007 sound/pci/ens1370.c ptr = 0; ptr 1010 sound/pci/ens1370.c return ptr; ptr 1016 sound/pci/ens1370.c size_t ptr; ptr 1021 sound/pci/ens1370.c ptr = ES_REG_FCURR_COUNTI(inl(ES_REG(ensoniq, DAC2_SIZE))); ptr 1022 sound/pci/ens1370.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 1024 sound/pci/ens1370.c ptr = 0; ptr 1027 sound/pci/ens1370.c return ptr; ptr 1033 sound/pci/ens1370.c size_t ptr; ptr 1038 sound/pci/ens1370.c ptr = ES_REG_FCURR_COUNTI(inl(ES_REG(ensoniq, ADC_SIZE))); ptr 1039 sound/pci/ens1370.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 1041 sound/pci/ens1370.c ptr = 0; ptr 1044 sound/pci/ens1370.c return ptr; ptr 758 sound/pci/es1938.c size_t ptr; ptr 765 sound/pci/es1938.c ptr = chip->dma1_size - 1 - new; ptr 770 sound/pci/es1938.c ptr = inl(SLDM_REG(chip, DMAADDR)); ptr 772 sound/pci/es1938.c diff = chip->dma1_start + chip->dma1_size - ptr - count; ptr 774 sound/pci/es1938.c if (diff > 3 || ptr < chip->dma1_start ptr 775 sound/pci/es1938.c || ptr >= chip->dma1_start+chip->dma1_size) ptr 776 sound/pci/es1938.c ptr = chip->last_capture_dmaaddr; /* bad, use last saved */ ptr 778 sound/pci/es1938.c chip->last_capture_dmaaddr = ptr; /* good, remember it */ ptr 780 sound/pci/es1938.c ptr -= chip->dma1_start; ptr 782 sound/pci/es1938.c return ptr >> chip->dma1_shift; ptr 788 sound/pci/es1938.c size_t ptr; ptr 790 sound/pci/es1938.c ptr = chip->dma2_size - inw(SLIO_REG(chip, AUDIO2DMACOUNT)); ptr 792 sound/pci/es1938.c ptr = inl(SLIO_REG(chip, AUDIO2DMAADDR)) - chip->dma2_start; ptr 794 sound/pci/es1938.c return ptr >> chip->dma2_shift; ptr 800 sound/pci/es1938.c size_t ptr; ptr 807 sound/pci/es1938.c ptr = chip->dma1_size - 1 - new; ptr 809 sound/pci/es1938.c ptr = inl(SLDM_REG(chip, DMAADDR)) - chip->dma1_start; ptr 811 sound/pci/es1938.c return ptr >> chip->dma1_shift; ptr 1272 sound/pci/es1968.c unsigned int ptr; ptr 1274 sound/pci/es1968.c ptr = snd_es1968_get_dma_ptr(chip, es) << es->wav_shift; ptr 1276 sound/pci/es1968.c return bytes_to_frames(substream->runtime, ptr % es->dma_size); ptr 512 sound/pci/fm801.c size_t ptr; ptr 517 sound/pci/fm801.c ptr = chip->ply_pos + (chip->ply_count - 1) - fm801_readw(chip, PLY_COUNT); ptr 519 sound/pci/fm801.c ptr += chip->ply_count; ptr 520 sound/pci/fm801.c ptr %= chip->ply_size; ptr 523 sound/pci/fm801.c return bytes_to_frames(substream->runtime, ptr); ptr 529 sound/pci/fm801.c size_t ptr; ptr 534 sound/pci/fm801.c ptr = chip->cap_pos + (chip->cap_count - 1) - fm801_readw(chip, CAP_COUNT); ptr 536 sound/pci/fm801.c ptr += chip->cap_count; ptr 537 sound/pci/fm801.c ptr %= chip->cap_size; ptr 540 sound/pci/fm801.c return bytes_to_frames(substream->runtime, ptr); ptr 668 sound/pci/ice1712/ice1712.c size_t ptr; ptr 672 sound/pci/ice1712/ice1712.c ptr = runtime->buffer_size - inw(ice->ddma_port + 4); ptr 673 sound/pci/ice1712/ice1712.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 674 sound/pci/ice1712/ice1712.c if (ptr == runtime->buffer_size) ptr 675 sound/pci/ice1712/ice1712.c ptr = 0; ptr 676 sound/pci/ice1712/ice1712.c return ptr; ptr 683 sound/pci/ice1712/ice1712.c size_t ptr; ptr 691 sound/pci/ice1712/ice1712.c ptr = snd_ice1712_ds_read(ice, substream->number * 2, addr) - ptr 693 sound/pci/ice1712/ice1712.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 694 sound/pci/ice1712/ice1712.c if (ptr == substream->runtime->buffer_size) ptr 695 sound/pci/ice1712/ice1712.c ptr = 0; ptr 696 sound/pci/ice1712/ice1712.c return ptr; ptr 702 sound/pci/ice1712/ice1712.c size_t ptr; ptr 706 sound/pci/ice1712/ice1712.c ptr = inl(ICEREG(ice, CONCAP_ADDR)) - ice->capture_con_virt_addr; ptr 707 sound/pci/ice1712/ice1712.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 708 sound/pci/ice1712/ice1712.c if (ptr == substream->runtime->buffer_size) ptr 709 sound/pci/ice1712/ice1712.c ptr = 0; ptr 710 sound/pci/ice1712/ice1712.c return ptr; ptr 1092 sound/pci/ice1712/ice1712.c size_t ptr; ptr 1096 sound/pci/ice1712/ice1712.c ptr = ice->playback_pro_size - (inw(ICEMT(ice, PLAYBACK_SIZE)) << 2); ptr 1097 sound/pci/ice1712/ice1712.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 1098 sound/pci/ice1712/ice1712.c if (ptr == substream->runtime->buffer_size) ptr 1099 sound/pci/ice1712/ice1712.c ptr = 0; ptr 1100 sound/pci/ice1712/ice1712.c return ptr; ptr 1106 sound/pci/ice1712/ice1712.c size_t ptr; ptr 1110 sound/pci/ice1712/ice1712.c ptr = ice->capture_pro_size - (inw(ICEMT(ice, CAPTURE_SIZE)) << 2); ptr 1111 sound/pci/ice1712/ice1712.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 1112 sound/pci/ice1712/ice1712.c if (ptr == substream->runtime->buffer_size) ptr 1113 sound/pci/ice1712/ice1712.c ptr = 0; ptr 1114 sound/pci/ice1712/ice1712.c return ptr; ptr 804 sound/pci/ice1712/ice1724.c size_t ptr; ptr 809 sound/pci/ice1712/ice1724.c ptr = inl(ICEMT1724(ice, PLAYBACK_ADDR)); ptr 810 sound/pci/ice1712/ice1724.c if (ptr < substream->runtime->dma_addr) { ptr 814 sound/pci/ice1712/ice1724.c ptr -= substream->runtime->dma_addr; ptr 815 sound/pci/ice1712/ice1724.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 816 sound/pci/ice1712/ice1724.c if (ptr >= substream->runtime->buffer_size) { ptr 818 sound/pci/ice1712/ice1724.c (int)ptr, (int)substream->runtime->period_size); ptr 822 sound/pci/ice1712/ice1724.c ptr = inl(ICEMT1724(ice, PLAYBACK_SIZE)) & 0xffffff; ptr 823 sound/pci/ice1712/ice1724.c ptr = (ptr + 1) << 2; ptr 824 sound/pci/ice1712/ice1724.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 825 sound/pci/ice1712/ice1724.c if (!ptr) ptr 827 sound/pci/ice1712/ice1724.c else if (ptr <= substream->runtime->buffer_size) ptr 828 sound/pci/ice1712/ice1724.c ptr = substream->runtime->buffer_size - ptr; ptr 831 sound/pci/ice1712/ice1724.c (int)ptr, (int)substream->runtime->buffer_size); ptr 832 sound/pci/ice1712/ice1724.c ptr = 0; ptr 835 sound/pci/ice1712/ice1724.c return ptr; ptr 857 sound/pci/ice1712/ice1724.c size_t ptr; ptr 862 sound/pci/ice1712/ice1724.c ptr = inl(ice->profi_port + reg->addr); ptr 863 sound/pci/ice1712/ice1724.c ptr -= substream->runtime->dma_addr; ptr 864 sound/pci/ice1712/ice1724.c return bytes_to_frames(substream->runtime, ptr); ptr 866 sound/pci/ice1712/ice1724.c ptr = inw(ice->profi_port + reg->size); ptr 867 sound/pci/ice1712/ice1724.c ptr = (ptr + 1) << 2; ptr 868 sound/pci/ice1712/ice1724.c ptr = bytes_to_frames(substream->runtime, ptr); ptr 869 sound/pci/ice1712/ice1724.c if (!ptr) ptr 871 sound/pci/ice1712/ice1724.c else if (ptr <= substream->runtime->buffer_size) ptr 872 sound/pci/ice1712/ice1724.c ptr = substream->runtime->buffer_size - ptr; ptr 875 sound/pci/ice1712/ice1724.c (int)ptr, (int)substream->runtime->buffer_size); ptr 876 sound/pci/ice1712/ice1724.c ptr = 0; ptr 878 sound/pci/ice1712/ice1724.c return ptr; ptr 563 sound/pci/ice1712/maya44.c const unsigned short *ptr; ptr 571 sound/pci/ice1712/maya44.c ptr = inits_wm8776; ptr 572 sound/pci/ice1712/maya44.c while (*ptr != 0xff) { ptr 573 sound/pci/ice1712/maya44.c reg = *ptr++; ptr 574 sound/pci/ice1712/maya44.c data = *ptr++; ptr 1012 sound/pci/intel8x0.c size_t ptr1, ptr; ptr 1039 sound/pci/intel8x0.c ptr = ichdev->last_pos; ptr 1042 sound/pci/intel8x0.c ptr = ichdev->fragsize1 - ptr1; ptr 1043 sound/pci/intel8x0.c ptr += position; ptr 1044 sound/pci/intel8x0.c if (ptr < ichdev->last_pos) { ptr 1052 sound/pci/intel8x0.c ptr = ichdev->last_pos; ptr 1055 sound/pci/intel8x0.c ichdev->last_pos = ptr; ptr 1057 sound/pci/intel8x0.c if (ptr >= ichdev->size) ptr 1059 sound/pci/intel8x0.c return bytes_to_frames(substream->runtime, ptr); ptr 571 sound/pci/intel8x0m.c size_t ptr1, ptr; ptr 575 sound/pci/intel8x0m.c ptr = ichdev->fragsize1 - ptr1; ptr 577 sound/pci/intel8x0m.c ptr = 0; ptr 578 sound/pci/intel8x0m.c ptr += ichdev->position; ptr 579 sound/pci/intel8x0m.c if (ptr >= ichdev->size) ptr 581 sound/pci/intel8x0m.c return bytes_to_frames(substream->runtime, ptr); ptr 212 sound/pci/lx6464es/lx_core.h static inline void unpack_pointer(dma_addr_t ptr, u32 *r_low, u32 *r_high) ptr 214 sound/pci/lx6464es/lx_core.h *r_low = (u32)(ptr & 0xffffffff); ptr 218 sound/pci/lx6464es/lx_core.h *r_high = (u32)((u64)ptr>>32); ptr 1474 sound/pci/maestro3.c unsigned int ptr; ptr 1481 sound/pci/maestro3.c ptr = snd_m3_get_pointer(chip, s, subs); ptr 1483 sound/pci/maestro3.c return bytes_to_frames(subs->runtime, ptr); ptr 747 sound/pci/sonicvibes.c size_t ptr; ptr 751 sound/pci/sonicvibes.c ptr = sonic->p_dma_size - snd_sonicvibes_getdmaa(sonic); ptr 752 sound/pci/sonicvibes.c return bytes_to_frames(substream->runtime, ptr); ptr 758 sound/pci/sonicvibes.c size_t ptr; ptr 761 sound/pci/sonicvibes.c ptr = sonic->c_dma_size - snd_sonicvibes_getdmac(sonic); ptr 762 sound/pci/sonicvibes.c return bytes_to_frames(substream->runtime, ptr); ptr 22 sound/pci/trident/trident_memory.c #define __set_tlb_bus(trident,page,ptr,addr) \ ptr 24 sound/pci/trident/trident_memory.c (trident)->tlb.shadow_entries[page] = (ptr); } while (0) ptr 35 sound/pci/trident/trident_memory.c #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) ptr 58 sound/pci/trident/trident_memory.c unsigned long ptr, dma_addr_t addr) ptr 61 sound/pci/trident/trident_memory.c __set_tlb_bus(trident, page, ptr, addr); ptr 62 sound/pci/trident/trident_memory.c __set_tlb_bus(trident, page+1, ptr + SNDRV_TRIDENT_PAGE_SIZE, addr + SNDRV_TRIDENT_PAGE_SIZE); ptr 88 sound/pci/trident/trident_memory.c unsigned long ptr, dma_addr_t addr) ptr 93 sound/pci/trident/trident_memory.c __set_tlb_bus(trident, page, ptr, addr); ptr 94 sound/pci/trident/trident_memory.c ptr += SNDRV_TRIDENT_PAGE_SIZE; ptr 111 sound/pci/trident/trident_memory.c char *ptr; ptr 112 sound/pci/trident/trident_memory.c ptr = page_to_ptr(trident, get_aligned_page(offset)); ptr 113 sound/pci/trident/trident_memory.c ptr += offset % ALIGN_PAGE_SIZE; ptr 114 sound/pci/trident/trident_memory.c return (void*)ptr; ptr 157 sound/pci/trident/trident_memory.c static int is_valid_page(unsigned long ptr) ptr 159 sound/pci/trident/trident_memory.c if (ptr & ~0x3fffffffUL) { ptr 163 sound/pci/trident/trident_memory.c if (ptr & (SNDRV_TRIDENT_PAGE_SIZE-1)) { ptr 204 sound/pci/trident/trident_memory.c unsigned long ptr = (unsigned long) ptr 211 sound/pci/trident/trident_memory.c set_tlb_bus(trident, page, ptr, addr); ptr 229 sound/pci/trident/trident_memory.c unsigned long ptr; ptr 248 sound/pci/trident/trident_memory.c ptr = (unsigned long)runtime->dma_area; ptr 250 sound/pci/trident/trident_memory.c ptr += SNDRV_TRIDENT_PAGE_SIZE, addr += SNDRV_TRIDENT_PAGE_SIZE) { ptr 256 sound/pci/trident/trident_memory.c set_tlb_bus(trident, page, ptr, addr); ptr 829 sound/pci/via82xx.c unsigned int idx, ptr, count, res; ptr 841 sound/pci/via82xx.c ptr = inl(VIADEV_REG(viadev, OFFSET_CURR_PTR)); ptr 842 sound/pci/via82xx.c if (ptr <= (unsigned int)viadev->table.addr) ptr 845 sound/pci/via82xx.c idx = ((ptr - (unsigned int)viadev->table.addr) / 8 - 1) % viadev->tbl_entries; ptr 610 sound/pci/via82xx_modem.c unsigned int idx, ptr, count, res; ptr 622 sound/pci/via82xx_modem.c ptr = inl(VIADEV_REG(viadev, OFFSET_CURR_PTR)); ptr 623 sound/pci/via82xx_modem.c if (ptr <= (unsigned int)viadev->table.addr) ptr 626 sound/pci/via82xx_modem.c idx = ((ptr - (unsigned int)viadev->table.addr) / 8 - 1) % ptr 2095 sound/pci/ymfpci/ymfpci_main.c u8 *ptr; ptr 2114 sound/pci/ymfpci/ymfpci_main.c ptr = chip->work_ptr.area; ptr 2116 sound/pci/ymfpci/ymfpci_main.c memset(ptr, 0, size); /* for sure */ ptr 2118 sound/pci/ymfpci/ymfpci_main.c chip->bank_base_playback = ptr; ptr 2120 sound/pci/ymfpci/ymfpci_main.c chip->ctrl_playback = (__le32 *)ptr; ptr 2122 sound/pci/ymfpci/ymfpci_main.c ptr += ALIGN(playback_ctrl_size, 0x100); ptr 2126 sound/pci/ymfpci/ymfpci_main.c chip->voices[voice].bank = (struct snd_ymfpci_playback_bank *)ptr; ptr 2129 sound/pci/ymfpci/ymfpci_main.c chip->bank_playback[voice][bank] = (struct snd_ymfpci_playback_bank *)ptr; ptr 2130 sound/pci/ymfpci/ymfpci_main.c ptr += chip->bank_size_playback; ptr 2134 sound/pci/ymfpci/ymfpci_main.c ptr = (char *)ALIGN((unsigned long)ptr, 0x100); ptr 2136 sound/pci/ymfpci/ymfpci_main.c chip->bank_base_capture = ptr; ptr 2140 sound/pci/ymfpci/ymfpci_main.c chip->bank_capture[voice][bank] = (struct snd_ymfpci_capture_bank *)ptr; ptr 2141 sound/pci/ymfpci/ymfpci_main.c ptr += chip->bank_size_capture; ptr 2144 sound/pci/ymfpci/ymfpci_main.c ptr = (char *)ALIGN((unsigned long)ptr, 0x100); ptr 2146 sound/pci/ymfpci/ymfpci_main.c chip->bank_base_effect = ptr; ptr 2150 sound/pci/ymfpci/ymfpci_main.c chip->bank_effect[voice][bank] = (struct snd_ymfpci_effect_bank *)ptr; ptr 2151 sound/pci/ymfpci/ymfpci_main.c ptr += chip->bank_size_effect; ptr 2154 sound/pci/ymfpci/ymfpci_main.c ptr = (char *)ALIGN((unsigned long)ptr, 0x100); ptr 2156 sound/pci/ymfpci/ymfpci_main.c chip->work_base = ptr; ptr 2159 sound/pci/ymfpci/ymfpci_main.c snd_BUG_ON(ptr + chip->work_size != ptr 326 sound/soc/atmel/atmel-pcm-pdc.c dma_addr_t ptr; ptr 329 sound/soc/atmel/atmel-pcm-pdc.c ptr = (dma_addr_t) ssc_readx(params->ssc->regs, params->pdc->xpr); ptr 330 sound/soc/atmel/atmel-pcm-pdc.c x = bytes_to_frames(runtime, ptr - prtd->dma_buffer); ptr 134 sound/soc/au1x/dma.c static irqreturn_t au1000_dma_interrupt(int irq, void *ptr) ptr 136 sound/soc/au1x/dma.c struct audio_stream *stream = (struct audio_stream *)ptr; ptr 107 sound/soc/dwc/dwc-pcm.c unsigned int ptr; ptr 111 sound/soc/dwc/dwc-pcm.c ptr = READ_ONCE(dev->tx_ptr); ptr 112 sound/soc/dwc/dwc-pcm.c new_ptr = dev->tx_fn(dev, substream->runtime, ptr, ptr 114 sound/soc/dwc/dwc-pcm.c cmpxchg(&dev->tx_ptr, ptr, new_ptr); ptr 116 sound/soc/dwc/dwc-pcm.c ptr = READ_ONCE(dev->rx_ptr); ptr 117 sound/soc/dwc/dwc-pcm.c new_ptr = dev->rx_fn(dev, substream->runtime, ptr, ptr 119 sound/soc/dwc/dwc-pcm.c cmpxchg(&dev->rx_ptr, ptr, new_ptr); ptr 250 sound/soc/sh/siu_dai.c u32 *ptr; ptr 253 sound/soc/sh/siu_dai.c ptr = fw->pram0; ptr 255 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < PRAM0_SIZE; cnt++, add++, ptr++) ptr 256 sound/soc/sh/siu_dai.c siu_write32(add, *ptr); ptr 258 sound/soc/sh/siu_dai.c ptr = fw->pram1; ptr 260 sound/soc/sh/siu_dai.c for (cnt = 0; cnt < PRAM1_SIZE; cnt++, add++, ptr++) ptr 261 sound/soc/sh/siu_dai.c siu_write32(add, *ptr); ptr 487 sound/soc/sh/siu_pcm.c size_t ptr; ptr 499 sound/soc/sh/siu_pcm.c ptr = PERIOD_OFFSET(rt->dma_addr, ptr 506 sound/soc/sh/siu_pcm.c siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, ptr 509 sound/soc/sh/siu_pcm.c if (ptr >= siu_stream->buf_bytes) ptr 510 sound/soc/sh/siu_pcm.c ptr = 0; ptr 512 sound/soc/sh/siu_pcm.c return bytes_to_frames(ss->runtime, ptr); ptr 31 sound/soc/soc-devres.c struct device **ptr; ptr 34 sound/soc/soc-devres.c ptr = devres_alloc(devm_component_release, sizeof(*ptr), GFP_KERNEL); ptr 35 sound/soc/soc-devres.c if (!ptr) ptr 40 sound/soc/soc-devres.c *ptr = dev; ptr 41 sound/soc/soc-devres.c devres_add(dev, ptr); ptr 43 sound/soc/soc-devres.c devres_free(ptr); ptr 65 sound/soc/soc-devres.c struct snd_soc_card **ptr; ptr 68 sound/soc/soc-devres.c ptr = devres_alloc(devm_card_release, sizeof(*ptr), GFP_KERNEL); ptr 69 sound/soc/soc-devres.c if (!ptr) ptr 74 sound/soc/soc-devres.c *ptr = card; ptr 75 sound/soc/soc-devres.c devres_add(dev, ptr); ptr 77 sound/soc/soc-devres.c devres_free(ptr); ptr 103 sound/soc/soc-devres.c struct device **ptr; ptr 106 sound/soc/soc-devres.c ptr = devres_alloc(devm_dmaengine_pcm_release, sizeof(*ptr), GFP_KERNEL); ptr 107 sound/soc/soc-devres.c if (!ptr) ptr 112 sound/soc/soc-devres.c *ptr = dev; ptr 113 sound/soc/soc-devres.c devres_add(dev, ptr); ptr 115 sound/soc/soc-devres.c devres_free(ptr); ptr 1243 sound/soc/stm/stm32_sai_sub.c int *ptr = (int *)(runtime->dma_area + hwoff + ptr 1251 sound/soc/stm/stm32_sai_sub.c *ptr = ((*ptr >> 8) & 0x00ffffff); ptr 1257 sound/soc/stm/stm32_sai_sub.c *ptr |= 0x04000000; ptr 1258 sound/soc/stm/stm32_sai_sub.c ptr++; ptr 256 sound/soc/stm/stm32_spdifrx.c u32 *ptr = p_start; ptr 267 sound/soc/stm/stm32_spdifrx.c while (ptr <= p_end) { ptr 268 sound/soc/stm/stm32_spdifrx.c if (*ptr & SPDIFRX_CSR_SOB) ptr 270 sound/soc/stm/stm32_spdifrx.c ptr++; ptr 273 sound/soc/stm/stm32_spdifrx.c if (ptr > p_end) { ptr 279 sound/soc/stm/stm32_spdifrx.c spdifrx->cs[i] = (unsigned char)SPDIFRX_CSR_CSGET(*ptr); ptr 280 sound/soc/stm/stm32_spdifrx.c *ub_ptr++ = SPDIFRX_CSR_USRGET(*ptr++); ptr 281 sound/soc/stm/stm32_spdifrx.c if (ptr > p_end) { ptr 649 sound/sparc/amd7930.c size_t ptr; ptr 653 sound/sparc/amd7930.c ptr = amd->p_cur - amd->p_orig; ptr 654 sound/sparc/amd7930.c return bytes_to_frames(substream->runtime, ptr); ptr 660 sound/sparc/amd7930.c size_t ptr; ptr 665 sound/sparc/amd7930.c ptr = amd->c_cur - amd->c_orig; ptr 666 sound/sparc/amd7930.c return bytes_to_frames(substream->runtime, ptr); ptr 1003 sound/sparc/cs4231.c size_t ptr; ptr 1007 sound/sparc/cs4231.c ptr = dma_cont->address(dma_cont); ptr 1008 sound/sparc/cs4231.c if (ptr != 0) ptr 1009 sound/sparc/cs4231.c ptr -= substream->runtime->dma_addr; ptr 1011 sound/sparc/cs4231.c return bytes_to_frames(substream->runtime, ptr); ptr 1019 sound/sparc/cs4231.c size_t ptr; ptr 1023 sound/sparc/cs4231.c ptr = dma_cont->address(dma_cont); ptr 1024 sound/sparc/cs4231.c if (ptr != 0) ptr 1025 sound/sparc/cs4231.c ptr -= substream->runtime->dma_addr; ptr 1027 sound/sparc/cs4231.c return bytes_to_frames(substream->runtime, ptr); ptr 1036 sound/sparc/cs4231.c unsigned char *ptr; ptr 1073 sound/sparc/cs4231.c ptr = (unsigned char *) &chip->image; ptr 1080 sound/sparc/cs4231.c snd_cs4231_out(chip, i, *ptr++); ptr 706 sound/sparc/dbri.c s32 *ptr; ptr 708 sound/sparc/dbri.c for (ptr = dbri->cmdptr; ptr < cmd+2; ptr++) ptr 710 sound/sparc/dbri.c (unsigned long)ptr, *ptr); ptr 712 sound/sparc/dbri.c s32 *ptr = dbri->cmdptr; ptr 714 sound/sparc/dbri.c dprintk(D_CMD, "cmd: %lx:%08x\n", (unsigned long)ptr, *ptr); ptr 715 sound/sparc/dbri.c ptr++; ptr 716 sound/sparc/dbri.c dprintk(D_CMD, "cmd: %lx:%08x\n", (unsigned long)ptr, *ptr); ptr 717 sound/sparc/dbri.c for (ptr = dbri->dma->cmd; ptr < cmd+2; ptr++) ptr 719 sound/sparc/dbri.c (unsigned long)ptr, *ptr); ptr 1047 sound/sparc/dbri.c static void recv_fixed(struct snd_dbri *dbri, int pipe, volatile __u32 *ptr) ptr 1067 sound/sparc/dbri.c dbri->pipes[pipe].recv_fixed_ptr = ptr; ptr 306 sound/usb/caiaq/audio.c snd_pcm_uframes_t ptr; ptr 311 sound/usb/caiaq/audio.c ptr = SNDRV_PCM_POS_XRUN; ptr 316 sound/usb/caiaq/audio.c ptr = bytes_to_frames(sub->runtime, ptr 319 sound/usb/caiaq/audio.c ptr = bytes_to_frames(sub->runtime, ptr 324 sound/usb/caiaq/audio.c return ptr; ptr 156 sound/usb/usx2y/usbusx2y.c static void usX2Y_usb_disconnect(struct usb_device* usb_device, void* ptr); ptr 434 sound/usb/usx2y/usbusx2y.c static void usX2Y_usb_disconnect(struct usb_device *device, void* ptr) ptr 436 sound/usb/usx2y/usbusx2y.c if (ptr) { ptr 437 sound/usb/usx2y/usbusx2y.c struct snd_card *card = ptr; ptr 35 tools/arch/x86/include/asm/cmpxchg.h #define __raw_cmpxchg(ptr, old, new, size, lock) \ ptr 37 tools/arch/x86/include/asm/cmpxchg.h __typeof__(*(ptr)) __ret; \ ptr 38 tools/arch/x86/include/asm/cmpxchg.h __typeof__(*(ptr)) __old = (old); \ ptr 39 tools/arch/x86/include/asm/cmpxchg.h __typeof__(*(ptr)) __new = (new); \ ptr 43 tools/arch/x86/include/asm/cmpxchg.h volatile u8 *__ptr = (volatile u8 *)(ptr); \ ptr 52 tools/arch/x86/include/asm/cmpxchg.h volatile u16 *__ptr = (volatile u16 *)(ptr); \ ptr 61 tools/arch/x86/include/asm/cmpxchg.h volatile u32 *__ptr = (volatile u32 *)(ptr); \ ptr 70 tools/arch/x86/include/asm/cmpxchg.h volatile u64 *__ptr = (volatile u64 *)(ptr); \ ptr 83 tools/arch/x86/include/asm/cmpxchg.h #define __cmpxchg(ptr, old, new, size) \ ptr 84 tools/arch/x86/include/asm/cmpxchg.h __raw_cmpxchg((ptr), (old), (new), (size), LOCK_PREFIX) ptr 86 tools/arch/x86/include/asm/cmpxchg.h #define cmpxchg(ptr, old, new) \ ptr 87 tools/arch/x86/include/asm/cmpxchg.h __cmpxchg(ptr, old, new, sizeof(*(ptr))) ptr 173 tools/bpf/bpf_jit_disasm.c char *ptr, *pptr, *tmp; ptr 189 tools/bpf/bpf_jit_disasm.c ptr = haystack; ptr 193 tools/bpf/bpf_jit_disasm.c ret = regexec(®ex, ptr, 1, pmatch, 0); ptr 195 tools/bpf/bpf_jit_disasm.c ptr += pmatch[0].rm_eo; ptr 202 tools/bpf/bpf_jit_disasm.c ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); ptr 203 tools/bpf/bpf_jit_disasm.c ret = sscanf(ptr, "flen=%d proglen=%u pass=%d image=%lx", ptr 221 tools/bpf/bpf_jit_disasm.c tmp = ptr = haystack + off; ptr 222 tools/bpf/bpf_jit_disasm.c while ((ptr = strtok(tmp, "\n")) != NULL && ulen < proglen) { ptr 224 tools/bpf/bpf_jit_disasm.c if (!strstr(ptr, "JIT code")) ptr 226 tools/bpf/bpf_jit_disasm.c pptr = ptr; ptr 227 tools/bpf/bpf_jit_disasm.c while ((ptr = strstr(pptr, ":"))) ptr 228 tools/bpf/bpf_jit_disasm.c pptr = ptr + 1; ptr 229 tools/bpf/bpf_jit_disasm.c ptr = pptr; ptr 232 tools/bpf/bpf_jit_disasm.c if (ptr == pptr) { ptr 238 tools/bpf/bpf_jit_disasm.c ptr = pptr; ptr 19 tools/bpf/bpftool/main.h #define ptr_to_u64(ptr) ((__u64)(unsigned long)(ptr)) ptr 68 tools/bpf/bpftool/tracelog.c const char * const *ptr; ptr 72 tools/bpf/bpftool/tracelog.c for (ptr = known_mnts; ptr < known_mnts + ARRAY_SIZE(known_mnts); ptr++) ptr 73 tools/bpf/bpftool/tracelog.c if (find_tracefs_mnt_single(TRACEFS_MAGIC, mnt, *ptr)) ptr 64 tools/include/asm-generic/atomic-gcc.h #define cmpxchg(ptr, oldval, newval) \ ptr 65 tools/include/asm-generic/atomic-gcc.h __sync_val_compare_and_swap(ptr, oldval, newval) ptr 40 tools/include/linux/err.h static inline long __must_check PTR_ERR(__force const void *ptr) ptr 42 tools/include/linux/err.h return (long) ptr; ptr 45 tools/include/linux/err.h static inline bool __must_check IS_ERR(__force const void *ptr) ptr 47 tools/include/linux/err.h return IS_ERR_VALUE((unsigned long)ptr); ptr 50 tools/include/linux/err.h static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) ptr 52 tools/include/linux/err.h return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); ptr 55 tools/include/linux/err.h static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) ptr 57 tools/include/linux/err.h if (IS_ERR(ptr)) ptr 58 tools/include/linux/err.h return PTR_ERR(ptr); ptr 70 tools/include/linux/err.h static inline void * __must_check ERR_CAST(__force const void *ptr) ptr 73 tools/include/linux/err.h return (void *) ptr; ptr 88 tools/include/linux/hash.h static inline u32 hash_ptr(const void *ptr, unsigned int bits) ptr 90 tools/include/linux/hash.h return hash_long((unsigned long)ptr, bits); ptr 94 tools/include/linux/hash.h static inline u32 hash32_ptr(const void *ptr) ptr 96 tools/include/linux/hash.h unsigned long val = (unsigned long)ptr; ptr 33 tools/include/linux/kernel.h #define container_of(ptr, type, member) ({ \ ptr 34 tools/include/linux/kernel.h const typeof(((type *)0)->member) * __mptr = (ptr); \ ptr 351 tools/include/linux/list.h #define list_entry(ptr, type, member) \ ptr 352 tools/include/linux/list.h container_of(ptr, type, member) ptr 362 tools/include/linux/list.h #define list_first_entry(ptr, type, member) \ ptr 363 tools/include/linux/list.h list_entry((ptr)->next, type, member) ptr 373 tools/include/linux/list.h #define list_last_entry(ptr, type, member) \ ptr 374 tools/include/linux/list.h list_entry((ptr)->prev, type, member) ptr 384 tools/include/linux/list.h #define list_first_entry_or_null(ptr, type, member) \ ptr 385 tools/include/linux/list.h (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL) ptr 597 tools/include/linux/list.h #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL) ptr 694 tools/include/linux/list.h #define hlist_entry(ptr, type, member) container_of(ptr,type,member) ptr 703 tools/include/linux/list.h #define hlist_entry_safe(ptr, type, member) \ ptr 704 tools/include/linux/list.h ({ typeof(ptr) ____ptr = (ptr); \ ptr 37 tools/include/linux/rbtree.h #define rb_entry(ptr, type, member) container_of(ptr, type, member) ptr 75 tools/include/linux/rbtree.h #define rb_entry_safe(ptr, type, member) \ ptr 76 tools/include/linux/rbtree.h ({ typeof(ptr) ____ptr = (ptr); \ ptr 13 tools/include/linux/unaligned/packed_struct.h const struct __una_u16 *ptr = (const struct __una_u16 *)p; ptr 14 tools/include/linux/unaligned/packed_struct.h return ptr->x; ptr 19 tools/include/linux/unaligned/packed_struct.h const struct __una_u32 *ptr = (const struct __una_u32 *)p; ptr 20 tools/include/linux/unaligned/packed_struct.h return ptr->x; ptr 25 tools/include/linux/unaligned/packed_struct.h const struct __una_u64 *ptr = (const struct __una_u64 *)p; ptr 26 tools/include/linux/unaligned/packed_struct.h return ptr->x; ptr 31 tools/include/linux/unaligned/packed_struct.h struct __una_u16 *ptr = (struct __una_u16 *)p; ptr 32 tools/include/linux/unaligned/packed_struct.h ptr->x = val; ptr 37 tools/include/linux/unaligned/packed_struct.h struct __una_u32 *ptr = (struct __una_u32 *)p; ptr 38 tools/include/linux/unaligned/packed_struct.h ptr->x = val; ptr 43 tools/include/linux/unaligned/packed_struct.h struct __una_u64 *ptr = (struct __una_u64 *)p; ptr 44 tools/include/linux/unaligned/packed_struct.h ptr->x = val; ptr 8 tools/include/linux/zalloc.h void __zfree(void **ptr); ptr 10 tools/include/linux/zalloc.h #define zfree(ptr) __zfree((void **)(ptr)) ptr 11 tools/include/tools/libc_compat.h static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) ptr 17 tools/include/tools/libc_compat.h return realloc(ptr, bytes); ptr 395 tools/io_uring/io_uring-bench.c void *ptr; ptr 432 tools/io_uring/io_uring-bench.c ptr = mmap(0, p.sq_off.array + p.sq_entries * sizeof(__u32), ptr 435 tools/io_uring/io_uring-bench.c printf("sq_ring ptr = 0x%p\n", ptr); ptr 436 tools/io_uring/io_uring-bench.c sring->head = ptr + p.sq_off.head; ptr 437 tools/io_uring/io_uring-bench.c sring->tail = ptr + p.sq_off.tail; ptr 438 tools/io_uring/io_uring-bench.c sring->ring_mask = ptr + p.sq_off.ring_mask; ptr 439 tools/io_uring/io_uring-bench.c sring->ring_entries = ptr + p.sq_off.ring_entries; ptr 440 tools/io_uring/io_uring-bench.c sring->flags = ptr + p.sq_off.flags; ptr 441 tools/io_uring/io_uring-bench.c sring->array = ptr + p.sq_off.array; ptr 449 tools/io_uring/io_uring-bench.c ptr = mmap(0, p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe), ptr 452 tools/io_uring/io_uring-bench.c printf("cq_ring ptr = 0x%p\n", ptr); ptr 453 tools/io_uring/io_uring-bench.c cring->head = ptr + p.cq_off.head; ptr 454 tools/io_uring/io_uring-bench.c cring->tail = ptr + p.cq_off.tail; ptr 455 tools/io_uring/io_uring-bench.c cring->ring_mask = ptr + p.cq_off.ring_mask; ptr 456 tools/io_uring/io_uring-bench.c cring->ring_entries = ptr + p.cq_off.ring_entries; ptr 457 tools/io_uring/io_uring-bench.c cring->cqes = ptr + p.cq_off.cqes; ptr 14 tools/io_uring/setup.c void *ptr; ptr 18 tools/io_uring/setup.c ptr = mmap(0, sq->ring_sz, PROT_READ | PROT_WRITE, ptr 20 tools/io_uring/setup.c if (ptr == MAP_FAILED) ptr 22 tools/io_uring/setup.c sq->khead = ptr + p->sq_off.head; ptr 23 tools/io_uring/setup.c sq->ktail = ptr + p->sq_off.tail; ptr 24 tools/io_uring/setup.c sq->kring_mask = ptr + p->sq_off.ring_mask; ptr 25 tools/io_uring/setup.c sq->kring_entries = ptr + p->sq_off.ring_entries; ptr 26 tools/io_uring/setup.c sq->kflags = ptr + p->sq_off.flags; ptr 27 tools/io_uring/setup.c sq->kdropped = ptr + p->sq_off.dropped; ptr 28 tools/io_uring/setup.c sq->array = ptr + p->sq_off.array; ptr 42 tools/io_uring/setup.c ptr = mmap(0, cq->ring_sz, PROT_READ | PROT_WRITE, ptr 44 tools/io_uring/setup.c if (ptr == MAP_FAILED) { ptr 49 tools/io_uring/setup.c cq->khead = ptr + p->cq_off.head; ptr 50 tools/io_uring/setup.c cq->ktail = ptr + p->cq_off.tail; ptr 51 tools/io_uring/setup.c cq->kring_mask = ptr + p->cq_off.ring_mask; ptr 52 tools/io_uring/setup.c cq->kring_entries = ptr + p->cq_off.ring_entries; ptr 53 tools/io_uring/setup.c cq->koverflow = ptr + p->cq_off.overflow; ptr 54 tools/io_uring/setup.c cq->cqes = ptr + p->cq_off.cqes; ptr 26 tools/lib/api/fd/array.h void *ptr; ptr 178 tools/lib/api/fs/fs.c const char * const *ptr; ptr 180 tools/lib/api/fs/fs.c ptr = fs->mounts; ptr 181 tools/lib/api/fs/fs.c while (*ptr) { ptr 182 tools/lib/api/fs/fs.c if (fs__valid_mount(*ptr, fs->magic) == 0) { ptr 184 tools/lib/api/fs/fs.c strcpy(fs->path, *ptr); ptr 187 tools/lib/api/fs/fs.c ptr++; ptr 19 tools/lib/api/fs/tracing_path.h #define zput_events_file(ptr) ({ free(*ptr); *ptr = NULL; }) ptr 57 tools/lib/bpf/bpf.c static inline __u64 ptr_to_u64(const void *ptr) ptr 59 tools/lib/bpf/bpf.c return (__u64) (unsigned long) ptr; ptr 39 tools/lib/bpf/btf.c static inline __u64 ptr_to_u64(const void *ptr) ptr 41 tools/lib/bpf/btf.c return (__u64) (unsigned long) ptr; ptr 638 tools/lib/bpf/btf.c void *ptr; ptr 653 tools/lib/bpf/btf.c ptr = malloc(last_size); ptr 654 tools/lib/bpf/btf.c if (!ptr) { ptr 659 tools/lib/bpf/btf.c memset(ptr, 0, last_size); ptr 660 tools/lib/bpf/btf.c btf_info.btf = ptr_to_u64(ptr); ptr 667 tools/lib/bpf/btf.c temp_ptr = realloc(ptr, last_size); ptr 672 tools/lib/bpf/btf.c ptr = temp_ptr; ptr 673 tools/lib/bpf/btf.c memset(ptr, 0, last_size); ptr 674 tools/lib/bpf/btf.c btf_info.btf = ptr_to_u64(ptr); ptr 691 tools/lib/bpf/btf.c free(ptr); ptr 112 tools/lib/bpf/libbpf.c # define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) ptr 130 tools/lib/bpf/libbpf.c static inline __u64 ptr_to_u64(const void *ptr) ptr 132 tools/lib/bpf/libbpf.c return (__u64) (unsigned long) ptr; ptr 4794 tools/lib/bpf/libbpf.c long libbpf_get_error(const void *ptr) ptr 4796 tools/lib/bpf/libbpf.c return PTR_ERR_OR_ZERO(ptr); ptr 5566 tools/lib/bpf/libbpf.c pb->events[i].data.ptr = cpu_buf; ptr 5651 tools/lib/bpf/libbpf.c struct perf_cpu_buf *cpu_buf = pb->events[i].data.ptr; ptr 5763 tools/lib/bpf/libbpf.c void *ptr; ptr 5809 tools/lib/bpf/libbpf.c ptr = info_linear->data; ptr 5827 tools/lib/bpf/libbpf.c ptr_to_u64(ptr)); ptr 5828 tools/lib/bpf/libbpf.c ptr += count * size; ptr 343 tools/lib/bpf/libbpf.h LIBBPF_API long libbpf_get_error(const void *ptr); ptr 28 tools/lib/subcmd/subcmd-util.h #define zfree(ptr) ({ free(*ptr); *ptr = NULL; }) ptr 50 tools/lib/subcmd/subcmd-util.h static inline void *xrealloc(void *ptr, size_t size) ptr 52 tools/lib/subcmd/subcmd-util.h void *ret = realloc(ptr, size); ptr 54 tools/lib/subcmd/subcmd-util.h ret = realloc(ptr, 1); ptr 56 tools/lib/subcmd/subcmd-util.h ret = realloc(ptr, size); ptr 58 tools/lib/subcmd/subcmd-util.h ret = realloc(ptr, 1); ptr 22 tools/lib/symbol/kallsyms.c int hex2u64(const char *ptr, u64 *long_val) ptr 26 tools/lib/symbol/kallsyms.c *long_val = strtoull(ptr, &p, 16); ptr 28 tools/lib/symbol/kallsyms.c return p - ptr; ptr 21 tools/lib/symbol/kallsyms.h int hex2u64(const char *ptr, u64 *long_val); ptr 3399 tools/lib/traceevent/event-parse.c const void *ptr, int size) ptr 3405 tools/lib/traceevent/event-parse.c return *(unsigned char *)ptr; ptr 3407 tools/lib/traceevent/event-parse.c return tep_data2host2(tep, *(unsigned short *)ptr); ptr 3409 tools/lib/traceevent/event-parse.c return tep_data2host4(tep, *(unsigned int *)ptr); ptr 3411 tools/lib/traceevent/event-parse.c memcpy(&val, (ptr), sizeof(unsigned long long)); ptr 4295 tools/lib/traceevent/event-parse.c char *ptr; ptr 4338 tools/lib/traceevent/event-parse.c for (ptr = fmt + 5, bptr = data + field->offset; ptr 4339 tools/lib/traceevent/event-parse.c bptr < data + size && *ptr; ptr++) { ptr 4342 tools/lib/traceevent/event-parse.c if (*ptr == '%') { ptr 4344 tools/lib/traceevent/event-parse.c ptr++; ptr 4345 tools/lib/traceevent/event-parse.c switch (*ptr) { ptr 4364 tools/lib/traceevent/event-parse.c if (isalnum(ptr[1])) { ptr 4365 tools/lib/traceevent/event-parse.c ptr++; ptr 4367 tools/lib/traceevent/event-parse.c switch (*ptr) { ptr 4381 tools/lib/traceevent/event-parse.c if (ptr[1] != 'w') ptr 4416 tools/lib/traceevent/event-parse.c if (*ptr == '*') ptr 4442 tools/lib/traceevent/event-parse.c if (*ptr == '*') ptr 4664 tools/lib/traceevent/event-parse.c static int print_ipv4_arg(struct trace_seq *s, const char *ptr, char i, ptr 4701 tools/lib/traceevent/event-parse.c static int print_ipv6_arg(struct trace_seq *s, const char *ptr, char i, ptr 4710 tools/lib/traceevent/event-parse.c if (i == 'I' && *ptr == 'c') { ptr 4712 tools/lib/traceevent/event-parse.c ptr++; ptr 4751 tools/lib/traceevent/event-parse.c static int print_ipsa_arg(struct trace_seq *s, const char *ptr, char i, ptr 4762 tools/lib/traceevent/event-parse.c if (*ptr == 'p') { ptr 4764 tools/lib/traceevent/event-parse.c ptr++; ptr 4767 tools/lib/traceevent/event-parse.c if (*ptr == 'c') { ptr 4769 tools/lib/traceevent/event-parse.c ptr++; ptr 4833 tools/lib/traceevent/event-parse.c static int print_ip_arg(struct trace_seq *s, const char *ptr, ptr 4837 tools/lib/traceevent/event-parse.c char i = *ptr; /* 'i' or 'I' */ ptr 4841 tools/lib/traceevent/event-parse.c ptr++; ptr 4844 tools/lib/traceevent/event-parse.c ver = *ptr; ptr 4845 tools/lib/traceevent/event-parse.c ptr++; ptr 4850 tools/lib/traceevent/event-parse.c rc += print_ipv4_arg(s, ptr, i, data, size, event, arg); ptr 4853 tools/lib/traceevent/event-parse.c rc += print_ipv6_arg(s, ptr, i, data, size, event, arg); ptr 4856 tools/lib/traceevent/event-parse.c rc += print_ipsa_arg(s, ptr, i, data, size, event, arg); ptr 4959 tools/lib/traceevent/event-parse.c const char *ptr = print_fmt->format; ptr 4982 tools/lib/traceevent/event-parse.c ptr = bprint_fmt; ptr 4985 tools/lib/traceevent/event-parse.c for (; *ptr; ptr++) { ptr 4987 tools/lib/traceevent/event-parse.c if (*ptr == '\\') { ptr 4988 tools/lib/traceevent/event-parse.c ptr++; ptr 4989 tools/lib/traceevent/event-parse.c switch (*ptr) { ptr 5003 tools/lib/traceevent/event-parse.c trace_seq_putc(s, *ptr); ptr 5007 tools/lib/traceevent/event-parse.c } else if (*ptr == '%') { ptr 5008 tools/lib/traceevent/event-parse.c saveptr = ptr; ptr 5012 tools/lib/traceevent/event-parse.c ptr++; ptr 5013 tools/lib/traceevent/event-parse.c switch (*ptr) { ptr 5052 tools/lib/traceevent/event-parse.c if (isalnum(ptr[1])) ptr 5053 tools/lib/traceevent/event-parse.c ptr++; ptr 5061 tools/lib/traceevent/event-parse.c if (*ptr == 'F' || *ptr == 'f' || ptr 5062 tools/lib/traceevent/event-parse.c *ptr == 'S' || *ptr == 's') { ptr 5063 tools/lib/traceevent/event-parse.c show_func = *ptr; ptr 5064 tools/lib/traceevent/event-parse.c } else if (*ptr == 'M' || *ptr == 'm') { ptr 5065 tools/lib/traceevent/event-parse.c print_mac_arg(s, *ptr, data, size, event, arg); ptr 5068 tools/lib/traceevent/event-parse.c } else if (*ptr == 'I' || *ptr == 'i') { ptr 5071 tools/lib/traceevent/event-parse.c n = print_ip_arg(s, ptr, data, size, event, arg); ptr 5073 tools/lib/traceevent/event-parse.c ptr += n - 1; ptr 5091 tools/lib/traceevent/event-parse.c len = ((unsigned long)ptr + 1) - ptr 5173 tools/lib/traceevent/event-parse.c len = ((unsigned long)ptr + 1) - ptr 5197 tools/lib/traceevent/event-parse.c trace_seq_printf(s, ">%c<", *ptr); ptr 5201 tools/lib/traceevent/event-parse.c trace_seq_putc(s, *ptr); ptr 516 tools/lib/traceevent/event-parse.h unsigned long long tep_read_number(struct tep_handle *tep, const void *ptr, int size); ptr 55 tools/lib/traceevent/kbuffer-parse.c unsigned int (*read_4)(void *ptr); ptr 56 tools/lib/traceevent/kbuffer-parse.c unsigned long long (*read_8)(void *ptr); ptr 57 tools/lib/traceevent/kbuffer-parse.c unsigned long long (*read_long)(struct kbuffer *kbuf, void *ptr); ptr 69 tools/lib/traceevent/kbuffer-parse.c unsigned int *ptr; ptr 71 tools/lib/traceevent/kbuffer-parse.c ptr = (unsigned int *)str; ptr 72 tools/lib/traceevent/kbuffer-parse.c return *ptr == 0x01020304; ptr 81 tools/lib/traceevent/kbuffer-parse.c static unsigned long long __read_8(void *ptr) ptr 83 tools/lib/traceevent/kbuffer-parse.c unsigned long long data = *(unsigned long long *)ptr; ptr 88 tools/lib/traceevent/kbuffer-parse.c static unsigned long long __read_8_sw(void *ptr) ptr 90 tools/lib/traceevent/kbuffer-parse.c unsigned long long data = *(unsigned long long *)ptr; ptr 105 tools/lib/traceevent/kbuffer-parse.c static unsigned int __read_4(void *ptr) ptr 107 tools/lib/traceevent/kbuffer-parse.c unsigned int data = *(unsigned int *)ptr; ptr 112 tools/lib/traceevent/kbuffer-parse.c static unsigned int __read_4_sw(void *ptr) ptr 114 tools/lib/traceevent/kbuffer-parse.c unsigned int data = *(unsigned int *)ptr; ptr 125 tools/lib/traceevent/kbuffer-parse.c static unsigned long long read_8(struct kbuffer *kbuf, void *ptr) ptr 127 tools/lib/traceevent/kbuffer-parse.c return kbuf->read_8(ptr); ptr 130 tools/lib/traceevent/kbuffer-parse.c static unsigned int read_4(struct kbuffer *kbuf, void *ptr) ptr 132 tools/lib/traceevent/kbuffer-parse.c return kbuf->read_4(ptr); ptr 135 tools/lib/traceevent/kbuffer-parse.c static unsigned long long __read_long_8(struct kbuffer *kbuf, void *ptr) ptr 137 tools/lib/traceevent/kbuffer-parse.c return kbuf->read_8(ptr); ptr 140 tools/lib/traceevent/kbuffer-parse.c static unsigned long long __read_long_4(struct kbuffer *kbuf, void *ptr) ptr 142 tools/lib/traceevent/kbuffer-parse.c return kbuf->read_4(ptr); ptr 145 tools/lib/traceevent/kbuffer-parse.c static unsigned long long read_long(struct kbuffer *kbuf, void *ptr) ptr 147 tools/lib/traceevent/kbuffer-parse.c return kbuf->read_long(kbuf, ptr); ptr 150 tools/lib/traceevent/kbuffer-parse.c static int calc_index(struct kbuffer *kbuf, void *ptr) ptr 152 tools/lib/traceevent/kbuffer-parse.c return (unsigned long)ptr - (unsigned long)kbuf->data; ptr 283 tools/lib/traceevent/kbuffer-parse.c void *ptr = kbuf->data + kbuf->curr; ptr 285 tools/lib/traceevent/kbuffer-parse.c type_len_ts = read_4(kbuf, ptr); ptr 286 tools/lib/traceevent/kbuffer-parse.c ptr += 4; ptr 298 tools/lib/traceevent/kbuffer-parse.c extend = read_4(kbuf, ptr); ptr 302 tools/lib/traceevent/kbuffer-parse.c ptr += 4; ptr 316 tools/lib/traceevent/kbuffer-parse.c length = read_4(kbuf, ptr); ptr 318 tools/lib/traceevent/kbuffer-parse.c ptr += 4; ptr 324 tools/lib/traceevent/kbuffer-parse.c kbuf->index = calc_index(kbuf, ptr); ptr 396 tools/lib/traceevent/kbuffer-parse.c void *ptr = kbuf->data + kbuf->curr; ptr 398 tools/lib/traceevent/kbuffer-parse.c type_len = translate_data(kbuf, ptr, &ptr, &delta, &length); ptr 401 tools/lib/traceevent/kbuffer-parse.c kbuf->index = calc_index(kbuf, ptr); ptr 423 tools/lib/traceevent/kbuffer-parse.c void *ptr; ptr 435 tools/lib/traceevent/kbuffer-parse.c type_len = translate_data(&kbuf, data, &ptr, &delta, &length); ptr 445 tools/lib/traceevent/kbuffer-parse.c return ptr; ptr 510 tools/lib/traceevent/kbuffer-parse.c void *ptr = subbuffer; ptr 517 tools/lib/traceevent/kbuffer-parse.c kbuf->timestamp = read_8(kbuf, ptr); ptr 518 tools/lib/traceevent/kbuffer-parse.c ptr += 8; ptr 529 tools/lib/traceevent/kbuffer-parse.c flags = read_long(kbuf, ptr); ptr 534 tools/lib/traceevent/kbuffer-parse.c ptr = kbuf->data + kbuf->size; ptr 535 tools/lib/traceevent/kbuffer-parse.c kbuf->lost_events = read_long(kbuf, ptr); ptr 753 tools/lib/traceevent/kbuffer-parse.c void *ptr = info->next; ptr 766 tools/lib/traceevent/kbuffer-parse.c if (ptr < subbuf || ptr >= subbuf + start + size) ptr 769 tools/lib/traceevent/kbuffer-parse.c type_len = translate_data(kbuf, ptr, &ptr, &delta, &length); ptr 771 tools/lib/traceevent/kbuffer-parse.c info->next = ptr + length; ptr 760 tools/lib/traceevent/parse-filter.c struct tep_filter_arg **ptr; ptr 770 tools/lib/traceevent/parse-filter.c ptr = &old_child->op.right; ptr 773 tools/lib/traceevent/parse-filter.c ptr = &old_child->op.left; ptr 781 tools/lib/traceevent/parse-filter.c *ptr = NULL; ptr 793 tools/lib/traceevent/parse-filter.c ptr = &parent->op.right; ptr 795 tools/lib/traceevent/parse-filter.c ptr = &parent->op.left; ptr 801 tools/lib/traceevent/parse-filter.c *ptr = arg; ptr 70 tools/lib/traceevent/plugins/plugin_function.c char **ptr; ptr 72 tools/lib/traceevent/plugins/plugin_function.c ptr = realloc(stack->stack, sizeof(char *) * ptr 74 tools/lib/traceevent/plugins/plugin_function.c if (!ptr) { ptr 79 tools/lib/traceevent/plugins/plugin_function.c stack->stack = ptr; ptr 97 tools/lib/traceevent/plugins/plugin_function.c struct func_stack *ptr; ptr 99 tools/lib/traceevent/plugins/plugin_function.c ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); ptr 100 tools/lib/traceevent/plugins/plugin_function.c if (!ptr) { ptr 105 tools/lib/traceevent/plugins/plugin_function.c fstack = ptr; ptr 11 tools/lib/zalloc.c void __zfree(void **ptr) ptr 13 tools/lib/zalloc.c free(*ptr); ptr 14 tools/lib/zalloc.c *ptr = NULL; ptr 64 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr; ptr 70 tools/perf/arch/arm/util/cs-etm.c ptr = container_of(itr, struct cs_etm_recording, itr); ptr 71 tools/perf/arch/arm/util/cs-etm.c cs_etm_pmu = ptr->cs_etm_pmu; ptr 113 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr; ptr 119 tools/perf/arch/arm/util/cs-etm.c ptr = container_of(itr, struct cs_etm_recording, itr); ptr 120 tools/perf/arch/arm/util/cs-etm.c cs_etm_pmu = ptr->cs_etm_pmu; ptr 196 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 209 tools/perf/arch/arm/util/cs-etm.c ptr->snapshot_size = snapshot_size; ptr 256 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 258 tools/perf/arch/arm/util/cs-etm.c struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; ptr 264 tools/perf/arch/arm/util/cs-etm.c ptr->evlist = evlist; ptr 265 tools/perf/arch/arm/util/cs-etm.c ptr->snapshot_mode = opts->auxtrace_snapshot_mode; ptr 438 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 440 tools/perf/arch/arm/util/cs-etm.c struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; ptr 441 tools/perf/arch/arm/util/cs-etm.c struct evlist *evlist = ptr->evlist; ptr 537 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 539 tools/perf/arch/arm/util/cs-etm.c struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; ptr 575 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 577 tools/perf/arch/arm/util/cs-etm.c struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; ptr 645 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 647 tools/perf/arch/arm/util/cs-etm.c struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; ptr 678 tools/perf/arch/arm/util/cs-etm.c info->priv[CS_ETM_SNAPSHOT] = ptr->snapshot_mode; ptr 691 tools/perf/arch/arm/util/cs-etm.c static int cs_etm_alloc_wrapped_array(struct cs_etm_recording *ptr, int idx) ptr 694 tools/perf/arch/arm/util/cs-etm.c int cnt = ptr->wrapped_cnt; ptr 705 tools/perf/arch/arm/util/cs-etm.c wrapped = realloc(ptr->wrapped, cnt * sizeof(bool)); ptr 710 tools/perf/arch/arm/util/cs-etm.c ptr->wrapped_cnt = cnt; ptr 711 tools/perf/arch/arm/util/cs-etm.c ptr->wrapped = wrapped; ptr 774 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 781 tools/perf/arch/arm/util/cs-etm.c if (idx >= ptr->wrapped_cnt) { ptr 782 tools/perf/arch/arm/util/cs-etm.c err = cs_etm_alloc_wrapped_array(ptr, idx); ptr 793 tools/perf/arch/arm/util/cs-etm.c wrapped = ptr->wrapped[idx]; ptr 796 tools/perf/arch/arm/util/cs-etm.c ptr->wrapped[idx] = true; ptr 822 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 826 tools/perf/arch/arm/util/cs-etm.c evlist__for_each_entry(ptr->evlist, evsel) { ptr 827 tools/perf/arch/arm/util/cs-etm.c if (evsel->core.attr.type == ptr->cs_etm_pmu->type) ptr 835 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 839 tools/perf/arch/arm/util/cs-etm.c evlist__for_each_entry(ptr->evlist, evsel) { ptr 840 tools/perf/arch/arm/util/cs-etm.c if (evsel->core.attr.type == ptr->cs_etm_pmu->type) ptr 854 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 857 tools/perf/arch/arm/util/cs-etm.c zfree(&ptr->wrapped); ptr 858 tools/perf/arch/arm/util/cs-etm.c free(ptr); ptr 863 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr = ptr 867 tools/perf/arch/arm/util/cs-etm.c evlist__for_each_entry(ptr->evlist, evsel) { ptr 868 tools/perf/arch/arm/util/cs-etm.c if (evsel->core.attr.type == ptr->cs_etm_pmu->type) { ptr 871 tools/perf/arch/arm/util/cs-etm.c return perf_evlist__enable_event_idx(ptr->evlist, ptr 882 tools/perf/arch/arm/util/cs-etm.c struct cs_etm_recording *ptr; ptr 891 tools/perf/arch/arm/util/cs-etm.c ptr = zalloc(sizeof(struct cs_etm_recording)); ptr 892 tools/perf/arch/arm/util/cs-etm.c if (!ptr) { ptr 897 tools/perf/arch/arm/util/cs-etm.c ptr->cs_etm_pmu = cs_etm_pmu; ptr 898 tools/perf/arch/arm/util/cs-etm.c ptr->itr.parse_snapshot_options = cs_etm_parse_snapshot_options; ptr 899 tools/perf/arch/arm/util/cs-etm.c ptr->itr.recording_options = cs_etm_recording_options; ptr 900 tools/perf/arch/arm/util/cs-etm.c ptr->itr.info_priv_size = cs_etm_info_priv_size; ptr 901 tools/perf/arch/arm/util/cs-etm.c ptr->itr.info_fill = cs_etm_info_fill; ptr 902 tools/perf/arch/arm/util/cs-etm.c ptr->itr.find_snapshot = cs_etm_find_snapshot; ptr 903 tools/perf/arch/arm/util/cs-etm.c ptr->itr.snapshot_start = cs_etm_snapshot_start; ptr 904 tools/perf/arch/arm/util/cs-etm.c ptr->itr.snapshot_finish = cs_etm_snapshot_finish; ptr 905 tools/perf/arch/arm/util/cs-etm.c ptr->itr.reference = cs_etm_reference; ptr 906 tools/perf/arch/arm/util/cs-etm.c ptr->itr.free = cs_etm_recording_free; ptr 907 tools/perf/arch/arm/util/cs-etm.c ptr->itr.read_finish = cs_etm_read_finish; ptr 910 tools/perf/arch/arm/util/cs-etm.c return &ptr->itr; ptr 239 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 253 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_size = snapshot_size; ptr 297 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 299 tools/perf/arch/x86/util/intel-pt.c const char *filter = intel_pt_find_filter(evlist, ptr->intel_pt_pmu); ptr 301 tools/perf/arch/x86/util/intel-pt.c ptr->priv_size = (INTEL_PT_AUXTRACE_PRIV_MAX * sizeof(u64)) + ptr 304 tools/perf/arch/x86/util/intel-pt.c return ptr->priv_size; ptr 321 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 323 tools/perf/arch/x86/util/intel-pt.c struct perf_pmu *intel_pt_pmu = ptr->intel_pt_pmu; ptr 335 tools/perf/arch/x86/util/intel-pt.c if (priv_size != ptr->priv_size) ptr 352 tools/perf/arch/x86/util/intel-pt.c filter = intel_pt_find_filter(session->evlist, ptr->intel_pt_pmu); ptr 381 tools/perf/arch/x86/util/intel-pt.c auxtrace_info->priv[INTEL_PT_HAVE_SCHED_SWITCH] = ptr->have_sched_switch; ptr 382 tools/perf/arch/x86/util/intel-pt.c auxtrace_info->priv[INTEL_PT_SNAPSHOT_MODE] = ptr->snapshot_mode; ptr 578 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 580 tools/perf/arch/x86/util/intel-pt.c struct perf_pmu *intel_pt_pmu = ptr->intel_pt_pmu; ptr 588 tools/perf/arch/x86/util/intel-pt.c ptr->evlist = evlist; ptr 589 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_mode = opts->auxtrace_snapshot_mode; ptr 736 tools/perf/arch/x86/util/intel-pt.c ptr->have_sched_switch = 3; ptr 741 tools/perf/arch/x86/util/intel-pt.c ptr->have_sched_switch = 3; ptr 743 tools/perf/arch/x86/util/intel-pt.c ptr->have_sched_switch = 2; ptr 752 tools/perf/arch/x86/util/intel-pt.c ptr->have_sched_switch = 1; ptr 802 tools/perf/arch/x86/util/intel-pt.c if (!ptr->have_sched_switch && !perf_cpu_map__empty(cpus) && ptr 811 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 815 tools/perf/arch/x86/util/intel-pt.c evlist__for_each_entry(ptr->evlist, evsel) { ptr 816 tools/perf/arch/x86/util/intel-pt.c if (evsel->core.attr.type == ptr->intel_pt_pmu->type) ptr 824 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 828 tools/perf/arch/x86/util/intel-pt.c evlist__for_each_entry(ptr->evlist, evsel) { ptr 829 tools/perf/arch/x86/util/intel-pt.c if (evsel->core.attr.type == ptr->intel_pt_pmu->type) ptr 835 tools/perf/arch/x86/util/intel-pt.c static int intel_pt_alloc_snapshot_refs(struct intel_pt_recording *ptr, int idx) ptr 838 tools/perf/arch/x86/util/intel-pt.c int cnt = ptr->snapshot_ref_cnt, new_cnt = cnt * 2; ptr 851 tools/perf/arch/x86/util/intel-pt.c memcpy(refs, ptr->snapshot_refs, cnt * sz); ptr 853 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_refs = refs; ptr 854 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_ref_cnt = new_cnt; ptr 859 tools/perf/arch/x86/util/intel-pt.c static void intel_pt_free_snapshot_refs(struct intel_pt_recording *ptr) ptr 863 tools/perf/arch/x86/util/intel-pt.c for (i = 0; i < ptr->snapshot_ref_cnt; i++) ptr 864 tools/perf/arch/x86/util/intel-pt.c zfree(&ptr->snapshot_refs[i].ref_buf); ptr 865 tools/perf/arch/x86/util/intel-pt.c zfree(&ptr->snapshot_refs); ptr 870 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 873 tools/perf/arch/x86/util/intel-pt.c intel_pt_free_snapshot_refs(ptr); ptr 874 tools/perf/arch/x86/util/intel-pt.c free(ptr); ptr 877 tools/perf/arch/x86/util/intel-pt.c static int intel_pt_alloc_snapshot_ref(struct intel_pt_recording *ptr, int idx, ptr 880 tools/perf/arch/x86/util/intel-pt.c size_t ref_buf_size = ptr->snapshot_ref_buf_size; ptr 887 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_refs[idx].ref_buf = ref_buf; ptr 888 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_refs[idx].ref_offset = snapshot_buf_size - ref_buf_size; ptr 893 tools/perf/arch/x86/util/intel-pt.c static size_t intel_pt_snapshot_ref_buf_size(struct intel_pt_recording *ptr, ptr 899 tools/perf/arch/x86/util/intel-pt.c if (ptr->snapshot_size <= 64 * 1024) ptr 902 tools/perf/arch/x86/util/intel-pt.c psb_period = intel_pt_psb_period(ptr->intel_pt_pmu, ptr->evlist); ptr 912 tools/perf/arch/x86/util/intel-pt.c if (buf_size >= ptr->snapshot_size / 2) ptr 918 tools/perf/arch/x86/util/intel-pt.c static int intel_pt_snapshot_init(struct intel_pt_recording *ptr, ptr 921 tools/perf/arch/x86/util/intel-pt.c if (ptr->snapshot_init_done) ptr 924 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_init_done = true; ptr 926 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_ref_buf_size = intel_pt_snapshot_ref_buf_size(ptr, ptr 991 tools/perf/arch/x86/util/intel-pt.c static bool intel_pt_wrapped(struct intel_pt_recording *ptr, int idx, ptr 995 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; ptr 999 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_ref_buf_size, mm->len, ptr 1002 tools/perf/arch/x86/util/intel-pt.c intel_pt_copy_ref(ref->ref_buf, ptr->snapshot_ref_buf_size, mm->len, ptr 1029 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 1037 tools/perf/arch/x86/util/intel-pt.c err = intel_pt_snapshot_init(ptr, mm->len); ptr 1041 tools/perf/arch/x86/util/intel-pt.c if (idx >= ptr->snapshot_ref_cnt) { ptr 1042 tools/perf/arch/x86/util/intel-pt.c err = intel_pt_alloc_snapshot_refs(ptr, idx); ptr 1047 tools/perf/arch/x86/util/intel-pt.c if (ptr->snapshot_ref_buf_size) { ptr 1048 tools/perf/arch/x86/util/intel-pt.c if (!ptr->snapshot_refs[idx].ref_buf) { ptr 1049 tools/perf/arch/x86/util/intel-pt.c err = intel_pt_alloc_snapshot_ref(ptr, idx, mm->len); ptr 1053 tools/perf/arch/x86/util/intel-pt.c wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); ptr 1055 tools/perf/arch/x86/util/intel-pt.c wrapped = ptr->snapshot_refs[idx].wrapped; ptr 1057 tools/perf/arch/x86/util/intel-pt.c ptr->snapshot_refs[idx].wrapped = true; ptr 1097 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr = ptr 1101 tools/perf/arch/x86/util/intel-pt.c evlist__for_each_entry(ptr->evlist, evsel) { ptr 1102 tools/perf/arch/x86/util/intel-pt.c if (evsel->core.attr.type == ptr->intel_pt_pmu->type) { ptr 1105 tools/perf/arch/x86/util/intel-pt.c return perf_evlist__enable_event_idx(ptr->evlist, evsel, ptr 1115 tools/perf/arch/x86/util/intel-pt.c struct intel_pt_recording *ptr; ptr 1125 tools/perf/arch/x86/util/intel-pt.c ptr = zalloc(sizeof(struct intel_pt_recording)); ptr 1126 tools/perf/arch/x86/util/intel-pt.c if (!ptr) { ptr 1131 tools/perf/arch/x86/util/intel-pt.c ptr->intel_pt_pmu = intel_pt_pmu; ptr 1132 tools/perf/arch/x86/util/intel-pt.c ptr->itr.recording_options = intel_pt_recording_options; ptr 1133 tools/perf/arch/x86/util/intel-pt.c ptr->itr.info_priv_size = intel_pt_info_priv_size; ptr 1134 tools/perf/arch/x86/util/intel-pt.c ptr->itr.info_fill = intel_pt_info_fill; ptr 1135 tools/perf/arch/x86/util/intel-pt.c ptr->itr.free = intel_pt_recording_free; ptr 1136 tools/perf/arch/x86/util/intel-pt.c ptr->itr.snapshot_start = intel_pt_snapshot_start; ptr 1137 tools/perf/arch/x86/util/intel-pt.c ptr->itr.snapshot_finish = intel_pt_snapshot_finish; ptr 1138 tools/perf/arch/x86/util/intel-pt.c ptr->itr.find_snapshot = intel_pt_find_snapshot; ptr 1139 tools/perf/arch/x86/util/intel-pt.c ptr->itr.parse_snapshot_options = intel_pt_parse_snapshot_options; ptr 1140 tools/perf/arch/x86/util/intel-pt.c ptr->itr.reference = intel_pt_reference; ptr 1141 tools/perf/arch/x86/util/intel-pt.c ptr->itr.read_finish = intel_pt_read_finish; ptr 1142 tools/perf/arch/x86/util/intel-pt.c return &ptr->itr; ptr 483 tools/perf/builtin-diff.c void *ptr = dfmt - dfmt->idx; ptr 484 tools/perf/builtin-diff.c struct data__file *d = container_of(ptr, struct data__file, fmt); ptr 61 tools/perf/builtin-kmem.c u64 ptr; ptr 85 tools/perf/builtin-kmem.c static int insert_alloc_stat(unsigned long call_site, unsigned long ptr, ptr 96 tools/perf/builtin-kmem.c if (ptr > data->ptr) ptr 98 tools/perf/builtin-kmem.c else if (ptr < data->ptr) ptr 104 tools/perf/builtin-kmem.c if (data && data->ptr == ptr) { ptr 114 tools/perf/builtin-kmem.c data->ptr = ptr; ptr 175 tools/perf/builtin-kmem.c unsigned long ptr = perf_evsel__intval(evsel, sample, "ptr"), ptr 180 tools/perf/builtin-kmem.c if (insert_alloc_stat(call_site, ptr, bytes_req, bytes_alloc, sample->cpu) || ptr 210 tools/perf/builtin-kmem.c static struct alloc_stat *search_alloc_stat(unsigned long ptr, ptr 216 tools/perf/builtin-kmem.c struct alloc_stat key = { .ptr = ptr, .call_site = call_site }; ptr 238 tools/perf/builtin-kmem.c unsigned long ptr = perf_evsel__intval(evsel, sample, "ptr"); ptr 241 tools/perf/builtin-kmem.c s_alloc = search_alloc_stat(ptr, 0, &root_alloc_stat, ptr_cmp); ptr 1016 tools/perf/builtin-kmem.c addr = data->ptr; ptr 1419 tools/perf/builtin-kmem.c if (l->ptr < r->ptr) ptr 1421 tools/perf/builtin-kmem.c else if (l->ptr > r->ptr) ptr 103 tools/perf/builtin-probe.c static int set_target(const char *ptr) ptr 115 tools/perf/builtin-probe.c if (!params.target && ptr && *ptr == '/') { ptr 116 tools/perf/builtin-probe.c params.target = strdup(ptr); ptr 122 tools/perf/builtin-probe.c buf = ptr + (strlen(ptr) - 3); ptr 1492 tools/perf/builtin-sched.c void *ptr; ptr 1499 tools/perf/builtin-sched.c .ptr = thread__priv(thread), ptr 1519 tools/perf/builtin-sched.c thread__set_priv(thread, priv.ptr); ptr 41 tools/perf/builtin-timechart.c FILE *open_memstream(char **ptr, size_t *sizeloc); ptr 1057 tools/perf/builtin-trace.c unsigned long ptr; ptr 1258 tools/perf/builtin-trace.c unsigned long ptr) ptr 1262 tools/perf/builtin-trace.c ttrace->filename.ptr = ptr; ptr 1285 tools/perf/builtin-trace.c unsigned long ptr = arg->val; ptr 1291 tools/perf/builtin-trace.c return scnprintf(bf, size, "%#x", ptr); ptr 1293 tools/perf/builtin-trace.c thread__set_filename_pos(arg->thread, bf, ptr); ptr 2261 tools/perf/builtin-trace.c if (!ttrace->filename.ptr) ptr 2279 tools/perf/builtin-trace.c ttrace->filename.ptr = 0; ptr 268 tools/perf/lib/evlist.c void *ptr, short revent) ptr 273 tools/perf/lib/evlist.c evlist->pollfd.priv[pos].ptr = ptr; ptr 29 tools/perf/lib/include/internal/evlist.h void *ptr, short revent); ptr 46 tools/perf/tests/bp_signal.c extern void __test_function(volatile long *ptr); ptr 53 tools/perf/tests/bp_signal.c static void __test_function(volatile long *ptr) ptr 55 tools/perf/tests/bp_signal.c *ptr = 0x1234; ptr 100 tools/perf/ui/browsers/header.c char *ptr, *pos; ptr 102 tools/perf/ui/browsers/header.c FILE *fp = open_memstream(&ptr, &size); ptr 108 tools/perf/ui/browsers/header.c for (pos = ptr, argc = 0; (pos = strchr(pos, '\n')) != NULL; pos++) ptr 115 tools/perf/ui/browsers/header.c argv[0] = pos = ptr; ptr 127 tools/perf/ui/browsers/header.c free(ptr); ptr 1159 tools/perf/ui/browsers/hists.c struct hpp_arg *arg = hpp->ptr; ptr 1204 tools/perf/ui/browsers/hists.c struct hpp_arg *arg = hpp->ptr; \ ptr 1282 tools/perf/ui/browsers/hists.c .ptr = &arg, ptr 1402 tools/perf/ui/browsers/hists.c .ptr = &arg, ptr 1452 tools/perf/ui/browsers/hists.c .ptr = &arg, ptr 31 tools/perf/ui/gtk/helpline.c char *ptr; ptr 39 tools/perf/ui/gtk/helpline.c ptr = strchr(ui_helpline__current, '\n'); ptr 40 tools/perf/ui/gtk/helpline.c if (ptr && (ptr - ui_helpline__current) <= backlog) { ptr 41 tools/perf/ui/gtk/helpline.c *ptr = '\0'; ptr 745 tools/perf/ui/hist.c const char *ptr = width_list_str; ptr 750 tools/perf/ui/hist.c int len = strtol(ptr, &p, 10); ptr 754 tools/perf/ui/hist.c ptr = p + 1; ptr 1152 tools/perf/util/annotate.c void *ptr = (void *) al - al->privsize; ptr 1156 tools/perf/util/annotate.c free(ptr); ptr 21 tools/perf/util/bpf-event.c #define ptr_to_u64(ptr) ((__u64)(unsigned long)(ptr)) ptr 589 tools/perf/util/config.c char *ptr, *key; ptr 600 tools/perf/util/config.c key = ptr = strdup(var); ptr 606 tools/perf/util/config.c section_name = strsep(&ptr, "."); ptr 607 tools/perf/util/config.c name = ptr; ptr 47 tools/perf/util/copyfile.c void *ptr; ptr 53 tools/perf/util/copyfile.c ptr = mmap(NULL, off_in + size, PROT_READ, MAP_PRIVATE, ifd, pgoff); ptr 54 tools/perf/util/copyfile.c if (ptr == MAP_FAILED) ptr 58 tools/perf/util/copyfile.c ssize_t ret = pwrite(ofd, ptr + off_in, size, off_out); ptr 68 tools/perf/util/copyfile.c munmap(ptr, off_in + size); ptr 79 tools/perf/util/copyfile.c char *tmp = NULL, *ptr = NULL; ptr 94 tools/perf/util/copyfile.c ptr = strrchr(tmp, '/'); ptr 95 tools/perf/util/copyfile.c if (!ptr) ptr 97 tools/perf/util/copyfile.c ptr = memmove(ptr + 1, ptr, strlen(ptr) - 1); ptr 98 tools/perf/util/copyfile.c *ptr = '.'; ptr 525 tools/perf/util/cpumap.c char *ptr = buf; ptr 551 tools/perf/util/cpumap.c *ptr++ = hex_char(bits); ptr 553 tools/perf/util/cpumap.c *ptr++ = ','; ptr 555 tools/perf/util/cpumap.c *ptr = '\0'; ptr 559 tools/perf/util/cpumap.c return ptr - buf; ptr 2411 tools/perf/util/cs-etm.c u64 *ptr, *hdr = NULL; ptr 2426 tools/perf/util/cs-etm.c ptr = (u64 *) auxtrace_info->priv; ptr 2429 tools/perf/util/cs-etm.c if (ptr[0] != 0) ptr 2438 tools/perf/util/cs-etm.c hdr[i] = ptr[i]; ptr 2467 tools/perf/util/cs-etm.c if (ptr[i] == __perf_cs_etmv3_magic) { ptr 2475 tools/perf/util/cs-etm.c metadata[j][k] = ptr[i + k]; ptr 2480 tools/perf/util/cs-etm.c } else if (ptr[i] == __perf_cs_etmv4_magic) { ptr 2488 tools/perf/util/cs-etm.c metadata[j][k] = ptr[i + k]; ptr 177 tools/perf/util/debug.c int *ptr; ptr 179 tools/perf/util/debug.c { .name = "verbose", .ptr = &verbose }, ptr 180 tools/perf/util/debug.c { .name = "ordered-events", .ptr = &debug_ordered_events}, ptr 181 tools/perf/util/debug.c { .name = "stderr", .ptr = &redirect_to_stderr}, ptr 182 tools/perf/util/debug.c { .name = "data-convert", .ptr = &debug_data_convert }, ptr 220 tools/perf/util/debug.c *var->ptr = v; ptr 231 tools/perf/util/debug.c *var->ptr = -1; ptr 159 tools/perf/util/demangle-java.c char *buf, *ptr; ptr 184 tools/perf/util/demangle-java.c ptr = __demangle_java_sym(p + 1, NULL, buf, len, MODE_TYPE); ptr 185 tools/perf/util/demangle-java.c if (!ptr) ptr 194 tools/perf/util/demangle-java.c ptr = __demangle_java_sym(str, p + 1, buf + l1, len - l1, MODE_PREFIX); ptr 195 tools/perf/util/demangle-java.c if (!ptr) ptr 409 tools/perf/util/evlist.c struct mmap *map = fda->priv[fd].ptr; ptr 2284 tools/perf/util/evsel.c void *ptr = sample->raw_data + field->offset; ptr 2288 tools/perf/util/evsel.c return *(u8 *)ptr; ptr 2290 tools/perf/util/evsel.c value = *(u16 *)ptr; ptr 2293 tools/perf/util/evsel.c value = *(u32 *)ptr; ptr 2296 tools/perf/util/evsel.c memcpy(&value, ptr, sizeof(u64)); ptr 3473 tools/perf/util/header.c void *ptr = attr; ptr 3474 tools/perf/util/header.c ptr += PERF_ATTR_SIZE_VER0; ptr 3476 tools/perf/util/header.c ret = readn(fd, ptr, left); ptr 511 tools/perf/util/hist.c static void hist_entry__free(void *ptr) ptr 513 tools/perf/util/hist.c free(ptr); ptr 252 tools/perf/util/hist.h void *ptr; ptr 901 tools/perf/util/parse-events.c void *ptr, char *type, u64 len) ptr 906 tools/perf/util/parse-events.c attr.bp_addr = (unsigned long) ptr; ptr 2374 tools/perf/util/parse-events.c char *buf, *path, *ptr = NULL; ptr 2420 tools/perf/util/parse-events.c ptr = strchr(nd2->s, '@'); ptr 2421 tools/perf/util/parse-events.c if (ptr) ptr 2422 tools/perf/util/parse-events.c *ptr = '\0'; ptr 2439 tools/perf/util/parse-events.c if (ptr) ptr 2440 tools/perf/util/parse-events.c *ptr = '@'; ptr 174 tools/perf/util/parse-events.h void *ptr, char *type, u64 len); ptr 1197 tools/perf/util/probe-event.c static int parse_line_num(char **ptr, int *val, const char *what) ptr 1199 tools/perf/util/probe-event.c const char *start = *ptr; ptr 1202 tools/perf/util/probe-event.c *val = strtol(*ptr, ptr, 0); ptr 1203 tools/perf/util/probe-event.c if (errno || *ptr == start) { ptr 1308 tools/perf/util/probe-event.c char *ptr; ptr 1310 tools/perf/util/probe-event.c ptr = strpbrk_esc(*arg, ":"); ptr 1311 tools/perf/util/probe-event.c if (ptr) { ptr 1312 tools/perf/util/probe-event.c *ptr = '\0'; ptr 1318 tools/perf/util/probe-event.c *arg = ptr + 1; ptr 1341 tools/perf/util/probe-event.c char *ptr, *tmp; ptr 1361 tools/perf/util/probe-event.c ptr = strpbrk_esc(arg, ";=@+%"); ptr 1363 tools/perf/util/probe-event.c if (ptr) { ptr 1364 tools/perf/util/probe-event.c if (*ptr != '@') { ptr 1370 tools/perf/util/probe-event.c tmp = build_id_cache__complement(ptr + 1); ptr 1375 tools/perf/util/probe-event.c pev->target = strdup_esc(ptr + 1); ptr 1378 tools/perf/util/probe-event.c *ptr = '\0'; ptr 1388 tools/perf/util/probe-event.c if (ptr && *ptr == '=') { /* Event name */ ptr 1389 tools/perf/util/probe-event.c *ptr = '\0'; ptr 1390 tools/perf/util/probe-event.c tmp = ptr + 1; ptr 1410 tools/perf/util/probe-event.c ptr = strpbrk_esc(arg, ";:"); ptr 1412 tools/perf/util/probe-event.c if (ptr && memchr(arg, '.', ptr - arg)) ptr 1416 tools/perf/util/probe-event.c ptr = strpbrk_esc(arg, ";:+@%"); ptr 1417 tools/perf/util/probe-event.c if (ptr) { ptr 1418 tools/perf/util/probe-event.c nc = *ptr; ptr 1419 tools/perf/util/probe-event.c *ptr++ = '\0'; ptr 1454 tools/perf/util/probe-event.c while (ptr) { ptr 1455 tools/perf/util/probe-event.c arg = ptr; ptr 1463 tools/perf/util/probe-event.c ptr = strpbrk_esc(arg, ";:+@%"); ptr 1464 tools/perf/util/probe-event.c if (ptr) { ptr 1465 tools/perf/util/probe-event.c nc = *ptr; ptr 1466 tools/perf/util/probe-event.c *ptr++ = '\0'; ptr 939 tools/perf/util/probe-file.c char buf[128], *ptr = entry->spev; ptr 943 tools/perf/util/probe-file.c ptr = buf; ptr 945 tools/perf/util/probe-file.c return strfilter__compare(filter, ptr); ptr 563 tools/perf/util/probe-finder.c char *buf, *ptr; ptr 576 tools/perf/util/probe-finder.c ptr = strchr(buf, ':'); /* Change type separator to _ */ ptr 577 tools/perf/util/probe-finder.c if (ptr) ptr 578 tools/perf/util/probe-finder.c *ptr = '_'; ptr 78 tools/perf/util/sort.h void (*free)(void *ptr); ptr 254 tools/perf/util/string.c char *ptr; ptr 257 tools/perf/util/string.c ptr = strpbrk(str, stopset); ptr 258 tools/perf/util/string.c if (ptr == str || ptr 259 tools/perf/util/string.c (ptr == str + 1 && *(ptr - 1) != '\\')) ptr 261 tools/perf/util/string.c str = ptr + 1; ptr 262 tools/perf/util/string.c } while (ptr && *(ptr - 1) == '\\' && *(ptr - 2) != '\\'); ptr 264 tools/perf/util/string.c return ptr; ptr 462 tools/perf/util/symbol-elf.c void *ptr; ptr 506 tools/perf/util/symbol-elf.c ptr = data->d_buf; ptr 507 tools/perf/util/symbol-elf.c while (ptr < (data->d_buf + data->d_size)) { ptr 508 tools/perf/util/symbol-elf.c GElf_Nhdr *nhdr = ptr; ptr 513 tools/perf/util/symbol-elf.c ptr += sizeof(*nhdr); ptr 514 tools/perf/util/symbol-elf.c name = ptr; ptr 515 tools/perf/util/symbol-elf.c ptr += namesz; ptr 520 tools/perf/util/symbol-elf.c memcpy(bf, ptr, sz); ptr 526 tools/perf/util/symbol-elf.c ptr += descsz; ptr 42 tools/perf/util/symbol-minimal.c void *ptr; ptr 44 tools/perf/util/symbol-minimal.c ptr = note_data; ptr 45 tools/perf/util/symbol-minimal.c while (ptr < (note_data + note_len)) { ptr 49 tools/perf/util/symbol-minimal.c nhdr = ptr; ptr 59 tools/perf/util/symbol-minimal.c ptr += sizeof(*nhdr); ptr 60 tools/perf/util/symbol-minimal.c name = ptr; ptr 61 tools/perf/util/symbol-minimal.c ptr += namesz; ptr 66 tools/perf/util/symbol-minimal.c memcpy(bf, ptr, sz); ptr 71 tools/perf/util/symbol-minimal.c ptr += descsz; ptr 36 tools/perf/util/trace-event-info.c unsigned int *ptr; ptr 38 tools/perf/util/trace-event-info.c ptr = (unsigned int *)(void *)str; ptr 39 tools/perf/util/trace-event-info.c return *ptr == 0x01020304; ptr 95 tools/perf/util/trace-event-parse.c unsigned long long read_size(struct tep_event *event, void *ptr, int size) ptr 97 tools/perf/util/trace-event-parse.c return tep_read_number(event->tep, ptr, size); ptr 50 tools/perf/util/trace-event.h unsigned long long read_size(struct tep_event *event, void *ptr, int size); ptr 101 tools/perf/util/unwind-libunwind-local.c #define dw_read(ptr, type, end) ({ \ ptr 102 tools/perf/util/unwind-libunwind-local.c type *__p = (type *) ptr; \ ptr 107 tools/perf/util/unwind-libunwind-local.c ptr = (typeof(ptr)) __p; \ ptr 163 tools/perf/util/unwind-libunwind-local.c #define dw_read_encoded_value(ptr, end, enc) ({ \ ptr 165 tools/perf/util/unwind-libunwind-local.c if (__dw_read_encoded_value(&ptr, end, &__v, enc)) { \ ptr 266 tools/perf/util/util.c char *ptr, *line = NULL; ptr 289 tools/perf/util/util.c ptr = strrchr(line, ' '); ptr 290 tools/perf/util/util.c if (!ptr) { ptr 295 tools/perf/util/util.c err = sscanf(ptr + 1, "%d.%d.%d", ptr 20 tools/perf/util/zlib.c void *ptr; ptr 39 tools/perf/util/zlib.c ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); ptr 40 tools/perf/util/zlib.c if (ptr == MAP_FAILED) ptr 46 tools/perf/util/zlib.c zs.next_in = ptr; ptr 76 tools/perf/util/zlib.c munmap(ptr, stbuf.st_size); ptr 220 tools/power/cpupower/lib/cpufreq.c void cpufreq_put_driver(char *ptr) ptr 222 tools/power/cpupower/lib/cpufreq.c if (!ptr) ptr 224 tools/power/cpupower/lib/cpufreq.c free(ptr); ptr 90 tools/power/cpupower/lib/cpufreq.h void cpufreq_put_driver(char *ptr); ptr 173 tools/testing/radix-tree/idr-test.c int idr_u32_cb(int id, void *ptr, void *data) ptr 176 tools/testing/radix-tree/idr-test.c BUG_ON(ptr != DUMMY_PTR); ptr 185 tools/testing/radix-tree/idr-test.c void *ptr; ptr 193 tools/testing/radix-tree/idr-test.c ptr = idr_get_next(idr, &sid); ptr 195 tools/testing/radix-tree/idr-test.c BUG_ON(ptr != NULL); ptr 198 tools/testing/radix-tree/idr-test.c BUG_ON(ptr != DUMMY_PTR); ptr 1 tools/testing/radix-tree/linux/kmemleak.h static inline void kmemleak_update_trace(const void *ptr) { } ptr 10 tools/testing/radix-tree/linux/percpu.h #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) ptr 164 tools/testing/radix-tree/multiorder.c static void *creator_func(void *ptr) ptr 168 tools/testing/radix-tree/multiorder.c struct radix_tree_root *tree = ptr; ptr 180 tools/testing/radix-tree/multiorder.c static void *iterator_func(void *ptr) ptr 182 tools/testing/radix-tree/multiorder.c XA_STATE(xas, ptr, 0); ptr 33 tools/testing/radix-tree/regression3.c void *ptr = (void *)8ul; ptr 47 tools/testing/radix-tree/regression3.c radix_tree_insert(&root, 1, ptr); ptr 63 tools/testing/radix-tree/regression3.c radix_tree_insert(&root, 1, ptr); ptr 53 tools/testing/radix-tree/test.h struct radix_tree_node *entry_to_node(void *ptr); ptr 16 tools/testing/selftests/android/ion/ionutils.c unsigned char *ptr = (unsigned char *)buffer; ptr 18 tools/testing/selftests/android/ion/ionutils.c if (!ptr) { ptr 24 tools/testing/selftests/android/ion/ionutils.c memset(ptr, 0xfd, len); ptr 26 tools/testing/selftests/android/ion/ionutils.c printf("0x%x ", ptr[i]); ptr 33 tools/testing/selftests/android/ion/ionutils.c unsigned char *ptr = (unsigned char *)buffer; ptr 35 tools/testing/selftests/android/ion/ionutils.c if (!ptr) { ptr 42 tools/testing/selftests/android/ion/ionutils.c printf("0x%x ", ptr[i]); ptr 11 tools/testing/selftests/arm64/tags_test.c #define SET_TAG(ptr, tag) (((uint64_t)(ptr) & ~SHIFT_TAG(0xff)) | \ ptr 18 tools/testing/selftests/arm64/tags_test.c struct utsname *ptr; ptr 23 tools/testing/selftests/arm64/tags_test.c ptr = (struct utsname *)malloc(sizeof(*ptr)); ptr 26 tools/testing/selftests/arm64/tags_test.c ptr = (struct utsname *)SET_TAG(ptr, tag); ptr 27 tools/testing/selftests/arm64/tags_test.c err = uname(ptr); ptr 28 tools/testing/selftests/arm64/tags_test.c free(ptr); ptr 151 tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c void *ptr; ptr 56 tools/testing/selftests/bpf/progs/strobemeta.h void *ptr; ptr 360 tools/testing/selftests/bpf/progs/strobemeta.h len = bpf_probe_read_str(payload, STROBE_MAX_STR_LEN, value->ptr); ptr 395 tools/testing/selftests/bpf/progs/strobemeta.h if (bpf_probe_read(&map, sizeof(struct strobe_map_raw), value->ptr)) ptr 13 tools/testing/selftests/bpf/progs/test_verif_scale1.c void *ptr; ptr 21 tools/testing/selftests/bpf/progs/test_verif_scale1.c ptr = data + i; \ ptr 22 tools/testing/selftests/bpf/progs/test_verif_scale1.c if (ptr + nh_off > data_end) \ ptr 24 tools/testing/selftests/bpf/progs/test_verif_scale1.c ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ ptr 13 tools/testing/selftests/bpf/progs/test_verif_scale2.c void *ptr; ptr 21 tools/testing/selftests/bpf/progs/test_verif_scale2.c ptr = data + i; \ ptr 22 tools/testing/selftests/bpf/progs/test_verif_scale2.c if (ptr + nh_off > data_end) \ ptr 24 tools/testing/selftests/bpf/progs/test_verif_scale2.c ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ ptr 13 tools/testing/selftests/bpf/progs/test_verif_scale3.c void *ptr; ptr 21 tools/testing/selftests/bpf/progs/test_verif_scale3.c ptr = data + i; \ ptr 22 tools/testing/selftests/bpf/progs/test_verif_scale3.c if (ptr + nh_off > data_end) \ ptr 24 tools/testing/selftests/bpf/progs/test_verif_scale3.c ctx->tc_index = jhash(ptr, nh_off, ctx->cb[0] + i++); \ ptr 3775 tools/testing/selftests/bpf/test_btf.c static inline __u64 ptr_to_u64(const void *ptr) ptr 3777 tools/testing/selftests/bpf/test_btf.c return (__u64)(unsigned long)ptr; ptr 465 tools/testing/selftests/bpf/test_cgroup_attach.c void *ptr = NULL; ptr 499 tools/testing/selftests/bpf/test_cgroup_attach.c ptr = malloc(4 * (1 << 20)); ptr 500 tools/testing/selftests/bpf/test_cgroup_attach.c if (!ptr) ptr 542 tools/testing/selftests/bpf/test_cgroup_attach.c free(ptr); ptr 185 tools/testing/selftests/bpf/test_flow_dissector.c uint16_t val, *ptr = (uint16_t *)ip6h; ptr 187 tools/testing/selftests/bpf/test_flow_dissector.c val = ntohs(*ptr); ptr 190 tools/testing/selftests/bpf/test_flow_dissector.c *ptr = htons(val); ptr 126 tools/testing/selftests/bpf/test_progs.h static inline __u64 ptr_to_u64(const void *ptr) ptr 128 tools/testing/selftests/bpf/test_progs.h return (__u64) (unsigned long) ptr; ptr 547 tools/testing/selftests/bpf/test_verifier.c void *ptr, *raw_btf; ptr 550 tools/testing/selftests/bpf/test_verifier.c ptr = raw_btf = malloc(sizeof(hdr) + sizeof(btf_raw_types) + ptr 553 tools/testing/selftests/bpf/test_verifier.c memcpy(ptr, &hdr, sizeof(hdr)); ptr 554 tools/testing/selftests/bpf/test_verifier.c ptr += sizeof(hdr); ptr 555 tools/testing/selftests/bpf/test_verifier.c memcpy(ptr, btf_raw_types, hdr.type_len); ptr 556 tools/testing/selftests/bpf/test_verifier.c ptr += hdr.type_len; ptr 557 tools/testing/selftests/bpf/test_verifier.c memcpy(ptr, btf_str_sec, hdr.str_len); ptr 558 tools/testing/selftests/bpf/test_verifier.c ptr += hdr.str_len; ptr 560 tools/testing/selftests/bpf/test_verifier.c btf_fd = bpf_load_btf(raw_btf, ptr - raw_btf, 0, 0, 0); ptr 43 tools/testing/selftests/bpf/test_verifier_log.c static inline __u64 ptr_to_u64(const void *ptr) ptr 45 tools/testing/selftests/bpf/test_verifier_log.c return (__u64) (unsigned long) ptr; ptr 149 tools/testing/selftests/cgroup/cgroup_util.c char *ptr; ptr 154 tools/testing/selftests/cgroup/cgroup_util.c ptr = strstr(buf, key); ptr 155 tools/testing/selftests/cgroup/cgroup_util.c if (!ptr) ptr 158 tools/testing/selftests/cgroup/cgroup_util.c return atol(ptr + strlen(key)); ptr 212 tools/testing/selftests/cgroup/cgroup_util.c char *ptr; ptr 220 tools/testing/selftests/cgroup/cgroup_util.c for (ptr = buf; *ptr; ptr++) ptr 221 tools/testing/selftests/cgroup/cgroup_util.c if (*ptr == '\n') ptr 236 tools/testing/selftests/cgroup/cgroup_util.c char *ptr = buf; ptr 241 tools/testing/selftests/cgroup/cgroup_util.c while (ptr < buf + sizeof(buf)) { ptr 242 tools/testing/selftests/cgroup/cgroup_util.c int pid = strtol(ptr, &ptr, 10); ptr 246 tools/testing/selftests/cgroup/cgroup_util.c if (*ptr) ptr 247 tools/testing/selftests/cgroup/cgroup_util.c ptr++; ptr 366 tools/testing/selftests/cgroup/cgroup_util.c char *buf, *ptr; ptr 369 tools/testing/selftests/cgroup/cgroup_util.c for (ptr = buf; ptr < buf + size; ptr += PAGE_SIZE) ptr 370 tools/testing/selftests/cgroup/cgroup_util.c *ptr = 0; ptr 92 tools/testing/selftests/cgroup/test_memcontrol.c char *buf, *ptr; ptr 97 tools/testing/selftests/cgroup/test_memcontrol.c for (ptr = buf; ptr < buf + size; ptr += PAGE_SIZE) ptr 98 tools/testing/selftests/cgroup/test_memcontrol.c *ptr = 0; ptr 686 tools/testing/selftests/cgroup/test_memcontrol.c char *buf, *ptr; ptr 691 tools/testing/selftests/cgroup/test_memcontrol.c for (ptr = buf; ptr < buf + size; ptr += PAGE_SIZE) ptr 692 tools/testing/selftests/cgroup/test_memcontrol.c *ptr = 0; ptr 46 tools/testing/selftests/kvm/lib/io.c const char *ptr = buf; ptr 54 tools/testing/selftests/kvm/lib/io.c rc = write(fd, ptr, num_left); ptr 74 tools/testing/selftests/kvm/lib/io.c ptr += rc; ptr 123 tools/testing/selftests/kvm/lib/io.c char *ptr = buf; ptr 131 tools/testing/selftests/kvm/lib/io.c rc = read(fd, ptr, num_left); ptr 151 tools/testing/selftests/kvm/lib/io.c ptr += rc; ptr 759 tools/testing/selftests/net/psock_tpacket.c char in[512], *ptr; ptr 777 tools/testing/selftests/net/psock_tpacket.c ptr = in; ptr 778 tools/testing/selftests/net/psock_tpacket.c while(!isspace(*ptr)) { ptr 780 tools/testing/selftests/net/psock_tpacket.c ptr++; ptr 22 tools/testing/selftests/pidfd/pidfd_wait.c #define ptr_to_u64(ptr) ((__u64)((uintptr_t)(ptr))) ptr 18 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c void signal_action_handler(int signal_num, siginfo_t *info, void *ptr) ptr 20 tools/testing/selftests/powerpc/alignment/copy_first_unaligned.c ucontext_t *ctx = ptr; ptr 21 tools/testing/selftests/powerpc/copyloops/exc_validate.c static void segv_handler(int signr, siginfo_t *info, void *ptr) ptr 23 tools/testing/selftests/powerpc/copyloops/exc_validate.c ucontext_t *uc = (ucontext_t *)ptr; ptr 26 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) ptr 27 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) ptr 30 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define ACCOUNT_CPU_USER_ENTRY(ptr, ra, rb) \ ptr 32 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_LL rb, ACCOUNT_STARTTIME_USER(ptr); \ ptr 33 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_STL ra, ACCOUNT_STARTTIME(ptr); \ ptr 35 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_LL ra, ACCOUNT_USER_TIME(ptr); \ ptr 37 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_STL ra, ACCOUNT_USER_TIME(ptr); \ ptr 39 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h #define ACCOUNT_CPU_USER_EXIT(ptr, ra, rb) \ ptr 41 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_LL rb, ACCOUNT_STARTTIME(ptr); \ ptr 42 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_STL ra, ACCOUNT_STARTTIME_USER(ptr); \ ptr 44 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_LL ra, ACCOUNT_SYSTEM_TIME(ptr); \ ptr 46 tools/testing/selftests/powerpc/primitives/asm/ppc_asm.h PPC_STL ra, ACCOUNT_SYSTEM_TIME(ptr) ptr 69 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c static void segv_handler(int signr, siginfo_t *info, void *ptr) ptr 71 tools/testing/selftests/powerpc/primitives/load_unaligned_zeropad.c ucontext_t *uc = (ucontext_t *)ptr; ptr 114 tools/testing/selftests/powerpc/ptrace/core-pkey.c int *ptr, ret; ptr 164 tools/testing/selftests/powerpc/ptrace/core-pkey.c ptr = 0; ptr 165 tools/testing/selftests/powerpc/ptrace/core-pkey.c *ptr = 1; ptr 84 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c volatile int *ptr; ptr 93 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c ptr = &readint; ptr 95 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c ptr = &readintalign[0]; ptr 102 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c attr.bp_addr = (__u64)ptr; ptr 140 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c (unsigned long int)ptr, breaks, loop_num, readwriteflag, exclude_user, arraytest); ptr 143 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); ptr 18 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h #define container_of(ptr, type, member) ({ \ ptr 19 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h const typeof(((type *)0)->member) *__mptr = (ptr); \ ptr 23 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h static inline void free_percpu(void *ptr) ptr 28 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h #define per_cpu_ptr(ptr, cpu) \ ptr 29 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h ((typeof(ptr)) ((char *) (ptr) + PERCPU_OFFSET * cpu)) ptr 41 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h #define THIS_CPU_ADD_HELPER(ptr, x) (*(ptr) += (x)) ptr 47 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h #define THIS_CPU_ADD_HELPER(ptr, x) \ ptr 49 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h typeof(ptr) this_cpu_add_helper_ptr = (ptr); \ ptr 50 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h typeof(ptr) this_cpu_add_helper_x = (x); \ ptr 51 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h typeof(*ptr) this_cpu_add_helper_temp; \ ptr 143 tools/testing/selftests/rseq/rseq.h __rseq_abi.rseq_cs.ptr = 0; ptr 145 tools/testing/selftests/rseq/rseq.h __rseq_abi.rseq_cs.ptr.ptr32 = 0; ptr 30 tools/testing/selftests/vm/transhuge-stress.c int64_t allocate_transhuge(void *ptr) ptr 35 tools/testing/selftests/vm/transhuge-stress.c if (mmap(ptr, HPAGE_SIZE, PROT_READ | PROT_WRITE, ptr 37 tools/testing/selftests/vm/transhuge-stress.c MAP_NORESERVE | MAP_PRIVATE, -1, 0) != ptr) ptr 40 tools/testing/selftests/vm/transhuge-stress.c if (madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE)) ptr 44 tools/testing/selftests/vm/transhuge-stress.c *(volatile void **)ptr = ptr; ptr 47 tools/testing/selftests/vm/transhuge-stress.c (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) ptr 61 tools/testing/selftests/vm/transhuge-stress.c void *ptr, *p; ptr 89 tools/testing/selftests/vm/transhuge-stress.c ptr = mmap(NULL, len + HPAGE_SIZE, PROT_READ | PROT_WRITE, ptr 91 tools/testing/selftests/vm/transhuge-stress.c if (ptr == MAP_FAILED) ptr 93 tools/testing/selftests/vm/transhuge-stress.c ptr += HPAGE_SIZE - (uintptr_t)ptr % HPAGE_SIZE; ptr 95 tools/testing/selftests/vm/transhuge-stress.c if (madvise(ptr, len, MADV_HUGEPAGE)) ptr 109 tools/testing/selftests/vm/transhuge-stress.c for (p = ptr; p < ptr + len; p += HPAGE_SIZE) { ptr 681 tools/testing/selftests/vm/userfaultfd.c static void sighndl(int sig, siginfo_t *siginfo, void *ptr) ptr 65 tools/testing/selftests/vm/virtual_address_range.c static int validate_addr(char *ptr, int high_addr) ptr 67 tools/testing/selftests/vm/virtual_address_range.c unsigned long addr = (unsigned long) ptr; ptr 86 tools/testing/selftests/vm/virtual_address_range.c char *ptr; ptr 88 tools/testing/selftests/vm/virtual_address_range.c ptr = mmap((void *) (1UL << 45), MAP_CHUNK_SIZE, PROT_READ | ptr 91 tools/testing/selftests/vm/virtual_address_range.c if (ptr == MAP_FAILED) ptr 99 tools/testing/selftests/vm/virtual_address_range.c char *ptr[NR_CHUNKS_LOW]; ptr 105 tools/testing/selftests/vm/virtual_address_range.c ptr[i] = mmap(NULL, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, ptr 108 tools/testing/selftests/vm/virtual_address_range.c if (ptr[i] == MAP_FAILED) { ptr 114 tools/testing/selftests/vm/virtual_address_range.c if (validate_addr(ptr[i], 0)) ptr 133 tools/testing/selftests/vm/virtual_address_range.c munmap(ptr[i], MAP_CHUNK_SIZE); ptr 223 tools/testing/selftests/x86/ldt_gdt.c static int safe_modify_ldt(int func, struct user_desc *ptr, ptr 226 tools/testing/selftests/x86/ldt_gdt.c int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); ptr 231 tools/testing/selftests/x86/protection_keys.c u64 *ptr = (u64 *)(c + i); ptr 232 tools/testing/selftests/x86/protection_keys.c dprintf1("dump[%03d][@%p]: %016jx\n", i, ptr, *ptr); ptr 531 tools/testing/selftests/x86/protection_keys.c int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, ptr 537 tools/testing/selftests/x86/protection_keys.c ptr, size, orig_prot, pkey); ptr 540 tools/testing/selftests/x86/protection_keys.c sret = syscall(SYS_mprotect_key, ptr, size, orig_prot, pkey); ptr 646 tools/testing/selftests/x86/protection_keys.c int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, ptr 654 tools/testing/selftests/x86/protection_keys.c ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); ptr 656 tools/testing/selftests/x86/protection_keys.c ptr, size, orig_prot, pkey, ret); ptr 668 tools/testing/selftests/x86/protection_keys.c ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); ptr 670 tools/testing/selftests/x86/protection_keys.c ptr, size, orig_prot, pkey, ret); ptr 678 tools/testing/selftests/x86/protection_keys.c void *ptr; ptr 685 tools/testing/selftests/x86/protection_keys.c void record_pkey_malloc(void *ptr, long size, int prot) ptr 714 tools/testing/selftests/x86/protection_keys.c (int)(rec - pkey_malloc_records), rec, ptr, size); ptr 715 tools/testing/selftests/x86/protection_keys.c rec->ptr = ptr; ptr 722 tools/testing/selftests/x86/protection_keys.c void free_pkey_malloc(void *ptr) ptr 726 tools/testing/selftests/x86/protection_keys.c dprintf3("%s(%p)\n", __func__, ptr); ptr 730 tools/testing/selftests/x86/protection_keys.c ptr, i, rec, rec->ptr, rec->size); ptr 731 tools/testing/selftests/x86/protection_keys.c if ((ptr < rec->ptr) || ptr 732 tools/testing/selftests/x86/protection_keys.c (ptr >= rec->ptr + rec->size)) ptr 736 tools/testing/selftests/x86/protection_keys.c ptr, i, rec, rec->ptr, rec->size); ptr 738 tools/testing/selftests/x86/protection_keys.c ret = munmap(rec->ptr, rec->size); ptr 742 tools/testing/selftests/x86/protection_keys.c rec->ptr = NULL; ptr 752 tools/testing/selftests/x86/protection_keys.c void *ptr; ptr 759 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, prot, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); ptr 760 tools/testing/selftests/x86/protection_keys.c pkey_assert(ptr != (void *)-1); ptr 761 tools/testing/selftests/x86/protection_keys.c ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); ptr 763 tools/testing/selftests/x86/protection_keys.c record_pkey_malloc(ptr, size, prot); ptr 766 tools/testing/selftests/x86/protection_keys.c dprintf1("%s() for pkey %d @ %p\n", __func__, pkey, ptr); ptr 767 tools/testing/selftests/x86/protection_keys.c return ptr; ptr 773 tools/testing/selftests/x86/protection_keys.c void *ptr; ptr 782 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); ptr 783 tools/testing/selftests/x86/protection_keys.c pkey_assert(ptr != (void *)-1); ptr 784 tools/testing/selftests/x86/protection_keys.c record_pkey_malloc(ptr, size, prot); ptr 785 tools/testing/selftests/x86/protection_keys.c mprotect_pkey(ptr, size, prot, pkey); ptr 787 tools/testing/selftests/x86/protection_keys.c dprintf1("unaligned ptr: %p\n", ptr); ptr 788 tools/testing/selftests/x86/protection_keys.c ptr = ALIGN_PTR_UP(ptr, HPAGE_SIZE); ptr 789 tools/testing/selftests/x86/protection_keys.c dprintf1(" aligned ptr: %p\n", ptr); ptr 790 tools/testing/selftests/x86/protection_keys.c ret = madvise(ptr, HPAGE_SIZE, MADV_HUGEPAGE); ptr 792 tools/testing/selftests/x86/protection_keys.c ret = madvise(ptr, HPAGE_SIZE, MADV_WILLNEED); ptr 794 tools/testing/selftests/x86/protection_keys.c memset(ptr, 0, HPAGE_SIZE); ptr 796 tools/testing/selftests/x86/protection_keys.c dprintf1("mmap()'d thp for pkey %d @ %p\n", pkey, ptr); ptr 797 tools/testing/selftests/x86/protection_keys.c return ptr; ptr 844 tools/testing/selftests/x86/protection_keys.c void *ptr; ptr 853 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, PROT_NONE, flags, -1, 0); ptr 854 tools/testing/selftests/x86/protection_keys.c pkey_assert(ptr != (void *)-1); ptr 855 tools/testing/selftests/x86/protection_keys.c mprotect_pkey(ptr, size, prot, pkey); ptr 857 tools/testing/selftests/x86/protection_keys.c record_pkey_malloc(ptr, size, prot); ptr 859 tools/testing/selftests/x86/protection_keys.c dprintf1("mmap()'d hugetlbfs for pkey %d @ %p\n", pkey, ptr); ptr 860 tools/testing/selftests/x86/protection_keys.c return ptr; ptr 865 tools/testing/selftests/x86/protection_keys.c void *ptr; ptr 874 tools/testing/selftests/x86/protection_keys.c ptr = mmap(0, size, prot, MAP_SHARED, fd, 0); ptr 875 tools/testing/selftests/x86/protection_keys.c pkey_assert(ptr != (void *)-1); ptr 877 tools/testing/selftests/x86/protection_keys.c mprotect_pkey(ptr, size, prot, pkey); ptr 879 tools/testing/selftests/x86/protection_keys.c record_pkey_malloc(ptr, size, prot); ptr 881 tools/testing/selftests/x86/protection_keys.c dprintf1("mmap()'d for pkey %d @ %p\n", pkey, ptr); ptr 883 tools/testing/selftests/x86/protection_keys.c return ptr; ptr 994 tools/testing/selftests/x86/protection_keys.c __attribute__((noinline)) int read_ptr(int *ptr) ptr 1000 tools/testing/selftests/x86/protection_keys.c return *ptr; ptr 1003 tools/testing/selftests/x86/protection_keys.c void test_read_of_write_disabled_region(int *ptr, u16 pkey) ptr 1009 tools/testing/selftests/x86/protection_keys.c ptr_contents = read_ptr(ptr); ptr 1013 tools/testing/selftests/x86/protection_keys.c void test_read_of_access_disabled_region(int *ptr, u16 pkey) ptr 1017 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling access to PKEY[%02d], doing read @ %p\n", pkey, ptr); ptr 1020 tools/testing/selftests/x86/protection_keys.c ptr_contents = read_ptr(ptr); ptr 1024 tools/testing/selftests/x86/protection_keys.c void test_write_of_write_disabled_region(int *ptr, u16 pkey) ptr 1028 tools/testing/selftests/x86/protection_keys.c *ptr = __LINE__; ptr 1031 tools/testing/selftests/x86/protection_keys.c void test_write_of_access_disabled_region(int *ptr, u16 pkey) ptr 1035 tools/testing/selftests/x86/protection_keys.c *ptr = __LINE__; ptr 1038 tools/testing/selftests/x86/protection_keys.c void test_kernel_write_of_access_disabled_region(int *ptr, u16 pkey) ptr 1046 tools/testing/selftests/x86/protection_keys.c ret = read(test_fd, ptr, 1); ptr 1050 tools/testing/selftests/x86/protection_keys.c void test_kernel_write_of_write_disabled_region(int *ptr, u16 pkey) ptr 1056 tools/testing/selftests/x86/protection_keys.c ret = read(test_fd, ptr, 100); ptr 1063 tools/testing/selftests/x86/protection_keys.c void test_kernel_gup_of_access_disabled_region(int *ptr, u16 pkey) ptr 1075 tools/testing/selftests/x86/protection_keys.c iov.iov_base = ptr; ptr 1085 tools/testing/selftests/x86/protection_keys.c void test_kernel_gup_write_to_write_disabled_region(int *ptr, u16 pkey) ptr 1093 tools/testing/selftests/x86/protection_keys.c *ptr = some_int; ptr 1095 tools/testing/selftests/x86/protection_keys.c futex_ret = syscall(SYS_futex, ptr, FUTEX_WAIT, some_int-1, NULL, ptr 1103 tools/testing/selftests/x86/protection_keys.c void test_pkey_syscalls_on_non_allocated_pkey(int *ptr, u16 pkey) ptr 1120 tools/testing/selftests/x86/protection_keys.c err = sys_mprotect_pkey(ptr, PAGE_SIZE, PROT_READ, i); ptr 1126 tools/testing/selftests/x86/protection_keys.c void test_pkey_syscalls_bad_args(int *ptr, u16 pkey) ptr 1132 tools/testing/selftests/x86/protection_keys.c err = sys_mprotect_pkey(ptr, PAGE_SIZE, PROT_READ, bad_pkey); ptr 1152 tools/testing/selftests/x86/protection_keys.c void test_pkey_alloc_exhaust(int *ptr, u16 pkey) ptr 1213 tools/testing/selftests/x86/protection_keys.c void test_mprotect_with_pkey_0(int *ptr, u16 pkey) ptr 1231 tools/testing/selftests/x86/protection_keys.c mprotect_pkey(ptr, size, prot, 0); ptr 1234 tools/testing/selftests/x86/protection_keys.c mprotect_pkey(ptr, size, prot, pkey); ptr 1237 tools/testing/selftests/x86/protection_keys.c void test_ptrace_of_child(int *ptr, u16 pkey) ptr 1285 tools/testing/selftests/x86/protection_keys.c ret = ptrace(PTRACE_PEEKDATA, child_pid, ptr, ignored); ptr 1289 tools/testing/selftests/x86/protection_keys.c peek_result = read_ptr(ptr); ptr 1334 tools/testing/selftests/x86/protection_keys.c void test_executing_on_unreadable_memory(int *ptr, u16 pkey) ptr 1363 tools/testing/selftests/x86/protection_keys.c void test_implicit_mprotect_exec_only_memory(int *ptr, u16 pkey) ptr 1406 tools/testing/selftests/x86/protection_keys.c void test_mprotect_pkey_on_unsupported_cpu(int *ptr, u16 pkey) ptr 1416 tools/testing/selftests/x86/protection_keys.c sret = syscall(SYS_mprotect_key, ptr, size, PROT_READ, pkey); ptr 1420 tools/testing/selftests/x86/protection_keys.c void (*pkey_tests[])(int *ptr, u16 pkey) = { ptr 1440 tools/testing/selftests/x86/protection_keys.c int *ptr; ptr 1453 tools/testing/selftests/x86/protection_keys.c ptr = malloc_pkey(PAGE_SIZE, prot, pkey); ptr 1455 tools/testing/selftests/x86/protection_keys.c pkey_tests[test_nr](ptr, pkey); ptr 1456 tools/testing/selftests/x86/protection_keys.c dprintf1("freeing test memory: %p\n", ptr); ptr 1457 tools/testing/selftests/x86/protection_keys.c free_pkey_malloc(ptr); ptr 1487 tools/testing/selftests/x86/protection_keys.c int *ptr; ptr 1491 tools/testing/selftests/x86/protection_keys.c ptr = mmap(NULL, size, PROT_NONE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); ptr 1492 tools/testing/selftests/x86/protection_keys.c assert(ptr != (void *)-1); ptr 1493 tools/testing/selftests/x86/protection_keys.c test_mprotect_pkey_on_unsupported_cpu(ptr, 1); ptr 104 tools/usb/usbip/libsrc/list.h #define list_entry(ptr, type, member) \ ptr 105 tools/usb/usbip/libsrc/list.h container_of(ptr, type, member) ptr 133 tools/usb/usbip/libsrc/list.h #define container_of(ptr, type, member) ({ \ ptr 134 tools/usb/usbip/libsrc/list.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ptr 13 tools/virtio/linux/err.h static inline long __must_check PTR_ERR(const void *ptr) ptr 15 tools/virtio/linux/err.h return (long) ptr; ptr 18 tools/virtio/linux/err.h static inline long __must_check IS_ERR(const void *ptr) ptr 20 tools/virtio/linux/err.h return IS_ERR_VALUE((unsigned long)ptr); ptr 23 tools/virtio/linux/err.h static inline long __must_check IS_ERR_OR_NULL(const void *ptr) ptr 25 tools/virtio/linux/err.h return !ptr || IS_ERR_VALUE((unsigned long)ptr); ptr 108 tools/virtio/linux/kernel.h #define container_of(ptr, type, member) ({ \ ptr 109 tools/virtio/linux/kernel.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ptr 1 tools/virtio/linux/kmemleak.h static inline void kmemleak_ignore(const void *ptr) ptr 14 tools/virtio/linux/uaccess.h #define put_user(x, ptr) \ ptr 16 tools/virtio/linux/uaccess.h typeof(ptr) __pu_ptr = (ptr); \ ptr 22 tools/virtio/linux/uaccess.h #define get_user(x, ptr) \ ptr 24 tools/virtio/linux/uaccess.h typeof(ptr) __pu_ptr = (ptr); \ ptr 199 tools/virtio/ringtest/ptr_ring.c void *ptr; ptr 201 tools/virtio/ringtest/ptr_ring.c ptr = __ptr_ring_consume(&array); ptr 203 tools/virtio/ringtest/ptr_ring.c return ptr; ptr 73 tools/virtio/virtio-trace/trace-agent.c char *ptr; ptr 75 tools/virtio/virtio-trace/trace-agent.c value = strtoul(arg, &ptr, 10); ptr 76 tools/virtio/virtio-trace/trace-agent.c switch (*ptr) { ptr 978 tools/vm/page-types.c void *ptr; ptr 989 tools/vm/page-types.c ptr = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, off); ptr 990 tools/vm/page-types.c if (ptr == MAP_FAILED) ptr 994 tools/vm/page-types.c if (mincore(ptr, len, vec)) ptr 998 tools/vm/page-types.c if (madvise(ptr, len, MADV_RANDOM)) ptr 1002 tools/vm/page-types.c end = off + sigbus_addr ? sigbus_addr - ptr : 0; ptr 1011 tools/vm/page-types.c (void)*(volatile int *)(ptr + i * page_size); ptr 1016 tools/vm/page-types.c if (madvise(ptr, len, MADV_SEQUENTIAL)) ptr 1019 tools/vm/page-types.c if (pagemap_read(buf, (unsigned long)ptr / page_size, ptr 1023 tools/vm/page-types.c munmap(ptr, len); ptr 2136 virt/kvm/arm/vgic/vgic-its.c void *ptr, void *opaque) ptr 2143 virt/kvm/arm/vgic/vgic-its.c u64 *p = (u64 *)ptr; ptr 2260 virt/kvm/arm/vgic/vgic-its.c gpa_t ptr, int dte_esz) ptr 2273 virt/kvm/arm/vgic/vgic-its.c return kvm_write_guest_lock(kvm, ptr, &val, dte_esz); ptr 2288 virt/kvm/arm/vgic/vgic-its.c void *ptr, void *opaque) ptr 2293 virt/kvm/arm/vgic/vgic-its.c u64 entry = *(u64 *)ptr; ptr 318 virt/kvm/arm/vgic/vgic-v3.c gpa_t pendbase, ptr; ptr 333 virt/kvm/arm/vgic/vgic-v3.c ptr = pendbase + byte_offset; ptr 335 virt/kvm/arm/vgic/vgic-v3.c ret = kvm_read_guest_lock(kvm, ptr, &val, 1); ptr 352 virt/kvm/arm/vgic/vgic-v3.c ret = kvm_write_guest_lock(kvm, ptr, &val, 1); ptr 374 virt/kvm/arm/vgic/vgic-v3.c gpa_t pendbase, ptr; ptr 385 virt/kvm/arm/vgic/vgic-v3.c ptr = pendbase + byte_offset; ptr 387 virt/kvm/arm/vgic/vgic-v3.c if (ptr != last_ptr) { ptr 388 virt/kvm/arm/vgic/vgic-v3.c ret = kvm_read_guest_lock(kvm, ptr, &val, 1); ptr 391 virt/kvm/arm/vgic/vgic-v3.c last_ptr = ptr; ptr 403 virt/kvm/arm/vgic/vgic-v3.c ret = kvm_write_guest_lock(kvm, ptr, &val, 1);