550W Document
550W, a high-end OS
buf结构体 参考

#include <virtio.h>

buf 的协作图:

Public 属性

int valid
 
int disk
 
uint dev
 
uint sectorno
 
sleep_lock_t lock
 
uint refcnt
 
struct bufprev
 
struct bufnext
 
char data [BSIZE]
 

类成员变量说明

◆ data

char buf::data[BSIZE]

◆ dev

uint buf::dev

◆ disk

int buf::disk

◆ lock

sleep_lock_t buf::lock

◆ next

struct buf* buf::next

◆ prev

struct buf* buf::prev

◆ refcnt

uint buf::refcnt

◆ sectorno

uint buf::sectorno

◆ valid

int buf::valid

该结构体的文档由以下文件生成: