check_for_eos
static inline int check_for_eos(struct bb_priv *priv, u8 byte);
priv->end |= check_for_eos(priv, priv->rbuf[priv->count - 1]);
if (check_for_eos(priv, buffer[*bytes_read - 1]))