Lines Matching defs:entry
244 struct pf_osfp_entry *entry;
255 SLIST_FOREACH(entry, list, fp_entry) {
256 PF_OSFP_UNPACK(entry->fp_os, en_class, en_version, en_subtype);
261 entry->fp_class_nm, entry->fp_version_nm,
262 entry->fp_subtype_nm, os, entry->fp_os);
297 struct pf_osfp_entry *entry;
301 while ((entry = SLIST_FIRST(&fp->fp_oses))) {
303 pool_put(&pf_osfp_entry_pl, entry);
315 struct pf_osfp_entry *entry, *uentry;
359 SLIST_FOREACH(entry, &fp->fp_oses, fp_entry) {
360 if (PF_OSFP_ENTRY_EQ(entry, &fpioc->fp_os))
363 if ((entry = pool_get(&pf_osfp_entry_pl, PR_WAITOK)) == NULL)
378 if ((entry = pool_get(&pf_osfp_entry_pl, PR_WAITOK)) == NULL) {
384 memcpy(entry, &fpioc->fp_os, sizeof (*entry));
387 entry->fp_class_nm[sizeof (entry->fp_class_nm)-1] = '\0';
388 entry->fp_version_nm[sizeof (entry->fp_version_nm)-1] = '\0';
389 entry->fp_subtype_nm[sizeof (entry->fp_subtype_nm)-1] = '\0';
391 SLIST_INSERT_HEAD(&fp->fp_oses, entry, fp_entry);
518 struct pf_osfp_entry *entry;
525 SLIST_FOREACH(entry, &fp->fp_oses, fp_entry) {
534 memcpy(&fpioc->fp_os, entry,