/reactos/drivers/filesystems/ext2/src/ext4/ |
H A D | extents.c | 41 eh = get_ext4_header(&Mcb->Inode); in Ext2MapExtent() 52 LONGLONG _len = _len = Mcb->Inode.i_size; in Ext2MapExtent() 84 &Mcb->Inode, in Ext2MapExtent() 94 Ext2SaveInode(IrpContext, Vcb, &Mcb->Inode); in Ext2MapExtent() 125 eh = get_ext4_header(&Mcb->Inode); in Ext2DoExtentExpand() 128 ext4_ext_tree_init(IrpContext, NULL, &Mcb->Inode); in Ext2DoExtentExpand() 144 Ext2SaveInode(IrpContext, Vcb, &Mcb->Inode); in Ext2DoExtentExpand() 193 Ext2SaveInode(IrpContext, Vcb, &Mcb->Inode); in Ext2ExpandExtent() 237 if (Mcb->Inode.i_size > (loff_t)(Size->QuadPart)) in Ext2TruncateExtent() 238 Mcb->Inode.i_size = (loff_t)(Size->QuadPart); in Ext2TruncateExtent() [all …]
|
H A D | ext4_xattr.c | 779 xattr_block = xattr_ref->inode_ref->Inode.i_file_acl; in ext4_xattr_try_alloc_block() 782 ext4_inode_to_goal_block(&xattr_ref->inode_ref->Inode); in ext4_xattr_try_alloc_block() 785 &xattr_ref->inode_ref->Inode, in ext4_xattr_try_alloc_block() 799 xattr_ref->inode_ref->Inode.i_file_acl = xattr_block; in ext4_xattr_try_alloc_block() 811 xattr_block = xattr_ref->inode_ref->Inode.i_file_acl; in ext4_xattr_try_free_block() 812 xattr_ref->inode_ref->Inode.i_file_acl = 0; in ext4_xattr_try_free_block() 919 xattr_ref->inode_ref->Inode.i_file_acl = 0; in ext4_xattr_write_to_disk() 1110 xattr_block = inode_ref->Inode.i_file_acl; in ext4_fs_get_xattr_ref() 1179 sector_t orig_file_acl = ref->inode_ref->Inode.i_file_acl; in ext4_fs_put_xattr_ref() 1186 ref->inode_ref->Inode.i_file_acl = orig_file_acl; in ext4_fs_put_xattr_ref() [all …]
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | fileinfo.c | 672 struct inode *Inode = &Mcb->Inode; in Ext2SetFileInformation() local 1139 if (INODE_HAS_EXTENT(&Mcb->Inode)) { in Ext2BlockMap() 1178 if (INODE_HAS_EXTENT(&Mcb->Inode)) { in Ext2ExpandFile() 1213 if (INODE_HAS_EXTENT(&Mcb->Inode)) { in Ext2TruncateFile() 1248 if (Mcb->Inode.i_ino == EXT2_ROOT_INO) { in Ext2IsFileRemovable() 1433 if (TargetMcb->Inode.i_ino == Mcb->Parent->Inode.i_ino) { in Ext2SetRenameInfo() 1461 if ((TargetMcb->Inode.i_ino != ParentMcb->Inode.i_ino)) { in Ext2SetRenameInfo() 1601 if (TargetMcb->Inode.i_ino != ParentMcb->Inode.i_ino) { in Ext2SetRenameInfo() 1768 if (TargetMcb->Inode.i_ino == Mcb->Parent->Inode.i_ino) { in Ext2SetLinkInfo() 1792 if ((TargetMcb->Inode.i_ino != ParentMcb->Inode.i_ino)) { in Ext2SetLinkInfo() [all …]
|
H A D | create.c | 288 ULONG Inode; in Ext2LookupFile() local 453 Mcb->Inode.i_ino = Inode; in Ext2LookupFile() 2073 Inode.i_sb = &Vcb->sb; in Ext2CreateInode() 2074 Inode.i_ino = iNo; in Ext2CreateInode() 2075 Inode.i_ctime = Inode.i_mtime = in Ext2CreateInode() 2081 Inode.i_uid = Parent->Mcb->Inode.i_uid; in Ext2CreateInode() 2082 Inode.i_gid = Parent->Mcb->Inode.i_gid; in Ext2CreateInode() 2084 Inode.i_generation = Parent->Inode->i_generation; in Ext2CreateInode() 2113 &Inode, in Ext2CreateInode() 2183 Fcb->Inode->i_size = 0; in Ext2SupersedeOrOverWriteFile() [all …]
|
H A D | dirctl.c | 88 struct inode Inode = { 0 }; in Ext2ProcessEntry() local 132 Inode.i_ino = in; in Ext2ProcessEntry() 133 Inode.i_sb = &Vcb->sb; in Ext2ProcessEntry() 134 if (!Ext2LoadInode(Vcb, &Inode)) { in Ext2ProcessEntry() 142 if (S_ISDIR(Inode.i_mode) || S_ISREG(Inode.i_mode)) { in Ext2ProcessEntry() 143 } else if (S_ISLNK(Inode.i_mode)) { in Ext2ProcessEntry() 153 Inode.i_size = 0; in Ext2ProcessEntry() 182 if (IsInodeSymLink(&Mcb->Inode)) { in Ext2ProcessEntry() 188 if (S_ISDIR(Inode.i_mode)) { in Ext2ProcessEntry() 191 FileSize = Inode.i_size; in Ext2ProcessEntry() [all …]
|
H A D | cleanup.c | 156 ext3_release_dir(Fcb->Inode, &Ccb->filp); in Ext2Cleanup() 166 Fcb->Inode->i_atime = in Ext2Cleanup() 167 Fcb->Inode->i_mtime = Ext2LinuxTime(SysTime); in Ext2Cleanup() 169 Fcb->Mcb->LastWriteTime = Ext2NtTime(Fcb->Inode->i_atime); in Ext2Cleanup() 171 Ext2SaveInode(IrpContext, Vcb, Fcb->Inode); in Ext2Cleanup() 196 if (Ccb->SymLink || IsInodeSymLink(&Mcb->Inode)) { in Ext2Cleanup() 237 if (!INODE_HAS_EXTENT(Fcb->Inode)) { in Ext2Cleanup() 260 (ULONGLONG)Fcb->Mcb->Inode.i_size, in Ext2Cleanup() 266 Fcb->Header.FileSize.QuadPart = Mcb->Inode.i_size; in Ext2Cleanup()
|
H A D | flush.c | 86 Fcb->Inode->i_mtime = Ext2LinuxTime(SysTime); in Ext2FlushFile() 87 Fcb->Mcb->LastWriteTime = Ext2NtTime(Fcb->Inode->i_mtime); in Ext2FlushFile() 88 Ext2SaveInode(IrpContext, Fcb->Vcb, Fcb->Inode); in Ext2FlushFile() 98 Fcb->Inode->i_ino, Fcb->Mcb->ShortName.Buffer)); in Ext2FlushFile()
|
H A D | fsctl.c | 1425 if (!Mcb || !IsInodeSymLink(&Mcb->Inode) || in Ext2GetReparsePoint() 1444 OemNameLength = (ULONG)Mcb->Inode.i_size; in Ext2GetReparsePoint() 1534 if (0 == Mcb->Inode.i_blocks) { in Ext2WriteSymlink() 1550 if (Mcb->Inode.i_blocks) { in Ext2WriteSymlink() 1560 Mcb->Inode.i_size = Size; in Ext2WriteSymlink() 1561 Ext2SaveInode(IrpContext, Vcb, &Mcb->Inode); in Ext2WriteSymlink() 1690 if (S_ISDIR(Mcb->Inode.i_mode)) { in Ext2SetReparsePoint() 1696 ext3_dec_count(&Mcb->Inode); in Ext2SetReparsePoint() 1759 PUCHAR data = (PUCHAR)&Mcb->Inode.i_block; in Ext2TruncateSymlink() 1760 ULONG len = (ULONG)Mcb->Inode.i_size; in Ext2TruncateSymlink() [all …]
|
H A D | cmcb.c | 102 Fcb->Mcb->Inode.i_ino, Fcb)); in Ext2AcquireForReadAhead() 127 Fcb->Mcb->Inode.i_ino, Fcb)); in Ext2ReleaseFromReadAhead()
|
H A D | memory.c | 165 Fcb->Inode = &Mcb->Inode; in Ext2AllocateFcb() 182 Fcb->Header.FileSize.QuadPart = Mcb->Inode.i_size; in Ext2AllocateFcb() 1145 if (INODE_HAS_EXTENT(&Mcb->Inode)) { in Ext2InitializeZone() 1459 Mcb->Inode.i_priv = (PVOID)Mcb; in Ext2AllocateMcb() 1460 Mcb->Inode.i_sb = &Vcb->sb; in Ext2AllocateMcb() 2718 Vcb->sb.s_root->d_inode = &Vcb->McbTree->Inode; 2722 Vcb->McbTree->Inode.i_ino = EXT2_ROOT_INO; 2723 Vcb->McbTree->Inode.i_sb = &Vcb->sb; 2914 if (Mcb->Inode.i_ino == EXT2_ROOT_INO) { 2937 if (Mcb->Inode.i_ino == EXT2_ROOT_INO) { [all …]
|
H A D | access.c | 53 return Ext2CheckInodeAccess(Vcb, &Mcb->Inode, attempt); in Ext2CheckFileAccess()
|
H A D | write.c | 207 if (INODE_HAS_EXTENT(Fcb->Inode)) { in Ext2ZeroData() 694 S_ISDIR(Mcb->Inode.i_mode) ? FALSE : TRUE, in Ext2WriteInode() 835 if (IsSpecialFile(Fcb) || IsInodeSymLink(Fcb->Inode) ) { in Ext2WriteFile() 1076 Fcb->Header.FileSize.QuadPart = Fcb->Inode->i_size = ByteOffset.QuadPart + Length; in Ext2WriteFile() 1077 Ext2SaveInode(IrpContext, Vcb, Fcb->Inode); in Ext2WriteFile() 1315 Fcb->Inode->i_size, Status)); in Ext2WriteFile()
|
H A D | read.c | 350 if (S_ISLNK(Mcb->Inode.i_mode) && 0 == Mcb->Inode.i_blocks) { in Ext2ReadInode() 352 PUCHAR Data = (PUCHAR) (&Mcb->Inode.i_block[0]); in Ext2ReadInode() 535 if (IsSpecialFile(Fcb) || IsInodeSymLink(Fcb->Inode) ) { in Ext2ReadFile()
|
H A D | fastio.c | 460 Buffer->NumberOfLinks = Fcb->Inode->i_nlink; in Ext2FastIoQueryStandardInfo()
|
/reactos/boot/freeldr/freeldr/lib/fs/ |
H A D | ext2.c | 41 ULONGLONG Ext2GetInodeFileSize(PEXT2_INODE Inode); 775 TRACE("Ext2ReadDirectory() Inode = %d\n", Inode); in Ext2ReadDirectory() 778 if (!Ext2ReadInode(Volume, Inode, InodePointer)) in Ext2ReadDirectory() 918 TRACE("Ext2ReadInode() Inode = %d\n", Inode); in Ext2ReadInode() 921 if ((Inode < 1) || (Inode > Volume->SuperBlock->total_inodes)) in Ext2ReadInode() 929 InodeGroupNumber = Ext2GetInodeGroupNumber(Volume, Inode); in Ext2ReadInode() 1027 FileSize = Ext2GetInodeFileSize(Inode); in Ext2ReadBlockPointerList() 1081 ULONGLONG Ext2GetInodeFileSize(PEXT2_INODE Inode) in Ext2GetInodeFileSize() argument 1083 if ((Inode->mode & EXT2_S_IFMT) == EXT2_S_IFDIR) in Ext2GetInodeFileSize() 1085 return (ULONGLONG)(Inode->size); in Ext2GetInodeFileSize() [all …]
|
/reactos/drivers/filesystems/ext2/src/ext3/ |
H A D | indirect.c | 73 Mcb->Inode.i_blocks += (*Number << (BLOCK_BITS - 9)); in Ext2ExpandLast() 681 Mcb->Inode.i_blocks = 0; 862 dwBlk = Mcb->Inode.i_block[Slot]; 924 &Mcb->Inode.i_block[Slot], 990 if (Mcb->Inode.i_block[Slot] != 0) { 1009 &Mcb->Inode.i_block[Slot], 1029 Ext2SaveInode(IrpContext, Vcb, &Mcb->Inode); 1087 Mcb->Inode.i_blocks = 0; 1088 Mcb->Inode.i_size = 0; 1144 BlockArray = &Mcb->Inode.i_block[0]; [all …]
|
H A D | generic.c | 523 Ext2DecodeInode(Inode, &ext3i); in Ext2LoadInode() 533 IN ULONG Inode) in Ext2ClearInode() argument 563 Inode->i_ino, Inode->i_mode, Inode->i_size)); in Ext2SaveInode() 591 IN struct inode *Inode, in Ext2LoadInodeXattr() argument 623 IN struct inode *Inode, in Ext2SaveInodeXattr() argument 636 Inode->i_ino, Inode->i_mode, Inode->i_size)); in Ext2SaveInodeXattr() 1371 OUT PULONG Inode in Ext2NewInode() argument 1883 IN struct inode *Inode, in Ext2AddEntry() argument 1912 de->d_inode = Inode; in Ext2AddEntry() 1985 inode = &Mcb->Inode; in Ext2SetFileType() [all …]
|
H A D | recover.c | 41 Jcb->Inode.i_ino = jNo; in Ext2LoadInternalJournal() 42 Jcb->Inode.i_sb = &Vcb->sb; in Ext2LoadInternalJournal() 43 if (!Ext2LoadInode(Vcb, &Jcb->Inode)) { in Ext2LoadInternalJournal() 127 ji = &jcb->Inode; in Ext2RecoverJournal()
|
H A D | htree.c | 237 PEXT2_MCB Mcb = CONTAINING_RECORD(inode, EXT2_MCB, Inode); in ext3_bread() 248 if (INODE_HAS_EXTENT(&Mcb->Inode)) { in ext3_bread() 282 PEXT2_MCB mcb = CONTAINING_RECORD(inode, EXT2_MCB, Inode); in ext3_append() 287 ASSERT(inode == dcb->Inode); in ext3_append() 297 mcb->Inode.i_size = dcb->Header.AllocationSize.QuadPart; in ext3_append()
|
/reactos/sdk/lib/fslib/ext2lib/ |
H A D | Inode.c | 128 bool ext2_expand_block( PEXT2_FILESYS Ext2Sys, PEXT2_INODE Inode, in ext2_expand_block() argument 180 Inode->i_blocks += (Ext2Sys->blocksize / SECTOR_SIZE); in ext2_expand_block() 187 if (!ext2_expand_block(Ext2Sys, Inode, dwBlk, j, layer - 1, bDirty, &dwNewBlk, &Offset)) in ext2_expand_block() 213 PEXT2_INODE Inode, in ext2_expand_inode() argument 225 TotalBlocks = Inode->i_blocks / (Ext2Sys->blocksize / SECTOR_SIZE); in ext2_expand_inode() 246 Inode->i_block[Index] = newBlk; in ext2_expand_inode() 250 dwBlk = Inode->i_block[(i + 12 - 1)]; in ext2_expand_inode() 256 Inode->i_block[(i + 12 - 1)] = dwBlk; in ext2_expand_inode() 258 Inode->i_blocks += (Ext2Sys->blocksize / SECTOR_SIZE); in ext2_expand_inode() 269 Inode, in ext2_expand_inode()
|
H A D | CMakeLists.txt | 7 Inode.c
|
/reactos/drivers/filesystems/ext2/inc/ |
H A D | ext2fs.h | 866 struct inode *Inode; member 945 struct inode Inode; member 965 #define IsMcbRoot(Mcb) ((Mcb)->Inode.i_ino == EXT2_ROOT_INO) 1369 OUT PULONG Inode, 1893 IN struct inode *Inode 1907 IN struct inode *Inode 1912 IN struct inode *Inode, 1918 IN struct inode *Inode, 2020 OUT PULONG Inode 2034 IN ULONG Inode, [all …]
|
/reactos/boot/freeldr/freeldr/include/fs/ |
H A D | ext2.h | 236 EXT2_INODE Inode; // File's inode member
|
/reactos/dll/shellext/shellbtrfs/ |
H A D | shellbtrfs.rc | 103 CAPTION "Inode property sheet" 107 LTEXT "Inode:",IDC_STATIC,14,35,21,8 700 IDS_STANDALONE_PROPSHEET_TITLE "Inode property sheet"
|