Home
last modified time | relevance | path

Searched refs:ZALLOC (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat_utils.h37 #define ZALLOC(nbytes) Zalloc((nbytes)) macro
40 #define NEW0(p) ((p) = ZALLOC((long)sizeof (*(p))))
H A Dsa_kstat.c153 dst->ks_data = ZALLOC(src->ks_data_size); in kstat_clone()
291 sdp->sd_udata = ZALLOC(sizeof (pset_ud_t)); in update_cpu_list()
H A Dpoolstat.c205 pset_sbag_s.bag = ZALLOC(sizeof (pset_statistic_bag_t)); in main()
644 line = ZALLOC(len); in prt_stat_line()
697 line = ZALLOC(len); in prt_stat_hd()
933 pools = ZALLOC(sizeof (pool_t *) * (i + 1)); in prt_pool_stats()
/illumos-gate/usr/src/contrib/zlib/
H A Ddeflate.c300 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
317 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
318 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
319 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
364 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4);
1162 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1168 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1169 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1170 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1171 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, 4);
H A Dzutil.h263 #define ZALLOC(strm, items, size) \ macro
H A Dinflate.c217 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_()
392 ZALLOC(strm, 1U << state->wbits, in updatewindow()
1476 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy()
1481 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); in inflateCopy()
H A Dinfback.c54 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_()
H A DChangeLog1206 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new()
1207 . ZALLOC the length list in inflate_trees_fixed() instead of using stack
1208 . ZALLOC the value area for huft_build() instead of using stack
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c266 #define ZALLOC(strm, items, size) \ macro
900 s = (deflate_state *) ZALLOC(strm, 1, sizeof (deflate_state));
916 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof (Byte));
917 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof (Pos));
1329 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof (Pos));
3686 ZALLOC(z, 1, sizeof (struct internal_state))) == Z_NULL)
4326 if ((s = (inflate_blocks_statef *)ZALLOC
4334 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
4467 if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t,
5181 if ((c = (uIntf*)ZALLOC(z, 288, sizeof (uInt))) == Z_NULL)
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c126 #define ZALLOC(strm, items, size) \ macro
618 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
633 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
634 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
635 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
639 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 2*sizeof(ush));
2812 ZALLOC(z,1,sizeof(struct internal_state))) == Z_NULL)
3247 if ((s = (inflate_blocks_statef *)ZALLOC
3250 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
3837 if ((q = (inflate_huft *)ZALLOC
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c804 #define ZALLOC(strm, items, size) \ macro
2389 ZALLOC(strm, 1, sizeof(struct inflate_state));
2554 ZALLOC(strm, ((unsigned int)1) << state->wbits,
3561 ZALLOC(source, 1, sizeof(struct inflate_state));
3566 ZALLOC(source, ((unsigned int)1) << state->wbits, sizeof(unsigned char));