Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/pools/poolstat/
H A Dpoolstat_utils.h39 #define ZALLOC(nbytes) Zalloc((nbytes)) macro
42 #define NEW0(p) ((p) = ZALLOC((long)sizeof (*(p))))
H A Dsa_kstat.c155 dst->ks_data = ZALLOC(src->ks_data_size); in kstat_clone()
293 sdp->sd_udata = ZALLOC(sizeof (pset_ud_t)); in update_cpu_list()
H A Dpoolstat.c204 pset_sbag_s.bag = ZALLOC(sizeof (pset_statistic_bag_t)); in main()
643 line = ZALLOC(len); in prt_stat_line()
696 line = ZALLOC(len); in prt_stat_hd()
932 pools = ZALLOC(sizeof (pool_t *) * (i + 1)); in prt_pool_stats()
/titanic_41/usr/src/uts/common/zmod/
H A Ddeflate.c277 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
293 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
294 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
295 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
299 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
920 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
926 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
927 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
928 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
929 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
H A Dzutil.h269 #define ZALLOC(strm, items, size) \ macro
H A Dinflate.c170 ZALLOC(strm, 1, sizeof(struct inflate_state));
342 ZALLOC(strm, 1U << state->wbits,
1367 ZALLOC(source, 1, sizeof(struct inflate_state));
1372 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c268 #define ZALLOC(strm, items, size) \ macro
902 s = (deflate_state *) ZALLOC(strm, 1, sizeof (deflate_state));
918 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof (Byte));
919 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof (Pos));
920 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof (Pos));
924 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof (ush)+2);
1323 ds = (deflate_state *) ZALLOC(dest, 1, sizeof (deflate_state));
1330 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof (Byte));
1331 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof (Pos));
1332 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof (Pos));
[all …]
/titanic_41/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)
3240 if ((s = (inflate_blocks_statef *)ZALLOC
3243 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
3370 if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL)
[all …]