Symbol: ecalloc
bin/ps/ps.c
622
pi = ecalloc(nentries, sizeof(*pi));
bin/ps/ps.c
914
path = ecalloc((maxlvl + 7) / 8, 1);
include/util.h
176
void *ecalloc(size_t, size_t);
sbin/cgdconfig/cgdconfig.c
515
sk = ecalloc(1, sizeof(*sk));
sbin/cgdconfig/utils.c
326
b->text = ecalloc(1, BITS2BYTES(b->length));
sbin/efi/bootvar.c
72
bb = ecalloc(sizeof(*bb), 1);
sbin/efi/bootvar.c
77
bb->u.vp = ecalloc(length, 1);
sbin/efi/bootvar.c
97
data = ecalloc(datasize, 1);
sbin/efi/devpath.c
154
blk = ecalloc(1, sizeof(*blk));
sbin/efi/devpath3.c
115
bp = ecalloc(1, INET_ADDRSTRLEN);
sbin/efi/devpath3.c
137
bp = ecalloc(1, INET6_ADDRSTRLEN);
sbin/efi/efiio.c
122
egt.buf = ecalloc(egt.table_len, 1);
sbin/efi/efiio.c
143
ev.name = ecalloc(EFI_VARNAME_MAXBYTES, 1);
sbin/efi/getvars.c
106
elm = ecalloc(sizeof(*elm), 1);
sbin/fsck_lfs/bufcache.c
278
bp = ecalloc(1, sizeof(*bp));
sbin/fsck_lfs/bufcache.c
279
bp->b_data = ecalloc(1, size);
sbin/fsck_lfs/lfs.c
340
vp = ecalloc(1, sizeof(*vp));
sbin/fsck_lfs/lfs.c
350
ip = ecalloc(1, sizeof(*ip));
sbin/fsck_lfs/lfs.c
352
ip->i_din = dip = ecalloc(1, sizeof(*dip));
sbin/fsck_lfs/lfs.c
355
ip->inode_ext.lfs = ecalloc(1, sizeof(*ip->inode_ext.lfs));
sbin/fsck_lfs/lfs.c
482
devvp = ecalloc(1, sizeof(*devvp));
sbin/fsck_lfs/lfs.c
495
fs = ecalloc(1, sizeof(*fs));
sbin/fsck_lfs/lfs.c
508
fs = ecalloc(1, sizeof(*fs));
sbin/fsck_lfs/lfs.c
541
altfs = ecalloc(1, sizeof(*altfs));
sbin/fsck_lfs/pass0.c
112
visited = ecalloc(maxino, sizeof(*visited));
sbin/fsck_lfs/pass1.c
107
dins = ecalloc(maxino, sizeof(*dins));
sbin/fsck_lfs/pass1.c
137
inpsort = ecalloc(listmax, sizeof(struct inoinfo *));
sbin/fsck_lfs/pass1.c
138
inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
sbin/fsck_lfs/pass6.c
652
inums = ecalloc(LFS_INOPB(fs) + 1, sizeof(*inums));
sbin/fsck_lfs/setup.c
426
din_table = ecalloc(maxino, sizeof(*din_table));
sbin/fsck_lfs/setup.c
427
seg_table = ecalloc(lfs_sb_getnseg(fs), sizeof(SEGUSE));
sbin/fsck_lfs/setup.c
443
blockmap = ecalloc(bmapsize, sizeof(char));
sbin/fsck_lfs/setup.c
445
blockmap = ecalloc(maxfsblock, sizeof(ino_t));
sbin/fsck_lfs/setup.c
447
statemap = ecalloc(maxino, sizeof(char));
sbin/fsck_lfs/setup.c
448
typemap = ecalloc(maxino, sizeof(char));
sbin/fsck_lfs/setup.c
449
lncntp = ecalloc(maxino, sizeof(int16_t));
sbin/fsck_lfs/setup.c
457
inpsort = ecalloc(listmax, sizeof(struct inoinfo *));
sbin/fsck_lfs/setup.c
458
inphead = ecalloc(numdirs, sizeof(struct inoinfo *));
sbin/mount/mount.c
456
argv = ecalloc(maxargc, sizeof(*argv));
sbin/mount_puffs/mount_puffs.c
94
argv = ecalloc(1 + 2 + 1 + 1, sizeof(*argv));
share/examples/puffs/pgfs/pgfs_db.c
416
paramformats = ecalloc(1,
tests/lib/libutil/t_efun.c
129
ATF_TP_ADD_TC(tp, ecalloc);
tests/lib/libutil/t_efun.c
50
ATF_TC(ecalloc);
tests/lib/libutil/t_efun.c
51
ATF_TC_HEAD(ecalloc, tc)
tests/lib/libutil/t_efun.c
56
ATF_TC_BODY(ecalloc, tc)
tests/lib/libutil/t_efun.c
61
x = ecalloc(-1, 1);
tests/lib/libutil/t_efun.c
67
x = ecalloc(SIZE_MAX, 2);
tools/compat/compat_defs.h
375
void *ecalloc(size_t, size_t);
usr.bin/column/column.c
220
t = tbl = ecalloc(entries, sizeof(*t));
usr.bin/column/column.c
221
cols = ecalloc((maxcols = DEFCOLS), sizeof(*cols));
usr.bin/column/column.c
222
lens = ecalloc(maxcols, sizeof(*lens));
usr.bin/column/column.c
239
t->list = ecalloc(coloff, sizeof(*(t->list)));
usr.bin/column/column.c
240
t->len = ecalloc(coloff, sizeof(*(t->len)));
usr.bin/column/column.c
271
list = ecalloc((maxentry = DEFNUM), sizeof(*list));
usr.bin/config/files.c
146
fi = ecalloc(1, sizeof *fi);
usr.bin/config/hash.c
151
hp = ecalloc(1, sizeof(*hp));
usr.bin/config/hash.c
235
ht = ecalloc(1, sizeof *ht);
usr.bin/config/hash.c
401
tbl = ecalloc(1, sizeof(*tbl)); \
usr.bin/config/pack.c
130
locators.vec = ecalloc((size_t)locspace, sizeof(*locators.vec));
usr.bin/config/pack.c
178
packed = ecalloc((size_t)ndevi + 1, sizeof *packed);
usr.bin/config/pack.c
282
t = ecalloc(1, sizeof(*t));
usr.bin/config/sem.c
1062
cf = ecalloc(1, sizeof *cf);
usr.bin/config/sem.c
1168
i = ecalloc(1, sizeof *i);
usr.bin/config/sem.c
1880
dm = ecalloc(1, sizeof(*dm));
usr.bin/config/sem.c
1958
p = ecalloc(1, sizeof(*p));
usr.bin/config/sem.c
385
a = ecalloc(1, sizeof *a);
usr.bin/config/sem.c
628
dev = ecalloc(1, sizeof *dev);
usr.bin/config/sem.c
776
deva = ecalloc(1, sizeof *deva);
usr.bin/config/util.c
197
nv = ecalloc(1, sizeof(*nv));
usr.bin/config/util.c
85
pf = ecalloc(1, sizeof(struct prefix));
usr.bin/cut/cut.c
165
positions = ecalloc(numpositions, sizeof(*positions));
usr.bin/hexdump/display.c
243
curp = ecalloc(blocksize, 1);
usr.bin/hexdump/display.c
244
savp = ecalloc(blocksize, 1);
usr.bin/hexdump/parse.c
102
tfs = ecalloc(1, sizeof(FS));
usr.bin/hexdump/parse.c
118
tfu = ecalloc(1, sizeof(FU));
usr.bin/hexdump/parse.c
236
pr = ecalloc(1, sizeof(*pr));
usr.bin/infocmp/infocmp.c
436
t = ecalloc(1, sizeof(*t));
usr.bin/infocmp/infocmp.c
512
terms = ecalloc(nuse, sizeof(*terms));
usr.bin/mail/cmd3.c
1119
altnames = ecalloc(c, sizeof(char *));
usr.bin/mail/cmd3.c
1121
cp = ecalloc(strlen(*ap) + 1, sizeof(char));
usr.bin/mail/cmd3.c
839
gh = ecalloc(1, sizeof(*gh));
usr.bin/mail/cmd3.c
853
gp = ecalloc(1, sizeof(*gp));
usr.bin/mail/cmd4.c
177
np = ecalloc(1, sizeof(*np));
usr.bin/mail/cmd4.c
199
sp = ecalloc(1, sizeof(*sp));
usr.bin/mail/cmd4.c
296
np = ecalloc(1, sizeof(*np));
usr.bin/mail/format.c
999
newfmt = ecalloc(1, fmtsize); /* so we can realloc() in check_bufsize() */
usr.bin/mail/lex.c
195
msgvec = ecalloc((size_t) (sz + 1), sizeof(*msgvec));
usr.bin/mail/support.c
722
igp = ecalloc(1, sizeof(struct ignore));
usr.bin/mail/support.c
723
igp->i_field = ecalloc(strlen(field) + 1, sizeof(char));
usr.bin/mail/thread.c
509
tp->t_msgtbl = ecalloc((size_t)msgCount, sizeof(tp->t_msgtbl[0]));
usr.bin/mail/vars.c
125
vp = ecalloc(1, sizeof(*vp));
usr.bin/pmap/pmap.c
645
am_anon = ecalloc(D(amap, amap)->am_maxslot, sizeof(*am_anon));
usr.bin/pmap/pmap.c
650
am_bckptr = ecalloc(D(amap, amap)->am_maxslot, sizeof(*am_bckptr));
usr.bin/pmap/pmap.c
654
am_slots = ecalloc(D(amap, amap)->am_maxslot, sizeof(*am_slots));
usr.bin/pmap/pmap.c
659
am_ppref = ecalloc(
usr.bin/sed/compile.c
327
cmd->u.s = ecalloc(1, sizeof(struct s_subst));
usr.bin/sortinfo/sortinfo.c
70
slist[nsections].lines = ecalloc(slist[nsections].maxlines,
usr.bin/tic/tic.c
166
term = ecalloc(1, sizeof(*term));
usr.bin/tsort/tsort.c
332
cycle_buf = ecalloc(cnt, sizeof(*cycle_buf));
usr.bin/tsort/tsort.c
333
longest_cycle = ecalloc(cnt, sizeof(*longest_cycle));
usr.sbin/crash/crash.c
164
return ecalloc(1, sz);
usr.sbin/dumplfs/dumplfs.c
709
datap = ecalloc(numblocks, el_size);
usr.sbin/makefs/cd9660.c
187
cd9660node *temp = ecalloc(1, sizeof(*temp));
usr.sbin/makefs/cd9660.c
2038
temp->node->inode = ecalloc(1, sizeof(*temp->node->inode));
usr.sbin/makefs/cd9660.c
2065
temp->node->inode = ecalloc(1, sizeof(*temp->node->inode));
usr.sbin/makefs/cd9660.c
264
iso9660_disk *diskStructure = ecalloc(1, sizeof(*diskStructure));
usr.sbin/makefs/cd9660.c
792
t->volumeDescriptorData = ecalloc(1, 2048);
usr.sbin/makefs/cd9660.c
804
t->volumeDescriptorData = ecalloc(1, 2048);
usr.sbin/makefs/cd9660/cd9660_archimedes.c
102
arc = ecalloc(1, sizeof(*arc));
usr.sbin/makefs/cd9660/cd9660_eltorito.c
101
new_image = ecalloc(1, sizeof(*new_image));
usr.sbin/makefs/cd9660/cd9660_eltorito.c
239
return ecalloc(1, sizeof(struct boot_catalog_entry));
usr.sbin/makefs/cd9660/cd9660_write.c
176
buffer = ecalloc(path_table_sectors, diskStructure->sectorSize);
usr.sbin/makefs/cd9660/cd9660_write.c
273
temp_file_name = ecalloc(CD9660MAXPATH + 1, 1);
usr.sbin/makefs/chfs.c
59
chfs_opt_t *chfs_opts = ecalloc(1, sizeof(*chfs_opts));
usr.sbin/makefs/ffs.c
164
ffs_opt_t *ffs_opts = ecalloc(1, sizeof(*ffs_opts));
usr.sbin/makefs/ffs.c
529
buf = ecalloc(1, bufsize);
usr.sbin/makefs/ffs/buf.c
225
bp = ecalloc(1, sizeof(*bp));
usr.sbin/makefs/ffs/buf.h
128
#define pool_get(p, f) ecalloc(1, (p)->size)
usr.sbin/makefs/ffs/mkfs.c
437
space = ecalloc(1, size);
usr.sbin/makefs/ffs/mkfs.c
525
iobuf = ecalloc(1, iobufsize);
usr.sbin/makefs/makefs.c
471
return memcpy(ecalloc(i, sizeof(*o)), o, i * sizeof(*o));
usr.sbin/makefs/msdos.c
76
struct msdos_options_ex *msdos_opt = ecalloc(1, sizeof(*msdos_opt));
usr.sbin/makefs/msdos/msdosfs_denode.c
106
ldep = ecalloc(1, sizeof(*ldep));
usr.sbin/makefs/msdos/msdosfs_vfsops.c
121
pmp = ecalloc(1, sizeof *pmp);
usr.sbin/makefs/msdos/msdosfs_vfsops.c
374
pmp->pm_inusemap = ecalloc(sizeof(*pmp->pm_inusemap),
usr.sbin/makefs/v7fs.c
67
v7fs_opt_t *v7fs_opts = ecalloc(1, sizeof(*v7fs_opts));
usr.sbin/makefs/walk.c
102
list = listptr = ecalloc(num, sizeof(*list));
usr.sbin/makefs/walk.c
359
cur = ecalloc(1, sizeof(*cur));
usr.sbin/makefs/walk.c
362
cur->inode = ecalloc(1, sizeof(*cur->inode));
usr.sbin/makefs/walk.c
795
htable = ecalloc(htmask+1, sizeof(*htable));
usr.sbin/mountd/mountd.c
1261
mel_tab = ecalloc(mel_tab_len, sizeof(*mel_tab));
usr.sbin/npf/npfctl/npf_bpf_comp.c
192
return ecalloc(1, sizeof(npf_bpf_t));
usr.sbin/npf/npfctl/npf_cmd.c
342
nct.nct_data.buf.buf = ecalloc(1, buflen);
usr.sbin/npf/npfctl/npf_extmod.c
82
ext = ecalloc(1, sizeof(npf_extmod_t));
usr.sbin/npf/npfctl/npf_parse.y
70
char *dst = ecalloc(1, len * 4 + 1);
usr.sbin/npf/npfctl/npf_var.c
115
el = ecalloc(1, sizeof(*el));
usr.sbin/npf/npfctl/npf_var.c
116
el->e_data = ecalloc(1, len);
usr.sbin/npf/npfctl/npf_var.c
66
npfvar_t *vp = ecalloc(1, sizeof(*vp));
usr.sbin/npf/npfctl/npfctl.c
185
uint64_t *st = ecalloc(1, NPF_STATS_SIZE);
usr.sbin/npf/npfctl/npfctl.c
227
char *buf = ecalloc(1, buflen);
usr.sbin/puffs/mount_9p/subr.c
119
dfp = ecalloc(1, sizeof(struct dirfid));
usr.sbin/services_mkdb/services_mkdb.c
185
svc = ecalloc(PMASK + 1, sizeof(StringList **));
usr.sbin/services_mkdb/services_mkdb.c
235
svc[pnum] = ecalloc(PROTOMAX, sizeof(StringList *));
usr.sbin/tprof/tprof_top.c
367
sample_cpu_width = ecalloc(1, sizeof(*sample_cpu_width) * ncpu);
usr.sbin/tprof/tprof_top.c
376
sample_n_kern_per_cpu[mode] = ecalloc(1,
usr.sbin/tprof/tprof_top.c
378
sample_n_user_per_cpu[mode] = ecalloc(1,
usr.sbin/tprof/tprof_top.c
380
sample_n_per_event[mode] = ecalloc(1,
usr.sbin/tprof/tprof_top.c
382
sample_n_per_event_cpu[mode] = ecalloc(1,
usr.sbin/tprof/tprof_top.c
514
e = ecalloc(1, sizeof_sample_elm);
usr.sbin/tprof/tprof_top.c
592
counters = ecalloc(1, sz);
usr.sbin/veriexecgen/veriexecgen.c
219
e = ecalloc(1UL, sizeof(*e));
usr.sbin/veriexecgen/veriexecgen.c
257
e = ecalloc(1UL, sizeof(*e));