Home
last modified time | relevance | path

Searched refs:db_capture_buf (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/ddb/
H A Ddb_capture.c72 static char *db_capture_buf; variable
112 db_capture_buf = malloc(db_capture_bufsize, M_DDB_CAPTURE, in db_capture_sysinit()
151 if (db_capture_buf != NULL && buf != NULL) in sysctl_debug_ddb_capture_bufsize()
152 bcopy(db_capture_buf, buf, len); in sysctl_debug_ddb_capture_bufsize()
153 if (db_capture_buf != NULL) in sysctl_debug_ddb_capture_bufsize()
154 free(db_capture_buf, M_DDB_CAPTURE); in sysctl_debug_ddb_capture_bufsize()
156 db_capture_buf = buf; in sysctl_debug_ddb_capture_bufsize()
187 error = SYSCTL_OUT(req, db_capture_buf, db_capture_bufoff); in sysctl_debug_ddb_capture_data()
212 bcopy(buffer, db_capture_buf + db_capture_bufoff, len); in db_capture_write()
253 bzero(db_capture_buf + db_capture_bufoff, len); in db_capture_zeropad()
[all …]
/freebsd/sbin/ddb/
H A Dddb_capture.c98 char *buffer, *db_capture_buf; in ddb_capture_print_kvm() local
100 if (kread_symbol(kvm, X_DB_CAPTURE_BUF, &db_capture_buf, in ddb_capture_print_kvm()
101 sizeof(db_capture_buf), 0) < 0) in ddb_capture_print_kvm()
114 if (kread(kvm, db_capture_buf, buffer, db_capture_bufoff, 0) < 0) in ddb_capture_print_kvm()