/haiku/src/kits/storage/ |
H A D | File.cpp | 224 return _kern_read(get_fd(), -1, buffer, size); in Read() 238 return _kern_read(get_fd(), location, buffer, size); in ReadAt() 248 return _kern_write(get_fd(), -1, buffer, size); in Write() 262 return _kern_write(get_fd(), location, buffer, size); in WriteAt() 272 return _kern_seek(get_fd(), offset, seekMode); in Seek() 282 return _kern_seek(get_fd(), 0, SEEK_CUR); in Position() 317 int fd = _kern_dup(file.get_fd()); in operator =() 347 BFile::get_fd() const in get_fd() function in BFile
|
H A D | SymLink.cpp | 93 status_t result = _kern_read_link(get_fd(), NULL, buffer, &linkLen); in ReadLink() 178 BSymLink::get_fd() const in get_fd() function in BSymLink
|
H A D | Directory.cpp | 545 BDirectory::get_fd() const in get_fd() function in BDirectory
|
H A D | Entry.cpp | 223 int dirFD = _kern_dup(dir->get_fd()); in SetTo()
|
/haiku/src/build/libbe/storage/ |
H A D | File.cpp | 343 return _kern_read(get_fd(), -1, buffer, size); in Read() 362 return _kern_read(get_fd(), location, buffer, size); in ReadAt() 376 return _kern_write(get_fd(), -1, buffer, size); in Write() 395 return _kern_write(get_fd(), location, buffer, size); in WriteAt() 420 return _kern_seek(get_fd(), offset, seekMode); in Seek() 435 return _kern_seek(get_fd(), 0, SEEK_CUR); in Position() 486 int fd = _kern_dup(file.get_fd()); in operator =() 515 BFile::get_fd() const in get_fd() function in OpenBeOS::BFile
|
H A D | Directory.cpp | 512 BDirectory::get_fd() const in get_fd() function in BDirectory
|
H A D | Entry.cpp | 411 int dirFD = _kern_dup(dir->get_fd()); in SetTo()
|
/haiku/src/tools/fs_shell/ |
H A D | fd.cpp | 213 get_fd(struct io_context *context, int fd) in get_fd() function 281 descriptor = get_fd(context, fd); in dup_fd() 418 struct file_descriptor *descriptor = get_fd(get_current_io_context(kernel), fd); in fd_is_valid() 474 descriptor = get_fd(get_current_io_context(true), fd); in _kern_read() 511 descriptor = get_fd(get_current_io_context(true), fd); in _kern_readv() 553 descriptor = get_fd(get_current_io_context(true), fd); in _kern_write() 590 descriptor = get_fd(get_current_io_context(true), fd); in _kern_writev() 631 descriptor = get_fd(get_current_io_context(true), fd); in _kern_seek() 653 descriptor = get_fd(get_current_io_context(true), fd); in _kern_ioctl() 675 descriptor = get_fd(get_current_io_context(true), fd); in _kern_read_dir() [all …]
|
H A D | fd.h | 84 extern file_descriptor* get_fd(struct io_context *, int);
|
H A D | vfs.cpp | 1590 struct file_descriptor *descriptor = get_fd(get_current_io_context(kernel), fd); in get_fd_and_vnode() 1613 descriptor = get_fd(get_current_io_context(kernel), fd); in get_vnode_from_fd() 2328 descriptor = get_fd(get_current_io_context(true), fd); in vfs_get_cookie_from_fd() 5512 = get_fd(get_current_io_context(true), fd); in _kern_read_stat() 5582 = get_fd(get_current_io_context(true), fd); in _kern_write_stat()
|
/haiku/src/system/kernel/fs/ |
H A D | fd.cpp | 272 get_fd(const struct io_context* context, int fd) in get_fd() function 343 descriptor = get_fd(context, fd); in dup_fd() 446 file_descriptor* descriptor = get_fd(fromContext, fd); in dup_foreign_fd() 465 FileDescriptorPutter descriptor(get_fd(get_current_io_context(kernelFD), fd)); in fd_ioctl() 668 = get_fd(get_current_io_context(kernel), fd); in fd_is_valid() 683 FileDescriptorPutter descriptor(get_fd(get_current_io_context(kernel), fd)); in common_vector_io() 766 FileDescriptorPutter descriptor(get_fd(get_current_io_context(false), fd)); in common_user_io() 885 FileDescriptorPutter descriptor(get_fd(get_current_io_context(false), fd)); in _user_seek() 933 FileDescriptorPutter descriptor(get_fd(ioContext, fd)); in _user_read_dir() 980 FileDescriptorPutter descriptor(get_fd(get_current_io_context(false), fd)); in _user_rewind_dir() [all …]
|
H A D | vfs.cpp | 2734 = get_fd(get_current_io_context(kernel), fd); in get_fd_and_vnode() 2758 descriptor = get_fd(get_current_io_context(kernel), fd); in get_vnode_from_fd() 4165 descriptor = get_fd(get_current_io_context(true), fd); in vfs_get_cookie_from_fd() 4349 (get_fd(get_current_io_context(kernel), fd)); in vfs_read_stat() 6213 FileDescriptorPutter descriptor(get_fd(context, fd)); in common_fcntl() 8720 (get_fd(get_current_io_context(true), fd)); in _kern_write_stat() 9685 (get_fd(get_current_io_context(false), fd)); in _user_read_stat() 9741 (get_fd(get_current_io_context(false), fd)); in _user_write_stat() 9850 = get_fd(get_current_io_context(false), attr); in _user_stat_attr()
|
H A D | socket.cpp | 347 descriptor = get_fd(get_current_io_context(kernel), fd); in get_socket_descriptor()
|
/haiku/headers/os/storage/ |
H A D | SymLink.h | 48 int get_fd() const;
|
H A D | File.h | 59 int get_fd() const;
|
H A D | Directory.h | 81 int get_fd() const;
|
/haiku/headers/build/os/storage/ |
H A D | File.h | 73 int get_fd() const;
|
H A D | Directory.h | 76 int get_fd() const;
|
/haiku/headers/private/kernel/fs/ |
H A D | fd.h | 79 extern struct file_descriptor *get_fd(const struct io_context *, int);
|
/haiku/src/system/kernel/events/ |
H A D | event_queue.cpp | 586 descriptor = get_fd(get_current_io_context(kernel), fd); in get_queue_descriptor()
|
/haiku/src/system/kernel/vm/ |
H A D | VMAnonymousCache.cpp | 1447 file_descriptor* descriptor = get_fd(get_current_io_context(true), fd); in swap_file_add()
|
H A D | vm.cpp | 2285 file_descriptor* descriptor = get_fd(get_current_io_context(kernel), fd); in _vm_map_file()
|
/haiku/docs/user/storage/ |
H A D | Directory.dox | 635 \fn int BDirectory::get_fd() const
|