更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
_los_disk_结构体 参考

#include <disk.h>

成员变量

UINT32 disk_id: 8
 
UINT32 disk_status: 2
 
UINT32 part_count: 8
 
UINT32 reserved: 14
 
struct Vnodedev
 
OsBcachebcache
 
UINT32 sector_size
 
UINT64 sector_start
 
UINT64 sector_count
 
UINT8 type
 
CHARdisk_name
 
LOS_DL_LIST head
 
struct pthread_mutex disk_mutex
 
UINT8buff
 

详细描述

在文件 disk.h176 行定义.

结构体成员变量说明

◆ bcache

OsBcache* _los_disk_::bcache

在文件 disk.h183 行定义.

◆ buff

UINT8* _los_disk_::buff

在文件 disk.h193 行定义.

◆ dev

struct Vnode* _los_disk_::dev

在文件 disk.h181 行定义.

◆ disk_id

UINT32 _los_disk_::disk_id

在文件 disk.h177 行定义.

◆ disk_mutex

struct pthread_mutex _los_disk_::disk_mutex

在文件 disk.h191 行定义.

◆ disk_name

CHAR* _los_disk_::disk_name

在文件 disk.h189 行定义.

◆ disk_status

UINT32 _los_disk_::disk_status

在文件 disk.h178 行定义.

◆ head

LOS_DL_LIST _los_disk_::head

在文件 disk.h190 行定义.

◆ part_count

UINT32 _los_disk_::part_count

在文件 disk.h179 行定义.

◆ reserved

UINT32 _los_disk_::reserved

在文件 disk.h180 行定义.

◆ sector_count

UINT64 _los_disk_::sector_count

在文件 disk.h187 行定义.

◆ sector_size

UINT32 _los_disk_::sector_size

在文件 disk.h185 行定义.

◆ sector_start

UINT64 _los_disk_::sector_start

在文件 disk.h186 行定义.

◆ type

UINT8 _los_disk_::type

在文件 disk.h188 行定义.


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