Lines Matching refs:kobj_zalloc

715 	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()
1354 console = kobj_zalloc(len, KM_WAIT|KM_TMP); in console_is_usb_serial()
1850 mp = kobj_zalloc(sizeof (struct module), KM_WAIT); in kobj_load_module()
2013 dependent_modname = kobj_zalloc(MODMAXNAMELEN, KM_WAIT); in kobj_load_module()
2280 tp = kobj_zalloc(sizeof (struct proginfo), KM_WAIT|KM_TMP); in get_progbits()
2281 dp = kobj_zalloc(sizeof (struct proginfo), KM_WAIT|KM_TMP); in get_progbits()
2282 sdp = kobj_zalloc(sizeof (struct proginfo), KM_WAIT|KM_TMP); in get_progbits()
2545 mp->symspace = kobj_zalloc(mp->symsize, KM_WAIT|KM_SCRATCH); in get_syms()
2809 lp = kobj_zalloc(sizeof (*lp), KM_WAIT); in add_dependent()
2891 err_modname = kobj_zalloc(MODMAXNAMELEN, in do_dependents()
3478 fullname = kobj_zalloc(maxpathlen, KM_WAIT); in kobj_open_path()
3739 file = kobj_zalloc(sizeof (struct _buf), KM_WAIT|KM_TMP); in kobj_open_file()
3753 file->_base = kobj_zalloc(MAXBSIZE, KM_WAIT); in kobj_open_file()
3770 file->_base = kobj_zalloc(cbuf.blksize, KM_WAIT|KM_TMP); in kobj_open_file()
4027 kobj_zalloc(size_t size, int flag) in kobj_zalloc() function