Lines Matching refs:DDB_HISTORY_SIZE
46 #ifndef DDB_HISTORY_SIZE
47 #define DDB_HISTORY_SIZE 0 macro
63 #if DDB_HISTORY_SIZE != 0
64 static char db_history[DDB_HISTORY_SIZE]; /* start of history buffer */
131 #if DDB_HISTORY_SIZE != 0
135 if (db_history_curr > db_history + DDB_HISTORY_SIZE - 1) \
141 db_history_curr = db_history + DDB_HISTORY_SIZE - 1; \
148 KASSERT(db_history_last <= &db_history[DDB_HISTORY_SIZE-1]); in db_hist_put()
152 if (db_history_last > &db_history[DDB_HISTORY_SIZE-1]) in db_hist_put()
233 #if DDB_HISTORY_SIZE != 0 in db_inputchar()
251 if (p >= db_history + DDB_HISTORY_SIZE) { in db_inputchar()
273 if (p >= db_history + DDB_HISTORY_SIZE) { in db_inputchar()
292 #if DDB_HISTORY_SIZE != 0 in db_inputchar()
302 if (++pp >= db_history + DDB_HISTORY_SIZE) { in db_inputchar()
305 if (++pc >= db_history + DDB_HISTORY_SIZE) { in db_inputchar()