Lines Matching refs:pmd
261 struct prefix_match_data *pmd; in htable_prefix_free_cb() local
263 pmd = (struct prefix_match_data *)farg; in htable_prefix_free_cb()
265 if (llt->llt_match_prefix(pmd->addr, pmd->mask, pmd->flags, lle)) { in htable_prefix_free_cb()
267 CK_LIST_INSERT_HEAD(&pmd->dchain, lle, lle_chain); in htable_prefix_free_cb()
278 struct prefix_match_data pmd; in htable_prefix_free() local
280 bzero(&pmd, sizeof(pmd)); in htable_prefix_free()
281 pmd.addr = addr; in htable_prefix_free()
282 pmd.mask = mask; in htable_prefix_free()
283 pmd.flags = flags; in htable_prefix_free()
284 CK_LIST_INIT(&pmd.dchain); in htable_prefix_free()
288 lltable_foreach_lle(llt, htable_prefix_free_cb, &pmd); in htable_prefix_free()
290 llentries_unlink(llt, &pmd.dchain); in htable_prefix_free()
293 CK_LIST_FOREACH_SAFE(lle, &pmd.dchain, lle_chain, next) in htable_prefix_free()