/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress03.c | 75 if ((brk_start = sbrk(0)) == NEG1) { in main() 80 if (sbrk(pagesize - ((u_long) brk_start % (u_long) pagesize)) in main() 88 if ((hole_addr = hole_start = sbrk(NUM_SEGS * 2 * pagesize)) == NEG1) { in main() 92 if ((brk_max_addr = sbrk(0)) == NEG1) { in main() 107 if (brk_max_addr != sbrk(0)) { in main() 114 if (sbrk(-NUM_SEGS * pagesize) == NEG1) { in main() 118 if ((brk_max_addr = sbrk(0)) == NEG1) { in main() 138 if (sbrk(pagesize) == NEG1 || sbrk(-pagesize) == NEG1) { in main() 182 if (sbrk(pagesize) == NEG1) { in do_test() 186 if (sbrk(-pagesize) == NEG1) { in do_test() [all …]
|
D | mmapstress06.c | 79 if (sbrk(pagesize - ((ulong) sbrk(0) & (pagesize - 1))) == (char *)-1) { in main() 83 if ((mmapaddr = sbrk(0)) == (char *)-1) { in main()
|
D | mmapstress05.c | 121 if (sbrk(pagesize - ((ulong) sbrk(0) & (pagesize - 1))) == (char *)-1) { in main() 125 if ((buf = sbrk(pagesize)) == (char *)-1) { in main() 129 if ((mmapaddr = (caddr_t) sbrk(0)) == (caddr_t) - 1) { in main()
|
D | mmapstress08.c | 71 if (sbrk(pagesize - ((u_long) sbrk(0) % (u_long) pagesize)) == in main() 79 if ((munmap_begin = mmapaddr = (caddr_t) sbrk(0)) == (caddr_t) - 1) { in main()
|
D | mmapstress02.c | 111 if (sbrk(2 * pagesize - ((ulong) sbrk(0) & (pagesize - 1))) == in main() 116 if ((mmapaddr = sbrk(0)) == (caddr_t) - 1) { in main()
|
/external/ltp/testcases/kernel/mem/shmt/ |
D | shmt09.c | 82 if ((unsigned long)sbrk(16384) >= (-4095UL)) { in main() 88 if ((unsigned long)sbrk(-4097) >= (-4095UL)) { in main() 116 if ((unsigned long)sbrk(32 * K_1) >= (-4095UL)) { in main() 122 vp = (void *)((char *)sbrk(0) - 2 * K_1); in main() 136 if ((unsigned long)sbrk(-16000) >= (-4095UL)) { in main() 143 vp = (void *)((char *)sbrk(0) + 256 * K_1); in main() 145 vp = (void *)((char *)sbrk(0) + getpagesize()); in main() 148 vp = (void *)SHMALIGN((char *)sbrk(0) + 1); in main() 165 while ((vp = sbrk(INCREMENT)) != (void *)-1) ; in main() 172 if ((vp = sbrk(INCREMENT)) != (void *)-1) { in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/sbrk/ |
D | sbrk03.c | 60 tst_res(TINFO, "sbrk increm: %p", sbrk(0x10000000)); in sbrk_test() 61 ret1 = sbrk(0); in sbrk_test() 64 tst_res(TINFO, "sbrk increm: %p", sbrk(0x70000000)); in sbrk_test() 65 ret2 = sbrk(0); in sbrk_test()
|
D | sbrk02.c | 66 ret = sbrk(increment); in setup() 70 increment, ret, sbrk(0)); in setup() 79 tret = sbrk(increment); in sbrk_verify()
|
D | sbrk01.c | 97 tret = sbrk(test->increment); in sbrk_verify()
|
/external/ltp/testcases/kernel/syscalls/brk/ |
D | brk01.c | 31 cur_brk = (uintptr_t)sbrk(0); in verify_brk() 53 cur_brk = (uintptr_t)sbrk(0); in verify_brk()
|
/external/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 524 if (sbrk(BRKSZ) == (void *) - 1) { in test5() 543 if (sbrk(-BRKSZ) == (void *) - 1) { in test5() 575 if (sbrk(BRKSZ) == (void *) - 1) { in test6() 603 if (sbrk(-BRKSZ) == (void *) - 1) { in test6()
|
/external/e2fsprogs/e2fsck/ |
D | scantest.c | 57 track->brk_start = sbrk(0); in init_resource_track() 80 (int) (((char *) sbrk(0)) - ((char *) track->brk_start)), in print_resource_track()
|
/external/autotest/client/tests/memory_api/ |
D | memory_api.c | 50 mem = sbrk(memsize); in main() 62 sbrk(-(memsize)); in main()
|
/external/e2fsprogs/resize/ |
D | resource_track.c | 30 track->brk_start = sbrk(0); in init_resource_track() 88 (unsigned long) (((char *) sbrk(0)) - in print_resource_track()
|
/external/u-boot/common/ |
D | dlmalloc.src | 191 Define this on MS win (95, nt) platforms to compile in sbrk emulation. 196 MORECORE (default: sbrk) 202 holds for sbrk). 208 controlling interaction with host system routines (sbrk, mmap, etc). 319 WIN32 causes an emulation of sbrk to be compiled in 333 Microsoft Visual C++ data structures and routines used in the 'sbrk' 632 Because trimming via sbrk can be slow on some systems, and can 664 sbrk, mmap, and munmap otherwise degrade performance, the default 683 retain whenever sbrk is called. It is used in two ways internally: 685 * When sbrk is called to extend the top of the arena to satisfy [all …]
|
/external/u-boot/include/ |
D | malloc.h | 831 extern Void_t* sbrk(ptrdiff_t); 833 extern Void_t* sbrk(); 837 #define MORECORE sbrk
|
/external/ltp/lib/ |
D | parse_opts.c | 458 STD_start_break = sbrk(0); /* get original sbreak size */ in usc_global_setup_hook() 461 sbrk(STD_TP_sbrk); in usc_global_setup_hook() 545 sbrk(STD_LP_sbrk); in usc_test_looping()
|
/external/ltp/testcases/kernel/syscalls/setgroups/ |
D | setgroups04.c | 108 TEST(SETGROUPS(cleanup, gidsetsize, sbrk(0))); in main()
|
/external/ltp/testcases/kernel/syscalls/ |
D | Makefile | 29 mincore mprotect nftw profil remap_file_pages sbrk
|
/external/tensorflow/tensorflow/lite/experimental/micro/tools/make/targets/apollo3evb/ |
D | apollo3evb.ld | 71 /* Add this to satisfy reference to symbol 'end' from libnosys.a(sbrk.o)
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat05.c | 140 ptr_str = (void *)sbrk(0) + (4 * getpagesize()); in main()
|
/external/ltp/testcases/kernel/syscalls/msync/ |
D | msync03.c | 134 addr4 = sbrk(0) + (4 * page_sz); in setup()
|
/external/libchrome/base/ |
D | security_unittest.cc | 139 void* brk_heap_address = sbrk(0); in TEST()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | posix_timers.c | 37 void *addr = sbrk(0); in kernel_loop()
|
/external/ltp/testcases/kernel/syscalls/modify_ldt/ |
D | modify_ldt01.c | 186 ptr = sbrk(0); in main()
|