Lines Matching defs:nalloced
874 int ndevis, npaths, nalloced;
885 nalloced = 128;
888 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP);
889 devis = kmem_zalloc(nalloced * sizeof (dev_info_t *), KM_SLEEP);
892 n = e_devid_cache_devi_path_lists(devid, nalloced,
894 if (n <= nalloced)
899 kmem_free(paths, nalloced * sizeof (char *));
900 kmem_free(devis, nalloced * sizeof (dev_info_t *));
901 nalloced = n + 128;
912 kmem_free(paths, nalloced * sizeof (char *));
913 kmem_free(devis, nalloced * sizeof (dev_info_t *));
979 kmem_free(paths, nalloced * sizeof (char *));
980 kmem_free(devis, nalloced * sizeof (dev_info_t *));