Lines Matching refs:mc
139 void (* mc_complete)(struct mly_command *mc); /* completion handler */
320 mly_enqueue_ ## name (struct mly_command *mc) \
323 TAILQ_INSERT_TAIL(&mc->mc_sc->mly_ ## name, mc, mc_link); \
324 MLYQ_ADD(mc->mc_sc, index); \
327 mly_requeue_ ## name (struct mly_command *mc) \
330 TAILQ_INSERT_HEAD(&mc->mc_sc->mly_ ## name, mc, mc_link); \
331 MLYQ_ADD(mc->mc_sc, index); \
336 struct mly_command *mc; \
338 if ((mc = TAILQ_FIRST(&sc->mly_ ## name)) != NULL) { \
339 TAILQ_REMOVE(&sc->mly_ ## name, mc, mc_link); \
342 return(mc); \
345 mly_remove_ ## name (struct mly_command *mc) \
348 TAILQ_REMOVE(&mc->mc_sc->mly_ ## name, mc, mc_link); \
349 MLYQ_REMOVE(mc->mc_sc, index); \