Searched refs:inode (Results 101 - 125 of 127) sorted by relevance

123456

/haiku/headers/private/kernel/boot/
H A Delf.h39 ino_t inode; member in struct:preloaded_image
/haiku/src/apps/mail/
H A DQueryMenu.cpp329 int64 inode; local
330 if ((item->Message())->FindInt64("node", &inode) == B_OK
331 && inode == node)
H A DEnclosures.cpp246 ino_t inode; local
247 if (msg->FindInt64("node", &inode) < B_OK)
254 && inode == item->NodeRef()->node)
/haiku/headers/private/kernel/
H A Dvfs.h121 status_t vfs_stat_node_ref(dev_t device, ino_t inode, struct stat *stat);
124 status_t vfs_entry_ref_to_path(dev_t device, ino_t inode, const char *leaf,
174 status_t _user_entry_ref_to_path(dev_t device, ino_t inode, const char *leaf,
178 int _user_open_entry_ref(dev_t device, ino_t inode, const char *name,
181 int _user_open_dir_node_ref(dev_t device, ino_t inode);
182 int _user_open_dir_entry_ref(dev_t device, ino_t inode,
194 status_t _user_create_dir_entry_ref(dev_t device, ino_t inode,
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DDirectoryCache.h43 DirectoryCache(Inode* inode, bool attr = false);
H A DFileSystem.h40 status_t GetInode(ino_t id, Inode** inode);
H A DInode.h23 Inode** inode);
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DDirectoryIterator.h21 DirectoryIterator(Inode* inode, off_t start = 0,
H A DHTree.h123 static status_t InitDir(Transaction& transaction, Inode* inode,
H A DBlockAllocator.cpp731 BlockAllocator::Allocate(Transaction& transaction, Inode* inode, argument
739 uint32 group = inode->ID() / fVolume->InodesPerGroup();
741 if (inode->Size() > 0) {
743 ext2_data_stream* dataStream = &inode->Node().stream;
744 uint32 numBlocks = inode->Size() / fVolume->BlockSize() + 1;
H A DExtentStream.cpp31 ExtentStream::ExtentStream(Volume* volume, Inode* inode, argument
35 fInode(inode),
57 TRACE("FindBlock: offset larger than inode size\n");
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSELowLevel.cpp307 fuse_ll_opendir(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct fuse_file_info* ffi) argument
317 ops->opendir(&request, inode, ffi);
360 fuse_ll_statfs(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct statvfs* stat) argument
367 ops->statfs(&request, inode);
/haiku/src/tools/bfs_shell/
H A Dcommand_checkfs.cpp64 fssh_dprintf("%s (inode = %" FSSH_B_PRIdINO ")", result.name,
65 result.inode);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DVolume.cpp150 /*! Checks whether the given block number may be the location of an inode block.
410 Volume::UpdateLiveQueries(Inode* inode, const char* attribute, int32 type, argument
419 query->LiveUpdate(inode, attribute, type, oldKey, oldLength, newKey,
426 Volume::UpdateLiveQueriesRenameMove(Inode* inode, ino_t oldDirectoryID, argument
437 query->LiveUpdateRenameMove(inode, oldDirectoryID, oldName, oldLength,
H A DBlockAllocator.cpp941 BlockAllocator::Allocate(Transaction& transaction, Inode* inode,
966 uint16 group = inode->BlockRun().AllocationGroup();
971 if (inode->Size() > 0) {
972 const data_stream& data = inode->Node().data;
986 } else if (inode->IsContainer() || inode->IsSymLink()) {
988 // group as the inode is in but after the inode data
989 start = inode->BlockRun().Start();
992 group = inode
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A Dtest.cpp726 Inode inode("tree.data", gType | S_ALLOW_DUPS);
727 rw_lock_write_lock(&inode.Lock());
728 gVolume = inode.GetVolume();
735 BPlusTree tree(transaction, &inode);
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DNodeAttribute.cpp12 NodeAttribute::NodeAttribute(Inode* inode) argument
14 fInode(inode),
H A DInode.h33 // inode data and attribute fork sizes
48 // Gets AG number from inode number
50 // Gets the AG relative inode number
54 // Gets the AG relative block number that contains inode
56 // Gets the offset into the block from the inode number
70 #define BLOCKOFFSET_FROM_POSITION(n, inode) ((n) & (inode->BlockSize() - 1))
235 // fields only written to during inode creation
342 // Contains the disk inode in BE format
H A DBPlusTree.cpp12 TreeDirectory::TreeDirectory(Inode* inode) argument
14 fInode(inode),
831 LongBlock::ExpectedMagic(int8 WhichDirectory, Inode* inode) argument
833 if(inode->Version() == 3)
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dvolume.c69 #include "inode.h"
329 /* We now have a fully setup ntfs inode for $MFT in vol->mft_ni. */
362 * as we have exclusive access to the inode at this time and we
405 /* Update the size fields in the inode. */
454 ntfs_log_perror("Failed to open inode $MFTMirr");
687 ntfs_log_perror("Failed to open inode FILE_LogFile");
735 * Return: inode Success, hiberfil.sys is valid
740 u64 inode; local
764 inode = ntfs_inode_lookup_by_name(ni_root, unicode, unicode_len);
765 if (inode
[all...]
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.cpp272 printf("%s (inode = %" B_PRIdINO ")", result.name, result.inode);
/haiku/headers/private/system/
H A Dsyscalls.h265 extern status_t _kern_entry_ref_to_path(dev_t device, ino_t inode,
269 extern int _kern_open_entry_ref(dev_t device, ino_t inode,
273 extern int _kern_open_dir_entry_ref(dev_t device, ino_t inode,
282 extern status_t _kern_create_dir_entry_ref(dev_t device, ino_t inode,
/haiku/src/system/kernel/fs/
H A Dvfs.cpp3290 kprintf("%-*s dev inode ref %-*s %-*s %-*s flags\n",
3326 kprintf("%-*s dev inode %-*s size pages\n",
4798 vfs_stat_node_ref(dev_t device, ino_t inode, struct stat* stat) argument
4801 status_t status = get_vnode(device, inode, &vnode, true, false);
4820 vfs_entry_ref_to_path(dev_t device, ino_t inode, const char* leaf, argument
4834 status = entry_ref_to_vnode(device, inode, leaf, false, kernel, vnode);
4838 status = get_vnode(device, inode, &temp, true, false);
7732 dprintf("fs_unmount(): inode %" B_PRIdINO " is busy\n", vnode->id);
7746 dprintf("fs_unmount(): inode %" B_PRIdINO " is still referenced\n", vnode->id);
8266 _kern_open_entry_ref(dev_t device, ino_t inode, cons argument
8325 _kern_open_dir_entry_ref(dev_t device, ino_t inode, const char* name) argument
8391 _kern_create_dir_entry_ref(dev_t device, ino_t inode, const char* name, int perms) argument
8965 _user_entry_ref_to_path(dev_t device, ino_t inode, const char* leaf, char* userPath, size_t pathLength) argument
9040 _user_open_entry_ref(dev_t device, ino_t inode, const char* userName, int openMode, int perms) argument
9085 _user_open_dir_entry_ref(dev_t device, ino_t inode, const char* userName) argument
9276 _user_create_dir_entry_ref(dev_t device, ino_t inode, const char* userName, int perms) argument
[all...]
/haiku/src/system/boot/loader/
H A Delf.cpp713 if (image->inode == stat.st_ino) {
725 image->inode = stat.st_ino;
/haiku/src/tools/fs_shell/
H A Dvfs.cpp2732 vfs_entry_ref_to_path(fssh_dev_t device, fssh_ino_t inode, const char *leaf, argument
2746 status = entry_ref_to_vnode(device, inode, leaf, &vnode);
2749 status = get_vnode(device, inode, &vnode, false);
5148 _kern_open_entry_ref(fssh_dev_t device, fssh_ino_t inode, const char *name, int openMode, int perms) argument
5151 return file_create_entry_ref(device, inode, name, openMode, perms, true);
5153 return file_open_entry_ref(device, inode, name, openMode, true);
5190 * by \a device and \a inode will be opened. Otherwise \a device and
5191 * \a inode identify the parent directory of the directory to be opened
5197 * \param inode If \a name is specified the node ID of the parent
5201 * the \a device + \a inode pai
5207 _kern_open_dir_entry_ref(fssh_dev_t device, fssh_ino_t inode, const char *name) argument
5267 _kern_create_dir_entry_ref(fssh_dev_t device, fssh_ino_t inode, const char *name, int perms) argument
5732 _kern_entry_ref_to_path(fssh_dev_t device, fssh_ino_t inode, const char *leaf, char* path, fssh_size_t pathLength) argument
[all...]

Completed in 153 milliseconds

123456