Lines Matching refs:em
128 struct ErrMsg *em; in aoechr_error() local
136 em = emsgs + emsgs_tail_idx; in aoechr_error()
137 if ((em->flags & EMFL_VALID)) { in aoechr_error()
146 em->msg = mp; in aoechr_error()
147 em->flags |= EMFL_VALID; in aoechr_error()
148 em->len = n; in aoechr_error()
215 struct ErrMsg *em; in aoechr_read() local
226 em = emsgs + emsgs_head_idx; in aoechr_read()
227 if ((em->flags & EMFL_VALID) != 0) in aoechr_read()
248 if (em->len > cnt) { in aoechr_read()
252 mp = em->msg; in aoechr_read()
253 len = em->len; in aoechr_read()
254 em->msg = NULL; in aoechr_read()
255 em->flags &= ~EMFL_VALID; in aoechr_read()