/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | util.c | 75 xrealloc(sysdem_ops_t *ops, void *p, size_t oldsz, size_t newsz) in xrealloc() argument 77 if (newsz == oldsz) in xrealloc() 80 VERIFY3U(newsz, >, oldsz); in xrealloc() 87 if (oldsz > 0) { in xrealloc() 88 (void) memcpy(temp, p, oldsz); in xrealloc() 89 xfree(ops, p, oldsz); in xrealloc()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_uobj.c | 344 uint_t oldsz; in sol_ofs_uobj_add() local 346 oldsz = (uint_t)uo_tbl->uobj_tbl_num_blks * in sol_ofs_uobj_add() 348 bcopy(uo_tbl->uobj_tbl_uo_root, p, oldsz); in sol_ofs_uobj_add() 349 kmem_free(uo_tbl->uobj_tbl_uo_root, oldsz); in sol_ofs_uobj_add()
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_response.c | 113 size_t oldsz = sizeof (struct smf_uuid_cache) + in uuid_cache_grow() local 116 bcopy(&uuid_cache->entry[0], &newcache->entry[0], oldsz); in uuid_cache_grow() 117 fmd_hdl_free(hdl, uuid_cache, oldsz); in uuid_cache_grow()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 539 uint32_t oldsz, newsz, mask; in enlarge_htab() local 554 oldsz = (1 << tab->logsize); in enlarge_htab() 558 while (j < oldsz) { in enlarge_htab() 559 item = tab->items[(i * oldsz) + j]; in enlarge_htab()
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpi_enum.c | 109 size_t oldsz = intrs->i_alloc * sizeof (int); in add_interrupt() local 113 bcopy(intrs->i_intrs, newar, oldsz); in add_interrupt() 114 kmem_free(intrs->i_intrs, oldsz); in add_interrupt()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.c | 3581 size_t oldsz, newsz, valsz; in roff_als() local 3592 oldsz = roff_getname(r, &end, ln, oldn - buf->buf); in roff_als() 3593 if (oldsz == 0) in roff_als() 3597 (int)oldsz, oldn); in roff_als() 3823 size_t oldsz, newsz; in roff_rn() local 3830 oldsz = roff_getname(r, &newn, ln, pos); in roff_rn() 3831 if (oldn[oldsz] == '\\' || oldn[oldsz] == '\t' || *newn == '\0') in roff_rn() 3840 value = roff_getstrn(r, oldn, oldsz, &deftype); in roff_rn() 3844 roff_setstrn(&r->strtab, oldn, oldsz, NULL, 0, 0); in roff_rn() 3853 roff_setstrn(&r->rentab, oldn, oldsz, NULL, 0, 0); in roff_rn() [all …]
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_create.c | 2171 size_t oldsz; in ctf_set_size() local 2184 if ((oldsz = dtd->dtd_data.ctt_size) == CTF_LSIZE_SENT) in ctf_set_size() 2185 oldsz = CTF_TYPE_LSIZE(&dtd->dtd_data); in ctf_set_size() 2187 if (newsz < oldsz) in ctf_set_size()
|
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 1203 uint_t oldsz; in rsmresource_alloc() local 1205 oldsz = (uint_t)(rsm_resource.rsmrc_sz * in rsmresource_alloc() 1212 bcopy(rsm_resource.rsmrc_root, p, oldsz); in rsmresource_alloc() 1213 kmem_free(rsm_resource.rsmrc_root, oldsz); in rsmresource_alloc()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 9206 uint_t oldsz; in daplka_resource_reserve() local 9208 oldsz = (uint_t)(daplka_resource.daplka_rc_sz * in daplka_resource_reserve() 9215 bcopy(daplka_resource.daplka_rc_root, p, oldsz); in daplka_resource_reserve() 9217 oldsz); in daplka_resource_reserve()
|