Searched refs:addr (Results 1 - 25 of 8957) sorted by relevance

1234567891011>>

/linux-master/include/asm-generic/
H A Dset_memory.h8 int set_memory_ro(unsigned long addr, int numpages);
9 int set_memory_rw(unsigned long addr, int numpages);
10 int set_memory_x(unsigned long addr, int numpages);
11 int set_memory_nx(unsigned long addr, int numpages);
/linux-master/arch/arm/include/asm/
H A Dset_memory.h10 int set_memory_ro(unsigned long addr, int numpages);
11 int set_memory_rw(unsigned long addr, int numpages);
12 int set_memory_x(unsigned long addr, int numpages);
13 int set_memory_nx(unsigned long addr, int numpages);
14 int set_memory_valid(unsigned long addr, int numpages, int enable);
16 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } argument
17 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } argument
18 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } argument
19 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } argument
H A Dide.h17 #define __ide_mm_insw(port,addr,len) readsw(port,addr,len)
18 #define __ide_mm_insl(port,addr,len) readsl(port,addr,len)
19 #define __ide_mm_outsw(port,addr,len) writesw(port,addr,len)
20 #define __ide_mm_outsl(port,addr,len) writesl(port,addr,len)
H A Dpatch.h5 void patch_text(void *addr, unsigned int insn);
6 void __patch_text_real(void *addr, unsigned int insn, bool remap);
8 static inline void __patch_text(void *addr, unsigned int insn) argument
10 __patch_text_real(addr, insn, true);
13 static inline void __patch_text_early(void *addr, unsigned int insn) argument
15 __patch_text_real(addr, insn, false);
/linux-master/arch/powerpc/include/asm/
H A Dset_memory.h12 int change_memory_attr(unsigned long addr, int numpages, long action);
14 static inline int set_memory_ro(unsigned long addr, int numpages) argument
16 return change_memory_attr(addr, numpages, SET_MEMORY_RO);
19 static inline int set_memory_rw(unsigned long addr, int numpages) argument
21 return change_memory_attr(addr, numpages, SET_MEMORY_RW);
24 static inline int set_memory_nx(unsigned long addr, int numpages) argument
26 return change_memory_attr(addr, numpages, SET_MEMORY_NX);
29 static inline int set_memory_x(unsigned long addr, int numpages) argument
31 return change_memory_attr(addr, numpages, SET_MEMORY_X);
34 static inline int set_memory_np(unsigned long addr, in argument
39 set_memory_p(unsigned long addr, int numpages) argument
[all...]
/linux-master/arch/mips/include/asm/
H A Dprefetch.h47 .macro __pref hint addr
49 pref \hint, \addr
53 .macro pref_load addr
54 __pref Pref_Load, \addr
57 .macro pref_store addr
58 __pref Pref_Store, \addr
61 .macro pref_load_streamed addr
62 __pref Pref_LoadStreamed, \addr
65 .macro pref_store_streamed addr
66 __pref Pref_StoreStreamed, \addr
[all...]
H A Dasm-eva.h19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n"
20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n"
21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n"
22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n"
23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\
[all...]
/linux-master/include/asm-generic/bitops/
H A Dle.h19 static inline int test_bit_le(int nr, const void *addr) argument
21 return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
24 static inline void set_bit_le(int nr, void *addr) argument
26 set_bit(nr ^ BITOP_LE_SWIZZLE, addr);
29 static inline void clear_bit_le(int nr, void *addr) argument
31 clear_bit(nr ^ BITOP_LE_SWIZZLE, addr);
34 static inline void __set_bit_le(int nr, void *addr) argument
36 __set_bit(nr ^ BITOP_LE_SWIZZLE, addr);
39 static inline void __clear_bit_le(int nr, void *addr) argument
41 __clear_bit(nr ^ BITOP_LE_SWIZZLE, addr);
44 test_and_set_bit_le(int nr, void *addr) argument
49 test_and_clear_bit_le(int nr, void *addr) argument
54 __test_and_set_bit_le(int nr, void *addr) argument
59 __test_and_clear_bit_le(int nr, void *addr) argument
[all...]
H A Dinstrumented-atomic.h19 * @addr: the address to start counting from
26 static __always_inline void set_bit(long nr, volatile unsigned long *addr) argument
28 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long));
29 arch_set_bit(nr, addr);
35 * @addr: Address to start counting from
39 static __always_inline void clear_bit(long nr, volatile unsigned long *addr) argument
41 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long));
42 arch_clear_bit(nr, addr);
48 * @addr: Address to start counting from
55 static __always_inline void change_bit(long nr, volatile unsigned long *addr) argument
68 test_and_set_bit(long nr, volatile unsigned long *addr) argument
82 test_and_clear_bit(long nr, volatile unsigned long *addr) argument
96 test_and_change_bit(long nr, volatile unsigned long *addr) argument
[all...]
H A Dinstrumented-non-atomic.h19 * @addr: the address to start counting from
26 ___set_bit(unsigned long nr, volatile unsigned long *addr) argument
28 instrument_write(addr + BIT_WORD(nr), sizeof(long));
29 arch___set_bit(nr, addr);
35 * @addr: the address to start counting from
42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) argument
44 instrument_write(addr + BIT_WORD(nr), sizeof(long));
45 arch___clear_bit(nr, addr);
51 * @addr: the address to start counting from
58 ___change_bit(unsigned long nr, volatile unsigned long *addr) argument
64 __instrument_read_write_bitop(long nr, volatile unsigned long *addr) argument
97 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) argument
112 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) argument
127 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) argument
139 _test_bit(unsigned long nr, const volatile unsigned long *addr) argument
151 _test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) argument
[all...]
H A Dinstrumented-lock.h19 * @addr: the address to start counting from
23 static inline void clear_bit_unlock(long nr, volatile unsigned long *addr) argument
26 instrument_atomic_write(addr + BIT_WORD(nr), sizeof(long));
27 arch_clear_bit_unlock(nr, addr);
33 * @addr: Address to start counting from
39 static inline void __clear_bit_unlock(long nr, volatile unsigned long *addr) argument
42 instrument_write(addr + BIT_WORD(nr), sizeof(long));
43 arch___clear_bit_unlock(nr, addr);
49 * @addr: Address to count from
55 static inline bool test_and_set_bit_lock(long nr, volatile unsigned long *addr) argument
74 clear_bit_unlock_is_negative_byte(long nr, volatile unsigned long *addr) argument
[all...]
H A Dext2-atomic-setbit.h9 #define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr)
10 #define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr)
/linux-master/arch/sh/include/asm/
H A Dcache_insns_32.h8 #define __icbi(addr) __asm__ __volatile__ ( "icbi @%0\n\t" : : "r" (addr))
10 #define __icbi(addr) mb()
13 #define __ocbp(addr) __asm__ __volatile__ ( "ocbp @%0\n\t" : : "r" (addr))
14 #define __ocbi(addr) __asm__ __volatile__ ( "ocbi @%0\n\t" : : "r" (addr))
15 #define __ocbwb(addr) __asm__ __volatile__ ( "ocbwb @%0\n\t" : : "r" (addr))
/linux-master/include/linux/
H A Din.h38 static inline bool ipv4_is_loopback(__be32 addr) argument
40 return (addr & htonl(0xff000000)) == htonl(0x7f000000);
43 static inline bool ipv4_is_multicast(__be32 addr) argument
45 return (addr & htonl(0xf0000000)) == htonl(0xe0000000);
48 static inline bool ipv4_is_local_multicast(__be32 addr) argument
50 return (addr & htonl(0xffffff00)) == htonl(0xe0000000);
53 static inline bool ipv4_is_lbcast(__be32 addr) argument
56 return addr == htonl(INADDR_BROADCAST);
59 static inline bool ipv4_is_all_snoopers(__be32 addr) argument
61 return addr
64 ipv4_is_zeronet(__be32 addr) argument
71 ipv4_is_private_10(__be32 addr) argument
76 ipv4_is_private_172(__be32 addr) argument
81 ipv4_is_private_192(__be32 addr) argument
86 ipv4_is_linklocal_169(__be32 addr) argument
91 ipv4_is_anycast_6to4(__be32 addr) argument
96 ipv4_is_test_192(__be32 addr) argument
101 ipv4_is_test_198(__be32 addr) argument
[all...]
H A Derror-injection.h10 extern bool within_error_injection_list(unsigned long addr);
11 extern int get_injectable_error_type(unsigned long addr);
15 static inline bool within_error_injection_list(unsigned long addr) argument
20 static inline int get_injectable_error_type(unsigned long addr) argument
/linux-master/arch/parisc/lib/
H A Diomap.c32 * Technically, this should be 'if (VMALLOC_START < addr < VMALLOC_END),
36 #define INDIRECT_ADDR(addr) (((unsigned long)(addr) & 1UL<<63) != 0)
37 #define ADDR_TO_REGION(addr) (((unsigned long)addr >> 60) & 7)
40 #define INDIRECT_ADDR(addr) (((unsigned long)(addr) & 1UL<<31) != 0)
41 #define ADDR_TO_REGION(addr) (((unsigned long)addr >> 28) & 7)
74 #define ADDR2PORT(addr) ((unsigne
76 ioport_read8(const void __iomem *addr) argument
81 ioport_read16(const void __iomem *addr) argument
86 ioport_read32(const void __iomem *addr) argument
91 ioport_write8(u8 datum, void __iomem *addr) argument
96 ioport_write16(u16 datum, void __iomem *addr) argument
101 ioport_write32(u32 datum, void __iomem *addr) argument
106 ioport_read8r(const void __iomem *addr, void *dst, unsigned long count) argument
111 ioport_read16r(const void __iomem *addr, void *dst, unsigned long count) argument
116 ioport_read32r(const void __iomem *addr, void *dst, unsigned long count) argument
121 ioport_write8r(void __iomem *addr, const void *s, unsigned long n) argument
126 ioport_write16r(void __iomem *addr, const void *s, unsigned long n) argument
131 ioport_write32r(void __iomem *addr, const void *s, unsigned long n) argument
157 iomem_read8(const void __iomem *addr) argument
162 iomem_read16(const void __iomem *addr) argument
167 iomem_read16be(const void __iomem *addr) argument
172 iomem_read32(const void __iomem *addr) argument
177 iomem_read32be(const void __iomem *addr) argument
183 iomem_read64(const void __iomem *addr) argument
188 iomem_read64be(const void __iomem *addr) argument
194 iomem_write8(u8 datum, void __iomem *addr) argument
199 iomem_write16(u16 datum, void __iomem *addr) argument
204 iomem_write16be(u16 datum, void __iomem *addr) argument
209 iomem_write32(u32 datum, void __iomem *addr) argument
214 iomem_write32be(u32 datum, void __iomem *addr) argument
220 iomem_write64(u64 datum, void __iomem *addr) argument
225 iomem_write64be(u64 datum, void __iomem *addr) argument
231 iomem_read8r(const void __iomem *addr, void *dst, unsigned long count) argument
239 iomem_read16r(const void __iomem *addr, void *dst, unsigned long count) argument
247 iomem_read32r(const void __iomem *addr, void *dst, unsigned long count) argument
255 iomem_write8r(void __iomem *addr, const void *s, unsigned long n) argument
263 iomem_write16r(void __iomem *addr, const void *s, unsigned long n) argument
271 iomem_write32r(void __iomem *addr, const void *s, unsigned long n) argument
312 ioread8(const void __iomem *addr) argument
319 ioread16(const void __iomem *addr) argument
326 ioread16be(const void __iomem *addr) argument
333 ioread32(const void __iomem *addr) argument
340 ioread32be(const void __iomem *addr) argument
348 ioread64(const void __iomem *addr) argument
355 ioread64be(const void __iomem *addr) argument
363 iowrite8(u8 datum, void __iomem *addr) argument
372 iowrite16(u16 datum, void __iomem *addr) argument
381 iowrite16be(u16 datum, void __iomem *addr) argument
390 iowrite32(u32 datum, void __iomem *addr) argument
399 iowrite32be(u32 datum, void __iomem *addr) argument
409 iowrite64(u64 datum, void __iomem *addr) argument
418 iowrite64be(u64 datum, void __iomem *addr) argument
430 ioread8_rep(const void __iomem *addr, void *dst, unsigned long count) argument
442 ioread16_rep(const void __iomem *addr, void *dst, unsigned long count) argument
454 ioread32_rep(const void __iomem *addr, void *dst, unsigned long count) argument
466 iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) argument
478 iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) argument
490 iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) argument
509 ioport_unmap(void __iomem *addr) argument
517 pci_iounmap(struct pci_dev *dev, void __iomem * addr) argument
[all...]
/linux-master/arch/parisc/include/asm/
H A Dprefetch.h23 static inline void prefetch(const void *addr) argument
30 " ldw 0(%0), %%r0" : : "r" (addr));
36 static inline void prefetchw(const void *addr) argument
38 __asm__("ldd 0(%0), %%r0" : : "r" (addr));
H A Dpatch.h6 void patch_text(void *addr, unsigned int insn);
7 void patch_text_multiple(void *addr, u32 *insn, unsigned int len);
10 void __patch_text(void *addr, u32 insn);
11 void __patch_text_multiple(void *addr, u32 *insn, unsigned int len);
/linux-master/arch/s390/include/asm/
H A Dset_memory.h15 int __set_memory(unsigned long addr, int numpages, unsigned long flags);
17 static inline int set_memory_ro(unsigned long addr, int numpages) argument
19 return __set_memory(addr, numpages, SET_MEMORY_RO);
22 static inline int set_memory_rw(unsigned long addr, int numpages) argument
24 return __set_memory(addr, numpages, SET_MEMORY_RW);
27 static inline int set_memory_nx(unsigned long addr, int numpages) argument
29 return __set_memory(addr, numpages, SET_MEMORY_NX);
32 static inline int set_memory_x(unsigned long addr, int numpages) argument
34 return __set_memory(addr, numpages, SET_MEMORY_X);
37 static inline int set_memory_4k(unsigned long addr, in argument
[all...]
H A Dmem_encrypt.h7 int set_memory_encrypted(unsigned long addr, int numpages);
8 int set_memory_decrypted(unsigned long addr, int numpages);
/linux-master/arch/x86/mm/
H A Dphysaddr.h4 static inline int phys_addr_valid(resource_size_t addr) argument
7 return !(addr >> boot_cpu_data.x86_phys_bits);
/linux-master/tools/testing/selftests/futex/include/
H A Datomic.h33 * Return the old value of addr->val.
36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) argument
38 return __sync_val_compare_and_swap(&addr->val, oldval, newval);
43 * @addr: Address of the variable to increment
45 * Return the new value of addr->val.
48 atomic_inc(atomic_t *addr) argument
50 return __sync_add_and_fetch(&addr->val, 1);
55 * @addr: Address of the variable to decrement
57 * Return the new value of addr-val.
60 atomic_dec(atomic_t *addr) argument
73 atomic_set(atomic_t *addr, int newval) argument
[all...]
/linux-master/arch/powerpc/boot/
H A Dio.h12 static inline int in_8(const volatile unsigned char *addr) argument
17 : "=r" (ret) : "m" (*addr));
21 static inline void out_8(volatile unsigned char *addr, int val) argument
24 : "=m" (*addr) : "r" (val));
27 static inline unsigned in_le16(const volatile u16 *addr) argument
32 : "=r" (ret) : "r" (addr), "m" (*addr));
37 static inline unsigned in_be16(const volatile u16 *addr) argument
42 : "=r" (ret) : "m" (*addr));
46 static inline void out_le16(volatile u16 *addr, in argument
52 out_be16(volatile u16 *addr, int val) argument
58 in_le32(const volatile unsigned *addr) argument
67 in_be32(const volatile unsigned *addr) argument
76 out_le32(volatile unsigned *addr, int val) argument
82 out_be32(volatile unsigned *addr, int val) argument
[all...]
/linux-master/arch/sparc/include/asm/
H A Dswift.h31 static inline void swift_inv_insn_tag(unsigned long addr) argument
35 : "r" (addr), "i" (ASI_M_TXTC_TAG)
40 static inline void swift_inv_data_tag(unsigned long addr) argument
44 : "r" (addr), "i" (ASI_M_DATAC_TAG)
50 unsigned long addr; local
52 for (addr = 0; addr < 0x2000; addr += 0x10)
53 swift_inv_data_tag(addr);
58 unsigned long addr; local
66 unsigned long addr; local
83 swift_flush_segment(unsigned long addr) argument
91 swift_flush_region(unsigned long addr) argument
[all...]
/linux-master/arch/loongarch/include/asm/
H A Dprefetch.h13 .macro __pref hint addr
15 preld \hint, \addr, 0 variable
19 .macro pref_load addr
20 __pref Pref_Load, \addr
23 .macro pref_store addr
24 __pref Pref_Store, \addr

Completed in 307 milliseconds

1234567891011>>