bio.inc

Buffer cache

Summary

Structs

Buffer

.devDevice id
.blockBlock number
.ulocklock
.refcountrefcount
.datablock data

Constants

Buffer flags

BUFFER_WRITEXXX
BUFFER_READXXX
BUFFER_ERRORXXX
BUFFER_DIRTYXXX
BUFFER_INVALmark buffer as invalid

Functions

bio_init

bio_getblk

bio_read

In

EAXdevid (AH major, AL minor)
ECXblock

bio_bwrite

bio_brelse

Unbusy a buffer and release it to the free lists.

Close