| /linux-6.15/arch/mips/kernel/ |
| H A D | cmpxchg.c | 13 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-6.15/arch/loongarch/include/asm/ |
| H A D | cmpxchg.h | 30 volatile u32 *ptr32; in __xchg_small() local 49 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __xchg_small() 57 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __xchg_small() 58 : "ZC" (*ptr32), "Jr" (mask), "Jr" (val << shift) in __xchg_small() 119 volatile u32 *ptr32; in __cmpxchg_small() local 141 ptr32 = (volatile u32 *)((unsigned long)ptr & ~0x3); in __cmpxchg_small() 155 : "=&r" (old32), "=&r" (temp), "=ZC" (*ptr32) in __cmpxchg_small() 156 : "ZC" (*ptr32), "Jr" (mask), "Jr" (old), "Jr" (new) in __cmpxchg_small()
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_custom_syncookie.c | 64 __be32 *ptr32; member 366 ctx->ptr32 = (__be32 *)(ctx->tcp + 1); in tcp_write_options() 368 *ctx->ptr32++ = bpf_htonl(TCPOPT_MSS << 24 | TCPOLEN_MSS << 16 | in tcp_write_options() 372 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 379 *ctx->ptr32++ = bpf_htonl(TCPOPT_SACK_PERM << 24 | in tcp_write_options() 384 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 389 *ctx->ptr32++ = bpf_htonl(ctx->attrs.rcv_tsecr); in tcp_write_options() 390 *ctx->ptr32++ = bpf_htonl(ctx->attrs.rcv_tsval); in tcp_write_options() 392 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 418 ctx->tcp->doff = ((long)ctx->ptr32 - (long)ctx->tcp) >> 2; in tcp_handle_syn() [all …]
|
| /linux-6.15/fs/adfs/ |
| H A D | dir_f.c | 74 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-6.15/arch/powerpc/kernel/ |
| H A D | kgdb.c | 185 u32 *ptr32; \ 186 ptr32 = (u32 *)ptr; \ 187 *(ptr32++) = (src); \ 188 ptr = (unsigned long *)ptr32; \
|
| /linux-6.15/arch/mips/sgi-ip22/ |
| H A D | ip22-gio.c | 273 u32 *ptr32; in ip22_gio_id() local 275 ptr32 = (void *)CKSEG1ADDR(addr); in ip22_gio_id() 276 if (!get_dbe(tmp32, ptr32)) { in ip22_gio_id()
|
| /linux-6.15/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.c | 67 #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-6.15/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_hw.c | 972 __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 D | netxen_nic_main.c | 818 __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-6.15/drivers/video/ |
| H A D | sticore.c | 46 u32 *ptr32 = ptr; in store_sti_val() local 58 *ptr32++ = val; in store_sti_val() 59 return ptr32; in store_sti_val()
|
| /linux-6.15/drivers/staging/vc04_services/interface/vchiq_arm/ |
| H A D | vchiq_dev.c | 391 compat_uptr_t ptr32; in vchiq_get_user_ptr() local 394 ret = get_user(ptr32, uptr + index); in vchiq_get_user_ptr() 398 *buf = compat_ptr(ptr32); in vchiq_get_user_ptr()
|