Lines Matching defs:db_capture_bufoff
75 static u_int db_capture_bufoff; /* Next location to write in buffer. */
87 &db_capture_bufoff, 0, "Bytes of data in DDB capture buffer");
145 len = min(db_capture_bufoff, size);
154 db_capture_bufoff = len;
159 KASSERT(db_capture_bufoff <= db_capture_bufsize,
185 error = SYSCTL_OUT(req, db_capture_buf, db_capture_bufoff);
207 len = min(buflen, db_capture_bufsize - db_capture_bufoff);
208 bcopy(buffer, db_capture_buf + db_capture_bufoff, len);
209 db_capture_bufoff += len;
211 KASSERT(db_capture_bufoff <= db_capture_bufsize,
248 db_capture_bufoff) % TEXTDUMP_BLOCKSIZE);
249 bzero(db_capture_buf + db_capture_bufoff, len);
261 db_capture_bufoff = 0;
304 if (db_capture_bufoff == 0)
309 db_capture_bufoff);
311 for (offset = 0; offset < db_capture_bufoff + db_capture_bufpadding;
314 db_capture_bufoff = 0;
353 db_printf("%u/%u bytes used\n", db_capture_bufoff,