Searched refs:vnode_ptr (Results 1 – 6 of 6) sorted by relevance
/third_party/NuttX/fs/driver/ |
D | fs_closeblockdriver.c | 52 int close_blockdriver(struct Vnode *vnode_ptr) in close_blockdriver() argument 61 if (vnode_ptr == NULL || vnode_ptr->data == NULL) in close_blockdriver() 67 bop = (struct block_operations*)(((struct drv_data*)vnode_ptr->data)->ops); in close_blockdriver() 77 if (vnode_ptr->type != VNODE_TYPE_BLK) in close_blockdriver() 85 part = los_part_find(vnode_ptr); in close_blockdriver() 110 ret = bop->close(vnode_ptr); in close_blockdriver() 124 ret = bop->close(vnode_ptr); in close_blockdriver()
|
D | fs_openblockdriver.c | 65 struct Vnode *vnode_ptr = NULL; in open_blockdriver() local 84 ret = find_blockdriver(pathname, mountflags, &vnode_ptr); in open_blockdriver() 96 struct drv_data* drv = (struct drv_data*)vnode_ptr->data; in open_blockdriver() 99 part = los_part_find(vnode_ptr); in open_blockdriver() 119 ret = ops->open(vnode_ptr); in open_blockdriver() 140 ret = ops->open(vnode_ptr); in open_blockdriver() 149 *ppvnode = vnode_ptr; in open_blockdriver()
|
/third_party/NuttX/fs/dirent/ |
D | fs_rewinddir.c | 54 struct Vnode *vnode_ptr = NULL; in rewinddir() local 66 vnode_ptr = idir->fd_root; in rewinddir() 67 if (vnode_ptr->vop != NULL && vnode_ptr->vop->Rewinddir != NULL) in rewinddir() 71 vnode_ptr->vop->Rewinddir(vnode_ptr, idir); in rewinddir()
|
D | fs_readdir.c | 58 struct Vnode *vnode_ptr = NULL; in __readdir() local 70 vnode_ptr = idir->fd_root; in __readdir() 71 if (vnode_ptr == NULL) in __readdir() 88 if (vnode_ptr->vop != NULL && vnode_ptr->vop->Readdir != NULL) in __readdir() 90 file_cnt = vnode_ptr->vop->Readdir(vnode_ptr, idir); in __readdir()
|
/third_party/NuttX/fs/inode/ |
D | fs_files.c | 320 struct Vnode *vnode_ptr = NULL; in file_dup2() local 358 vnode_ptr = filep1->f_vnode; in file_dup2() 373 if (vnode_ptr->vop) in file_dup2() 375 if (vnode_ptr->flag & VNODE_FLAG_MOUNT_NEW) in file_dup2() 383 if (vnode_ptr->vop->Open) in file_dup2() 385 ret = vnode_ptr->vop->Open(vnode_ptr, 0, 0, 0); in file_dup2() 422 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv,… in files_allocate() argument 451 filep->f_vnode = (struct Vnode *)vnode_ptr; in files_allocate() 454 filep->f_mapping = (struct page_mapping *)&vnode_ptr->mapping; in files_allocate() 456 filep->f_path = vnode_ptr->filePath; in files_allocate() [all …]
|
/third_party/NuttX/fs/vfs/include/ |
D | file.h | 473 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv,…
|