Home
last modified time | relevance | path

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

1234

/bionic/libc/kernel/common/asm-generic/bitops/
Dle.h27 #define generic_test_le_bit(nr, addr) test_bit(nr, addr) argument
29 #define generic___set_le_bit(nr, addr) __set_bit(nr, addr) argument
30 #define generic___clear_le_bit(nr, addr) __clear_bit(nr, addr) argument
31 #define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr) argument
32 #define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit(nr, addr) argument
34 #define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit(nr, addr) argument
35 #define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit(nr, addr) argument
36 #define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset) argument
39 #define generic_test_le_bit(nr, addr) test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) argument
40 #define generic___set_le_bit(nr, addr) __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) argument
[all …]
Dfind.h21 #define find_first_bit(addr, size) find_next_bit((addr), (size), 0) argument
22 #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0) argument
/bionic/libc/inet/
Dether_ntoa.c38 ether_ntoa_r (const struct ether_addr *addr, char * buf) in ether_ntoa_r() argument
41 addr->ether_addr_octet[0], addr->ether_addr_octet[1], in ether_ntoa_r()
42 addr->ether_addr_octet[2], addr->ether_addr_octet[3], in ether_ntoa_r()
43 addr->ether_addr_octet[4], addr->ether_addr_octet[5]); in ether_ntoa_r()
51 ether_ntoa (const struct ether_addr *addr) in ether_ntoa() argument
54 return ether_ntoa_r(addr, buf); in ether_ntoa()
Dether_aton.c53 ether_aton_r (const char *asc, struct ether_addr * addr) in ether_aton_r() argument
67 addr->ether_addr_octet[i] = (u_int8_t)((val0 << 4) + val1); in ether_aton_r()
77 return addr; in ether_aton_r()
87 static struct ether_addr addr; in ether_aton() local
88 return ether_aton_r(asc, &addr); in ether_aton()
/bionic/libc/kernel/arch-arm/asm/
Dmc146818rtc.h29 #define CMOS_READ(addr) ({ outb_p((addr),RTC_PORT(0)); inb_p(RTC_PORT(1)); }) argument
30 #define CMOS_WRITE(val, addr) ({ outb_p((addr),RTC_PORT(0)); outb_p((val),RTC_PORT(1)); }) argument
Dmemory.h82 #define PHYS_TO_NID(addr) (0) argument
87 #define dma_to_virt(dev, addr) ((void *)__bus_to_virt(addr)) argument
89 #define virt_to_dma(dev, addr) ((dma_addr_t)__virt_to_bus((unsigned long)(addr))) argument
92 #define dma_to_virt(dev, addr) (__arch_dma_to_virt(dev, addr)) argument
94 #define virt_to_dma(dev, addr) (__arch_virt_to_dma(dev, addr)) argument
Ddma.h40 #define set_dma_addr(channel, addr) __set_dma_addr(channel, bus_to_virt(addr)) argument
Duaccess.h40 #define __addr_ok(addr) (1) argument
41 #define __range_ok(addr,size) (0) argument
46 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) argument
51addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n"… argument
59addr,err) __asm__ __volatile__( "1: ldrt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" … argument
85 #define __clear_user(addr,n) (memset((void __force *)addr, 0, n), 0) argument
/bionic/libc/kernel/arch-x86/asm/
Dtlbflush_32.h26 #define __flush_tlb_single(addr) __native_flush_tlb_single(addr) argument
30 #define __native_flush_tlb_single(addr) __asm__ __volatile__("invlpg (%0)" ::"r" (addr) : "memory… argument
34 #define __flush_tlb_one(addr) do { if (cpu_has_invlpg) __flush_tlb_single(addr); else __f… argument
Dbitops_32.h27 #define ADDR (*(volatile long *) addr)
31 #define test_bit(nr,addr) (__builtin_constant_p(nr) ? constant_test_bit((nr),(addr)) : variabl… argument
Dmc146818rtc_32.h46 #define CMOS_READ(addr) rtc_cmos_read(addr) argument
47 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) argument
Duaccess_32.h39 #define __addr_ok(addr) ((unsigned long __force)(addr) < (current_thread_info()->addr_limit.seg)) argument
40addr,size) ({ unsigned long flag,roksum; __chk_user_ptr(addr); asm("addl %3,%1 ; sbbl %0,%0;… argument
41 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) argument
61addr, err) __asm__ __volatile__( "1: movl %%eax,0(%2)\n" "2: movl %%edx,4(%2)\n" "3:\n" … argument
66addr, err, itype, rtype, ltype, errret) __asm__ __volatile__( "1: mov"itype" %"rtype"1,%2\n" … argument
70addr, err, itype, rtype, ltype, errret) __asm__ __volatile__( "1: mov"itype" %2,%"rtype"1\n" … argument
Datomic_32.h36 #define atomic_clear_mask(mask, addr) __asm__ __volatile__(LOCK_PREFIX "andl %0,%1" : : "r" (~(ma… argument
37 #define atomic_set_mask(mask, addr) __asm__ __volatile__(LOCK_PREFIX "orl %0,%1" : : "r" (mask),"… argument
Dpgtable-2level.h25 #define set_pte_at(mm,addr,ptep,pteval) native_set_pte_at(mm, addr, ptep, pteval) argument
29 #define set_pte_present(mm,addr,ptep,pteval) set_pte_at(mm,addr,ptep,pteval) argument
30 #define pte_clear(mm,addr,xp) do { set_pte_at(mm, addr, xp, __pte(0)); } while (0) argument
/bionic/libc/kernel/common/linux/
Dvt_buffer.h22 #define scr_writew(val, addr) (*(addr) = (val)) argument
24 #define scr_readw(addr) (*(addr)) argument
Dmsm_hw3d.h31 #define HW3D_REGION_ID(addr) (((uint32_t)(addr) >> 28) & 0xf) argument
32 #define HW3D_OFFSET_IN_REGION(addr) ((uint32_t)(addr) & ~(0xfUL << 28)) argument
Dpagemap.h36 #define PAGE_CACHE_ALIGN(addr) (((addr)+PAGE_CACHE_SIZE-1)&PAGE_CACHE_MASK) argument
Dif_pppol2tp.h26 struct sockaddr_in addr; member
35 struct sockaddr_in addr; member
/bionic/libc/bionic/
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/linker/
Ddebugger.c74 struct sockaddr_un addr; in socket_abstract_client() local
82 if ((namelen + 1) > sizeof(addr.sun_path)) { in socket_abstract_client()
93 memset (&addr, 0, sizeof addr); in socket_abstract_client()
94 addr.sun_family = AF_LOCAL; in socket_abstract_client()
95 addr.sun_path[0] = 0; in socket_abstract_client()
96 memcpy(addr.sun_path + 1, name, namelen); in socket_abstract_client()
103 RETRY_ON_EINTR(err,connect(s, (struct sockaddr *) &addr, alen)); in socket_abstract_client()
/bionic/libc/kernel/common/asm-generic/
Dpgtable.h84 #define pgd_offset_gate(mm, addr) pgd_offset(mm, addr) argument
94 #define pgd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; … argument
96 #define pud_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PUD_SIZE) & PUD_MASK; (_… argument
100 #define pmd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PMD_SIZE) & PMD_MASK; (_… argument
/bionic/libc/kernel/arch-mips/asm/
Dio.h65 #define __IS_LOW512(addr) (!((phys_t)(addr) & (phys_t) ~0x1fffffffULL)) argument
74 #define __IS_KSEG1(addr) (((unsigned long)(addr) & ~0x1fffffffUL) == CKSEG1) argument
92addr, unsigned int count) { const volatile type *__addr = addr; while (count--) { __mem_w…
94addr, unsigned int count) { const volatile type *__addr = addr; while (count--) { __mem…
/bionic/libc/unistd/
Dmmap.c35 void* mmap(void *addr, size_t size, int prot, int flags, int fd, long offset) in mmap() argument
44 ret = __mmap2(addr, size, prot, flags, fd, (size_t)offset >> MMAP2_SHIFT); in mmap()
/bionic/libc/kernel/arch-mips/asm/sn/sn0/
Daddrs.h50 #define BWIN_WIDGETADDR(addr) ((addr) & BWIN_SIZEMASK) argument
51 #define BWIN_WINDOWNUM(addr) (((addr) >> BWIN_SIZE_BITS) & BWIN_WIDGET_MASK) argument
52 #define NODE_BWIN_ADDR(nasid, addr) (((addr) >= NODE_BWIN_BASE0(nasid)) && ((addr) < (NODE_BWIN… 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);

1234