Searched refs:nalloced (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Ddevid_cache.c873 int ndevis, npaths, nalloced; local
884 nalloced = 128;
887 paths = kmem_zalloc(nalloced * sizeof (char *), KM_SLEEP);
888 devis = kmem_zalloc(nalloced * sizeof (dev_info_t *), KM_SLEEP);
891 n = e_devid_cache_devi_path_lists(devid, nalloced,
893 if (n <= nalloced)
898 kmem_free(paths, nalloced * sizeof (char *));
899 kmem_free(devis, nalloced * sizeof (dev_info_t *));
900 nalloced = n + 128;
911 kmem_free(paths, nalloced * sizeo
[all...]

Completed in 45 milliseconds