355: ep = TAILQ_FIRST(&ifm->ifm_list);
356: for (nwords = 0; ep != NULL; ep = TAILQ_NEXT(ep, ifm_list))
357: nwords++;
375: for (count = 0; ep != NULL && count < minwords;
376: ep = TAILQ_NEXT(ep, ifm_list), count++)
377: kptr[count] = ep->ifm_media;
410: for (next = TAILQ_FIRST(&ifm->ifm_list); next != NULL;
411: next = TAILQ_NEXT(next, ifm_list)) {
412: if ((next->ifm_media & mask) == (target & mask)) {
438: ife = nife) {
439: nife = TAILQ_NEXT(ife, ifm_list);
440: if (inst == IFM_INST_ANY ||
454: for (ife = TAILQ_FIRST(&ifm->ifm_list); ife != NULL; ife = nife) {
455: nife = TAILQ_NEXT(ife, ifm_list);
456: TAILQ_REMOVE(&ifm->ifm_list, ife, ifm_list);