Searched defs:esize (Results 1 - 21 of 21) sorted by relevance

/freebsd-head/contrib/bearssl/tools/
H A Dvector.c30 * esize size of a vector element
44 size_t esize, size_t *ptr, size_t *len, size_t extra)
59 nbuf = xmalloc(nlen * esize);
61 memcpy(nbuf, buf, *len * esize);
43 vector_expand(void *buf, size_t esize, size_t *ptr, size_t *len, size_t extra) argument
/freebsd-head/sys/dev/firewire/
H A Dfwdma.c147 int esize, int n, int flag)
154 if (esize > PAGE_SIZE) {
156 esize = ssize = roundup2(esize, PAGE_SIZE);
160 ssize = rounddown(PAGE_SIZE, esize);
161 nseg = howmany(n, ssize / esize);
166 am->esize = esize;
146 fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, int esize, int n, int flag) argument
H A Dfwdma.h54 bus_size_t esize; member in struct:fwdma_alloc_multi
64 int offset = am->esize * index;
73 int offset = am->esize * index;
90 seg = &am->seg[am->esize * start / am->ssize];
91 eseg = &am->seg[am->esize * end / am->ssize];
/freebsd-head/contrib/bearssl/src/rsa/
H A Drsa_i15_keygen.c32 mkrand(const br_prng_class **rng, uint16_t *x, uint32_t esize) argument
37 len = (esize + 15) >> 4;
42 m = esize & 15;
221 mkprime(const br_prng_class **rng, uint16_t *x, uint32_t esize, argument
226 x[0] = esize;
227 len = (esize + 15) >> 4;
237 mkrand(rng, x, esize);
238 if ((esize & 15) == 0) {
240 } else if ((esize & 15) == 1) {
244 x[len] |= 0x0003 << ((esize
[all...]
H A Drsa_i31_keygen_inner.c32 mkrand(const br_prng_class **rng, uint32_t *x, uint32_t esize) argument
37 len = (esize + 31) >> 5;
42 m = esize & 31;
235 mkprime(const br_prng_class **rng, uint32_t *x, uint32_t esize, argument
240 x[0] = esize;
241 len = (esize + 31) >> 5;
251 mkrand(rng, x, esize);
252 if ((esize & 31) == 0) {
254 } else if ((esize & 31) == 1) {
258 x[len] |= 0x00000003 << ((esize
[all...]
/freebsd-head/contrib/bc/src/
H A Dvector.c60 void bc_vec_init(BcVec *restrict v, size_t esize, BcVecFree dtor) { argument
62 assert(v != NULL && esize);
63 v->size = esize;
67 v->v = bc_vm_malloc(bc_vm_arraySize(BC_VEC_START_CAP, esize));
/freebsd-head/sys/dev/bhnd/
H A Dbhnd_erom.c203 * @param esize The total available number of bytes allocated for
211 * @retval ENOMEM if @p esize is smaller than required by @p cls.
216 bhnd_erom_init_static(bhnd_erom_class_t *cls, bhnd_erom_t *erom, size_t esize, argument
224 if (kcls->size > esize)
/freebsd-head/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c344 socklen_t esize; local
372 esize = sizeof(error);
374 &esize) == -1) {
/freebsd-head/sbin/hastd/
H A Dproto_tcp.c349 socklen_t esize; local
376 esize = sizeof(error);
378 &esize) == -1) {
/freebsd-head/sys/mips/broadcom/
H A Dbcm_machdep.c112 kobj_ops_t erom_ops, bhnd_erom_t *erom, size_t esize,
262 * @param esize The total available number of bytes allocated
270 bhnd_erom_t *erom, size_t esize, struct bhnd_erom_io *eio,
335 error = bhnd_erom_init_static(*erom_cls, erom, esize, cid, eio);
269 bcm_erom_probe_and_attach(bhnd_erom_class_t **erom_cls, kobj_ops_t erom_ops, bhnd_erom_t *erom, size_t esize, struct bhnd_erom_io *eio, struct bhnd_chipid *cid) argument
/freebsd-head/lib/libc/net/
H A Dnsdispatch.c197 vector_sort(void *vec, unsigned int count, size_t esize, argument
200 qsort(vec, count, esize, comparison);
205 vector_search(const void *key, void *vec, unsigned int count, size_t esize, argument
208 return (bsearch(key, vec, count, esize, comparison));
213 vector_append(const void *elem, void *vec, unsigned int *count, size_t esize) argument
218 p = reallocarray(vec, *count + ELEMSPERCHUNK, esize);
225 memmove((void *)(((uintptr_t)vec) + (*count * esize)), elem, esize);
232 vector_ref(unsigned int i, void *vec, unsigned int count, size_t esize) argument
235 return (void *)((uintptr_t)vec + (i * esize));
244 vector_free(void *vec, unsigned int *count, size_t esize, vector_free_elem free_elem) argument
[all...]
/freebsd-head/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c713 uint64_t addr, eaddr, off, size, bsize, esize, val64; local
775 esize = bsize / (128 * sc->alut);
790 eaddr += esize;
/freebsd-head/contrib/jemalloc/src/
H A Dextent.c494 size_t esize, size_t alignment) {
497 size_t max_size = esize + PAGE_CEILING(alignment) - PAGE;
499 if (max_size < esize) {
510 * with sizes in [esize, max_size).
512 extent = extents_fit_alignment(extents, esize, max_size,
916 size_t esize = size + pad; local
931 extent_size_get(extent) < esize ||
939 extent = extents_fit_locked(tsdn, arena, extents, esize,
988 size_t esize = size + pad; local
992 if (extent_size_get(*extent) < leadsize + esize) {
493 extents_fit_locked(tsdn_t *tsdn, arena_t *arena, extents_t *extents, size_t esize, size_t alignment) argument
1304 size_t esize = size + pad; local
1495 size_t esize = size + pad; local
[all...]
/freebsd-head/sys/arm64/arm64/
H A Dgicv3_its.c415 size_t esize, its_tbl_size, nidents, nitspages, npages; local
452 esize = GITS_BASER_ESIZE(reg);
457 its_tbl_size = esize * nidents;
493 ((esize - 1) << GITS_BASER_ESIZE_SHIFT) |
1118 size_t esize; local
1145 esize = GITS_TYPER_ITTES(gic_its_read_8(sc, GITS_TYPER));
1151 its_dev->itt_size = roundup2(MAX(nvecs, 2) * esize, 256);
/freebsd-head/sys/geom/raid/
H A Dmd_ddf.c1620 off_t size, eoff = 0, esize = 0; local
1669 ddf_meta_unused_range(&pd->pd_meta, &eoff, &esize);
1670 if (esize == 0) {
1676 esize *= pd->pd_meta.sectorsize;
1689 esize < size) {
1692 g_raid_get_diskname(disk), esize, size);
1697 esize = size;
1750 sd->sd_size = esize;
2261 off_t size, sectorsize, strip, offs[DDF_MAX_DISKS_HARD], esize; local
2344 &offs[i], &esize);
[all...]
H A Dmd_promise.c673 off_t eoff, esize, size; local
718 &eoff, &esize);
719 if (esize == 0) {
736 (off_t)esize * 512 < size) {
740 (off_t)esize * 512, size);
745 esize = size / 512;
782 sd->sd_size = (off_t)esize * 512;
1273 off_t esize, offs[PROMISE_MAX_DISKS], size, sectorsize, strip; local
1357 &offs[i], &esize);
1358 size = MIN(size, (off_t)esize * p
[all...]
/freebsd-head/contrib/binutils/bfd/
H A Decoff.c3542 bfd_size_type esize;
3557 esize = symhdr->iextMax * external_ext_size;
3558 external_ext = bfd_malloc (esize);
3559 if (external_ext == NULL && esize != 0)
3563 || bfd_bread (external_ext, esize, abfd) != esize)
3605 bfd_size_type esize;
3623 esize = symhdr->iextMax * external_ext_size;
3624 external_ext = bfd_malloc (esize);
3625 if (external_ext == NULL && esize !
3533 bfd_size_type esize; local
3596 bfd_size_type esize; local
[all...]
/freebsd-head/sys/dev/qlxgbe/
H A Dql_hw.c4642 ql_entry_err_chk(ql_minidump_entry_t *entry, uint32_t esize) argument
4644 if (esize != entry->hdr.entry_capture_size) {
4645 entry->hdr.entry_capture_size = esize;
4654 uint32_t num_of_entries, buff_level, e_cnt, esize; local
4740 esize = ql_rdcrb(ha, (void *)entry, (void *)dbuff);
4741 ql_entry_err_chk(entry, esize);
4742 buff_level += esize;
4747 esize = ql_pollrd(ha, (void *)entry, (void *)dbuff);
4748 ql_entry_err_chk(entry, esize);
4749 buff_level += esize;
[all...]
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c1422 const void *ebuff, size_t esize)
1428 _checksum_update(&(xar->e_sumwrk), ebuff, esize);
1421 checksum_update(struct archive_read *a, const void *abuff, size_t asize, const void *ebuff, size_t esize) argument
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulateInstructionARM.cpp11889 Elem[D[d+r],e,esize] = MemU[address,ebytes];
11899 uint32_t esize; local
11951 // ebytes = 1 << UInt(size); esize = 8 * ebytes; elements = 8 DIV ebytes;
11953 esize = 8 * ebytes;
12014 // Elem[D[d+r],e,esize] = MemU[address,ebytes];
12022 (data << (e * esize)) |
12045 Elem[D[d],index,esize] = MemU[address,ebytes];
12052 uint32_t esize; local
12076 // ebytes = 1; esize = 8; index = UInt(index_align<3:1>); alignment = 1;
12078 esize
12234 uint32_t esize; local
12385 uint32_t esize; local
12641 uint32_t esize = ebytes * 8; local
[all...]
/freebsd-head/sys/net/
H A Dpfvar.h1399 int esize; /* size of each element in bytes */ member in struct:pfioc_trans

Completed in 240 milliseconds