Lines Matching defs:fdalp
496 free_fd(Alist *fdalp)
498 if (fdalp) {
502 for (ALIST_TRAVERSE(fdalp, idx, fdp)) {
506 free(fdalp);
522 Alist *fdalp = NULL;
609 (alist_append(&fdalp, &fd, sizeof (Fdesc),
622 if ((fdalp == NULL) || error) {
623 if (fdalp)
624 free_fd(fdalp);
632 qsort(fdalp->al_data, fdalp->al_nitems, fdalp->al_size, compare);
639 for (ALIST_TRAVERSE(fdalp, idx, fdp)) {
641 alist_delete(fdalp, &idx);
644 if (fdalp->al_nitems == 0) {
645 free_fd(fdalp);
649 *fdalpp = fdalp;
658 Alist *fdalp = NULL;
665 if (cap_dir(&fdalp, lml, dir, flmp, flags, &rej, in_nfavl) == 0)
672 for (ALIST_TRAVERSE(fdalp, idx, fdp)) {
776 free_fd(fdalp);
787 Alist *fdalp = NULL;
796 if (cap_dir(&fdalp, lml, dir, clmp, flags, rej, in_nfavl) == 0)
803 for (ALIST_TRAVERSE(fdalp, idx, fdp)) {
811 free_fd(fdalp);