Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 73) 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/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
Dmsm_hw3d.h26 #define HW3D_REGION_ID(addr) (((uint32_t)(addr) >> 28) & 0xf) argument
27 #define HW3D_OFFSET_IN_REGION(addr) ((uint32_t)(addr) & ~(0xfUL << 28)) argument
Dpagemap.h29 #define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK) argument
/bionic/linker/
Ddebugger.c52 struct sockaddr_un addr; in socket_abstract_client() local
60 if ((namelen + 1) > sizeof(addr.sun_path)) { in socket_abstract_client()
71 memset (&addr, 0, sizeof addr); in socket_abstract_client()
72 addr.sun_family = AF_LOCAL; in socket_abstract_client()
73 addr.sun_path[0] = 0; in socket_abstract_client()
74 memcpy(addr.sun_path + 1, name, namelen); in socket_abstract_client()
81 RETRY_ON_EINTR(err,connect(s, (struct sockaddr *) &addr, alen)); in socket_abstract_client()
/bionic/libc/kernel/arch-sh/asm/
Duaccess_32.h17addr, err, insn) ({ __asm__ __volatile__( "1:\n\t" "mov." insn " %2, %1\n\t" "2:\n" ".se… argument
21addr, err, insn) do { __asm__ __volatile__ ( "1:\n\t" "mov." insn " %1, %2\n\t" "2:\n" … argument
23addr,retval) ({ __asm__ __volatile__( "1:\n\t" "mov.l %R1,%2\n\t" "mov.l %S1,%T2\n\t" "2… argument
Duaccess.h22 #define __addr_ok(addr) ((unsigned long __force)(addr) < current_thread_info()->addr_limit.seg) argument
24 #define __access_ok(addr, size) (__addr_ok((addr) + (size))) argument
25 #define access_ok(type, addr, size) (__chk_user_ptr(addr), __access_ok((unsigned long __force)( argument
49 #define clear_user(addr,n) ({ void __user * __cl_addr = (addr); unsigned long __cl_size = (n);… argument
Dpgtable_64.h24 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval) argument
37 #define pte_offset_kernel(dir, addr) ((pte_t *) ((pmd_val(*(dir))) & PAGE_MASK) + pte_index((addr argument
38 #define pte_offset_map(dir,addr) pte_offset_kernel(dir, addr) argument
39 #define pte_offset_map_nested(dir,addr) pte_offset_kernel(dir, addr) argument
83 #define pte_clear(mm,addr,xp) (set_pte_at(mm, addr, xp, __pte(_PTE_EMPTY))) 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);

123