Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 4415) sorted by relevance

12345678910>>...177

/linux/arch/mips/include/asm/
A Dasm-eva.h38 #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 Dunaligned-emul.h764 #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/arch/parisc/lib/
A Diomap.c303 return iomap_ops[ADDR_TO_REGION(addr)]->read8(addr); in ioread8()
310 return iomap_ops[ADDR_TO_REGION(addr)]->read16(addr); in ioread16()
317 return iomap_ops[ADDR_TO_REGION(addr)]->read16be(addr); in ioread16be()
324 return iomap_ops[ADDR_TO_REGION(addr)]->read32(addr); in ioread32()
331 return iomap_ops[ADDR_TO_REGION(addr)]->read32be(addr); in ioread32be()
338 return iomap_ops[ADDR_TO_REGION(addr)]->read64(addr); in ioread64()
345 return iomap_ops[ADDR_TO_REGION(addr)]->read64be(addr); in ioread64be()
362 iomap_ops[ADDR_TO_REGION(addr)]->write8(datum, addr); in iowrite8()
371 iomap_ops[ADDR_TO_REGION(addr)]->write16(datum, addr); in iowrite16()
389 iomap_ops[ADDR_TO_REGION(addr)]->write32(datum, addr); in iowrite32()
[all …]
/linux/arch/alpha/include/asm/
A Djensen.h95 addr >>= 25; in jensen_set_hae()
97 set_hae(addr); in jensen_set_hae()
148 /* keyboard */ (addr == 0x60 || addr == 0x64) || \
149 /* RTC */ (addr == 0x170 || addr == 0x171) || \
150 /* mb COM2 */ (addr >= 0x2f8 && addr <= 0x2ff) || \
151 /* mb LPT1 */ (addr >= 0x3bc && addr <= 0x3be) || \
152 /* mb COM2 */ (addr >= 0x3f8 && addr <= 0x3ff))
243 addr = (addr << 7) + EISA_MEM + 0x60; in jensen_readq()
244 r0 = *(vuip) (addr); in jensen_readq()
278 addr = (addr << 7) + EISA_MEM + 0x60; in jensen_writeq()
[all …]
A Dio.h413 ret = __raw_readb(addr); in readb()
422 ret = __raw_readw(addr); in readw()
430 __raw_writeb(b, addr); in writeb()
436 __raw_writew(b, addr); in writew()
465 ret = __raw_readl(addr); in readl()
474 ret = __raw_readq(addr); in readq()
482 __raw_writel(b, addr); in writel()
488 __raw_writeq(b, addr); in writeq()
513 return __raw_readb(addr); in readb_relaxed()
519 return __raw_readw(addr); in readw_relaxed()
[all …]
/linux/arch/parisc/include/asm/
A Dio.h82 ret |= gsc_readl(addr+4); in gsc_readq()
123 gsc_writel(val, addr+4); in gsc_writeq()
189 __raw_writeb(b, addr); in writeb()
213 #define readb_relaxed(addr) readb(addr) argument
214 #define readw_relaxed(addr) readw(addr) argument
215 #define readl_relaxed(addr) readl(addr) argument
216 #define readq_relaxed(addr) readq(addr) argument
217 #define writeb_relaxed(b, addr) writeb(b, addr) argument
218 #define writew_relaxed(w, addr) writew(w, addr) argument
219 #define writel_relaxed(l, addr) writel(l, addr) argument
[all …]
A Dbitops.h26 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/include/asm-generic/
A Dio.h556 return inb(addr); in inb_p()
564 return inw(addr); in inw_p()
572 return inl(addr); in inl_p()
580 outb(value, addr); in outb_p()
588 outw(value, addr); in outw_p()
596 outl(value, addr); in outl_p()
712 return readb(addr); in ioread8()
720 return readw(addr); in ioread16()
728 return readl(addr); in ioread32()
737 return readq(addr); in ioread64()
[all …]
/linux/mm/kasan/
A Dkasan.h242 return (is_vmalloc_addr(addr) || virt_addr_valid(addr)); in addr_has_metadata()
289 return addr; in arch_kasan_set_tag()
296 #define set_tag(addr, tag) ((void *)arch_kasan_set_tag((addr), (tag))) argument
297 #define get_tag(addr) arch_kasan_get_tag(addr) argument
320 #define arch_set_mem_tag_range(addr, size, tag, init) ((void *)(addr)) argument
328 #define hw_get_mem_tag(addr) arch_get_mem_tag(addr) argument
364 addr = kasan_reset_tag(addr); in kasan_poison()
367 if (is_kfence_address(addr)) in kasan_poison()
380 u8 tag = get_tag(addr); in kasan_unpoison()
382 addr = kasan_reset_tag(addr); in kasan_unpoison()
[all …]
A Dinit.c118 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/lib/
A Diomap.c68 #define mmio_read16be(addr) swab16(readw(addr)) argument
69 #define mmio_read32be(addr) swab32(readl(addr)) argument
70 #define mmio_read64be(addr) swab64(readq(addr)) argument
75 IO_COND(addr, return inb(port), return readb(addr)); in ioread8()
80 IO_COND(addr, return inw(port), return readw(addr)); in ioread16()
90 IO_COND(addr, return inl(port), return readl(addr)); in ioread32()
147 IO_COND(addr, return pio_read64_lo_hi(port), return readq(addr)); in ioread64_lo_hi()
191 IO_COND(addr, outb(val,port), writeb(val, addr)); in iowrite8()
195 IO_COND(addr, outw(val,port), writew(val, addr)); in iowrite16()
203 IO_COND(addr, outl(val,port), writel(val, addr)); in iowrite32()
[all …]
/linux/arch/powerpc/include/asm/
A Dio.h293 #define PCI_FIX_ADDR(addr) (addr) argument
668 #define readb_relaxed(addr) readb(addr) argument
669 #define readw_relaxed(addr) readw(addr) argument
670 #define readl_relaxed(addr) readl(addr) argument
671 #define readq_relaxed(addr) readq(addr) argument
672 #define writeb_relaxed(v, addr) writeb(v, addr) argument
673 #define writew_relaxed(v, addr) writew(v, addr) argument
674 #define writel_relaxed(v, addr) writel(v, addr) argument
879 #define mmio_read16be(addr) readw_be(addr) argument
880 #define mmio_read32be(addr) readl_be(addr) argument
[all …]
/linux/arch/sh/kernel/
A Diomap.c13 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/arch/powerpc/lib/
A Dcode-patching.c44 return __patch_instruction(addr, instr, addr); in raw_patch_instruction()
113 pgdp = pgd_offset_k(addr); in unmap_patch_area()
139 flush_tlb_kernel_range(addr, addr + PAGE_SIZE); in unmap_patch_area()
515 unsigned long addr; in test_branch_bform() local
592 unsigned long addr; in test_translate_branch() local
604 addr = (unsigned long)p; in test_translate_branch()
614 addr = (unsigned long)p; in test_translate_branch()
625 addr = (unsigned long)p; in test_translate_branch()
659 addr = (unsigned long)p; in test_translate_branch()
670 addr = (unsigned long)p; in test_translate_branch()
[all …]
/linux/arch/mips/include/asm/mach-generic/
A Dide.h44 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/include/trace/events/
A Dbridge.h29 memcpy(__entry->addr, addr, ETH_ALEN);
36 __get_str(dev), __entry->addr[0], __entry->addr[1],
37 __entry->addr[2], __entry->addr[3], __entry->addr[4],
59 memcpy(__entry->addr, addr, ETH_ALEN);
65 __entry->addr[1], __entry->addr[2], __entry->addr[3],
66 __entry->addr[4], __entry->addr[5], __entry->vid)
85 memcpy(__entry->addr, f->key.addr.addr, ETH_ALEN);
91 __entry->addr[1], __entry->addr[2], __entry->addr[3],
92 __entry->addr[4], __entry->addr[5], __entry->vid)
113 memcpy(__entry->addr, addr, ETH_ALEN);
[all …]
/linux/arch/riscv/mm/
A Dfault.c30 addr); in die_kernel_fault()
49 if (addr < PAGE_SIZE) in no_context()
69 no_context(regs, addr); in mm_fault_error()
77 no_context(regs, addr); in mm_fault_error()
99 no_context(regs, addr); in bad_area()
124 index = pgd_index(addr); in vmalloc_fault()
130 no_context(regs, addr); in vmalloc_fault()
221 addr = regs->badaddr; in do_page_fault()
238 if (unlikely((addr >= VMALLOC_START) && (addr <= VMALLOC_END))) { in do_page_fault()
251 if (unlikely(addr >= MODULES_VADDR && addr < MODULES_END)) { in do_page_fault()
[all …]
/linux/arch/m68k/include/asm/
A Dio_no.h16 #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/arch/arm/mach-ixp4xx/include/mach/
A Dio.h51 return (addr >= pcibios_min_mem) && (addr <= 0x4FFFFFFF); in is_pci_memory()
80 u32 addr = (u32)p; in __indirect_writeb() local
88 n = addr % 4; in __indirect_writeb()
113 n = addr % 4; in __indirect_writew()
156 n = addr % 4; in __indirect_readb()
181 n = addr % 4; in __indirect_readw()
249 n = addr % 4; in outb()
268 n = addr % 4; in outw()
300 n = addr % 4; in inb()
320 n = addr % 4; in inw()
[all …]
/linux/tools/testing/selftests/vm/
A Dmap_fixed_noreplace.c42 addr = BASE_ADDRESS; in main()
46 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
66 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
83 addr = BASE_ADDRESS; in main()
86 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
107 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
127 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
144 addr = BASE_ADDRESS; in main()
147 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
167 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
[all …]
/linux/arch/riscv/include/asm/
A Dio.h97 #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((void __iomem *)(long)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
127 #define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count) argument
130 #define writesq(addr, buffer, count) __writesq(addr, buffer, count) argument
[all …]
/linux/arch/powerpc/mm/book3s64/
A Dsubpage_prot.c25 unsigned long i, j, addr; in subpage_prot_free() local
37 addr = 0; 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()
157 vma = find_vma(mm, addr); in subpage_mark_vma_nohuge()
[all …]
/linux/include/asm-generic/bitops/
A Dle.h17 return find_next_zero_bit(addr, size, offset); in find_next_zero_bit_le()
23 return find_next_bit(addr, size, offset); in find_next_bit_le()
29 return find_first_zero_bit(addr, size); in find_first_zero_bit_le()
75 #define find_first_zero_bit_le(addr, size) \ argument
76 find_next_zero_bit_le((addr), (size), 0)
85 return test_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_bit_le()
88 static inline void set_bit_le(int nr, void *addr) in set_bit_le() argument
90 set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in set_bit_le()
95 clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in clear_bit_le()
100 __set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __set_bit_le()
[all …]
/linux/net/sctp/
A Dbind_addr.c99 error = sctp_add_bind_addr(dest, &addr->a, sizeof(addr->a), in sctp_bind_addr_dup()
125 kfree_rcu(addr, rcu); in sctp_bind_addr_clean()
144 addr = kzalloc(sizeof(*addr), gfp); in sctp_add_bind_addr()
145 if (!addr) in sctp_add_bind_addr()
157 addr->valid = 1; in sctp_add_bind_addr()
185 addr->valid = 0; in sctp_del_bind_addr()
192 kfree_rcu(addr, rcu); in sctp_del_bind_addr()
262 union sctp_addr addr; in sctp_raw_to_bind_addrs() local
281 retval = sctp_add_bind_addr(bp, &addr, sizeof(addr), in sctp_raw_to_bind_addrs()
435 addr = addr_buf; in sctp_find_unmatch_addr()
[all …]
/linux/include/linux/
A Detherdevice.h85 __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()
444 u = u << 8 | addr[i]; in ether_addr_to_u64()
459 addr[i] = u & 0xff; in u64_to_ether_addr()
508 res = ether_addr_equal_64bits(addr, ha->addr); in is_etherdev_addr()
[all …]

Completed in 68 milliseconds

12345678910>>...177