Searched refs:alloc_buf (Results 1 - 6 of 6) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libmalloc/common/
H A Dmalloc.c201 void *alloc_buf; local
220 alloc_buf = malloc_unlocked(alloc_size, 1);
223 if (alloc_buf == NULL)
225 fr = (uintptr_t)alloc_buf;
229 if (fr == (uintptr_t)alloc_buf)
230 return (alloc_buf);
232 if ((fr - (uintptr_t)alloc_buf) <= HEADSZ) {
239 free(alloc_buf);
246 alloc_buf = malloc_unlocked(alloc_size, 1);
249 if (alloc_buf
[all...]
/opensolaris-onvv-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c452 void *alloc_buf; local
472 alloc_buf = malloc(alloc_size);
474 if (alloc_buf == NULL)
488 if ((offset = (uintptr_t)alloc_buf & (alignment - 1)) == 0) {
502 taddr = ALIGN((uintptr_t)alloc_buf + size,
504 data_size = taddr - (uintptr_t)alloc_buf;
505 orig = (oversize_t *)((uintptr_t)alloc_buf -
513 ret_buf = alloc_buf;
526 ret_addr = ((uintptr_t)alloc_buf + shift);
530 MEMALIGN_HEADER_ALLOC(ret_addr, shift, alloc_buf);
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_dev.h59 int (*alloc_buf)(); /* Allocate buffer */ member in struct:nsc_io_s
H A Dnsc_cache.c46 "AllocBuf", (uintptr_t)nsc_ioerr, _I(alloc_buf),
130 rc = (*io->alloc_buf)(NSC_ANON_CD, pos, len,
177 fn = fd->sf_aio->alloc_buf;
H A Dnsc_disk.c89 if ((io->alloc_buf != nsc_ioerr && io->free_buf != nsc_fatal) ||
102 io->free_h != nsc_fatal || io->alloc_buf != nsc_ioerr ||
116 io->alloc_buf = _nsc_alloc_dbuf;
/opensolaris-onvv-gate/usr/src/uts/common/inet/
H A Dmi.c969 char *alloc_buf = buf; local
987 !(alloc_buf = mi_alloc((uint_t)count + 2, BPRI_MED))) {
994 cp = alloc_buf;
999 alloc_buf[0] = '\0';
1002 ret = strlog(mid, sid, level, flags, alloc_buf);
1003 if (alloc_buf != buf)
1004 mi_free(alloc_buf);

Completed in 171 milliseconds