Searched refs:log_idx (Results 1 – 3 of 3) sorted by relevance
125 rest = log_size - sc->log_idx - 1; in nandsim_log()127 bcopy(hdr, &sc->log_buff[sc->log_idx], in nandsim_log()129 sc->log_idx += hdr_len; in nandsim_log()130 sc->log_buff[sc->log_idx] = 0; in nandsim_log()132 bcopy(hdr, &sc->log_buff[sc->log_idx], rest); in nandsim_log()135 sc->log_idx = hdr_len - rest; in nandsim_log()136 sc->log_buff[sc->log_idx] = 0; in nandsim_log()139 rest = log_size - sc->log_idx - 1; in nandsim_log()141 bcopy(tmp, &sc->log_buff[sc->log_idx], len); in nandsim_log()142 sc->log_idx += len; in nandsim_log()[all …]
61 int log_idx; member
415 len1 = strlen(&sc->log_buff[sc->log_idx + 1]); in nandsim_print_log()418 copyout(&sc->log_buff[sc->log_idx + 1], sim_log->log, len1); in nandsim_print_log()