Lines Matching defs:dnp
244 dlpi_notifyent_t *next, *dnp;
247 for (dnp = dip->dli_notifylistp; dnp != NULL; dnp = next) {
248 next = dnp->dln_next;
249 free(dnp);
1738 dlpi_notifyent_t *dnp;
1781 for (dnp = dip->dli_notifylistp; dnp != NULL; dnp = dnp->dln_next) {
1782 if (note & dnp->dln_notes)
1783 dnp->dln_fnp((dlpi_handle_t)dip, ¬ifinfo, dnp->arg);
1784 if (dnp->dln_rm)
1802 dlpi_notifyent_t *dnp;
1804 for (dnp = dip->dli_notifylistp; dnp != NULL; dnp = dnp->dln_next) {
1805 if (id == dnp)
1818 dlpi_notifyent_t *prev, *dnp;
1821 dnp = dip->dli_notifylistp;
1822 while (dnp != NULL) {
1823 if (!dnp->dln_rm) {
1824 prev = dnp;
1825 dnp = dnp->dln_next;
1827 dip->dli_notifylistp = dnp->dln_next;
1828 free(dnp);
1829 dnp = dip->dli_notifylistp;
1831 prev->dln_next = dnp->dln_next;
1832 free(dnp);
1833 dnp = prev->dln_next;