Lines Matching refs:len
94 int hdr_len, len, rest;
121 len = vsnprintf(tmp, NANDSIM_ENTRY_SIZE - 1, fmt, ap);
140 if (rest >= len) {
141 bcopy(tmp, &sc->log_buff[sc->log_idx], len);
142 sc->log_idx += len;
146 bcopy(&tmp[rest], sc->log_buff, len - rest);
147 sc->log_idx = len - rest;
155 len = vsnprintf(tmp, NANDSIM_ENTRY_SIZE - 1, fmt, ap);
171 if (rest >= len) {
173 str_index += len;
179 str_index = len - rest;