Searched refs:lep_arr (Results 1 – 1 of 1) sorted by relevance
819 struct log_elem ** lep_arr; in enumerate_pages() local828 lep_arr = (struct log_elem **)calloc(k, sizeof(struct log_elem *)); in enumerate_pages()829 if (NULL == lep_arr) { in enumerate_pages()834 lep_arr[k] = lep; in enumerate_pages()835 lep_arr[k++] = lep; /* put sentinel on end */ in enumerate_pages()836 qsort(lep_arr, k, sizeof(struct log_elem *), asort_comp); in enumerate_pages()838 for (lepp = lep_arr, j = 0; (*lepp)->pg_code >=0; ++lepp, ++j) in enumerate_pages()840 free(lep_arr); in enumerate_pages()