Lines Matching refs:fd

47 /** The I/O context of a process/team, holds the fd array among others */
83 status_t vfs_get_vnode_from_fd(int fd, bool kernel, struct vnode **_vnode);
99 status_t vfs_get_cookie_from_fd(int fd, void **_cookie);
136 status_t vfs_read_stat(int fd, const char *path, bool traverseLeafLink,
180 int _user_open(int fd, const char *path, int openMode, int perms);
184 int _user_open_dir(int fd, const char *path);
185 int _user_open_parent_dir(int fd, char *name, size_t nameLength);
186 status_t _user_fcntl(int fd, int op, size_t argument);
187 status_t _user_fsync(int fd);
188 status_t _user_flock(int fd, int op);
189 status_t _user_read_stat(int fd, const char *path, bool traverseLink,
191 status_t _user_write_stat(int fd, const char *path, bool traverseLink,
193 off_t _user_seek(int fd, off_t pos, int seekType);
196 status_t _user_create_dir(int fd, const char *path, int perms);
197 status_t _user_remove_dir(int fd, const char *path);
198 status_t _user_read_link(int fd, const char *path, char *buffer,
201 status_t _user_create_symlink(int fd, const char *path, const char *toPath,
205 status_t _user_unlink(int fd, const char *path);
208 status_t _user_create_fifo(int fd, const char *path, mode_t perms);
210 status_t _user_access(int fd, const char *path, int mode,
216 int _user_open_attr_dir(int fd, const char *path,
218 ssize_t _user_read_attr(int fd, const char *attribute, off_t pos,
220 ssize_t _user_write_attr(int fd, const char *attribute, uint32 type,
222 status_t _user_stat_attr(int fd, const char *attribute,
224 int _user_open_attr(int fd, const char* path, const char *name,
226 status_t _user_remove_attr(int fd, const char *name);
236 status_t _user_setcwd(int fd, const char *path);
241 /* fd user prototypes (implementation located in fd.cpp) */
242 ssize_t _user_read(int fd, off_t pos, void *buffer, size_t bufferSize);
243 ssize_t _user_readv(int fd, off_t pos, const iovec *vecs, size_t count);
244 ssize_t _user_write(int fd, off_t pos, const void *buffer,
246 ssize_t _user_writev(int fd, off_t pos, const iovec *vecs, size_t count);
247 status_t _user_ioctl(int fd, uint32 cmd, void *data, size_t length);
248 ssize_t _user_read_dir(int fd, struct dirent *buffer, size_t bufferSize,
250 status_t _user_rewind_dir(int fd);
251 status_t _user_close(int fd);
252 int _user_dup(int fd);
254 status_t _user_lock_node(int fd);
255 status_t _user_unlock_node(int fd);
256 status_t _user_preallocate(int fd, off_t offset, off_t length);