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()
148 em->msg = mp; in aoechr_error()
149 em->flags |= EMFL_VALID; in aoechr_error()
150 em->len = n; in aoechr_error()
217 struct ErrMsg *em; in aoechr_read() local
228 em = emsgs + emsgs_head_idx; in aoechr_read()
229 if ((em->flags & EMFL_VALID) != 0) in aoechr_read()
250 if (em->len > cnt) { in aoechr_read()
254 mp = em->msg; in aoechr_read()
255 len = em->len; in aoechr_read()
256 em->msg = NULL; in aoechr_read()
257 em->flags &= ~EMFL_VALID; in aoechr_read()