/third_party/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()
|
/third_party/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 …]
|
/third_party/ltp/testcases/kernel/syscalls/sbrk/ |
D | sbrk03.c | 49 tst_res(TINFO, "sbrk increm: %p", sbrk(0x10000000)); in sbrk_test() 50 ret1 = sbrk(0); in sbrk_test() 53 tst_res(TINFO, "sbrk increm: %p", sbrk(0x70000000)); in sbrk_test() 54 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()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | sbrk.c | 29 int *p = sbrk(0); in sbrk_0100() 46 int *p = sbrk(1); in sbrk_0200()
|
D | brk.c | 22 return sbrk(0); in get_brk()
|
D | test_src_functionalext_supplement_linux.gni | 30 "sbrk",
|
/third_party/ltp/testcases/kernel/syscalls/brk/ |
D | brk01.c | 19 cur_brk = (uintptr_t)sbrk(0); in verify_brk() 38 cur_brk = (uintptr_t)sbrk(0); in verify_brk()
|
D | brk02.c | 20 void *brk_addr = sbrk(0); in brk_down_vmas()
|
/third_party/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 542 if (sbrk(BRKSZ) == (void *) - 1) { in test5() 561 if (sbrk(-BRKSZ) == (void *) - 1) { in test5() 593 if (sbrk(BRKSZ) == (void *) - 1) { in test6() 621 if (sbrk(-BRKSZ) == (void *) - 1) { in test6()
|
/third_party/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()
|
/third_party/musl/src/linux/ |
D | sbrk.c | 7 void *sbrk(intptr_t inc) in sbrk() function
|
/third_party/ltp/testcases/kernel/syscalls/setgroups/ |
D | setgroups04.c | 108 TEST(SETGROUPS(cleanup, gidsetsize, sbrk(0))); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ |
D | Makefile | 15 mincore mprotect nftw profil remap_file_pages sbrk
|
/third_party/ltp/testcases/kernel/syscalls/modify_ldt/ |
D | modify_ldt01.c | 162 ptr = sbrk(0); in main()
|
/third_party/ltp/testcases/kernel/syscalls/msync/ |
D | msync03.c | 134 addr4 = sbrk(0) + (4 * page_sz); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind01.c | 168 TEST(mbind(p, MEM_LENGTH, tc->policy, sbrk(0) + 64*1024*1024, in test_invalid_nodemask()
|
/third_party/musl/ndk_musl_include/ |
D | unistd.h | 153 void *sbrk(intptr_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
D | unistd.h | 183 void *sbrk(intptr_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | unistd.h | 158 void *sbrk(intptr_t);
|