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

挂载操作 更多...

#include <mount.h>

成员变量

int(* Mount )(struct Mount *mount, struct Vnode *vnode, const void *data)
 挂载分区 更多...
 
int(* Unmount )(struct Mount *mount, struct Vnode **blkdriver)
 卸载分区 更多...
 
int(* Statfs )(struct Mount *mount, struct statfs *sbp)
 统计文件系统的信息,如该文件系统类型、总大小、可用大小等信息 更多...
 
int(* Sync )(struct Mount *mount)
 同步挂载 更多...
 

详细描述

挂载操作

在文件 mount.h89 行定义.

结构体成员变量说明

◆ Mount

int(* MountOps::Mount) (struct Mount *mount, struct Vnode *vnode, const void *data)

挂载分区

在文件 mount.h90 行定义.

◆ Statfs

int(* MountOps::Statfs) (struct Mount *mount, struct statfs *sbp)

统计文件系统的信息,如该文件系统类型、总大小、可用大小等信息

在文件 mount.h92 行定义.

◆ Sync

int(* MountOps::Sync) (struct Mount *mount)

同步挂载

在文件 mount.h93 行定义.

◆ Unmount

int(* MountOps::Unmount) (struct Mount *mount, struct Vnode **blkdriver)

卸载分区

在文件 mount.h91 行定义.


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