Searched refs:zfree (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/audio/include/
H A Dzmalloc.h39 EXTERN_FUNCTION(void zfree, (void *));
/illumos-gate/usr/src/boot/lib/libstand/
H A Dzalloc_protos.h33 Library void zfree(struct MemPool *mpool, void *ptr, uintptr_t bytes);
H A Dzalloc_malloc.c71 zfree(&MallocPool, base, incr);
118 zfree(&MallocPool, res, bytes);
H A Dzalloc.c144 * zfree() - free previously allocated memory
148 zfree(MemPool *mp, void *ptr, uintptr_t bytes) function
166 panic("zfree(%p,%ju): wild pointer", ptr, (uintmax_t)bytes);
190 panic("zfree(%p,%ju): corrupt memlist1", ptr,
223 panic("zfree(%p,%ju): corrupt memlist2", ptr,
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dexample.c73 static free_func zfree = myfree; variable
78 static free_func zfree = (free_func)0; variable
209 c_stream.zfree = zfree;
248 d_stream.zfree = zfree;
287 c_stream.zfree = zfree;
344 d_stream.zfree = zfree;
[all...]
H A Dinfcover.c34 zalloc, zfree, and opaque members of strm to use
172 strm->zfree = mem_free;
233 strm->zfree = Z_NULL;
/illumos-gate/usr/src/boot/lib/libz/
H A Duncompr.c43 stream.zfree = (free_func)0;
H A Dcompress.c43 stream.zfree = (free_func)0;
H A Dinfback.c22 strm provides memory allocation functions in zalloc and zfree, or
52 if (strm->zfree == (free_func)0)
56 strm->zfree = zcfree;
634 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
H A Dzutil.h246 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
H A Dinflate.c202 if (strm->zfree == (free_func)0)
206 strm->zfree = zcfree;
1258 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1449 source->zalloc == (alloc_func)0 || source->zfree == (free_func)0)
H A Dgzread.c111 state->strm.zfree = Z_NULL;
H A Dzlib.h98 free_func zfree; /* used to free the internal state */ member in struct:z_stream_s
99 voidpf opaque; /* private data object passed to zalloc and zfree */
134 to zero. The application must initialize zalloc, zfree and opaque before
139 parameter for calls of zalloc and zfree. This can be useful for custom
144 If zlib is used in a multi-threaded application, zalloc and zfree must be
147 On 16-bit systems, the functions zalloc and zfree must be able to allocate
208 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
227 zalloc, zfree and opaque must be initialized before by the caller. If
228 zalloc and zfree are set to Z_NULL, deflateInit updates them to use default
371 next_in, avail_in, zalloc, zfree an
[all...]
H A Ddeflate.c248 if (strm->zfree == (free_func)0)
252 strm->zfree = zcfree;
398 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) {
403 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dzmalloc.c31 * zfree - use munmap(2) to unmap (free) memory.
129 zfree(void* mbuf) function
139 perror("zfree: munmap");
H A DAudioBuffer.cc92 "%d: AudioBuffer::alloc - zfree mmapped buffer\n",
94 (void) zfree((char *)bufaddr);
161 "%d: AudioBuffer::alloc - zfree old buffer\n",
163 (void) zfree((char *)tmpbuf);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.h172 free_func zfree; /* used to free the internal state */ member in struct:z_stream_s
173 voidp opaque; /* private data object passed to zalloc and zfree */
182 has dropped to zero. The application must initialize zalloc, zfree and
187 parameter for calls of zalloc and zfree. This can be useful for custom
192 On 16-bit systems, the functions zalloc and zfree must be able to allocate
241 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
254 zalloc, zfree and opaque must be initialized before by the caller.
255 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
362 zalloc and zfree must be initialized before by the caller. If zalloc and
363 zfree ar
[all...]
H A Ddeflate.c153 state->strm.zfree = (free_func) z_free;
/illumos-gate/usr/src/common/fs/
H A Ddecompress.c157 zsp->zfree = cf_free;
/illumos-gate/usr/src/uts/common/zmod/
H A Dzutil.h271 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
H A Dinflate.c168 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
1186 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1361 source->zalloc == (alloc_func)0 || source->zfree == (free_func)0)
H A Dzlib.h97 free_func zfree; /* used to free the internal state */ member in struct:z_stream_s
98 voidpf opaque; /* private data object passed to zalloc and zfree */
133 has dropped to zero. The application must initialize zalloc, zfree and
138 parameter for calls of zalloc and zfree. This can be useful for custom
143 If zlib is used in a multi-threaded application, zalloc and zfree must be
146 On 16-bit systems, the functions zalloc and zfree must be able to allocate
207 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
225 zalloc, zfree and opaque must be initialized before by the caller.
226 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
348 next_in, avail_in, zalloc, zfree an
[all...]
H A Ddeflate.c253 if (strm->zfree == (free_func)0) strm->zfree = zcfree;
369 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) {
374 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.h417 free_func zfree; /* used to free the internal state */ member in struct:z_stream_s
418 /* private data object passed to zalloc and zfree */
433 * zalloc, zfree and opaque before calling the init function. All
438 * first parameter for calls of zalloc and zfree. This can be useful
443 * object. On 16-bit systems, the functions zalloc and zfree must be
504 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
524 * fields zalloc, zfree and opaque must be initialized before by
525 * the caller. If zalloc and zfree are set to Z_NULL, deflateInit
647 * zalloc, zfree and opaque must be initialized before by the caller.
648 * If zalloc and zfree ar
[all...]
H A Ddeflate.c221 state->strm.zfree = (free_func)z_free;
675 state->strm.zfree = (free_func)z_free;

Completed in 127 milliseconds

12