Home
last modified time | relevance | path

Searched refs:sbrk (Results 1 – 25 of 48) sorted by relevance

12

/titanic_41/usr/src/lib/libbsdmalloc/common/
H A Dmalloc.bsd43.c110 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 Damt.c249 (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 Dwideload.c48 foo = (char *)sbrk(0); in main()
51 bar = (char *)sbrk(0); in main()
H A Dfailwide.c49 foo = (char *)sbrk(0); in main()
52 bar = (char *)sbrk(0); in main()
/titanic_41/usr/src/lib/libc/port/sys/
H A Dsbrk.c29 #pragma weak _sbrk = sbrk
62 sbrk(intptr_t addend) in sbrk() function
/titanic_41/usr/src/lib/libast/common/features/
H A Dvmalloc19 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 Dmalloc.c78 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 Dsbrk.s44 ENTRY(sbrk)
71 SET_SIZE(sbrk)
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dplock.c53 extern caddr_t sbrk(); /* find end of data segment */
91 l = (u_int)(sbrk(0) - a); in apply_lock()
H A Dmalloc.c55 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 Dsetbrk.c44 register unsigned char *a = (unsigned char *)sbrk(incr);
/titanic_41/usr/src/lib/libmalloc/common/
H A Dmalloc.c513 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 Dmtmalloc.c822 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 Dvmhdr.h51 #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 DMakefile234 sbrk.2 \
280 sbrk.2 := LINKSRC = brk.2
/titanic_41/usr/src/cmd/csh/
H A Dsh.misc.c497 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 Dvmalloc21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dvmalloc21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dvmalloc21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dvmalloc21 #define _mem_sbrk 1 /* brk()/sbrk() work as expected */
/titanic_41/usr/src/lib/watchmalloc/common/
H A Dmallint.h134 #define GETCORE sbrk
/titanic_41/usr/src/common/mapfiles/common/
H A Dmap.noexbss29 # As the bss segment is extended by sbrk(2) to enlarge the heap, a
/titanic_41/usr/src/cmd/troff/
H A Dn3.c692 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 Dmallint.h164 #define GETCORE sbrk
/titanic_41/usr/src/ucbcmd/sbcp/
H A Dsyscalls.list93 sbrk SIMPLE /* 69 = 1, sbrk */

12