Home
last modified time | relevance | path

Searched refs:dfs_dentry (Results 1 – 18 of 18) sorted by relevance

/components/dfs/dfs_v2/include/
A Ddfs_dentry.h25 struct dfs_dentry struct
43 struct dfs_dentry *dfs_dentry_create(struct dfs_mnt *mnt, char *fullpath); argument
44 struct dfs_dentry *dfs_dentry_create_rela(struct dfs_mnt *mnt, char *rela_path);
45 struct dfs_dentry *dfs_dentry_unref(struct dfs_dentry *dentry);
46 struct dfs_dentry *dfs_dentry_ref(struct dfs_dentry *dentry);
47 void dfs_dentry_insert(struct dfs_dentry *dentry);
48 struct dfs_dentry *dfs_dentry_lookup(struct dfs_mnt *mnt, const char *path, uint32_t flags);
51 char* dfs_dentry_full_path(struct dfs_dentry* dentry);
54 char* dfs_dentry_pathname(struct dfs_dentry* dentry);
57 uint32_t dfs_dentry_full_path_crc32(struct dfs_dentry* dentry);
A Ddfs_fs.h75 struct dfs_dentry;
93 int (*readlink)(struct dfs_dentry *dentry, char *buf, int len);
94 …int (*link)(struct dfs_dentry *src_dentry, struct dfs_dentry *dst_dentry); /*hard link interface */
95 int (*unlink)(struct dfs_dentry *dentry);
96 …int (*symlink)(struct dfs_dentry *parent_dentry, const char *target, const char *newpath); /*soft …
98 int (*rename)(struct dfs_dentry *old_dentry, struct dfs_dentry *new_dentry);
99 int (*stat)(struct dfs_dentry *dentry, struct stat *buf);
103 int (*setattr) (struct dfs_dentry *dentry, struct dfs_attr *attr);
105 struct dfs_vnode* (*lookup)(struct dfs_dentry *dentry);
107 struct dfs_vnode* (*create_vnode)(struct dfs_dentry *dentry, int type, mode_t mode);
A Ddfs_pcache.h29 struct dfs_dentry;
105 struct dfs_aspace *dfs_aspace_create(struct dfs_dentry *dentry, struct dfs_vnode *vnode, const stru…
A Ddfs_mnt.h23 struct dfs_dentry;
A Ddfs_file.h29 struct dfs_dentry;
97 struct dfs_dentry *dentry; /* dentry of this file */
/components/dfs/dfs_v2/src/
A Ddfs_dentry.c64 struct dfs_dentry *dentry = RT_NULL; in _dentry_create()
71 dentry = (struct dfs_dentry *)rt_calloc(1, sizeof(struct dfs_dentry)); in _dentry_create()
138 struct dfs_dentry * dfs_dentry_ref(struct dfs_dentry *dentry) in dfs_dentry_ref()
164 struct dfs_dentry *dfs_dentry_unref(struct dfs_dentry *dentry) in dfs_dentry_unref()
232 struct dfs_dentry *entry = RT_NULL; in _dentry_hash_lookup()
258 void dfs_dentry_insert(struct dfs_dentry *dentry) in dfs_dentry_insert()
283 struct dfs_dentry *dentry; in dfs_dentry_lookup()
365 char* dfs_dentry_full_path(struct dfs_dentry* dentry) in dfs_dentry_full_path()
404 char* dfs_dentry_pathname(struct dfs_dentry* dentry) in dfs_dentry_pathname()
447 uint32_t dfs_dentry_full_path_crc32(struct dfs_dentry* dentry) in dfs_dentry_full_path_crc32()
[all …]
A Ddfs_file.c127 struct dfs_dentry *dentry = dfs_dentry_lookup(mnt, path, 0); in _try_readlink()
569 struct dfs_dentry *dentry = RT_NULL; in dfs_file_open()
1254 struct dfs_dentry *dentry = RT_NULL; in dfs_file_stat()
1323 struct dfs_dentry *dentry = RT_NULL; in dfs_file_lstat()
1432 struct dfs_dentry *dentry = RT_NULL; in dfs_file_setattr()
1687 struct dfs_dentry *dentry = RT_NULL; in dfs_file_unlink()
1837 struct dfs_dentry *old_dentry, *new_dentry; in dfs_file_link()
1894 struct dfs_dentry *dentry = RT_NULL; in dfs_file_symlink()
2039 struct dfs_dentry *dentry = RT_NULL; in dfs_file_readlink()
2151 struct dfs_dentry *old_dentry, *new_dentry; in dfs_file_rename()
[all …]
A Ddfs_pcache.c546 static struct dfs_aspace *dfs_aspace_hash_lookup(struct dfs_dentry *dentry, const struct dfs_aspace… in dfs_aspace_hash_lookup()
672 static struct dfs_aspace *_dfs_aspace_create(struct dfs_dentry *dentry, in _dfs_aspace_create()
722 struct dfs_aspace *dfs_aspace_create(struct dfs_dentry *dentry, in dfs_aspace_create()
A Ddfs_fs.c231 struct dfs_dentry *mntpoint_dentry = RT_NULL; in dfs_mount()
/components/dfs/dfs_v2/filesystems/mqueue/
A Ddfs_mqueue.c66 int dfs_mqueue_stat(struct dfs_dentry *dentry, struct stat *st) { in dfs_mqueue_stat()
116 int dfs_mqueue_unlink(struct dfs_dentry *dentry) { in dfs_mqueue_unlink()
129 static struct dfs_vnode *dfs_mqueue_create_vnode(struct dfs_dentry *dentry, int type, mode_t mode) { in dfs_mqueue_create_vnode()
177 struct dfs_vnode *_dfs_mqueue_lookup(struct dfs_dentry *dentry) { in _dfs_mqueue_lookup()
/components/dfs/dfs_v2/filesystems/devfs/
A Ddevtmpfs.c260 static int devtmpfs_stat(struct dfs_dentry *dentry, struct stat *st) in devtmpfs_stat()
347 static int devtmpfs_symlink(struct dfs_dentry *parent_dentry, const char *target, const char *linkp… in devtmpfs_symlink()
386 static int devtmpfs_readlink(struct dfs_dentry *dentry, char *buf, int len) in devtmpfs_readlink()
430 static int devtmpfs_unlink(struct dfs_dentry *dentry) in devtmpfs_unlink()
459 static int devtmpfs_setattr(struct dfs_dentry *dentry, struct dfs_attr *attr) in devtmpfs_setattr()
481 static struct dfs_vnode *devtmpfs_create_vnode(struct dfs_dentry *dentry, int type, mode_t mode) in devtmpfs_create_vnode()
559 static struct dfs_vnode *devtmpfs_lookup(struct dfs_dentry *dentry) in devtmpfs_lookup()
A Ddevfs.c44 struct dfs_dentry *de = file->dentry; in dfs_devfs_open()
/components/dfs/dfs_v2/filesystems/procfs/
A Dprocfs.c252 static int dfs_procfs_readlink(struct dfs_dentry *dentry, char *buf, int len) in dfs_procfs_readlink()
281 static int dfs_procfs_unlink(struct dfs_dentry *dentry) in dfs_procfs_unlink()
287 static int dfs_procfs_stat(struct dfs_dentry *dentry, struct stat *st) in dfs_procfs_stat()
332 static struct dfs_vnode *dfs_procfs_lookup(struct dfs_dentry *dentry) in dfs_procfs_lookup()
372 static struct dfs_vnode *dfs_procfs_create_vnode(struct dfs_dentry *dentry, int type, mode_t mode) in dfs_procfs_create_vnode()
/components/dfs/dfs_v2/filesystems/tmpfs/
A Ddfs_tmpfs.c464 static int dfs_tmpfs_stat(struct dfs_dentry *dentry, struct stat *st) in dfs_tmpfs_stat()
554 static int dfs_tmpfs_unlink(struct dfs_dentry *dentry) in dfs_tmpfs_unlink()
589 static int dfs_tmpfs_rename(struct dfs_dentry *old_dentry, struct dfs_dentry *new_dentry) in dfs_tmpfs_rename()
640 static struct dfs_vnode *_dfs_tmpfs_lookup(struct dfs_dentry *dentry) in _dfs_tmpfs_lookup()
683 static struct dfs_vnode *dfs_tmpfs_create_vnode(struct dfs_dentry *dentry, int type, mode_t mode) in dfs_tmpfs_create_vnode()
/components/dfs/dfs_v2/filesystems/ptyfs/
A Dptyfs.c387 static int ptyfs_ops_setattr(struct dfs_dentry *dentry, struct dfs_attr *attr) in ptyfs_ops_setattr()
430 static int ptyfs_ops_stat(struct dfs_dentry *dentry, struct stat *st) in ptyfs_ops_stat()
458 static struct dfs_vnode *ptyfs_ops_lookup(struct dfs_dentry *dentry) in ptyfs_ops_lookup()
491 static struct dfs_vnode *ptyfs_ops_create_vnode(struct dfs_dentry *dentry, in ptyfs_ops_create_vnode()
/components/dfs/dfs_v2/filesystems/elmfat/
A Ddfs_elm.c766 int dfs_elm_unlink(struct dfs_dentry *dentry) in dfs_elm_unlink()
796 int dfs_elm_rename(struct dfs_dentry *old_dentry, struct dfs_dentry *new_dentry) in dfs_elm_rename()
831 int dfs_elm_stat(struct dfs_dentry *dentry, struct stat *st) in dfs_elm_stat()
938 static struct dfs_vnode *dfs_elm_lookup(struct dfs_dentry *dentry) in dfs_elm_lookup()
978 static struct dfs_vnode *dfs_elm_create_vnode(struct dfs_dentry *dentry, int type, mode_t mode) in dfs_elm_create_vnode()
/components/dfs/dfs_v2/filesystems/romfs/
A Ddfs_romfs.c170 static struct dfs_vnode *dfs_romfs_lookup (struct dfs_dentry *dentry) in dfs_romfs_lookup()
298 static int dfs_romfs_stat(struct dfs_dentry *dentry, struct stat *st) in dfs_romfs_stat()
/components/dfs/dfs_v2/filesystems/cromfs/
A Ddfs_cromfs.c1066 static int dfs_cromfs_stat(struct dfs_dentry *dentry, struct stat *st) in dfs_cromfs_stat()
1196 static struct dfs_vnode *dfs_cromfs_lookup (struct dfs_dentry *dentry) in dfs_cromfs_lookup()
1334 static int dfs_cromfs_readlink(struct dfs_dentry *dentry, char *buf, int len) in dfs_cromfs_readlink()

Completed in 31 milliseconds