RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
dfs_filesystem_ops结构体 参考

#include <dfs_fs.h>

成员变量

const char * name
 
uint32_t flags
 
const struct dfs_file_opsdefault_fops
 
int(* mount )(struct dfs_mnt *mnt, unsigned long rwflag, const void *data)
 
int(* umount )(struct dfs_mnt *mnt)
 
int(* mkfs )(rt_device_t devid, const char *fs_name)
 
int(* readlink )(struct dfs_dentry *dentry, char *buf, int len)
 
int(* link )(struct dfs_dentry *src_dentry, struct dfs_dentry *dst_dentry)
 
int(* unlink )(struct dfs_dentry *dentry)
 
int(* symlink )(struct dfs_dentry *parent_dentry, const char *target, const char *newpath)
 
int(* rename )(struct dfs_dentry *old_dentry, struct dfs_dentry *new_dentry)
 
int(* stat )(struct dfs_dentry *dentry, struct stat *buf)
 
int(* statfs )(struct dfs_mnt *mnt, struct statfs *buf)
 
int(* setattr )(struct dfs_dentry *dentry, struct dfs_attr *attr)
 
struct dfs_vnode *(* lookup )(struct dfs_dentry *dentry)
 
struct dfs_vnode *(* create_vnode )(struct dfs_dentry *dentry, int type, mode_t mode)
 
int(* free_vnode )(struct dfs_vnode *vnode)
 

详细描述

在文件 dfs_fs.h80 行定义.

结构体成员变量说明

◆ name

const char* dfs_filesystem_ops::name

在文件 dfs_fs.h82 行定义.

◆ flags

uint32_t dfs_filesystem_ops::flags

在文件 dfs_fs.h83 行定义.

◆ default_fops

const struct dfs_file_ops* dfs_filesystem_ops::default_fops

在文件 dfs_fs.h86 行定义.

◆ mount

int(* dfs_filesystem_ops::mount) (struct dfs_mnt *mnt, unsigned long rwflag, const void *data)

在文件 dfs_fs.h88 行定义.

◆ umount

int(* dfs_filesystem_ops::umount) (struct dfs_mnt *mnt)

在文件 dfs_fs.h89 行定义.

◆ mkfs

int(* dfs_filesystem_ops::mkfs) (rt_device_t devid, const char *fs_name)

在文件 dfs_fs.h91 行定义.

◆ readlink

int(* dfs_filesystem_ops::readlink) (struct dfs_dentry *dentry, char *buf, int len)

在文件 dfs_fs.h93 行定义.

◆ link

int(* dfs_filesystem_ops::link) (struct dfs_dentry *src_dentry, struct dfs_dentry *dst_dentry)

在文件 dfs_fs.h94 行定义.

◆ unlink

int(* dfs_filesystem_ops::unlink) (struct dfs_dentry *dentry)

在文件 dfs_fs.h95 行定义.

◆ symlink

int(* dfs_filesystem_ops::symlink) (struct dfs_dentry *parent_dentry, const char *target, const char *newpath)

在文件 dfs_fs.h96 行定义.

◆ rename

int(* dfs_filesystem_ops::rename) (struct dfs_dentry *old_dentry, struct dfs_dentry *new_dentry)

在文件 dfs_fs.h98 行定义.

◆ stat

int(* dfs_filesystem_ops::stat) (struct dfs_dentry *dentry, struct stat *buf)

在文件 dfs_fs.h99 行定义.

◆ statfs

int(* dfs_filesystem_ops::statfs) (struct dfs_mnt *mnt, struct statfs *buf)

在文件 dfs_fs.h101 行定义.

◆ setattr

int(* dfs_filesystem_ops::setattr) (struct dfs_dentry *dentry, struct dfs_attr *attr)

在文件 dfs_fs.h103 行定义.

◆ lookup

struct dfs_vnode *(* dfs_filesystem_ops::lookup) (struct dfs_dentry *dentry)

在文件 dfs_fs.h103 行定义.

◆ create_vnode

struct dfs_vnode *(* dfs_filesystem_ops::create_vnode) (struct dfs_dentry *dentry, int type, mode_t mode)

在文件 dfs_fs.h103 行定义.

◆ free_vnode

int(* dfs_filesystem_ops::free_vnode) (struct dfs_vnode *vnode)

在文件 dfs_fs.h108 行定义.