diff options
author | 2009-08-14 21:16:13 +0000 | |
---|---|---|
committer | 2009-08-14 21:16:13 +0000 | |
commit | bfe91d83d064d29e1fc21e75b71ddbe772b4824b (patch) | |
tree | e612d5981e1c332071bda9493f2b0bc4e2064c24 /sys/ddb/db_interface.h | |
parent | - fix function name in vprint() (diff) | |
download | wireguard-openbsd-bfe91d83d064d29e1fc21e75b71ddbe772b4824b.tar.xz wireguard-openbsd-bfe91d83d064d29e1fc21e75b71ddbe772b4824b.zip |
add ddb functions to be able to show all the nfsnodes in the system
and rewrite the nfsreq code to use pool_walk().
OK beck@, blambert@
Diffstat (limited to 'sys/ddb/db_interface.h')
-rw-r--r-- | sys/ddb/db_interface.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/ddb/db_interface.h b/sys/ddb/db_interface.h index 5d57ed043d9..7b25667d3c6 100644 --- a/sys/ddb/db_interface.h +++ b/sys/ddb/db_interface.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.h,v 1.13 2009/08/13 13:49:20 thib Exp $ */ +/* $OpenBSD: db_interface.h,v 1.14 2009/08/14 21:16:13 thib Exp $ */ /* $NetBSD: db_interface.h,v 1.1 1996/02/05 01:57:03 christos Exp $ */ /* @@ -56,9 +56,10 @@ void vfs_mount_print(struct mount *, int, int (*)(const char *, ...)); void db_show_all_pools(db_expr_t, int, db_expr_t, char *); /* nfs/nfs_debug.c */ -struct nfsreq; void db_show_all_nfsreqs(db_expr_t, int, db_expr_t, char *); -void db_nfsreq_print(struct nfsreq *, int, int (*)(const char *, ...)); +void nfs_request_print(void *, int, int (*)(const char *, ...)); +void db_show_all_nfsnodes(db_expr_t, int, db_expr_t, char *); +void nfs_node_print(void *, int, int (*)(const char *, ...)); /* ufs/ffs/ffs_softdep.c */ struct worklist; |