Lines Matching refs:entry
102 struct ifmedia_entry *entry;
104 for (entry = LIST_FIRST(&ifm->ifm_list); entry;
105 entry = LIST_FIRST(&ifm->ifm_list)) {
106 LIST_REMOVE(entry, ifm_list);
107 kernel_free(entry, M_IFADDR);
122 register struct ifmedia_entry *entry;
133 entry = kernel_malloc(sizeof(*entry), M_IFADDR, M_NOWAIT);
134 if (entry == NULL)
135 panic("ifmedia_add: can't malloc entry");
137 entry->ifm_media = mword;
138 entry->ifm_data = data;
139 entry->ifm_aux = aux;
141 LIST_INSERT_HEAD(&ifm->ifm_list, entry, ifm_list);
354 * Find media entry matching a given ifm word.