tty: don't use custom kputc; this fixes tty printf()s.
[minix.git] / servers / pfs / type.h
blob693aecfe91a50e418aae1c6f63e330e2412fe2d0
2 struct buf {
3 /* Data portion of the buffer. */
4 union fsdata_u *bp;
6 /* Header portion of the buffer. */
7 struct buf *b_next; /* used to link all free bufs in a chain */
8 struct buf *b_prev; /* used to link all free bufs the other way */
9 struct buf *b_hash; /* used to link bufs on hash chains */
10 block_t b_blocknr; /* block number of its (minor) device */
11 dev_t b_dev; /* major | minor device where block resides */
12 char b_dirt; /* CLEAN or DIRTY */
13 char b_count; /* number of users of this buffer */
14 int b_bytes; /* Number of bytes allocated in bp */