Lines Matching refs:KM_SLEEP
271 np = kmem_zalloc(sizeof (nvp_devid_t), KM_SLEEP); in devid_cache_unpack_nvlist()
272 np->nvp_devpath = i_ddi_strdup(name, KM_SLEEP); in devid_cache_unpack_nvlist()
273 np->nvp_devid = kmem_alloc(n, KM_SLEEP); in devid_cache_unpack_nvlist()
303 rval = nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in devid_cache_pack_list()
315 rval = nvlist_alloc(&sub_nvl, NV_UNIQUE_NAME, KM_SLEEP); in devid_cache_pack_list()
528 path = kmem_alloc(pathlen, KM_SLEEP); in e_devid_cache_register_cmn()
539 fullpath = kmem_alloc(MAXPATHLEN, KM_SLEEP); in e_devid_cache_register_cmn()
542 path = kmem_alloc(pathlen, KM_SLEEP); in e_devid_cache_register_cmn()
549 new_nvp = kmem_zalloc(sizeof (nvp_devid_t), KM_SLEEP); in e_devid_cache_register_cmn()
551 new_devid = kmem_alloc(new_devid_size, KM_SLEEP); in e_devid_cache_register_cmn()
902 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP); in e_devid_cache_to_devt_list()
903 devis = kmem_zalloc(nalloced * sizeof (dev_info_t *), KM_SLEEP); in e_devid_cache_to_devt_list()
919 path = i_ddi_strdup(paths[i], KM_SLEEP); in e_devid_cache_to_devt_list()
934 devts = kmem_alloc(ndevts_alloced * sizeof (dev_t), KM_SLEEP); in e_devid_cache_to_devt_list()
1025 udevts = kmem_alloc(undevts * sizeof (dev_t), KM_SLEEP); in e_devid_cache_to_devt_list()
1157 devid_dup = kmem_alloc(n, KM_SLEEP); /* caller must free */ in e_devid_cache_path_to_devid()