/titanic_41/usr/src/lib/libbsdmalloc/common/ |
H A D | malloc.bsd43.c | 110 op = sbrk(0); in malloc() 115 if (sbrk(n) == (void *)-1) in malloc() 124 op = sbrk(0); in malloc() 201 op = sbrk(0); in morecore() 204 if (sbrk(delta) == (void *)-1) { in morecore() 205 if (op != sbrk(0)) in morecore() 206 (void) sbrk(-LONG_MAX); in morecore() 214 op = sbrk(amt); in morecore()
|
/titanic_41/usr/src/cmd/amt/ |
H A D | amt.c | 249 (void) sbrk(PAGESIZE); in probe_data_area() 250 address = sbrk(0); in probe_data_area() 407 hole_start = (caddr_t)sbrk(0); in memory_allocation_not_shared() 426 address = sbrk(0); in memory_allocation_not_shared() 438 address = sbrk(0); in memory_allocation_not_shared() 466 hole_after = sbrk(0); in memory_allocation_not_shared() 665 address = sbrk(0); /* current end data + 1 */ in probe_hole()
|
/titanic_41/usr/src/lib/libmtmalloc/tests/ |
H A D | wideload.c | 48 foo = (char *)sbrk(0); in main() 51 bar = (char *)sbrk(0); in main()
|
H A D | failwide.c | 49 foo = (char *)sbrk(0); in main() 52 bar = (char *)sbrk(0); in main()
|
/titanic_41/usr/src/lib/libc/port/sys/ |
H A D | sbrk.c | 29 #pragma weak _sbrk = sbrk 62 sbrk(intptr_t addend) in sbrk() function
|
/titanic_41/usr/src/lib/libast/common/features/ |
H A D | vmalloc | 19 tst mem_sbrk note{ brk()/sbrk() work as expected }end execute{ 28 if(!(brk0 = (uchar*)sbrk(0)) || brk0 == (uchar*)(-1)) 33 if((brk1 = (uchar*)sbrk(0)) != brk0) 40 if((brk0 = (uchar*)sbrk(0)) != brk1)
|
/titanic_41/usr/src/cmd/spell/ |
H A D | malloc.c | 78 extern char *sbrk(); 116 p = (union store *)sbrk(0); 123 q = (union store *)sbrk(temp*WORD);
|
/titanic_41/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | sbrk.s | 44 ENTRY(sbrk) 71 SET_SIZE(sbrk)
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | plock.c | 53 extern caddr_t sbrk(); /* find end of data segment */ 91 l = (u_int)(sbrk(0) - a); in apply_lock()
|
H A D | malloc.c | 55 extern char *sbrk(); 1128 p = (Dblk) sbrk((int)nbytes); in morecore() 1170 blk = (Dblk) sbrk(size); in getfreehdr() 1367 ub = (uint)sbrk(0); in malloc_verify()
|
/titanic_41/usr/src/cmd/sh/ |
H A D | setbrk.c | 44 register unsigned char *a = (unsigned char *)sbrk(incr);
|
/titanic_41/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 513 if ((newblk = (struct header *)sbrk(0)) != in malloc_unlocked() 1078 ret = sbrk(0); in morecore() 1081 if (sbrk(wad) == (void *)-1) { in morecore() 1082 if (ret != sbrk(0)) in morecore() 1083 (void) sbrk(-LONG_MAX); in morecore() 1090 ret = sbrk(bytes); in morecore()
|
/titanic_41/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 822 oldbrk = (uintptr_t)sbrk(0); in setup_caches() 834 if (newbrk != oldbrk && (uintptr_t)sbrk(newbrk - oldbrk) != oldbrk) in setup_caches() 842 new_cpu_list = (percpu_t *)sbrk(cache_space_needed); in setup_caches() 857 if (padding > 0 && (uintptr_t)sbrk(padding) != newbrk) in setup_caches() 1177 ret = sbrk(0); in morecore() 1180 if (sbrk(wad) == (void *)-1) { in morecore() 1181 if (ret != sbrk(0)) in morecore() 1182 (void) sbrk(-LONG_MAX); in morecore() 1189 ret = sbrk(bytes); in morecore()
|
/titanic_41/usr/src/lib/libast/common/vmalloc/ |
H A D | vmhdr.h | 51 #define sbrk ______sbrk macro 62 #undef sbrk 522 extern Void_t* sbrk _ARG_(( ssize_t )); 533 extern Void_t* sbrk _ARG_((ssize_t));
|
/titanic_41/usr/src/man/man2/ |
H A D | Makefile | 234 sbrk.2 \ 280 sbrk.2 := LINKSRC = brk.2
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.misc.c | 497 xalloc_bottom = sbrk(0); in xrealloc() 523 xalloc_bottom = sbrk(0); in xfree()
|
/titanic_41/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/ |
H A D | vmalloc | 21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
|
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/FEATURE/ |
H A D | vmalloc | 21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
|
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/ |
H A D | vmalloc | 21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
|
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/ |
H A D | vmalloc | 21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
|
/titanic_41/usr/src/lib/watchmalloc/common/ |
H A D | mallint.h | 134 #define GETCORE sbrk
|
/titanic_41/usr/src/common/mapfiles/common/ |
H A D | map.noexbss | 29 # As the bss segment is extended by sbrk(2) to enlarge the heap, a
|
/titanic_41/usr/src/cmd/troff/ |
H A D | n3.c | 692 char *sbrk(); 694 if ((i = sbrk(x)) == (char *) -1) { 700 if ((k = sbrk(j)) == (char *) -1) {
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | mallint.h | 164 #define GETCORE sbrk
|
/titanic_41/usr/src/ucbcmd/sbcp/ |
H A D | syscalls.list | 93 sbrk SIMPLE /* 69 = 1, sbrk */
|