Home
last modified time | relevance | path

Searched refs:ptr32 (Results 1 – 9 of 9) sorted by relevance

/linux/arch/mips/kernel/
H A Dcmpxchg.c13 volatile u32 *ptr32; in __xchg_small() local
38 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small()
39 load32 = *ptr32; in __xchg_small()
44 load32 = arch_cmpxchg(ptr32, old32, new32); in __xchg_small()
54 volatile u32 *ptr32; in __cmpxchg_small() local
80 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small()
81 load32 = *ptr32; in __cmpxchg_small()
100 load32 = arch_cmpxchg(ptr32, old32, new32); in __cmpxchg_small()
/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h46 volatile u32 *ptr32; in __xchg_small() local
65 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small()
73 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __xchg_small()
74 : "ZC" (*ptr32), "Jr" (mask), "Jr" (val << shift) in __xchg_small()
145 volatile u32 *ptr32; in __cmpxchg_small() local
167 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small()
181 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __cmpxchg_small()
182 : "ZC" (*ptr32), "Jr" (mask), "Jr" (old), "Jr" (new) in __cmpxchg_small()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c64 __be32 *ptr32; member
368 ctx->ptr32 = (__be32 *)(ctx->tcp + 1); in tcp_write_options()
370 *ctx->ptr32++ = bpf_htonl(TCPOPT_MSS << 24 | TCPOLEN_MSS << 16 | in tcp_write_options()
374 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options()
381 *ctx->ptr32++ = bpf_htonl(TCPOPT_SACK_PERM << 24 | in tcp_write_options()
386 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options()
391 *ctx->ptr32++ = bpf_htonl(ctx->attrs.rcv_tsecr); in tcp_write_options()
392 *ctx->ptr32++ = bpf_htonl(ctx->attrs.rcv_tsval); in tcp_write_options()
394 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options()
420 ctx->tcp->doff = ((long)ctx->ptr32 in tcp_handle_syn()
[all...]
/linux/fs/adfs/
H A Ddir_f.c74 union { __le32 *ptr32; u8 *ptr8; } ptr, end; in adfs_dir_checkbyte() member
117 __le32 v = *ptr.ptr32++; in adfs_dir_checkbyte()
119 } while (ptr.ptr32 < end.ptr32); in adfs_dir_checkbyte()
/linux/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c67 #define make24(ptr32) (char *)swab32(( ((unsigned long) (ptr32)) - p->base)) argument
68 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop … argument
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c972 __le32 *ptr32; in netxen_get_flash_block() local
976 ptr32 = buf; in netxen_get_flash_block()
982 *ptr32 = cpu_to_le32(v); in netxen_get_flash_block()
983 ptr32++; in netxen_get_flash_block()
986 if ((char *)buf + size > (char *)ptr32) { in netxen_get_flash_block()
992 memcpy(ptr32, &local, (char *)buf + size - (char *)ptr32); in netxen_get_flash_block()
H A Dnetxen_nic_main.c818 __le32 *ptr32; in netxen_check_options() local
823 ptr32 = (__le32 *)&serial_num; in netxen_check_options()
832 ptr32[i] = cpu_to_le32(val); in netxen_check_options()
/linux/drivers/video/
H A Dsticore.c46 u32 *ptr32 = ptr; in store_sti_val() local
58 *ptr32++ = val; in store_sti_val()
59 return ptr32; in store_sti_val()
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_dev.c392 compat_uptr_t ptr32; in vchiq_get_user_ptr() local
395 ret = get_user(ptr32, uptr + index); in vchiq_get_user_ptr()
399 *buf = compat_ptr(ptr32); in vchiq_get_user_ptr()