Lines Matching defs:db_capture_bufsize
73 static u_int db_capture_bufsize = DDB_CAPTURE_DEFAULTBUFSIZE;
104 TUNABLE_INT_FETCH("debug.ddb.capture.bufsize", &db_capture_bufsize);
107 db_capture_bufsize = roundup(db_capture_bufsize, TEXTDUMP_BLOCKSIZE);
108 if (db_capture_bufsize > db_capture_maxbufsize)
109 db_capture_bufsize = db_capture_maxbufsize;
110 if (db_capture_bufsize != 0)
111 db_capture_buf = malloc(db_capture_bufsize, M_DDB_CAPTURE,
127 size = db_capture_bufsize;
156 db_capture_bufsize = size;
159 KASSERT(db_capture_bufoff <= db_capture_bufsize,
161 KASSERT(db_capture_bufsize <= db_capture_maxbufsize,
207 len = min(buflen, db_capture_bufsize - db_capture_bufoff);
211 KASSERT(db_capture_bufoff <= db_capture_bufsize,
247 len = min(TEXTDUMP_BLOCKSIZE, (db_capture_bufsize -
354 db_capture_bufsize);