Lines Matching refs:cnt
238 int cnt; in get_assoc_drives() local
244 for (cnt = 0; cp->disks[cnt]; cnt++); in get_assoc_drives()
247 drives = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_drives()
271 int cnt; in get_assoc_paths() local
278 cnt = 0; in get_assoc_paths()
280 for (; pp[cnt]; cnt++); in get_assoc_paths()
284 paths = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in get_assoc_paths()
295 for (i = 0; i < cnt; i++) { in get_assoc_paths()