Home
last modified time | relevance | path

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

123

/bionic/libc/kernel/common/asm-generic/bitops/
Dle.h23 #define generic_test_le_bit(nr, addr) test_bit(nr, addr) argument
24 #define generic___set_le_bit(nr, addr) __set_bit(nr, addr) argument
25 #define generic___clear_le_bit(nr, addr) __clear_bit(nr, addr) argument
27 #define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr) argument
28 #define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit(nr, addr) argument
30 #define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit(nr, addr) argument
31 #define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit(nr, addr) argument
33 #define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset) argument
37 #define generic_test_le_bit(nr, addr) test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) argument
38 #define generic___set_le_bit(nr, addr) __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) argument
[all …]
Dfind.h15 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) argument
16 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0) argument
/bionic/libc/arch-x86/bionic/
Datomics_x86.c63 int __atomic_cmpxchg(int old, int new, volatile int* addr) { in __atomic_cmpxchg() argument
72 "d" (addr) in __atomic_cmpxchg()
77 int __atomic_swap(int new, volatile int* addr) { in __atomic_swap() argument
84 "d" (addr) in __atomic_swap()
89 int __atomic_dec(volatile int* addr) { in __atomic_dec() argument
92 old = *addr; in __atomic_dec()
93 } while (atomic_cmpxchg(old, old-1, addr)); in __atomic_dec()
97 int __atomic_inc(volatile int* addr) { in __atomic_inc() argument
100 old = *addr; in __atomic_inc()
101 } while (atomic_cmpxchg(old, old+1, addr)); in __atomic_inc()
/bionic/libc/bionic/
Datomics_x86.c63 int __atomic_cmpxchg(int old, int new, volatile int* addr) { in __atomic_cmpxchg() argument
72 "d" (addr) in __atomic_cmpxchg()
77 int __atomic_swap(int new, volatile int* addr) { in __atomic_swap() argument
84 "d" (addr) in __atomic_swap()
89 int __atomic_dec(volatile int* addr) { in __atomic_dec() argument
92 old = *addr; in __atomic_dec()
93 } while (atomic_cmpxchg(old, old-1, addr)); in __atomic_dec()
Dptrace.c31 extern long __ptrace(int request, pid_t pid, void *addr, void *data);
33 long ptrace(int request, pid_t pid, void * addr, void * data) in ptrace() argument
43 ret = __ptrace(request, pid, addr, &word); in ptrace()
53 return __ptrace(request, pid, addr, data); in ptrace()
/bionic/libc/kernel/arch-arm/asm/
Dmc146818rtc.h23 #define CMOS_READ(addr) ({ outb_p((addr),RTC_PORT(0)); inb_p(RTC_PORT(1)); }) argument
24 #define CMOS_WRITE(val, addr) ({ outb_p((addr),RTC_PORT(0)); outb_p((val),RTC_PORT(1)); }) argument
Dmemory.h79 #define PHYS_TO_NID(addr) (0) argument
83 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) argument
84 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) argument
87 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) argument
88 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr)) argument
Ddma.h37 #define set_dma_addr(channel, addr) __set_dma_addr(channel, bus_to_virt(addr)) argument
Duaccess.h35 #define __addr_ok(addr) (1) argument
36 #define __range_ok(addr,size) (0) argument
41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) argument
45addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n"… argument
51addr,err) __asm__ __volatile__( "1: ldrt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" … argument
72 #define __clear_user(addr,n) (memset((void __force *)addr, 0, n), 0) argument
/bionic/libc/kernel/arch-x86/asm/
Dtlbflush_32.h20 #define __flush_tlb_single(addr) __native_flush_tlb_single(addr) argument
26 #define __native_flush_tlb_single(addr) __asm__ __volatile__("invlpg (%0)" ::"r" (addr) : "memory… argument
32 #define __flush_tlb_one(addr) do { if (cpu_has_invlpg) __flush_tlb_single(addr); else __f… argument
Dbitops_32.h22 #define ADDR (*(volatile long *) addr)
26 #define test_bit(nr,addr) (__builtin_constant_p(nr) ? constant_test_bit((nr),(addr)) : variabl… argument
Dmc146818rtc_32.h39 #define CMOS_READ(addr) rtc_cmos_read(addr) argument
40 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) argument
Datomic_32.h32 #define atomic_clear_mask(mask, addr) __asm__ __volatile__(LOCK_PREFIX "andl %0,%1" : : "r" (~(ma… argument
33 #define atomic_set_mask(mask, addr) __asm__ __volatile__(LOCK_PREFIX "orl %0,%1" : : "r" (mask),"… argument
Duaccess_32.h35 #define __addr_ok(addr) ((unsigned long __force)(addr) < (current_thread_info()->addr_limit.seg)) argument
37addr,size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0;… argument
39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) argument
64addr, err) __asm__ __volatile__( "1: movl %%eax,0(%2)\n" "2: movl %%edx,4(%2)\n" "3:\n" … argument
71addr, err, itype, rtype, ltype, errret) __asm__ __volatile__( "1: mov"itype" %"rtype"1,%2\n" … argument
77addr, err, itype, rtype, ltype, errret) __asm__ __volatile__( "1: mov"itype" %2,%"rtype"1\n" … argument
Dpgtable-2level.h19 #define set_pte_at(mm,addr,ptep,pteval) native_set_pte_at(mm, addr, ptep, pteval) argument
22 #define set_pte_present(mm,addr,ptep,pteval) set_pte_at(mm,addr,ptep,pteval) argument
23 #define pte_clear(mm,addr,xp) do { set_pte_at(mm, addr, xp, __pte(0)); } while (0) argument
Dio_32.h26addr, unsigned long count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "…
/bionic/libc/kernel/common/linux/
Dvt_buffer.h16 #define scr_writew(val, addr) (*(addr) = (val)) argument
17 #define scr_readw(addr) (*(addr)) argument
Dpagemap.h29 #define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK) argument
Dgfp.h66 #define alloc_page_vma(gfp_mask, vma, addr) alloc_pages(gfp_mask, 0) argument
74 #define free_page(addr) free_pages((addr),0) argument
/bionic/libc/unistd/
Dmmap.c35 void* mmap( void* addr, size_t size, int prot, int flags, int fd, long offset ) in mmap() argument
42 return __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT); in mmap()
/bionic/libc/kernel/common/asm-generic/
Dpgtable.h77 #define pgd_offset_gate(mm, addr) pgd_offset(mm, addr) argument
85 #define pgd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; … argument
87 #define pud_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PUD_SIZE) & PUD_MASK; (_… argument
90 #define pmd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PMD_SIZE) & PMD_MASK; (_… argument
/bionic/libc/include/sys/
Dmman.h59 extern int mlock(const void *addr, size_t len);
60 extern int munlock(const void *addr, size_t len);
Dptrace.h41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
/bionic/libc/inet/
Dinet_aton.c68 inet_aton(const char *cp, struct in_addr *addr) in inet_aton() argument
154 if (addr) in inet_aton()
155 addr->s_addr = htonl(val); in inet_aton()
/bionic/libm/i387/
Dnpx.h153 int npxgetregs(struct thread *td, union savefpu *addr);
155 void npxsave(union savefpu *addr);
156 void npxsetregs(struct thread *td, union savefpu *addr);

123