Home
last modified time | relevance | path

Searched refs:startaddr (Results 1 – 18 of 18) sorted by relevance

/external/valgrind/main/coregrind/
Dm_libcproc.c728 Addr startaddr = (Addr) ptr; in VG_() local
729 Addr endaddr = startaddr + nbytes; in VG_()
743 startaddr &= ~(cls - 1); in VG_()
744 for (addr = startaddr; addr < endaddr; addr += cls) { in VG_()
748 for (addr = startaddr; addr < endaddr; addr += cls) { in VG_()
764 Addr startaddr = (Addr) ptr; in VG_()
765 Addr endaddr = startaddr + nbytes; in VG_()
766 VG_(do_syscall2)(__NR_ARM_cacheflush, startaddr, endaddr); in VG_()
/external/quake/quake/src/QW/client/
Dsys_linux.c410 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
417 addr = (startaddr & ~(psize-1)) - psize; in Sys_MakeCodeWriteable()
422 r = mprotect((char*)addr, length + startaddr - addr + psize, 7); in Sys_MakeCodeWriteable()
Dsys.h42 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length);
Dsys_null.c53 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
Dsys_win.c140 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
145 if (!VirtualProtect((LPVOID)startaddr, length, PAGE_READWRITE, &flOldProtect)) in Sys_MakeCodeWriteable()
/external/quake/quake/src/WinQuake/
Dsys_sun.cpp201 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
208 addr = (startaddr & ~(psize-1)) - psize; in Sys_MakeCodeWriteable()
213 r = mprotect((char*)addr, length + startaddr - addr + psize, 7); in Sys_MakeCodeWriteable()
Dsys_linux.cpp439 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
446 addr = (startaddr & ~(psize-1)) - psize; in Sys_MakeCodeWriteable()
451 r = mprotect((char*)addr, length + startaddr - addr + psize, 7); in Sys_MakeCodeWriteable()
Dsys.h42 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length);
Dsys_null.cpp147 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
Dsys_wind.cpp151 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
Dsys_win.cpp264 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
268 if (!VirtualProtect((LPVOID)startaddr, length, PAGE_READWRITE, &flOldProtect)) in Sys_MakeCodeWriteable()
Dsys_dos.cpp678 void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) in Sys_MakeCodeWriteable() argument
/external/valgrind/main/VEX/switchback/
Dswitchback.c231 unsigned long startaddr = (unsigned long) ptr; in invalidate_icache() local
232 unsigned long endaddr = startaddr + nbytes; in invalidate_icache()
236 startaddr &= ~(cls - 1); in invalidate_icache()
237 for (addr = startaddr; addr < endaddr; addr += cls) in invalidate_icache()
240 for (addr = startaddr; addr < endaddr; addr += cls) in invalidate_icache()
Dlinker.c484 unsigned long startaddr = (unsigned long) ptr;
485 unsigned long endaddr = startaddr + nbytes;
489 startaddr &= ~(cls - 1);
490 for (addr = startaddr; addr < endaddr; addr += cls)
493 for (addr = startaddr; addr < endaddr; addr += cls)
/external/qemu/
Dexec.c265 long long startaddr, endaddr; in page_init() local
274 n = fscanf (f, "%llx-%llx %*[^\n]\n", &startaddr, &endaddr); in page_init()
276 startaddr = MIN(startaddr, in page_init()
280 page_set_flags(startaddr & TARGET_PAGE_MASK, in page_init()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadpdb.c1619 Addr startaddr = bias + sectp[segno-1].VirtualAddress in DEBUG_SnarfLinetab() local
1629 startaddr, endaddr ); in DEBUG_SnarfLinetab()
1631 di, fnmstr, dirstr, startaddr, endaddr, in DEBUG_SnarfLinetab()
/external/valgrind/main/none/tests/ppc32/
Djm-insns.c4723 HWord_t startaddr = (HWord_t) ptr; in invalidate_icache() local
4724 HWord_t endaddr = startaddr + nbytes; in invalidate_icache()
4728 startaddr &= ~(cls - 1); in invalidate_icache()
4729 for (addr = startaddr; addr < endaddr; addr += cls) in invalidate_icache()
4732 for (addr = startaddr; addr < endaddr; addr += cls) in invalidate_icache()
/external/valgrind/main/none/tests/ppc64/
Djm-insns.c4723 HWord_t startaddr = (HWord_t) ptr; in invalidate_icache() local
4724 HWord_t endaddr = startaddr + nbytes; in invalidate_icache()
4728 startaddr &= ~(cls - 1); in invalidate_icache()
4729 for (addr = startaddr; addr < endaddr; addr += cls) in invalidate_icache()
4732 for (addr = startaddr; addr < endaddr; addr += cls) in invalidate_icache()