/linux-6.3-rc2/arch/mips/include/asm/ |
A D | asm-eva.h | 38 #define kernel_sd(reg, addr) user_sw(reg, addr) argument 106 #define kernel_ll(reg, addr) ll reg, addr argument 107 #define kernel_sc(reg, addr) sc reg, addr argument 108 #define kernel_lw(reg, addr) lw reg, addr argument 111 #define kernel_lh(reg, addr) lh reg, addr argument 112 #define kernel_lb(reg, addr) lb reg, addr argument 114 #define kernel_sw(reg, addr) sw reg, addr argument 117 #define kernel_sh(reg, addr) sh reg, addr argument 118 #define kernel_sb(reg, addr) sb reg, addr argument 128 #define kernel_sd(reg, addr) sd reg, addr argument [all …]
|
A D | unaligned-emul.h | 764 #define LoadHWUE(addr, value, res) _LoadHWU(addr, value, res, user) argument 765 #define LoadWU(addr, value, res) _LoadWU(addr, value, res, kernel) argument 766 #define LoadWUE(addr, value, res) _LoadWU(addr, value, res, user) argument 767 #define LoadHW(addr, value, res) _LoadHW(addr, value, res, kernel) argument 768 #define LoadHWE(addr, value, res) _LoadHW(addr, value, res, user) argument 769 #define LoadW(addr, value, res) _LoadW(addr, value, res, kernel) argument 770 #define LoadWE(addr, value, res) _LoadW(addr, value, res, user) argument 771 #define LoadDW(addr, value, res) _LoadDW(addr, value, res) argument 775 #define StoreW(addr, value, res) _StoreW(addr, value, res, kernel) argument 776 #define StoreWE(addr, value, res) _StoreW(addr, value, res, user) argument [all …]
|
/linux-6.3-rc2/arch/parisc/lib/ |
A D | iomap.c | 315 return iomap_ops[ADDR_TO_REGION(addr)]->read8(addr); in ioread8() 322 return iomap_ops[ADDR_TO_REGION(addr)]->read16(addr); in ioread16() 329 return iomap_ops[ADDR_TO_REGION(addr)]->read16be(addr); in ioread16be() 336 return iomap_ops[ADDR_TO_REGION(addr)]->read32(addr); in ioread32() 343 return iomap_ops[ADDR_TO_REGION(addr)]->read32be(addr); in ioread32be() 351 return iomap_ops[ADDR_TO_REGION(addr)]->read64(addr); in ioread64() 358 return iomap_ops[ADDR_TO_REGION(addr)]->read64be(addr); in ioread64be() 366 iomap_ops[ADDR_TO_REGION(addr)]->write8(datum, addr); in iowrite8() 375 iomap_ops[ADDR_TO_REGION(addr)]->write16(datum, addr); in iowrite16() 393 iomap_ops[ADDR_TO_REGION(addr)]->write32(datum, addr); in iowrite32() [all …]
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | jensen.h | 95 addr >>= 25; in jensen_set_hae() 97 set_hae(addr); in jensen_set_hae() 149 /* keyboard */ (addr == 0x60 || addr == 0x64) || \ 150 /* RTC */ (addr == 0x170 || addr == 0x171) || \ 151 /* mb COM2 */ (addr >= 0x2f8 && addr <= 0x2ff) || \ 152 /* mb LPT1 */ (addr >= 0x3bc && addr <= 0x3be) || \ 153 /* mb COM2 */ (addr >= 0x3f8 && addr <= 0x3ff)) 257 addr = (addr << 7) + EISA_MEM + 0x60; in jensen_readq() 258 r0 = *(vuip) (addr); in jensen_readq() 292 addr = (addr << 7) + EISA_MEM + 0x60; in jensen_writeq() [all …]
|
A D | core_lca.h | 227 addr -= msb; \ 243 addr -= LCA_IO; in lca_ioread8() 261 addr -= LCA_IO; in lca_iowrite8() 279 addr -= LCA_IO; in lca_ioread16() 297 addr -= LCA_IO; in lca_iowrite16() 309 addr = ((addr - LCA_IO) << 5) + LCA_IO + 0x18; in lca_ioread32() 317 addr = ((addr - LCA_IO) << 5) + LCA_IO + 0x18; in lca_iowrite32() 318 *(vuip)addr = b; in lca_iowrite32() 325 addr = ((addr - LCA_IO) << 5) + LCA_IO + 0x18; in lca_ioread64() 333 addr = ((addr - LCA_IO) << 5) + LCA_IO + 0x18; in lca_iowrite64() [all …]
|
/linux-6.3-rc2/include/asm-generic/ |
A D | io.h | 639 return inb(addr); in inb_p() 647 return inw(addr); in inw_p() 655 return inl(addr); in inl_p() 663 outb(value, addr); in outb_p() 671 outw(value, addr); in outw_p() 679 outl(value, addr); in outl_p() 795 return readb(addr); in ioread8() 803 return readw(addr); in ioread16() 811 return readl(addr); in ioread32() 820 return readq(addr); in ioread64() [all …]
|
/linux-6.3-rc2/mm/kasan/ |
A D | kasan.h | 321 return (is_vmalloc_addr(addr) || virt_addr_valid(addr)); in addr_has_metadata() 386 return addr; in arch_kasan_set_tag() 393 #define set_tag(addr, tag) ((void *)arch_kasan_set_tag((addr), (tag))) argument 394 #define get_tag(addr) arch_kasan_get_tag(addr) argument 417 #define arch_set_mem_tag_range(addr, size, tag, init) ((void *)(addr)) argument 425 #define hw_get_mem_tag(addr) arch_get_mem_tag(addr) argument 467 addr = kasan_reset_tag(addr); in kasan_poison() 470 if (is_kfence_address(addr)) in kasan_poison() 483 u8 tag = get_tag(addr); in kasan_unpoison() 485 addr = kasan_reset_tag(addr); in kasan_unpoison() [all …]
|
A D | init.c | 118 if (IS_ALIGNED(addr, PMD_SIZE) && end - addr >= PMD_SIZE) { in zero_pmd_populate() 137 } while (pmd++, addr = next, addr != end); in zero_pmd_populate() 150 if (IS_ALIGNED(addr, PUD_SIZE) && end - addr >= PUD_SIZE) { in zero_pud_populate() 174 } while (pud++, addr = next, addr != end); in zero_pud_populate() 215 } while (p4d++, addr = next, addr != end); in zero_p4d_populate() 277 } while (pgd++, addr = next, addr != end); in kasan_populate_early_shadow() 347 for (; addr < end; addr = next, pte++) { in kasan_remove_pte_table() 366 for (; addr < end; addr = next, pmd++) { in kasan_remove_pmd_table() 392 for (; addr < end; addr = next, pud++) { in kasan_remove_pud_table() 419 for (; addr < end; addr = next, p4d++) { in kasan_remove_p4d_table() [all …]
|
/linux-6.3-rc2/lib/ |
A D | iomap.c | 69 #define mmio_read16be(addr) swab16(readw(addr)) argument 70 #define mmio_read32be(addr) swab32(readl(addr)) argument 71 #define mmio_read64be(addr) swab64(readq(addr)) argument 81 IO_COND(addr, return inb(port), return readb(addr)); in ioread8() 87 IO_COND(addr, return inw(port), return readw(addr)); in ioread16() 99 IO_COND(addr, return inl(port), return readl(addr)); in ioread32() 158 IO_COND(addr, return pio_read64_lo_hi(port), return readq(addr)); in ioread64_lo_hi() 207 IO_COND(addr, outb(val,port), writeb(val, addr)); in iowrite8() 213 IO_COND(addr, outw(val,port), writew(val, addr)); in iowrite16() 225 IO_COND(addr, outl(val,port), writel(val, addr)); in iowrite32() [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | io.h | 290 #define PCI_FIX_ADDR(addr) (addr) argument 689 #define readb_relaxed(addr) readb(addr) argument 690 #define readw_relaxed(addr) readw(addr) argument 691 #define readl_relaxed(addr) readl(addr) argument 692 #define readq_relaxed(addr) readq(addr) argument 693 #define writeb_relaxed(v, addr) writeb(v, addr) argument 694 #define writew_relaxed(v, addr) writew(v, addr) argument 695 #define writel_relaxed(v, addr) writel(v, addr) argument 900 #define mmio_read16be(addr) readw_be(addr) argument 901 #define mmio_read32be(addr) readl_be(addr) argument [all …]
|
/linux-6.3-rc2/arch/sh/kernel/ |
A D | iomap.c | 13 return readb(addr); in ioread8() 19 return readw(addr); in ioread16() 31 return readl(addr); in ioread32() 43 writeb(val, addr); in iowrite8() 49 writew(val, addr); in iowrite16() 61 writel(val, addr); in iowrite32() 80 u8 data = __raw_readb(addr); in mmio_insb() 107 __raw_writeb(*src, addr); in mmio_outsb() 115 __raw_writew(*src, addr); in mmio_outsw() 123 __raw_writel(*src, addr); in mmio_outsl() [all …]
|
/linux-6.3-rc2/arch/mips/include/asm/mach-generic/ |
A D | ide.h | 44 while (addr < end) { in __ide_flush_dcache_range() 46 addr += PAGE_SIZE; in __ide_flush_dcache_range() 63 insw(port, addr, count); in __ide_insw() 71 insl(port, addr, count); in __ide_insl() 80 outsw(port, addr, count); in __ide_outsw() 89 outsl(port, addr, count); in __ide_outsl() 97 readsw(port, addr, count); in __ide_mm_insw() 131 #define insw(port, addr, count) __ide_insw(port, addr, count) argument 132 #define insl(port, addr, count) __ide_insl(port, addr, count) argument 133 #define outsw(port, addr, count) __ide_outsw(port, addr, count) argument [all …]
|
/linux-6.3-rc2/net/core/ |
A D | dev_addr_lists_test.c | 72 memset(addr, 2, sizeof(addr)); in dev_addr_test_basic() 76 memset(addr, 3, sizeof(addr)); in dev_addr_test_basic() 89 memset(addr, 1, sizeof(addr)); in dev_addr_test_sync_one() 96 memset(addr, 2, sizeof(addr)); in dev_addr_test_sync_one() 118 memset(addr, i, sizeof(addr)); in dev_addr_test_add_del() 138 memset(addr, i, sizeof(addr)); in dev_addr_test_add_del() 153 memset(addr, 1, sizeof(addr)); in dev_addr_test_del_main() 179 memset(addr, i, sizeof(addr)); in dev_addr_test_add_set() 184 memset(addr, i, sizeof(addr)); in dev_addr_test_add_set() 188 memset(addr, 0, sizeof(addr)); in dev_addr_test_add_set() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | map_fixed_noreplace.c | 30 void *addr; in find_base_addr() local 67 addr = base_addr; in main() 71 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 91 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 108 addr = base_addr; in main() 111 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 132 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 152 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 169 addr = base_addr; in main() 189 addr = base_addr; in main() [all …]
|
A D | madv_populate.c | 39 char *addr; in sense_support() local 44 if (!addr) in sense_support() 60 char *addr; in test_prot_read() local 76 munmap(addr, SIZE); in test_prot_read() 81 char *addr; in test_prot_write() local 97 munmap(addr, SIZE); in test_prot_write() 102 char *addr; in test_holes() local 139 munmap(addr, SIZE); in test_holes() 172 char *addr; in test_populate_read() local 194 char *addr; in test_populate_write() local [all …]
|
/linux-6.3-rc2/arch/powerpc/lib/ |
A D | test-code-patching.c | 15 return branch_target(instr) == addr; in instr_is_branch_to_addr() 128 unsigned long addr; in test_branch_bform() local 134 addr = (unsigned long)iptr; in test_branch_bform() 205 unsigned long addr; in test_translate_branch() local 217 addr = (unsigned long)p; in test_translate_branch() 218 create_branch(&instr, p, addr, 0); in test_translate_branch() 228 addr = (unsigned long)p; in test_translate_branch() 240 addr = (unsigned long)p; in test_translate_branch() 277 addr = (unsigned long)p; in test_translate_branch() 288 addr = (unsigned long)p; in test_translate_branch() [all …]
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | io_no.h | 16 #define __raw_readb(addr) \ argument 18 #define __raw_readw(addr) \ argument 20 #define __raw_readl(addr) \ argument 23 #define __raw_writeb(b, addr) (void)((*(__force volatile u8 *) (addr)) = (b)) argument 24 #define __raw_writew(b, addr) (void)((*(__force volatile u16 *) (addr)) = (b)) argument 25 #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b)) argument 50 return (addr >= IOMEMBASE) && (addr <= IOMEMBASE + IOMEMSIZE - 1); in __cf_internalio() 68 if (cf_internalio(addr)) in readw() 76 if (cf_internalio(addr)) in readl() 84 if (cf_internalio(addr)) in writew() [all …]
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | io.h | 97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument 105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument 106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument 111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument 112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument 113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument 124 #define readsq(addr, buffer, count) __readsq(addr, buffer, count) argument [all …]
|
/linux-6.3-rc2/include/asm-generic/bitops/ |
A D | instrumented-non-atomic.h | 29 arch___set_bit(nr, addr); in ___set_bit() 45 arch___clear_bit(nr, addr); in ___clear_bit() 61 arch___change_bit(nr, addr); in ___change_bit() 99 __instrument_read_write_bitop(nr, addr); in ___test_and_set_bit() 100 return arch___test_and_set_bit(nr, addr); in ___test_and_set_bit() 114 __instrument_read_write_bitop(nr, addr); in ___test_and_clear_bit() 115 return arch___test_and_clear_bit(nr, addr); in ___test_and_clear_bit() 129 __instrument_read_write_bitop(nr, addr); in ___test_and_change_bit() 130 return arch___test_and_change_bit(nr, addr); in ___test_and_change_bit() 142 return arch_test_bit(nr, addr); in _test_bit() [all …]
|
/linux-6.3-rc2/arch/parisc/include/asm/ |
A D | bitops.h | 26 addr += BIT_WORD(nr); in set_bit() 28 *addr |= mask; in set_bit() 37 addr += BIT_WORD(nr); in clear_bit() 39 *addr &= ~mask; in clear_bit() 48 addr += BIT_WORD(nr); in change_bit() 50 *addr ^= mask; in change_bit() 61 addr += BIT_WORD(nr); in test_and_set_bit() 63 old = *addr; in test_and_set_bit() 66 *addr = old | mask; in test_and_set_bit() 81 old = *addr; in test_and_clear_bit() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | etherdevice.h | 85 __be16 *a = (__be16 *)addr; in is_link_local_ether_addr() 108 return ((*(const u32 *)addr) | (*(const u16 *)(addr + 4))) == 0; in is_zero_ether_addr() 111 *(const u16 *)(addr + 2) | in is_zero_ether_addr() 158 return 0x02 & addr[0]; in is_local_ether_addr() 202 return !is_multicast_ether_addr(addr) && !is_zero_ether_addr(addr); in is_valid_ether_addr() 270 u8 addr[ETH_ALEN]; in eth_hw_addr_random() local 272 eth_random_addr(addr); in eth_hw_addr_random() 465 u = u << 8 | addr[i]; in ether_addr_to_u64() 480 addr[i] = u & 0xff; in u64_to_ether_addr() 543 res = ether_addr_equal_64bits(addr, ha->addr); in is_etherdev_addr() [all …]
|
A D | in.h | 38 static inline bool ipv4_is_loopback(__be32 addr) in ipv4_is_loopback() argument 43 static inline bool ipv4_is_multicast(__be32 addr) in ipv4_is_multicast() argument 53 static inline bool ipv4_is_lbcast(__be32 addr) in ipv4_is_lbcast() argument 56 return addr == htonl(INADDR_BROADCAST); in ipv4_is_lbcast() 61 return addr == htonl(INADDR_ALLSNOOPERS_GROUP); in ipv4_is_all_snoopers() 64 static inline bool ipv4_is_zeronet(__be32 addr) in ipv4_is_zeronet() argument 66 return (addr == 0); in ipv4_is_zeronet() 71 static inline bool ipv4_is_private_10(__be32 addr) in ipv4_is_private_10() argument 76 static inline bool ipv4_is_private_172(__be32 addr) in ipv4_is_private_172() argument 96 static inline bool ipv4_is_test_192(__be32 addr) in ipv4_is_test_192() argument [all …]
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
A D | subpage_prot.c | 25 unsigned long i, j, addr; in subpage_prot_free() local 37 addr = 0; in subpage_prot_free() 44 ++j, addr += PAGE_SIZE) in subpage_prot_free() 63 pgd = pgd_offset(mm, addr); in hpte_flush_range() 64 p4d = p4d_offset(pgd, addr); in hpte_flush_range() 67 pud = pud_offset(p4d, addr); in hpte_flush_range() 70 pmd = pmd_offset(pud, addr); in hpte_flush_range() 77 addr += PAGE_SIZE; in hpte_flush_range() 103 limit = addr + len; in subpage_prot_clear() 106 for (; addr < limit; addr = next) { in subpage_prot_clear() [all …]
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | swift.h | 35 : "r" (addr), "i" (ASI_M_TXTC_TAG) in swift_inv_insn_tag() 50 unsigned long addr; in swift_flush_dcache() local 52 for (addr = 0; addr < 0x2000; addr += 0x10) in swift_flush_dcache() 53 swift_inv_data_tag(addr); in swift_flush_dcache() 58 unsigned long addr; in swift_flush_icache() local 60 for (addr = 0; addr < 0x4000; addr += 0x20) in swift_flush_icache() 61 swift_inv_insn_tag(addr); in swift_flush_icache() 66 unsigned long addr; in swift_idflash_clear() local 68 for (addr = 0; addr < 0x2000; addr += 0x10) { in swift_idflash_clear() 69 swift_inv_insn_tag(addr<<1); in swift_idflash_clear() [all …]
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | mmap.c | 53 return addr; in arch_get_unmapped_area() 59 if (addr) { in arch_get_unmapped_area() 61 addr = COLOUR_ALIGN(addr, pgoff); in arch_get_unmapped_area() 63 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area() 68 return addr; in arch_get_unmapped_area() 107 return addr; in arch_get_unmapped_area_topdown() 111 if (addr) { in arch_get_unmapped_area_topdown() 113 addr = COLOUR_ALIGN(addr, pgoff); in arch_get_unmapped_area_topdown() 115 addr = PAGE_ALIGN(addr); in arch_get_unmapped_area_topdown() 119 return addr; in arch_get_unmapped_area_topdown() [all …]
|