Home
last modified time | relevance | path

Searched refs:get_fd (Results 1 – 23 of 23) sorted by relevance

/haiku/src/kits/storage/
H A DFile.cpp224 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 DSymLink.cpp93 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 DDirectory.cpp545 BDirectory::get_fd() const in get_fd() function in BDirectory
H A DEntry.cpp223 int dirFD = _kern_dup(dir->get_fd()); in SetTo()
/haiku/src/build/libbe/storage/
H A DFile.cpp343 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 DDirectory.cpp512 BDirectory::get_fd() const in get_fd() function in BDirectory
H A DEntry.cpp411 int dirFD = _kern_dup(dir->get_fd()); in SetTo()
/haiku/src/tools/fs_shell/
H A Dfd.cpp213 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 Dfd.h84 extern file_descriptor* get_fd(struct io_context *, int);
H A Dvfs.cpp1590 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 Dfd.cpp272 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 Dvfs.cpp2734 = 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 Dsocket.cpp347 descriptor = get_fd(get_current_io_context(kernel), fd); in get_socket_descriptor()
/haiku/headers/os/storage/
H A DSymLink.h48 int get_fd() const;
H A DFile.h59 int get_fd() const;
H A DDirectory.h81 int get_fd() const;
/haiku/headers/build/os/storage/
H A DFile.h73 int get_fd() const;
H A DDirectory.h76 int get_fd() const;
/haiku/headers/private/kernel/fs/
H A Dfd.h79 extern struct file_descriptor *get_fd(const struct io_context *, int);
/haiku/src/system/kernel/events/
H A Devent_queue.cpp586 descriptor = get_fd(get_current_io_context(kernel), fd); in get_queue_descriptor()
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp1447 file_descriptor* descriptor = get_fd(get_current_io_context(true), fd); in swap_file_add()
H A Dvm.cpp2285 file_descriptor* descriptor = get_fd(get_current_io_context(kernel), fd); in _vm_map_file()
/haiku/docs/user/storage/
H A DDirectory.dox635 \fn int BDirectory::get_fd() const