Lines Matching refs:tail
642 mdsetnamelist_t **tail;
648 for (tail = &setlistp; (*tail != NULL); tail = &(*tail)->next) {
649 sp = (*tail)->sp;
660 *tail = Zalloc(sizeof (**tail));
661 sp = (*tail)->sp = Zalloc(sizeof (*sp));
710 mdsetnamelist_t **tail;
714 for (tail = &setlistp; (*tail != NULL); tail = &(*tail)->next) {
715 sp = (*tail)->sp;
724 *tail = Zalloc(sizeof (**tail));
725 sp = (*tail)->sp = Zalloc(sizeof (*sp));
894 mdsetnamelist_t **tail, **prev;
897 for (prev = NULL, tail = &setlistp; (*tail != NULL);
898 tail = &(*tail)->next) {
899 sp = (*tail)->sp;
904 setlistp = (*tail)->next;
906 (*prev)->next = (*tail)->next;
911 prev = tail;
1302 * INPUT: tailpp - pointer to the list tail pointer
1305 * RETURNS: mddrivenamelist_t * - new tail of the list.
1307 * metanamelist_append finds the tail each time which slows
1308 * down long lists. By keeping track of the tail ourselves
2520 mddrivenamelist_t **tail;
2547 for (tail = &drivelistp; (*tail != NULL); tail = &(*tail)->next) {
2548 dnp = (*tail)->drivenamep;
2576 *tail = Zalloc(sizeof (**tail));
2577 dnp = (*tail)->drivenamep = Zalloc(sizeof (*dnp));
2630 Free(*tail);
2631 *tail = NULL;
2708 mddrivenamelist_t **tail;
2720 for (tail = &drivelistp; (*tail != NULL); tail = &(*tail)->next) {
2721 dnp = (*tail)->drivenamep;
2765 *tail = Zalloc(sizeof (**tail));
2766 dnp = (*tail)->drivenamep = Zalloc(sizeof (*dnp));
2827 Free(*tail);
2828 *tail = NULL;
2846 mddrivenamelist_t **tail;
2856 for (tail = &drivelistp; (*tail != NULL); tail = &(*tail)->next) {
2857 dnp = (*tail)->drivenamep;
2894 *tail = Zalloc(sizeof (**tail));
2895 dnp = (*tail)->drivenamep = Zalloc(sizeof (*dnp));
2948 Free(*tail);
2949 *tail = NULL;
2965 mddrivenamelist_t **tail;
2980 for (tail = &drivelistp; (*tail != NULL); tail = &(*tail)->next) {
2981 dnp = (*tail)->drivenamep;
3304 * INPUT: tailpp - pointer to the list tail pointer
3307 * RETURNS: mdnamelist_t * - new tail of the list.
3309 * metanamelist_append finds the tail each time which slows
3310 * down long lists. By keeping track of the tail ourselves
3412 mdhspnamelist_t **tail;
3422 for (tail = &hsplistp; (*tail != NULL); tail = &(*tail)->next) {
3423 hspnp = (*tail)->hspnamep;
3451 *tail = Zalloc(sizeof (**tail));
3452 hspnp = (*tail)->hspnamep = Zalloc(sizeof (*hspnp));