Lines Matching refs:wcp
863 struct node *lnp, struct node *anp, struct wildcardinfo *wcp) in vmatch_event() argument
877 if (wcp->got_wc_hz == 1) in vmatch_event()
886 pcp = config_parent(wcp->nptop->u.event.epname->u.name.cp); in vmatch_event()
891 wcp->nptop->u.event.ewname = wcp->ewname; in vmatch_event()
892 wcp->nptop->u.event.oldepname = wcp->oldepname; in vmatch_event()
894 wcp->got_wc_hz = 0; in vmatch_event()
897 if (wcp->ewname == NULL) { in vmatch_event()
908 if (wcp->ewname != NULL) { in vmatch_event()
909 cpnode->u.name.next = wcp->ewname; in vmatch_event()
911 wcp->ewname->u.name.last; in vmatch_event()
913 wcp->ewname = cpnode; in vmatch_event()
920 ewfp = tname_dup(wcp->ewname, CN_DUP); in vmatch_event()
922 ewfp->u.name.last = wcp->oldepname->u.name.last; in vmatch_event()
923 ewlp->u.name.next = wcp->oldepname; in vmatch_event()
925 wcp->nptop->u.event.epname = ewfp; in vmatch_event()
926 wcp->nptop->u.event.ewname = wcp->ewname; in vmatch_event()
927 wcp->nptop->u.event.oldepname = wcp->oldepname; in vmatch_event()
929 wcp->got_wc_hz = 0; in vmatch_event()
930 wcp->nptop->u.event.epname = wcp->oldepname; in vmatch_event()
943 tree_free(wcp->ewname); in vmatch_event()
944 wcp->ewname = NULL; in vmatch_event()
1026 if (np == wcp->nptop->u.event.epname) in vmatch_event()
1029 anp, wcp); in vmatch_event()
1046 lnp, anp, wcp); in vmatch_event()
1056 if (G.matched && np == wcp->nptop->u.event.epname && in vmatch_event()
1058 wcp->got_wc_hz = 1; in vmatch_event()
1099 if (np == wcp->nptop->u.event.epname) in vmatch_event()
1101 anp, wcp); in vmatch_event()
1111 } else if (np == wcp->nptop->u.event.epname) { in vmatch_event()
1117 wcp); in vmatch_event()
1192 struct wildcardinfo *wcp; in vmatch() local
1239 for (wcp = wcproot; wcp; wcp = wcp->next) { in vmatch()
1240 oldepname = wcp->oldepname; in vmatch()
1241 oldnptop = wcp->nptop; in vmatch()
1269 np->u.event.oldepname = wcp->oldepname; in vmatch()
1270 np->u.event.ewname = wcp->ewname; in vmatch()
1290 wcp->oldepname = np->u.event.epname; in vmatch()
1291 wcp->nptop = np; in vmatch()
1293 anp, wcp); in vmatch()
1294 wcp->oldepname = oldepname; in vmatch()
1295 wcp->nptop = oldnptop; in vmatch()
1308 wcp = MALLOC(sizeof (struct wildcardinfo)); in vmatch()
1309 wcp->next = wcproot; in vmatch()
1310 wcproot = wcp; in vmatch()
1311 wcp->nptop = np; in vmatch()
1312 wcp->oldepname = np->u.event.epname; in vmatch()
1313 wcp->ewname = NULL; in vmatch()
1314 wcp->got_wc_hz = 0; in vmatch()
1317 np->u.event.epname, lnp, anp, wcp); in vmatch()
1319 wcproot = wcp->next; in vmatch()
1320 FREE(wcp); in vmatch()