Lines Matching refs:cur
38 reg Rsdisc_t* cur;
59 for (cur = rs->disc; cur; cur = cur->disc)
60 rs->events |= cur->events;
64 cur = rs->disc;
66 while (top = cur)
68 cur = cur->disc;
72 return cur;
75 cur = rs->disc;
77 while (cur && cur != disc)
78 cur = (prv = cur)->disc;
79 if (cur)
81 disc = cur;
83 prv->disc = cur->disc;
85 rs->disc = cur->disc;
92 for (cur = rs->disc; cur; cur = cur->disc)
93 rs->events |= cur->events;
102 for (prv = 0, cur = rs->disc; cur; cur = (prv = cur)->disc)
103 if (cur == disc)
111 prv->disc = cur->disc;
112 cur->disc = rs->disc;
113 rs->disc = cur;