Lines Matching refs:nalloced
873 int ndevis, npaths, nalloced; in e_devid_cache_to_devt_list() local
884 nalloced = 128; in e_devid_cache_to_devt_list()
887 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP); in e_devid_cache_to_devt_list()
888 devis = kmem_zalloc(nalloced * sizeof (dev_info_t *), KM_SLEEP); in e_devid_cache_to_devt_list()
891 n = e_devid_cache_devi_path_lists(devid, nalloced, in e_devid_cache_to_devt_list()
893 if (n <= nalloced) in e_devid_cache_to_devt_list()
898 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list()
899 kmem_free(devis, nalloced * sizeof (dev_info_t *)); in e_devid_cache_to_devt_list()
900 nalloced = n + 128; in e_devid_cache_to_devt_list()
911 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list()
912 kmem_free(devis, nalloced * sizeof (dev_info_t *)); in e_devid_cache_to_devt_list()
978 kmem_free(paths, nalloced * sizeof (char *)); in e_devid_cache_to_devt_list()
979 kmem_free(devis, nalloced * sizeof (dev_info_t *)); in e_devid_cache_to_devt_list()