Lines Matching refs:em
138 struct ErrMsg *em; in aoechr_error() local
146 em = emsgs + emsgs_tail_idx; in aoechr_error()
147 if ((em->flags & EMFL_VALID)) { in aoechr_error()
156 em->msg = mp; in aoechr_error()
157 em->flags |= EMFL_VALID; in aoechr_error()
158 em->len = n; in aoechr_error()
225 struct ErrMsg *em; in aoechr_read() local
236 em = emsgs + emsgs_head_idx; in aoechr_read()
237 if ((em->flags & EMFL_VALID) != 0) in aoechr_read()
258 if (em->len > cnt) { in aoechr_read()
262 mp = em->msg; in aoechr_read()
263 len = em->len; in aoechr_read()
264 em->msg = NULL; in aoechr_read()
265 em->flags &= ~EMFL_VALID; in aoechr_read()