Lines Matching refs:entry
123 struct ifmedia_entry *entry;
125 for (entry = LIST_FIRST(&ifm->ifm_list); entry;
126 entry = LIST_FIRST(&ifm->ifm_list)) {
127 LIST_REMOVE(entry, ifm_list);
128 FREE(entry, M_IFADDR);
143 register struct ifmedia_entry *entry;
151 printf("Adding entry for ");
156 entry = _MALLOC(sizeof(*entry), M_IFADDR, M_NOWAIT);
157 if (entry == NULL)
158 panic("ifmedia_add: can't malloc entry");
160 entry->ifm_media = mword;
161 entry->ifm_data = data;
162 entry->ifm_aux = aux;
164 LIST_INSERT_HEAD(&ifm->ifm_list, entry, ifm_list);
380 * Find media entry matching a given ifm word.