Home
last modified time | relevance | path

Searched refs:memsz (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_main.c440 kctl_boot_activate(struct bootops *ops, void *romp, size_t memsz, in kctl_boot_activate() argument
473 if (memsz == 0) in kctl_boot_activate()
474 memsz = KCTL_MEM_GOALSZ; in kctl_boot_activate()
478 memsz > kdi_segdebugsize ? kdi_segdebugsize : memsz; in kctl_boot_activate()
479 kctl.kctl_memgoalsz = memsz; in kctl_boot_activate()
508 kctl_modload_activate(size_t memsz, const char *cfg, uint_t flags) in kctl_modload_activate() argument
526 if (memsz == 0) in kctl_modload_activate()
527 memsz = KCTL_MEM_GOALSZ; in kctl_modload_activate()
531 memsz > kdi_segdebugsize ? kdi_segdebugsize : memsz; in kctl_modload_activate()
532 kctl.kctl_memgoalsz = memsz; in kctl_modload_activate()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dtls.c172 ulong_t memsz = S_ROUND(phdr->p_memsz, M_TLSSTATALIGN); in tls_assign() local
216 if (memsz > tls_static_resv) { in tls_assign()
219 EC_XWORD(memsz), EC_XWORD(tls_static_resv)); in tls_assign()
223 tls_static_resv -= memsz; in tls_assign()
234 tls_static_size += memsz; in tls_assign()
250 DBG_CALL(Dbg_tls_static_resv(lmp, memsz, tls_static_resv)); in tls_assign()
/illumos-gate/usr/src/uts/common/kmdb/
H A Dkdrv.c87 size_t memsz; in kdrv_activate() local
99 memsz = ddi_prop_get_int(DDI_DEV_T_ANY, kdrv_dip, in kdrv_activate()
116 rc = kctl_modload_activate(memsz, cfg, flags); in kdrv_activate()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_implfuncs.c84 int memsz; in psm_modlinkage_alloc() local
89 memsz = sizeof (struct modlinkage) + sizeof (struct modlpsm) + in psm_modlinkage_alloc()
91 mlinkp = (struct modlinkage *)kmem_zalloc(memsz, KM_NOSLEEP); in psm_modlinkage_alloc()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dlocaleimpl.c172 __locdata_alloc(const char *name, size_t memsz) in __locdata_alloc() argument
179 if ((ldata->l_data[0] = libc_malloc(memsz)) == NULL) { in __locdata_alloc()
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c483 char memsz[8], bufsz[8]; in stat_one_fmd() local
514 size2str(memsz, sizeof (memsz), in stat_one_fmd()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c1342 size_t zfodsz, memsz; in mapelfexec() local
1515 memsz = btopr(phdr->p_memsz); in mapelfexec()
1516 if ((*execsz + memsz) < *execsz) { in mapelfexec()
1520 *execsz += memsz; in mapelfexec()
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c3568 uint_t memsz; in ibd_alloc_tx_lsobufs() local
3579 memsz = state->id_num_lso_bufs * IBD_LSO_BUFSZ; in ibd_alloc_tx_lsobufs()
3580 membase = kmem_zalloc(memsz, KM_SLEEP); in ibd_alloc_tx_lsobufs()
3583 mem_attr.mr_len = memsz; in ibd_alloc_tx_lsobufs()
3589 kmem_free(membase, memsz); in ibd_alloc_tx_lsobufs()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dliblddbg.msg1159 @ MSG_TLS_MODENT2 " filesz: %#18llx memsz: %#10llx modid: %lld"
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs289memsz, (struct compat_kexec_segment)->buf, (struct compat_kexec_segment)->bufsz, (struct compat_ke…