Home
last modified time | relevance | path

Searched refs:kobj_zalloc (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/i86xpv/os/
H A Dmach_kdi.c165 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit()
176 bgdt = kobj_zalloc(PAGESIZE, KM_TMP); in boot_kdi_tmpinit()
H A Dxpv_panic.c810 mp->filename = kobj_zalloc(strlen(XPV_FILENAME) + 1, KM_SLEEP); in init_xen_module()
815 mcp->mod_modname = kobj_zalloc(strlen(XPV_MODNAME) + 1, KM_SLEEP); in init_xen_module()
817 mcp->mod_filename = kobj_zalloc(strlen(XPV_FILENAME) + 1, KM_SLEEP); in init_xen_module()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c715 mp = kobj_zalloc(sizeof (struct module), KM_WAIT); in load_exec()
732 mp->symhdr = kobj_zalloc(sizeof (Shdr), KM_WAIT); in load_exec()
735 mp->strhdr = kobj_zalloc(sizeof (Shdr), KM_WAIT); in load_exec()
828 mp->chains = kobj_zalloc(mp->nsyms * sizeof (symid_t), KM_WAIT); in load_exec()
830 mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT); in load_exec()
899 mp = kobj_zalloc(sizeof (struct module), KM_WAIT); in load_linker()
934 mp->chains = kobj_zalloc(mp->nsyms * sizeof (symid_t), KM_WAIT); in load_linker()
935 mp->buckets = kobj_zalloc(mp->hashsize * sizeof (symid_t), KM_WAIT); in load_linker()
1064 char *path = kobj_zalloc(MAXPATHLEN, KM_WAIT); in getmodpath()
1081 cp = kobj_zalloc(sizeof (struct modctl), KM_WAIT); in add_primary()
[all …]
H A Dkobj_lm.c64 lp = kobj_zalloc(sizeof (struct modctl_list), KM_WAIT); in kobj_lm_append()
H A Dkobj_stubs.c194 kobj_zalloc(size_t size, int flag) in kobj_zalloc() function
/illumos-gate/usr/src/uts/common/zmod/
H A Dzmod_subr.c45 struct zchdr *z = kobj_zalloc(nbytes, KM_NOWAIT|KM_TMP); in zcalloc()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmach_kdi.c154 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_dmod.c160 modp = kobj_zalloc(sizeof (struct modctl), KM_SLEEP); in kctl_dmod_load()
225 dlr = kobj_zalloc(sizeof (kmdb_wr_load_t), KM_SLEEP); in kctl_dmod_autoload()
/illumos-gate/usr/src/uts/sun4/os/
H A Dforthdebug.c123 fth_buf = (char *)kobj_zalloc(fsz + 1, KM_SLEEP); in forthdebug_init()
H A Dstartup.c2953 bp = (char *)kobj_zalloc(MMU_PAGESIZE, KM_SLEEP); in create_va_to_tte()
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dmapfile78 kobj_zalloc;
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj.h193 extern void *kobj_zalloc(size_t, int);
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c249 kobj_zalloc(sizeof (krwlock_t), KM_SLEEP); in mod_setup()
285 kobj_zalloc(sizeof (krwlock_t), KM_SLEEP); in mod_setup()
347 kobj_zalloc(sizeof (krwlock_t), KM_SLEEP); in mod_setup()
3294 mp = kobj_zalloc(sizeof (*mp), KM_SLEEP); in allocate_modp()
3295 mp->mod_modname = kobj_zalloc(strlen(modname) + 1, KM_SLEEP); in allocate_modp()
4091 newname = kobj_zalloc(strlen(filename) + 1, KM_SLEEP); in mod_hold_by_name_common()
4273 new = kobj_zalloc(sizeof (*new), KM_SLEEP); in mod_make_requisite()
4328 new = kobj_zalloc(sizeof (struct modctl_list), in mod_release_requisites()
H A Dmodsubr.c672 devnamesp = kobj_zalloc(size * sizeof (struct devnames), KM_SLEEP); in init_devnamesp()
759 syscallnames = kobj_zalloc(size * sizeof (char *), KM_SLEEP); in init_syscallnames()