* struct vnode is an opaque type now, removed void* where it was used incorrectly.
* Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22461 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -78,32 +78,34 @@ int vfs_getrlimit(int resource, struct rlimit * rlp);
|
||||
int vfs_setrlimit(int resource, const struct rlimit * rlp);
|
||||
|
||||
/* calls needed by the VM for paging and by the file cache */
|
||||
int vfs_get_vnode_from_fd(int fd, bool kernel, void **vnode);
|
||||
status_t vfs_get_vnode_from_path(const char *path, bool kernel, void **vnode);
|
||||
status_t vfs_get_vnode(dev_t mountID, ino_t vnodeID, void **_vnode);
|
||||
int vfs_get_vnode_from_fd(int fd, bool kernel, struct vnode **_vnode);
|
||||
status_t vfs_get_vnode_from_path(const char *path, bool kernel,
|
||||
struct vnode **_vnode);
|
||||
status_t vfs_get_vnode(dev_t mountID, ino_t vnodeID, struct vnode **_vnode);
|
||||
status_t vfs_entry_ref_to_vnode(dev_t mountID, ino_t directoryID,
|
||||
const char *name, void **_vnode);
|
||||
void vfs_vnode_to_node_ref(void *_vnode, dev_t *_mountID, ino_t *_vnodeID);
|
||||
const char *name, struct vnode **_vnode);
|
||||
void vfs_vnode_to_node_ref(struct vnode *vnode, dev_t *_mountID,
|
||||
ino_t *_vnodeID);
|
||||
|
||||
status_t vfs_lookup_vnode(dev_t mountID, ino_t vnodeID, void **_vnode);
|
||||
void vfs_put_vnode(void *vnode);
|
||||
void vfs_acquire_vnode(void *vnode);
|
||||
status_t vfs_lookup_vnode(dev_t mountID, ino_t vnodeID, struct vnode **_vnode);
|
||||
void vfs_put_vnode(struct vnode *vnode);
|
||||
void vfs_acquire_vnode(struct vnode *vnode);
|
||||
status_t vfs_get_cookie_from_fd(int fd, void **_cookie);
|
||||
bool vfs_can_page(void *vnode, void *cookie);
|
||||
status_t vfs_read_pages(void *vnode, void *cookie, off_t pos,
|
||||
bool vfs_can_page(struct vnode *vnode, void *cookie);
|
||||
status_t vfs_read_pages(struct vnode *vnode, void *cookie, off_t pos,
|
||||
const iovec *vecs, size_t count, size_t *_numBytes, bool mayBlock,
|
||||
bool fsReenter);
|
||||
status_t vfs_write_pages(void *vnode, void *cookie, off_t pos,
|
||||
status_t vfs_write_pages(struct vnode *vnode, void *cookie, off_t pos,
|
||||
const iovec *vecs, size_t count, size_t *_numBytes, bool mayBlock,
|
||||
bool fsReenter);
|
||||
status_t vfs_get_vnode_cache(void *vnode, struct vm_cache **_cache,
|
||||
status_t vfs_get_vnode_cache(struct vnode *vnode, struct vm_cache **_cache,
|
||||
bool allocate);
|
||||
status_t vfs_get_file_map( void *_vnode, off_t offset, size_t size,
|
||||
status_t vfs_get_file_map(struct vnode *vnode, off_t offset, size_t size,
|
||||
struct file_io_vec *vecs, size_t *_count);
|
||||
status_t vfs_get_fs_node_from_path(dev_t mountID, const char *path,
|
||||
bool kernel, void **_node);
|
||||
status_t vfs_stat_vnode(void *_vnode, struct stat *stat);
|
||||
status_t vfs_get_vnode_name(void *vnode, char *name, size_t nameSize);
|
||||
status_t vfs_stat_vnode(struct vnode *vnode, struct stat *stat);
|
||||
status_t vfs_get_vnode_name(struct vnode *vnode, char *name, size_t nameSize);
|
||||
status_t vfs_get_cwd(dev_t *_mountID, ino_t *_vnodeID);
|
||||
void vfs_unlock_vnode_if_locked(struct file_descriptor *descriptor);
|
||||
status_t vfs_disconnect_vnode(dev_t mountID, ino_t vnodeID);
|
||||
|
||||
Reference in New Issue
Block a user