Disk / FS module breakdown


#1

Base Disk Access:

  • lib/disk/modules/MiqBlockDevOps/MiqBlockDevOps.c
    • blkgetsize64
  • aligned_str_buf
  • init
  • lib/disk/modules/MiqLargeFileLinux.d/MiqLargeFileLinux.c
    • lf_free
    • lf_alloc
    • lf_init
    • lf_read
    • lf_write
    • lf_seek
    • lf_size
    • lf_s_size
    • lf_close
    • init
  • lib/disk/modules/MiqLargeFileWin32.rb
  • lib/disk/modules/MiqLargeFile.rb
    • open
    • size
    • blockedev?
    • write
    • size

Raw Disk:

  • lib/disk/modules/RawBlockIO.rb
    • init
    • read
    • write
    • seek
    • size
    • close
    • bread
    • bwrite
    • breadCached
  • manageiq/lib/disk/modules/RawDisk.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_close
    • d_size
  • lib/disk/modules/RawDiskProbe.rb
    • probe

QCOW Disk:

  • lib/disk/modules/QcowDiskProbe.rb
    • probe
    • probeByDisk
    • doProbe
  • lib/disk/modules/QcowDisk.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_close
    • d_size
    • version
    • backing_file_name
    • cluster_sectors
    • total_sectors

RHEVM Disk:

  • lib/disk/modules/RhevmDiskProbe.rb
    • probe
    • parseDescriptor
  • lib/disk/modules/RhevmDescriptor.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_close
    • d_size
    • getTargetDiskIndex
    • getDiskByteOffset
    • parseDescriptor
    • buildFilename

VMWare Disk:

  • lib/disk/modules/VMWareDiskProbe.rb
    • probe
    • parseDescriptor
  • lib/disk/modules/VMWareDescriptor.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_close
    • d_size
    • getTargetDiskIndex
    • getDiskByteOffset
  • lib/disk/modules/VMWareCowdDisk.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_close
    • d_size
  • lib/disk/modules/VMWareSparseDisk.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_size

VIX Disk:

  • lib/disk/modules/VixDiskProbe.rb
    • probe
  • lib/disk/modules/VixDiskMod.rb
    • d_init
    • getBase
    • d_read
    • d_write
    • d_close
    • d_size

MSVS* Disks:


DOS Partitions:

  • lib/disk/MiqDisk.rb
    • discoverPartitions
    • discoverDosPriPartitions
    • discoverDosExtPartitions

FAT:

  • lib/fs/fat32/Fat32BootSect.rb
    • init
    • isMountable?
    • oemName
    • getLocs
    • getCluster
    • putCluster
    • getNextCluster
    • getToLimit
    • countContigCluster
    • allocClusters
    • getNextAvailableCluster
    • wipeChain
    • writeClusters
    • clusToByte
    • getFatEntry
    • putFatEntry
    • mkClusterMap
    • dumpFat
  • lib/fs/fat32/Fat32Directory.rb
  • init
  • globNames
  • findEntry
    • mkdir
    • createFile
    • getFirstFreeENtry
    • countFreeEntries
    • isFree
    • getDirData
    • mkClusterStatus
    • getClusterStatus
  • lib/fs/fat32/Fat32DirectoryEntry.rb
    • init
    • raw
    • numEnts
    • shortName
    • longName
    • name=
    • magic=
    • magic
    • setAttribute
    • length=
    • firstCluster=
    • aTime=
    • zeroTime
    • mTime=
    • writeEntry
    • delete
    • close
    • attributes
    • length
    • firstCluster
    • isDir?
    • mTime
    • aTime
    • cTime
    • getLongNameFromEntry
    • incShortName
    • create
    • mkLongName
    • mkLfn
    • mkSfn
    • isIllegalSfn
    • checkForDeviceName
    • mkLegalSfn
    • isIllegalLfn
    • mkLegalLfn
    • calcChecksum
    • dosToRubyTime
    • rubyToDosTime
  • lib/fs/fat32/Fat32FileData.rb
    • init
    • rewind
    • firstCluster
    • seek
    • read
    • write
    • getCluster
    • putCluster
    • close
    • getLCN
  • lib/fs/MiqFS/modules/Fat32.rb
    • init
    • open
    • fs_init
    • fs_freeBytes
    • fs_dirEntries
    • fs_dirMkdir
    • fs_dirRmdir
    • fs_fileExists?
    • fs_fileFile?
    • fs_fileDirectory?
    • fs_isSymLink?
    • fs_fileSize
    • fs_fileDelete
    • fs_fileAtime
    • fs_fileCtime
    • fs_fileMtime
    • fs_fileSize_obj
    • fs_fileAtime_obj
    • fs_fileCtime_obj
    • fs_fileMtime_obj
    • fs_fileOpen
    • fs_fileSeek
    • fs_fileRead
    • fs_fileWrite
    • fs_fileClose
    • ifs_getFile
    • ifs_putFile
    • ifs_getDir
    • unnormalizePath
  • lib/fs/MiqFS/modules/Fat32Probe.rb

NTFS:

  • lib/fs/ntfs/NtUtil.rb
    • NtToRubyTime
    • MfRef
    • gotBit?
    • process_fixups
    • validate_signature
  • lib/fs/ntfs/NtfsAttribAttributeList.rb
    • init
    • loadAttributes
  • lib/fs/ntfs/NtfsAttribBitmap.rb
    • create_from_header
    • init
  • lib/fs/ntfs/NtfsAttribData.rb
    • create_from_header
    • init
    • read
    • seek
    • rewind
  • lib/fs/ntfs/NtfsAttribFileName.rb
    • init
    • mTime
    • aTime
    • cTime
    • isDir?
  • lib/fs/ntfs/NtfsAttribHeader.rb
    • init
    • get_value
    • isResident?
    • typeName
    • isCompressed?
    • isEncrypted?
    • isSparse?
    • containsFileNameIndexes?
  • lib/fs/ntfs/NtfsAttribIndexAllocation.rb
    • create_from_header
    • init
  • lib/fs/ntfs/NtfsAttribIndexRoot.rb
    • allocations=
    • bitmap=
    • find
    • globNames
    • findInEntries
    • findBackup
    • getIndexAllocEntries
    • cleanAllocEntries
    • globEntries
    • globEntriesByName
    • globAllEntires
  • lib/fs/ntfs/NtfsAttribObjectId.rb
    • init
  • lib/fs/ntfs/NtfsAttribStandardInformation.rb
  • init
  • lib/fs/ntfs/NtfsAttribVolumeInformation.rb
    • init
  • lib/fs/ntfs/NtfsAttribVolumeName.rb
    • init
  • lib/fs/ntfs/NtfsAttribBootSect.rb
    • init
    • bytesPerRec
    • mftLoc
    • fragTable
    • maxMft
    • setup
    • clusterInfo
    • freeBytes
    • getVolumeInfo
    • numFrags
    • getMaxMft
    • rootDir
    • mftEntry
    • isMountable?
    • lcn2abs
    • vcn2abs
    • mftRecToBytePos
  • lib/fs/ntfs/NtfsDataRun.rb
    • init
    • addRun
    • []
    • rewind
    • seek
    • seekToVcn
    • read
    • getClusters
    • findCachedClusters
    • readCachedClusters
    • addClusterCache
    • getCacheInfo
    • readRawClusters
    • getLCNs
    • suckBytes
    • isUnitCompr?
    • mkComprUnits
    • dumpRunList
    • dumpCacheRanges
      lib/fs/ntfs/NtfsDirectoryIndexNode.rb
    • nodeFactory
    • init
    • name
    • namespace
    • hasChild?
    • isLast?
    • isDir?
    • resolve
  • lib/fs/ntfs/NtfsDirectoryIndexNodeHeader.rb
    • init
    • hasChildren?
  • lib/fs/ntfs/NtfsDirectoryIndexRecordHeader.rb
    • size
    • init
    • isValid?
  • lib/fs/ntfs/NtfsMftEntry.rb
    • init
    • isDeleted?
    • isDir?
    • indexRoot
    • attributeData
    • rootAttributeData
    • attributeList
    • loadAttributeHeaders
    • getFirstAttribute
    • getAttributes
    • loadFirstAttribute
    • loadAttributes
    • createAttribute
  • lib/fs/MiqFS/modules/NTFS.rb
    • init
    • open
    • fs_init
    • getVolumeInfo
    • fs_freeBytes
    • fs_dirEntries
    • fs_fileExists?
    • fs_fileFile?
    • fs_fileDirectory?
    • fs_isSymLink?
    • fs_fileSize
    • fs_fileAtime
    • fs_fileCtime
    • fs_fileMtime
    • fs_fileSize_obj
    • fs_fileAtime_obj
    • fs_fileCtime_obj
    • fs_fileMtime_obj
    • fs_fileSize_obj
    • fs_fileOpen
    • fs_fileSeek
    • fs_fileRead
    • fs_fileClose
    • ifs_getFile
    • ifs_getDir
    • ifs_getIndex
    • unnormalizePath
  • lib/fs/MiqFS/modules/NTFSProbe.rb

EXT3:

  • lib/fs/ext3/Ext3AllocBitmap.rb
    • init
    • isAllocated?
    • []
  • lib/fs/ext3/Ext3BlockPointersPath.rb
    • init
    • direct_index
    • single_indirect_index
    • double_indirect_index
    • triple_indirect_index
    • index_type
    • direct?
    • single_indirect?
    • double_indirect?
    • triple_indirect?
    • block=
    • succ!
  • lib/fs/ext3/Ext3Directory.rb
    • init
    • globNames
    • findEntry
    • globEntries
  • lib/fs/ext3/Ext3DirectoryEntry.rb
    • init
    • isDir?
    • isSymLink?
  • lib/fs/ext3/Ext3FileData.rb
    • init
    • rewind
    • seek
    • read
    • write
    • getStartBlock
    • getBlocks
    • getBlock
    • getSingleIndirectPointers
    • getDoubleIndirectPointers
    • getTripleIndirectPointers
    • getBlockPointers
  • lib/fs/ext3/Ext3GroupDescriptorEntry.rb
    • init
    • blockBmp
    • inodeBmp
    • inodeTable
    • numDirs
  • lib/fs/ext3/Ext3GroupDescriptorTable.rb
    • init
    • each
    • []
    • dump
    • getAllocBitmap
    • lib/fs/ext3/Ext3Inode.rb
    • init
    • uid
    • isDir?
    • isFile?
    • isDev?
    • isSymLink?
    • aTime
    • cTime
    • mTime
    • dTime
    • gid
    • permissions
    • ownerPermissions
    • groupPermissions
    • userPermissions
    • fileModeToFileType
  • lib/fs/ext3/Ext3Superblock.rb
  • isSuperblock?
  • init
  • gdt
  • isDynamic?
  • isNewDirEnt?
  • fragmentSize
  • blocksPerGroup
  • fragmentsPerGroup
  • inodesPerGroup
  • inodeSize
  • freeBytes
  • blockNumToGroupNum
  • firstGroupBlockNum
  • inodeNumToGroupNum
  • blockToAddress
  • isValidInode?
  • isValidBlock?
  • getInode
  • getBlock
  • gotBit?
  • lib/fs/MiqFS/modules/EXT3.rb
    • init
    • open
    • fs_init
    • fs_freeBytes
    • fs_dirEntries
    • fs_dirMkdir
    • fs_dirRmdir
    • fs_fileExists?
    • fs_fileFile?
    • fs_fileDirectory?
    • fs_fileSize
    • fs_fileDelete
    • fs_fileAtime
    • fs_fileCtime
    • fs_fileMtime
    • fs_isSymLink?
    • fs_fileSize_obj
    • fs_fileAtime_obj
    • fs_fileMtime_obj
    • fs_fileOpen
    • fs_fileSeek
    • fs_fileRead
    • fs_fileWrite
    • fs_fileClose
    • ifs_getFile
    • ifs_putFile
    • ifs_getDir
    • ifs_getDirR
    • unnormalizePath
  • lib/fs/MiqFS/modules/EXT3Probe.rb

EXT4:

  • ext3/*
  • lib/fs/ext4/Ext4Directory.rb
    • globEntriesByLinkedList
    • globEntriesByHashTree
  • lib/fs/ext4/Ext4Inode.rb
  • rewind
  • seek
  • read
  • fileModeToFileType
  • modeSet?
  • flagSet?
  • lib/fs/ext4/Ext4Superblock.rb
    • getFeatureStrings
    • gotBit?
  • lib/fs/ext4/Ext4Extent.rb
    • init
  • lib/fs/ext4/Ext4ExtentHeader.rb
    • init
  • lib/fs/ext4/Ext4ExtentIndex.rb
    • init
  • lib/fs/ext4/Ext4HashTreeEntry.rb
    • init
  • lib/fs/ext4/Ext4HashTreeHeader.rb
    • init
  • lib/fs/MiqFS/modules/EXT4.rb
    • init
    • open
    • fs_init
    • fs_freeBytes
    • fs_dirEntries
    • fs_dirMkdir
    • fs_dirRmdir
    • fs_fileExists?
    • fs_fileFile?
    • fs_fileDirectory?
    • fs_fileSize
    • fs_fileDelete
    • fs_fileAtime
    • fs_fileCtime
    • fs_fileMtime
    • fs_isSymLink?
    • fs_fileSize_obj
    • fs_fileAtime_obj
    • fs_fileMtime_obj
    • fs_fileOpen
    • fs_fileSeek
    • fs_fileRead
    • fs_fileWrite
    • fs_fileClose
    • ifs_getFile
    • ifs_putFile
    • ifs_getDir
    • ifs_getDirR
    • unnormalizePath
      lib/fs/MiqFS/modules/EXT4Probe.rb

Reiser:

XFS:

  • lib/fs/xfs/allocation_group.rb
    • init
  • lib/fs/xfs/bmap_btree_block.rb
    • init
    • btree_block_length
  • lib/fs/xfs/bmap_btree_record.rb
    • xfs_mask64_lo
    • bmbt_get_block_count
    • bmbt_get_start_offset
    • bmbt_get_big_start_block
    • set_record
    • init
  • lib/fs/xfs/bmap_btree_root_node.rb
    • init
  • lib/fs/xfs/directory.rb
    • init
    • glob_names
    • find_entry
  • lib/fs/xfs/directory2_data_header.rb
    • init
  • lib/fs/xfs/directory3_data_header.rb
    • init
  • lib/fs/xfs/directory_block_tail.rb
    • init
  • lib/fs/xfs/directory_data_header.rb
    • init
  • lib/fs/xfs/directory_entry.rb
    • symlink?
    • directory?
    • file?
    • device?
    • round_up
    • dir_data_entsize
  • init
  • lib/fs/xfs/inode.rb
  • dinode_good_version
  • dinode_size
  • dfork_q
  • dfork_boff
  • dfork_dsize
  • dfork_asize
  • dfork_size
  • dfork_dptr
  • dfork_aptr
  • litino
  • valid_inode?
  • inode_format
  • init
  • rewind
  • seek
  • read
  • write
  • directory?
  • file?
  • device?
  • symlink?
  • access_time
  • create_time
  • modification_time
  • d_time
  • permissions
  • owner_permissions
  • group_permissions
  • user_permissions
  • file_mode_to_file_type
  • mode_set?
  • flag_set?
  • lib/fs/xfs/inode_map.rb
    • valid_inode_size?
    • valid_inode_number?
    • init
    • imap_lookup
  • lib/fs/xfs/short_form_directory_entry.rb
    • symlink?
    • directory?
    • file?
    • device?
    • dot_entry
    • init
  • lib/fs/xfs/short_form_header.rb
    • init
  • lib/fs/xfs/superblock.rb
    • init
    • b_to_bb
    • b_to_bbt
    • bb_to_b
    • sb_version_num
    • incompatible_feature?
    • version_has_more_bits?
    • version_has_ftype?
    • version_has_crc?
    • fragment_size
    • inode_size
    • free_bytes
    • ino_mask
    • mask32lo
    • fsb_to_b
    • fsb_to_bb
    • fsb_to_agno
    • fsb_to_agbno
    • fsb_to_daddr
    • fss_to_bb
    • b_to_fsbt
    • ino_to_agno
    • ino_to_agino
    • ino_to_agbno
    • agb_to_fsb
    • agbno_to_real_block
    • agb_to_daddr
    • agf_daddr
    • agfl_daddr
    • ag_daddr
    • ino_to_fsb
    • agino_to_ino
    • agino_to_agbno
    • agino_to_offset
    • ino_offset_bits
    • ino_agbno_bits
    • ino_agino_bits
    • offbno_to_agino
    • version_has_align?
    • inode_align_mask
    • good_version_4?
    • good_version?
    • inode_cluster_size
    • icluster_size_fsb
    • get_ag
    • get_agi
    • get_agf
    • get_agblock
    • inode_btree_record
    • get_inode
    • get_cluster
    • get_block
    • got_bit?
  • lib/fs/MiqFS/modules/XFS.rb
    • init
    • open
    • fs_init
    • fs_freeBytes
    • fs_dirEntries
    • fs_dirMkdir
    • fs_dirRmdir
    • fs_fileExists?
    • fs_fileFile?
    • fs_fileDirectory?
    • fs_fileSize
    • fs_fileDelete
    • fs_fileAtime
    • fs_fileCtime
    • fs_fileMtime
    • fs_isSymLink?
    • fs_fileSize_obj
    • fs_fileAtime_obj
    • fs_fileCtime_obj
    • fs_fileMtime_obj
    • fs_fileOpen
    • fs_fileSeek
    • fs_fileRead
    • fs_fileWrite
    • fs_fileClose
    • ifs_getFile
    • ifs_putFile
    • ifs_getDir
    • ifs_getDirR
    • unnormalizePath
  • lib/fs/MiqFS/modules/XFSProbe.rb