/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/structureSizes/ |
H A D | structureSizes.cpp | 28 printf(SIZEOF(bfs_inode)); 32 printf(OFFSETOF(bfs_inode, inode_size)); 33 printf(OFFSETOF(bfs_inode, etc)); 34 printf(OFFSETOF(bfs_inode, data));
|
/haiku-fatelf/src/bin/bfs_tools/lib/ |
H A D | dump.h | 19 extern void dump_data_stream(const bfs_inode* inode, const data_stream* stream, 22 extern void dump_inode(const Inode* node, const bfs_inode* inode,
|
H A D | Inode.h | 18 Inode(Disk* disk, bfs_inode* inode, bool ownBuffer = true); 22 status_t SetTo(bfs_inode *inode); 46 const bfs_inode* InodeBuffer() const { return fInode; } 71 static Inode* Factory(Disk* disk, bfs_inode* inode, 90 bfs_inode *fInode; 104 DataStream(Disk *disk, bfs_inode *inode, bool ownBuffer = true); 130 File(Disk *disk, bfs_inode *inode, bool ownBuffer = true); 142 Attribute(Disk *disk, bfs_inode *inode, bool ownBuffer = true); 156 Directory(Disk *disk, bfs_inode *inode, bool ownBuffer = true); 185 Symlink(Disk *disk, bfs_inode *inod [all...] |
H A D | Disk.h | 88 void SaveInode(bfs_inode *,bool *,bfs_inode *,bool *,bfs_inode *); 89 status_t ScanForIndexAndRoot(bfs_inode *,bfs_inode *);
|
H A D | Disk.cpp | 411 bfs_inode indexDir; 412 bfs_inode rootDir; 487 bfs_inode *inode = (bfs_inode *)buffer; 550 bfs_inode *inode = (bfs_inode *)buffer; 591 Disk::SaveInode(bfs_inode *inode, bool *indices, bfs_inode *indexDir, 592 bool *root, bfs_inode *rootDir) 604 memcpy(rootDir, inode, sizeof(bfs_inode)); [all...] |
H A D | bfs.h | 90 struct bfs_inode; 102 inline bool IsLast(bfs_inode *inode); 114 struct bfs_inode struct 252 inline bool small_data::IsLast(bfs_inode *inode)
|
H A D | Inode.cpp | 45 Inode::Inode(Disk* disk, bfs_inode* inode, bool ownBuffer) 100 Inode::SetTo(bfs_inode *inode) 159 bfs_inode *buffer = (bfs_inode *)malloc(fInode->inode_size); 214 fInode = (bfs_inode*)malloc(fDisk->BlockSize()); 542 Inode::Factory(Disk *disk, bfs_inode *inode, bool ownBuffer) 567 bfs_inode *inode = (bfs_inode *)malloc(disk->BlockSize()); 585 bfs_inode *inodeBuffer = inode->fInode; 588 bfs_inode *inodeCop [all...] |
H A D | dump.cpp | 82 dump_data_stream(const bfs_inode *inode, const data_stream *stream, bool showOffsets) 122 dump_inode(const Inode *nameNode, const bfs_inode *inode, bool showOffsets) 172 inode->InodeBuffer()->inode_size - sizeof(struct bfs_inode));
|
H A D | Bitmap.cpp | 176 const bfs_inode *node = inode->InodeBuffer();
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | Inode.h | 38 bfs_inode *Node() { return (bfs_inode *)1; }
|
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.h | 105 small_data* FindSmallData(const bfs_inode* node, 107 const char* Name(const bfs_inode* node) const; 155 bfs_inode& Node() { return fNode; } 156 const bfs_inode& Node() const { return fNode; } 216 bfs_inode* node, const char* name, 224 status_t _GetNextSmallData(bfs_inode* node, 226 status_t _RemoveSmallData(bfs_inode* node, 258 bfs_inode fNode; 355 const bfs_inode* SetToNode(const Inode* inode) 357 return (const bfs_inode*)SetT [all...] |
H A D | Debug.h | 87 struct bfs_inode; 96 extern void dump_inode(const bfs_inode *inode);
|
H A D | Debug.cpp | 111 dump_inode(const bfs_inode* inode) 123 inode->CreateTime(), bfs_inode::ToSecs(inode->CreateTime()), 124 (unsigned)bfs_inode::ToNsecs(inode->CreateTime())); 126 inode->LastModifiedTime(), bfs_inode::ToSecs(inode->LastModifiedTime()), 127 (unsigned)bfs_inode::ToNsecs(inode->LastModifiedTime())); 129 inode->StatusChangeTime(), bfs_inode::ToSecs(inode->StatusChangeTime()), 130 (unsigned)bfs_inode::ToNsecs(inode->StatusChangeTime())); 291 bfs_inode* node; 293 node = (bfs_inode*)address; 462 remove_debugger_command("bfs_inode", dump_inod [all...] |
H A D | bfs.h | 145 struct bfs_inode; 166 inline bool IsLast(const bfs_inode* inode) const; 189 struct bfs_inode { struct in namespace:BFS 390 small_data::IsLast(const bfs_inode* inode) const
|
H A D | Inode.cpp | 298 bfs_inode::InitCheck(Volume* volume) const 375 memset(&fNode, 0, sizeof(bfs_inode)); 377 // Initialize the bfs_inode structure -- it's not written back to disk 387 = HOST_ENDIAN_TO_BFS_INT64(bfs_inode::ToInode(real_time_clock_usecs())); 479 memcpy(node.WritableNode(), &Node(), sizeof(bfs_inode)); 488 memcpy(&fNode, node.Node(), sizeof(bfs_inode)); 556 Inode::_MakeSpaceForSmallData(Transaction& transaction, bfs_inode* node, 622 Inode::_RemoveSmallData(bfs_inode* node, small_data* item, int32 index) 666 bfs_inode* node = nodeGetter.WritableNode(); 686 bfs_inode [all...] |
H A D | kernel_interface.cpp | 36 fill_stat_time(const bfs_inode& node, struct stat& stat) 42 stat.st_mtim.tv_sec = bfs_inode::ToSecs(node.LastModifiedTime()); 43 stat.st_mtim.tv_nsec = bfs_inode::ToNsecs(node.LastModifiedTime()); 44 stat.st_crtim.tv_sec = bfs_inode::ToSecs(node.CreateTime()); 45 stat.st_crtim.tv_nsec = bfs_inode::ToNsecs(node.CreateTime()); 52 stat.st_ctim.tv_sec = bfs_inode::ToSecs(changeTime); 53 stat.st_ctim.tv_nsec = bfs_inode::ToNsecs(changeTime); 61 const bfs_inode& node = inode->Node(); 285 bfs_inode* node = (bfs_inode*)cache [all...] |
H A D | Index.cpp | 374 modified = bfs_inode::ToInode(real_time_clock_usecs());
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/ |
H A D | Debug.h | 86 struct bfs_inode; 94 extern void dump_inode(bfs_inode *inode);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/ |
H A D | Debug.h | 89 struct bfs_inode; 99 extern void dump_inode(bfs_inode *inode);
|
H A D | bfs.h | 136 struct bfs_inode; 155 inline bool IsLast(const bfs_inode *inode) const; 170 struct bfs_inode { struct 376 small_data::IsLast(const bfs_inode *inode) const 385 /************************ bfs_inode inline functions ************************/ 390 bfs_inode::SmallDataStart()
|
H A D | Inode.h | 87 bfs_inode *Node() const { return (bfs_inode *)fBlock; }
|
/haiku-fatelf/src/bin/bfs_tools/ |
H A D | bfsinfo.cpp | 57 dump_indirect_stream(Disk &disk, bfs_inode *node, bool showOffsets) 223 bfs_inode inode; 225 sizeof(bfs_inode)) < B_OK) { 254 inode = Inode::Factory(&disk, (bfs_inode *)buffer, false); 265 dump_inode(inode, (bfs_inode *)buffer, showOffsets); 266 dump_indirect_stream(disk, (bfs_inode *)buffer, showOffsets);
|
H A D | recover.cpp | 216 Inode inode(&disk, (bfs_inode *)buffer, false); 238 inode.SetTo((bfs_inode *)(buffer + i));
|
/haiku-fatelf/src/system/boot/loader/file_systems/bfs/ |
H A D | Stream.h | 19 class Stream : public bfs_inode {
|
H A D | Stream.cpp | 115 if (read_pos(volume.Device(), volume.ToOffset(run), this, sizeof(bfs_inode)) 116 != sizeof(bfs_inode)) 125 if (read_pos(volume.Device(), volume.ToOffset(id), this, sizeof(bfs_inode)) 126 != sizeof(bfs_inode)) 139 return bfs_inode::InitCheck(&fVolume); 146 // TODO: Stream derives from bfs_inode and we read only sizeof(bfs_inode) 440 bfs_inode::InitCheck(Volume* volume) const
|