Searched +hist:9 +hist:d570af7 (Results 1 - 15 of 15) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/layers/attribute_overlay/ | ||
H A D | attribute_overlay.cpp | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9c67a177 Thu Feb 19 14:45:46 MST 2009 Michael Lotz <mmlr@mlotz.ch> No need to relay the attribute calls. Fixes attribute overlays when used with another layer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29258 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9c67a177a883e5a6ac87770aa8dd3f68253bbb72 Thu Feb 19 14:45:46 MST 2009 Michael Lotz <mmlr@mlotz.ch> No need to relay the attribute calls. Fixes attribute overlays when used with another layer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29258 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/file_systems/ramfs/ | ||
H A D | kernel_interface.cpp | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/system/kernel/fs/ | ||
H A D | socket.cpp | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | fifo.cpp | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | rootfs.cpp | diff 9d242fb9 Thu Nov 18 14:24:04 MST 2021 Augustin Cavalier <waddlesplash@gmail.com> file_systems & Tracker: Do not assume sizeof(dirent) contains 1 byte for the name. At present, it does, but that is an oddity we have preserved from BeOS that the next commit is going to remove. (This commit thus wastes 1 byte without the following one.) Most changes are pretty straightforward: only a +1 is needed, and a few removed from sizing calculations. Some filesystems like UDF originally passed back the length with the \0 included, so they have been adjusted further. UFS2 had some other sizing problems which are also corrected in this commit. diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e15ae59 Mon Aug 31 07:16:40 MDT 2009 Stephan Aßmus <superstippi@gmx.de> Added TODO about solving the renaming /boot problem differently as discussed with Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32856 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e15ae596c3cff7fc9c241ef74297b8785e3ec72 Mon Aug 31 07:16:40 MDT 2009 Stephan Aßmus <superstippi@gmx.de> Added TODO about solving the renaming /boot problem differently as discussed with Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32856 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | fd.cpp | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | vfs.cpp | diff 7cc1c1af Wed Dec 07 15:56:27 MST 2022 Augustin Cavalier <waddlesplash@gmail.com> kernel/vfs: Validate that only one of O_RDWR or O_WRONLY is used, if any. Otherwise we will have open modes that could have both and lead to confusion in code that presumes only one will be set. This catches the cause of some ported software (e.g. Wayland layer) misbehaving with ramfs mounted in /var/shared_memory: the ramfs does not properly handle both flags set, and due to another bug, they are for shm_open'ed files. (cherry picked from commit 9bc250e28d3bb4293c39a283807b67b6e82dda1d) Change-Id: I9e98be89b6d4a2da90f74c048b4f762ca9cf8738 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5852 Reviewed-by: waddlesplash <waddlesplash@gmail.com> diff 9fbffea6 Sun Jan 07 15:28:27 MST 2018 Jérôme Duval <jerome.duval@gmail.com> kernel: vfs: don't use the attribute name user buffer directly. instead copy the name on the stack. diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e79133f Thu Mar 27 03:48:33 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Reverted r22315 as far as free_vnode() is concerned: removing the vnode from the hash before putting it caused all sorts of problems. * For example, BFS would trim its preallocations when the vnode is put; if someone would read that same vnode after it had been removed, but before BFS could trim it, it would read the old vnode which still seemed to own the blocks which would subsequently be freed. * This fixes bug #1914, and should also fix bug #1956. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24607 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9ae93dcd Sun Feb 17 06:32:08 MST 2008 Ingo Weinhold <ingo_weinhold@gmx.de> _user_normalize_path() was broken for symlinks in absolute paths. Fixes #1778. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23969 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a11448f Thu Apr 13 12:06:30 MDT 2006 Axel Dörfler <axeld@pinc-software.de> vfs_get_fs_node_from_path() didn't work correctly and ignored the mount_id (ie. it only worked for absolute paths, but it shouldn't work for those at all). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17127 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6376a0 Mon Mar 06 09:18:52 MST 2006 Axel Dörfler <axeld@pinc-software.de> * get_vnode() did not decrease the sUnusedVnodes counter when taking one node of that list. * Added a vfs_free_unused_vnodes() function that calls the low memory handler directly. * create_sem_etc() now calls the above function in case there are no semaphores available anymore; this usually frees up to 2 semaphores per node (one from the cache if there is a file cache attached, and eventually one from the file system). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16610 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a63d903 Thu Oct 06 03:26:27 MDT 2005 Axel Dörfler <axeld@pinc-software.de> Added kernel private VFS functions vfs_entry_ref_to_vnode() and vfs_vnode_to_node_ref(). Minor cleanup of vfs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14314 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/ | ||
H A D | write_overlay.cpp | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9ae89b83 Fri Sep 04 19:54:40 MDT 2009 Michael Lotz <mmlr@mlotz.ch> * Implement attribute support in write_overlay. It mostly uses the same backends as the other node operations. * Differentiate between data and metadata modification, so that changes to attributes or stat fields (other than size) dont't prevent direct IO relay. * Suppress child finish notifications when sending subrequests to the underlaying filesystem. Otherwise the request can be gone by the time we try to complete it. * Fix offsets used for IORequest::CopyData(). * Some refactoring. * Added locking. With that a write_overlay can be put on attribute enabled filesystems to either make them writeable or snapshot them. This allows for example for a working BFS based LiveCD. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32937 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9ae89b83735723c560a8ce5853f9db23bacb17cb Fri Sep 04 19:54:40 MDT 2009 Michael Lotz <mmlr@mlotz.ch> * Implement attribute support in write_overlay. It mostly uses the same backends as the other node operations. * Differentiate between data and metadata modification, so that changes to attributes or stat fields (other than size) dont't prevent direct IO relay. * Suppress child finish notifications when sending subrequests to the underlaying filesystem. Otherwise the request can be gone by the time we try to complete it. * Fix offsets used for IORequest::CopyData(). * Some refactoring. * Added locking. With that a write_overlay can be put on attribute enabled filesystems to either make them writeable or snapshot them. This allows for example for a working BFS based LiveCD. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32937 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/private/fs_shell/ | ||
H A D | fssh_fs_interface.h | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e12e9a7 Wed Aug 01 18:43:49 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Added mapping of dup() in the FS shell. * Adjusted the FS initialize() hook to have FD and partition_id parameters like the other hooks instead of the partition path. * Adjusted initialization in BFS accordingly. * Implemented the FS initialization method in KFileSystem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f020cd6cf1fca7a3ae21ee7819581307d Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e12e9a72e7fde25482302f2d9a6a680fd2c0e6a Wed Aug 01 18:43:49 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Added mapping of dup() in the FS shell. * Adjusted the FS initialize() hook to have FD and partition_id parameters like the other hooks instead of the partition path. * Adjusted initialization in BFS accordingly. * Implemented the FS initialization method in KFileSystem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | fssh_api_wrapper.h | diff 9f3ba01b Mon Dec 28 23:42:21 MST 2020 Alexander von Gluck IV <kallisti5@unixzen.com> file_system/fat: Rework driver for fs_shell support * Introduce fat_shell for build system fat manipulation * Will theoretically let us do away with mtools when we have another internal tool for partition manipulation Change-Id: I661be556e79009842f157a9402c8f85da85d6336 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3556 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9c20d5cb Mon May 26 18:42:04 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Fixed the byte order definitions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25671 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f020cd6cf1fca7a3ae21ee7819581307d Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9c20d5cb7d0f625124c4bb76e1e1ce654ab69d92 Mon May 26 18:42:04 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Fixed the byte order definitions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25671 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/system/kernel/device_manager/ | ||
H A D | devfs.cpp | diff 9d242fb9 Thu Nov 18 14:24:04 MST 2021 Augustin Cavalier <waddlesplash@gmail.com> file_systems & Tracker: Do not assume sizeof(dirent) contains 1 byte for the name. At present, it does, but that is an oddity we have preserved from BeOS that the next commit is going to remove. (This commit thus wastes 1 byte without the following one.) Most changes are pretty straightforward: only a +1 is needed, and a few removed from sizing calculations. Some filesystems like UDF originally passed back the length with the \0 included, so they have been adjusted further. UFS2 had some other sizing problems which are also corrected in this commit. diff 9b9cb227 Mon Oct 08 05:54:07 MDT 2012 Axel Dörfler <axeld@pinc-software.de> Consolidated and fixed device_geometry computation. * The only implementation that would accept more than 2 TB was the one in scsi_disk. But even that one was limited to 63 TB. * Now there is a new utility function devfs_compute_geometry_size() which does it correctly for sizes up to 2^64 which should be good enough for quite some time :-) * This fixes bug #8992. diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a2cfc4a Fri Nov 07 06:23:24 MST 2008 Axel Dörfler <axeld@pinc-software.de> * BaseDevice::InitDevice() and UninitDevice() must not be called with the devfs lock held - that was a relict of the past. * This fixes bug #2535. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28551 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a18e1d2 Fri May 30 14:30:07 MDT 2008 Michael Lotz <mmlr@mlotz.ch> * Do not delete the device handed over to the devfs when deleting the vnode as it seems devfs should not take over ownership. The device is deleted in republish_driver for legacy drivers before the call to devfs_unpublish_device that in turn deletes the vnode. This looks generally suspicious to me as the device pointer the devfs vnode may still use gets invalid for a certain amount of time (until the node is unpublished). So maybe the devfs should take ownership of the device afterall and it shouldn't be deleted by the device_manager/legacy driver functions. Axel please review. * Do not try to delete the IOScheduler for now as creating one is disabled currently too. This fixes the crash on rescans of legacy drivers as seen when unplugging USB devices. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25729 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9b9cb227c7835fa55076dafac035a25e30b089ff Mon Oct 08 05:54:07 MDT 2012 Axel Dörfler <axeld@pinc-software.de> Consolidated and fixed device_geometry computation. * The only implementation that would accept more than 2 TB was the one in scsi_disk. But even that one was limited to 63 TB. * Now there is a new utility function devfs_compute_geometry_size() which does it correctly for sizes up to 2^64 which should be good enough for quite some time :-) * This fixes bug #8992. diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a2cfc4ab1fa6a4f7745d60e127e16329ccea801 Fri Nov 07 06:23:24 MST 2008 Axel Dörfler <axeld@pinc-software.de> * BaseDevice::InitDevice() and UninitDevice() must not be called with the devfs lock held - that was a relict of the past. * This fixes bug #2535. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28551 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a18e1d269f663f5cc0d3fb62d2c286888c42e88 Fri May 30 14:30:07 MDT 2008 Michael Lotz <mmlr@mlotz.ch> * Do not delete the device handed over to the devfs when deleting the vnode as it seems devfs should not take over ownership. The device is deleted in republish_driver for legacy drivers before the call to devfs_unpublish_device that in turn deletes the vnode. This looks generally suspicious to me as the device pointer the devfs vnode may still use gets invalid for a certain amount of time (until the node is unpublished). So maybe the devfs should take ownership of the device afterall and it shouldn't be deleted by the device_manager/legacy driver functions. Axel please review. * Do not try to delete the IOScheduler for now as creating one is disabled currently too. This fixes the crash on rescans of legacy drivers as seen when unplugging USB devices. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25729 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/os/drivers/ | ||
H A D | fs_interface.h | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e12e9a7 Wed Aug 01 18:43:49 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Added mapping of dup() in the FS shell. * Adjusted the FS initialize() hook to have FD and partition_id parameters like the other hooks instead of the partition path. * Adjusted initialization in BFS accordingly. * Implemented the FS initialization method in KFileSystem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6ae76f020cd6cf1fca7a3ae21ee7819581307d Fri Aug 01 03:59:19 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Added acquire_vnode() call that you can use to get another reference to an inode - unlike get_vnode() the busy flag won't prevent you from getting that reference. * Changed put_vnode() to return an error in case the vnode couldn't be found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26713 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e12e9a72e7fde25482302f2d9a6a680fd2c0e6a Wed Aug 01 18:43:49 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Added mapping of dup() in the FS shell. * Adjusted the FS initialize() hook to have FD and partition_id parameters like the other hooks instead of the partition path. * Adjusted initialization in BFS accordingly. * Implemented the FS initialization method in KFileSystem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/private/system/ | ||
H A D | syscalls.h | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/private/kernel/ | ||
H A D | vfs.h | diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff eb2bd0e8 Mon Apr 27 12:16:58 MDT 2009 Stephan Aßmus <superstippi@gmx.de> axeld: * Implemented a way to do asynchronous pre-fetching when mapping files. * There are slight code duplications in some places that could benefit from cleaning up, but nothing too bad. * Implementing smarter ways to trigger prefetching and more analysis of the situations in the kernel would be nice. Currently up to 10 MB of every mapped file are pre-fetched without further analysis. * The speed improvement is nice for certain operations. On our test system (real hardware), Firefox took 9 seconds from being launched to display a window. Now it takes 5 seconds. Both measurements right after booting. The same system took 35 seconds from launching Haiku in the GRUB menu to displaying the Tracker desktop background image. Now it takes 27 seconds. * We didn't have the chance to check out the effects of this on the CD boot, but potentially, they could speed it up a lot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30465 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6376a0 Mon Mar 06 09:18:52 MST 2006 Axel Dörfler <axeld@pinc-software.de> * get_vnode() did not decrease the sUnusedVnodes counter when taking one node of that list. * Added a vfs_free_unused_vnodes() function that calls the low memory handler directly. * create_sem_etc() now calls the above function in case there are no semaphores available anymore; this usually frees up to 2 semaphores per node (one from the cache if there is a file cache attached, and eventually one from the file system). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16610 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a63d903 Thu Oct 06 03:26:27 MDT 2005 Axel Dörfler <axeld@pinc-software.de> Added kernel private VFS functions vfs_entry_ref_to_vnode() and vfs_vnode_to_node_ref(). Minor cleanup of vfs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14314 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff eb2bd0e8e3689998717f91d8b9023296e3f32e78 Mon Apr 27 12:16:58 MDT 2009 Stephan Aßmus <superstippi@gmx.de> axeld: * Implemented a way to do asynchronous pre-fetching when mapping files. * There are slight code duplications in some places that could benefit from cleaning up, but nothing too bad. * Implementing smarter ways to trigger prefetching and more analysis of the situations in the kernel would be nice. Currently up to 10 MB of every mapped file are pre-fetched without further analysis. * The speed improvement is nice for certain operations. On our test system (real hardware), Firefox took 9 seconds from being launched to display a window. Now it takes 5 seconds. Both measurements right after booting. The same system took 35 seconds from launching Haiku in the GRUB menu to displaying the Tracker desktop background image. Now it takes 27 seconds. * We didn't have the chance to check out the effects of this on the CD boot, but potentially, they could speed it up a lot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30465 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9f6376a0c752eb965d97c400eb3bb27dbc102775 Mon Mar 06 09:18:52 MST 2006 Axel Dörfler <axeld@pinc-software.de> * get_vnode() did not decrease the sUnusedVnodes counter when taking one node of that list. * Added a vfs_free_unused_vnodes() function that calls the low memory handler directly. * create_sem_etc() now calls the above function in case there are no semaphores available anymore; this usually frees up to 2 semaphores per node (one from the cache if there is a file cache attached, and eventually one from the file system). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16610 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9a63d903970648f924ab2a70bc92761d2ea31a03 Thu Oct 06 03:26:27 MDT 2005 Axel Dörfler <axeld@pinc-software.de> Added kernel private VFS functions vfs_entry_ref_to_vnode() and vfs_vnode_to_node_ref(). Minor cleanup of vfs.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14314 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/file_systems/bfs/ | ||
H A D | kernel_interface.cpp | diff 9d242fb9 Thu Nov 18 14:24:04 MST 2021 Augustin Cavalier <waddlesplash@gmail.com> file_systems & Tracker: Do not assume sizeof(dirent) contains 1 byte for the name. At present, it does, but that is an oddity we have preserved from BeOS that the next commit is going to remove. (This commit thus wastes 1 byte without the following one.) Most changes are pretty straightforward: only a +1 is needed, and a few removed from sizing calculations. Some filesystems like UDF originally passed back the length with the \0 included, so they have been adjusted further. UFS2 had some other sizing problems which are also corrected in this commit. diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7 Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9fc81c53 Sat Oct 11 14:16:35 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Use a block size of 512 - since there is no standard, we're just following the masses (whatever stupidity created this misery). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27978 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d4ec2ee Mon Aug 18 09:10:47 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> The return value of the identify_partition() hook is not error code compatible. Small floats have to be returned. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27040 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9e12e9a7 Wed Aug 01 18:43:49 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Added mapping of dup() in the FS shell. * Adjusted the FS initialize() hook to have FD and partition_id parameters like the other hooks instead of the partition path. * Adjusted initialization in BFS accordingly. * Implemented the FS initialization method in KFileSystem. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21788 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d6c014f Sun Apr 29 01:20:58 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> Added very basic volume initialization support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20899 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9c137c0a Tue Oct 05 07:45:24 MDT 2004 Axel Dörfler <axeld@pinc-software.de> Enabled the bfs_set_flags() call. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9203 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9d570af7c878ba30043b23e6dce5f3ae5578aa7c Mon May 24 15:04:22 MDT 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and the _kern_ioctl() syscall from ulong to uint32. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9fc81c5394e80ee0be60037cd8c98b526420b44c Sat Oct 11 14:16:35 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * Use a block size of 512 - since there is no standard, we're just following the masses (whatever stupidity created this misery). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27978 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
Completed in 1591 milliseconds