aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-05-14 11:09:43 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-05-14 11:09:43 +0000
commit98b0c7897836555c6ae61785442cb5d6a4ed2551 (patch)
tree2bbba972edd4467a07189ae4827f761db93b7e6a /sys/sys/bio.h
parent3f2bb38c5c2182bb3908655892c5971efcf9b775 (diff)
downloadsrc-98b0c7897836555c6ae61785442cb5d6a4ed2551.tar.gz
src-98b0c7897836555c6ae61785442cb5d6a4ed2551.zip
Make daddr_t and u_daddr_t 64bits wide.
Retire daddr64_t and use daddr_t instead. Sponsored by: DARPA & NAI Labs.
Notes
Notes: svn path=/head/; revision=96572
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 778fe5f7c62e..61e53d707580 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -65,7 +65,7 @@ struct iodone_chain {
struct bio {
u_int bio_cmd; /* I/O operation. */
dev_t bio_dev; /* Device to do I/O on. */
- daddr64_t bio_blkno; /* Underlying physical block number. */
+ daddr_t bio_blkno; /* Underlying physical block number. */
off_t bio_offset; /* Offset into file. */
long bio_bcount; /* Valid bytes in buffer. */
caddr_t bio_data; /* Memory, superblocks, indirect etc. */
@@ -81,7 +81,7 @@ struct bio {
TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */
/* XXX: these go away when bio chaining is introduced */
- daddr64_t bio_pblkno; /* physical block number */
+ daddr_t bio_pblkno; /* physical block number */
struct iodone_chain *bio_done_chain;
struct bio *bio_linkage;
off_t bio_length;
@@ -135,7 +135,7 @@ biofinish(struct bio *bp, struct devstat *stat, int error)
struct bio_queue_head {
TAILQ_HEAD(bio_queue, bio) queue;
- daddr64_t last_pblkno;
+ daddr_t last_pblkno;
struct bio *insert_point;
struct bio *switch_point;
int busy;