/linux-6.12.1/arch/sparc/include/asm/ |
D | upa.h | 100 #define upa_readb(__addr) (_upa_readb((unsigned long)(__addr))) argument 101 #define upa_readw(__addr) (_upa_readw((unsigned long)(__addr))) argument 102 #define upa_readl(__addr) (_upa_readl((unsigned long)(__addr))) argument 103 #define upa_readq(__addr) (_upa_readq((unsigned long)(__addr))) argument 104 #define upa_writeb(__b, __addr) (_upa_writeb((__b), (unsigned long)(__addr))) argument 105 #define upa_writew(__w, __addr) (_upa_writew((__w), (unsigned long)(__addr))) argument 106 #define upa_writel(__l, __addr) (_upa_writel((__l), (unsigned long)(__addr))) argument 107 #define upa_writeq(__q, __addr) (_upa_writeq((__q), (unsigned long)(__addr))) argument
|
D | io.h | 15 #define readb_be(__addr) __raw_readb(__addr) argument 16 #define readw_be(__addr) __raw_readw(__addr) argument 17 #define readl_be(__addr) __raw_readl(__addr) argument 18 #define writeb_be(__b, __addr) __raw_writeb(__b, __addr) argument 19 #define writel_be(__w, __addr) __raw_writel(__w, __addr) argument 20 #define writew_be(__l, __addr) __raw_writew(__l, __addr) argument
|
D | io_64.h | 233 #define inb_p(__addr) inb(__addr) argument 234 #define outb_p(__b, __addr) outb(__b, __addr) argument 235 #define inw_p(__addr) inw(__addr) argument 236 #define outw_p(__w, __addr) outw(__w, __addr) argument 237 #define inl_p(__addr) inl(__addr) argument 238 #define outl_p(__l, __addr) outl(__l, __addr) argument
|
D | string.h | 26 void *__retval, *__addr = (__arg0); \ 30 __retval = __memscan_zero(__addr, __size); \ 32 __retval = __memscan_generic(__addr, (__char), __size); \
|
D | pgtable_32.h | 17 #define PMD_ALIGN(__addr) (((__addr) + ~PMD_MASK) & PMD_MASK) argument 22 #define PGDIR_ALIGN(__addr) (((__addr) + ~PGDIR_MASK) & PGDIR_MASK) argument
|
/linux-6.12.1/arch/mips/include/asm/ |
D | io.h | 281 volatile type *__addr; \ 289 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \ 291 __val = pfx##ioswab##bwlq(__addr, val); \ 296 *__addr = __val; \ 301 volatile type *__addr; \ 304 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \ 311 __val = *__addr; \ 316 return pfx##ioswab##bwlq(__addr, __val); \ 397 const volatile type *__addr = addr; \ 400 __mem_write##bwlq(*__addr, mem); \ [all …]
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | memory.h | 287 u64 __addr = (__force u64)(addr); \ 288 __addr &= __untagged_addr(__addr); \ 289 (__force __typeof__(addr))__addr; \ 304 u64 __addr = (u64)addr & ~__tag_shifted(0xff); in __tag_set() local 305 return (const void *)(__addr | __tag_shifted(tag)); in __tag_set() 406 void *__addr = __va(page_to_phys(__page)); \ 407 (void *)__tag_set((const void *)__addr, page_kasan_tag(__page));\ 414 u64 __addr = PAGE_OFFSET + (__idx * PAGE_SIZE); \ 415 (void *)__tag_set((const void *)__addr, page_kasan_tag(__page));\ 420 u64 __addr = VMEMMAP_START + (__idx * sizeof(struct page)); \ [all …]
|
/linux-6.12.1/arch/sparc/lib/ |
D | PeeCeeI.c | 13 void outsb(unsigned long __addr, const void *src, unsigned long count) in outsb() argument 15 void __iomem *addr = (void __iomem *) __addr; in outsb() 23 void outsw(unsigned long __addr, const void *src, unsigned long count) in outsw() argument 25 void __iomem *addr = (void __iomem *) __addr; in outsw() 34 void outsl(unsigned long __addr, const void *src, unsigned long count) in outsl() argument 36 void __iomem *addr = (void __iomem *) __addr; in outsl() 88 void insb(unsigned long __addr, void *dst, unsigned long count) in insb() argument 90 void __iomem *addr = (void __iomem *) __addr; in insb() 116 void insw(unsigned long __addr, void *dst, unsigned long count) in insw() argument 118 void __iomem *addr = (void __iomem *) __addr; in insw() [all …]
|
/linux-6.12.1/arch/sh/include/asm/ |
D | io.h | 95 const volatile type *__addr = addr; \ 98 __raw_write##bwlq(*__addr, mem); \ 99 __addr++; \ 106 volatile type *__addr = addr; \ 109 *__addr = __raw_read##bwlq(mem); \ 110 __addr++; \ 182 volatile type *__addr; \ 184 __addr = (void __iomem *)sh_io_port_base + port; \ 185 *__addr = val; \ 191 volatile type *__addr; \ [all …]
|
/linux-6.12.1/include/linux/ |
D | highmem-internal.h | 263 #define kunmap_atomic(__addr) \ argument 265 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 266 __kunmap_atomic(__addr); \ 279 #define kunmap_local(__addr) \ argument 281 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 282 __kunmap_local(__addr); \
|
D | kvm_host.h | 1266 unsigned long __addr = gfn_to_hva(kvm, gfn); \ 1267 typeof(v) __user *__uaddr = (typeof(__uaddr))(__addr + offset); \ 1270 if (!kvm_is_error_hva(__addr)) \ 1286 unsigned long __addr = gfn_to_hva(kvm, gfn); \ 1287 typeof(v) __user *__uaddr = (typeof(__uaddr))(__addr + offset); \ 1290 if (!kvm_is_error_hva(__addr)) \
|
/linux-6.12.1/arch/x86/include/asm/ |
D | uaccess_64.h | 38 unsigned long __addr = (__force unsigned long)(addr); \ 39 (__force __typeof__(addr))__untagged_addr(__addr); \ 50 unsigned long __addr = (__force unsigned long)(addr); \ 51 (__force __typeof__(addr))__untagged_addr_remote(mm, __addr); \
|
/linux-6.12.1/arch/x86/kernel/kprobes/ |
D | core.c | 257 unsigned long __addr; in recover_probed_instruction() local 259 __addr = __recover_optprobed_insn(buf, addr); in recover_probed_instruction() 260 if (__addr != addr) in recover_probed_instruction() 261 return __addr; in recover_probed_instruction() 290 unsigned long addr, __addr, offset = 0; in can_probe() local 308 __addr = recover_probed_instruction(buf, addr); in can_probe() 309 if (!__addr) in can_probe() 312 if (insn_decode_kernel(&insn, (void *)__addr) < 0) in can_probe() 331 __addr = recover_probed_instruction(buf, addr); in can_probe() 332 if (!__addr) in can_probe() [all …]
|
/linux-6.12.1/tools/sched_ext/include/scx/ |
D | common.bpf.h | 196 u64 __addr = (u64)&((base) member) - __base; \ 204 : "+r"(__addr) \ 207 __addr; \ 227 u64 __addr = (u64)&(arr[i]) - __base; \ 233 : "+r"(__addr) \ 236 __addr; \
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | uprobe_multi.c | 62 #define SET(__var, __addr, __cookie) ({ \ in uprobe_multi_check() argument 63 if (addr == __addr && \ in uprobe_multi_check()
|
D | kprobe_multi.c | 47 #define SET(__var, __addr, __cookie) ({ \ in kprobe_multi_check() argument 48 if (((const void *) addr == __addr) && \ in kprobe_multi_check()
|
/linux-6.12.1/net/bluetooth/rfcomm/ |
D | core.c | 85 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) macro 402 d->addr = __addr(s->initiator, dlci); in __rfcomm_dlc_open() 857 cmd.addr = __addr(s->initiator, dlci); in rfcomm_send_sabm() 871 cmd.addr = __addr(!s->initiator, dlci); in rfcomm_send_ua() 885 cmd.addr = __addr(s->initiator, dlci); in rfcomm_send_disc() 921 cmd.addr = __addr(!s->initiator, dlci); in rfcomm_send_dm() 938 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_nsc() 964 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_pn() 1012 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_rpn() 1021 rpn->dlci = __addr(1, dlci); in rfcomm_send_rpn() [all …]
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net.h | 124 dma_addr_t __addr = (dma_addr); \ 126 __d->dma_addr_lo = cpu_to_le32(lower_32_bits(__addr)); \ 127 __d->dma_addr_hi = upper_32_bits(__addr) & 0xff; \ 133 dma_addr_t __addr = (dma_addr); \ 135 __d->dma_addr_hi = cpu_to_le16(upper_32_bits(__addr)); \ 136 __d->dma_addr_lo = cpu_to_le32(lower_32_bits(__addr)); \
|
/linux-6.12.1/arch/arm/include/asm/ |
D | ecard.h | 196 #define ecardm_iounmap(__ec, __addr) devm_iounmap(&(__ec)->dev, __addr) argument
|
/linux-6.12.1/include/linux/spi/ |
D | spi-mem.h | 137 #define SPI_MEM_OP(__cmd, __addr, __dummy, __data) \ argument 140 .addr = __addr, \
|
/linux-6.12.1/drivers/net/ethernet/sun/ |
D | sunhme.c | 212 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument 213 ((__hp)->write_rxd((__rxd), (__flags), (__addr))) 214 #define hme_write_txd(__hp, __txd, __flags, __addr) \ argument 215 ((__hp)->write_txd((__txd), (__flags), (__addr))) 225 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument 226 do { (__rxd)->rx_addr = (__force hme32)(u32)(__addr); \ 230 #define hme_write_txd(__hp, __txd, __flags, __addr) \ argument 231 do { (__txd)->tx_addr = (__force hme32)(u32)(__addr); \ 242 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument 243 do { (__rxd)->rx_addr = (__force hme32)cpu_to_le32(__addr); \ [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_cookie.c | 118 #define GET_ADDR(__sym, __addr) ({ \ in kprobe_multi_link_api_subtest() argument 119 __addr = ksym_get_addr(__sym); \ in kprobe_multi_link_api_subtest() 120 if (!ASSERT_NEQ(__addr, 0, "ksym_get_addr " #__sym)) \ in kprobe_multi_link_api_subtest()
|
D | kprobe_multi_test.c | 94 #define GET_ADDR(__sym, __addr) ({ \ argument 95 __addr = ksym_get_addr(__sym); \ 96 if (!ASSERT_NEQ(__addr, 0, "kallsyms load failed for " #__sym)) \
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 311 #define ptep_test_and_clear_young(__vma, __addr, __ptep) \ argument 312 __ptep_test_and_clear_young((__vma)->vm_mm, __addr, __ptep)
|
/linux-6.12.1/tools/testing/vma/ |
D | vma_internal.h | 148 #define VMA_ITERATOR(name, __mm, __addr) \ argument 152 .index = __addr, \
|