ecalloc
pi = ecalloc(nentries, sizeof(*pi));
path = ecalloc((maxlvl + 7) / 8, 1);
void *ecalloc(size_t, size_t);
sk = ecalloc(1, sizeof(*sk));
b->text = ecalloc(1, BITS2BYTES(b->length));
bb = ecalloc(sizeof(*bb), 1);
bb->u.vp = ecalloc(length, 1);
data = ecalloc(datasize, 1);
blk = ecalloc(1, sizeof(*blk));
bp = ecalloc(1, INET_ADDRSTRLEN);
bp = ecalloc(1, INET6_ADDRSTRLEN);
egt.buf = ecalloc(egt.table_len, 1);
ev.name = ecalloc(EFI_VARNAME_MAXBYTES, 1);
elm = ecalloc(sizeof(*elm), 1);
bp = ecalloc(1, sizeof(*bp));
bp->b_data = ecalloc(1, size);
vp = ecalloc(1, sizeof(*vp));
ip = ecalloc(1, sizeof(*ip));
ip->i_din = dip = ecalloc(1, sizeof(*dip));
ip->inode_ext.lfs = ecalloc(1, sizeof(*ip->inode_ext.lfs));
devvp = ecalloc(1, sizeof(*devvp));
fs = ecalloc(1, sizeof(*fs));
fs = ecalloc(1, sizeof(*fs));
altfs = ecalloc(1, sizeof(*altfs));
visited = ecalloc(maxino, sizeof(*visited));
dins = ecalloc(maxino, sizeof(*dins));
inpsort = ecalloc(listmax, sizeof(struct inoinfo *));
inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
inums = ecalloc(LFS_INOPB(fs) + 1, sizeof(*inums));
din_table = ecalloc(maxino, sizeof(*din_table));
seg_table = ecalloc(lfs_sb_getnseg(fs), sizeof(SEGUSE));
blockmap = ecalloc(bmapsize, sizeof(char));
blockmap = ecalloc(maxfsblock, sizeof(ino_t));
statemap = ecalloc(maxino, sizeof(char));
typemap = ecalloc(maxino, sizeof(char));
lncntp = ecalloc(maxino, sizeof(int16_t));
inpsort = ecalloc(listmax, sizeof(struct inoinfo *));
inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
argv = ecalloc(maxargc, sizeof(*argv));
argv = ecalloc(1 + 2 + 1 + 1, sizeof(*argv));
paramformats = ecalloc(1,
ATF_TP_ADD_TC(tp, ecalloc);
ATF_TC(ecalloc);
ATF_TC_HEAD(ecalloc, tc)
ATF_TC_BODY(ecalloc, tc)
x = ecalloc(-1, 1);
x = ecalloc(SIZE_MAX, 2);
void *ecalloc(size_t, size_t);
t = tbl = ecalloc(entries, sizeof(*t));
cols = ecalloc((maxcols = DEFCOLS), sizeof(*cols));
lens = ecalloc(maxcols, sizeof(*lens));
t->list = ecalloc(coloff, sizeof(*(t->list)));
t->len = ecalloc(coloff, sizeof(*(t->len)));
list = ecalloc((maxentry = DEFNUM), sizeof(*list));
fi = ecalloc(1, sizeof *fi);
hp = ecalloc(1, sizeof(*hp));
ht = ecalloc(1, sizeof *ht);
tbl = ecalloc(1, sizeof(*tbl)); \
locators.vec = ecalloc((size_t)locspace, sizeof(*locators.vec));
packed = ecalloc((size_t)ndevi + 1, sizeof *packed);
t = ecalloc(1, sizeof(*t));
cf = ecalloc(1, sizeof *cf);
i = ecalloc(1, sizeof *i);
dm = ecalloc(1, sizeof(*dm));
p = ecalloc(1, sizeof(*p));
a = ecalloc(1, sizeof *a);
dev = ecalloc(1, sizeof *dev);
deva = ecalloc(1, sizeof *deva);
nv = ecalloc(1, sizeof(*nv));
pf = ecalloc(1, sizeof(struct prefix));
positions = ecalloc(numpositions, sizeof(*positions));
curp = ecalloc(blocksize, 1);
savp = ecalloc(blocksize, 1);
tfs = ecalloc(1, sizeof(FS));
tfu = ecalloc(1, sizeof(FU));
pr = ecalloc(1, sizeof(*pr));
t = ecalloc(1, sizeof(*t));
terms = ecalloc(nuse, sizeof(*terms));
altnames = ecalloc(c, sizeof(char *));
cp = ecalloc(strlen(*ap) + 1, sizeof(char));
gh = ecalloc(1, sizeof(*gh));
gp = ecalloc(1, sizeof(*gp));
np = ecalloc(1, sizeof(*np));
sp = ecalloc(1, sizeof(*sp));
np = ecalloc(1, sizeof(*np));
newfmt = ecalloc(1, fmtsize); /* so we can realloc() in check_bufsize() */
msgvec = ecalloc((size_t) (sz + 1), sizeof(*msgvec));
igp = ecalloc(1, sizeof(struct ignore));
igp->i_field = ecalloc(strlen(field) + 1, sizeof(char));
tp->t_msgtbl = ecalloc((size_t)msgCount, sizeof(tp->t_msgtbl[0]));
vp = ecalloc(1, sizeof(*vp));
am_anon = ecalloc(D(amap, amap)->am_maxslot, sizeof(*am_anon));
am_bckptr = ecalloc(D(amap, amap)->am_maxslot, sizeof(*am_bckptr));
am_slots = ecalloc(D(amap, amap)->am_maxslot, sizeof(*am_slots));
am_ppref = ecalloc(
cmd->u.s = ecalloc(1, sizeof(struct s_subst));
slist[nsections].lines = ecalloc(slist[nsections].maxlines,
term = ecalloc(1, sizeof(*term));
cycle_buf = ecalloc(cnt, sizeof(*cycle_buf));
longest_cycle = ecalloc(cnt, sizeof(*longest_cycle));
return ecalloc(1, sz);
datap = ecalloc(numblocks, el_size);
cd9660node *temp = ecalloc(1, sizeof(*temp));
temp->node->inode = ecalloc(1, sizeof(*temp->node->inode));
temp->node->inode = ecalloc(1, sizeof(*temp->node->inode));
iso9660_disk *diskStructure = ecalloc(1, sizeof(*diskStructure));
t->volumeDescriptorData = ecalloc(1, 2048);
t->volumeDescriptorData = ecalloc(1, 2048);
arc = ecalloc(1, sizeof(*arc));
new_image = ecalloc(1, sizeof(*new_image));
return ecalloc(1, sizeof(struct boot_catalog_entry));
buffer = ecalloc(path_table_sectors, diskStructure->sectorSize);
temp_file_name = ecalloc(CD9660MAXPATH + 1, 1);
chfs_opt_t *chfs_opts = ecalloc(1, sizeof(*chfs_opts));
ffs_opt_t *ffs_opts = ecalloc(1, sizeof(*ffs_opts));
buf = ecalloc(1, bufsize);
bp = ecalloc(1, sizeof(*bp));
#define pool_get(p, f) ecalloc(1, (p)->size)
space = ecalloc(1, size);
iobuf = ecalloc(1, iobufsize);
return memcpy(ecalloc(i, sizeof(*o)), o, i * sizeof(*o));
struct msdos_options_ex *msdos_opt = ecalloc(1, sizeof(*msdos_opt));
ldep = ecalloc(1, sizeof(*ldep));
pmp = ecalloc(1, sizeof *pmp);
pmp->pm_inusemap = ecalloc(sizeof(*pmp->pm_inusemap),
v7fs_opt_t *v7fs_opts = ecalloc(1, sizeof(*v7fs_opts));
list = listptr = ecalloc(num, sizeof(*list));
cur = ecalloc(1, sizeof(*cur));
cur->inode = ecalloc(1, sizeof(*cur->inode));
htable = ecalloc(htmask+1, sizeof(*htable));
mel_tab = ecalloc(mel_tab_len, sizeof(*mel_tab));
return ecalloc(1, sizeof(npf_bpf_t));
nct.nct_data.buf.buf = ecalloc(1, buflen);
ext = ecalloc(1, sizeof(npf_extmod_t));
char *dst = ecalloc(1, len * 4 + 1);
el = ecalloc(1, sizeof(*el));
el->e_data = ecalloc(1, len);
npfvar_t *vp = ecalloc(1, sizeof(*vp));
uint64_t *st = ecalloc(1, NPF_STATS_SIZE);
char *buf = ecalloc(1, buflen);
dfp = ecalloc(1, sizeof(struct dirfid));
svc = ecalloc(PMASK + 1, sizeof(StringList **));
svc[pnum] = ecalloc(PROTOMAX, sizeof(StringList *));
sample_cpu_width = ecalloc(1, sizeof(*sample_cpu_width) * ncpu);
sample_n_kern_per_cpu[mode] = ecalloc(1,
sample_n_user_per_cpu[mode] = ecalloc(1,
sample_n_per_event[mode] = ecalloc(1,
sample_n_per_event_cpu[mode] = ecalloc(1,
e = ecalloc(1, sizeof_sample_elm);
counters = ecalloc(1, sz);
e = ecalloc(1UL, sizeof(*e));
e = ecalloc(1UL, sizeof(*e));