crash.subsystem.filesystem package
**********************************

crash.subsystem.filesystem.for_each_super_block() -> Iterable[Value]

   Iterate over the list of super blocks and yield each one.

   Yields:
      "gdb.Value" -- One value for each super block.  Each value will
      be of type "struct super_block".

   Raises:
      **gdb.NotAvailableError** -- The target value was not available.

crash.subsystem.filesystem.get_super_block(desc: int | str | Value, force: bool = False) -> Value

   Given an address description return a gdb.Value that contains a
   struct super_block at that address.

   Parameters:
      * **desc** -- The address for which to provide a casted pointer.
        The address may be specified using an existing Value, an
        integer address, or a hexadecimal address represented as a 0x-
        prefixed string.

      * **force** -- Skip testing whether the value is available.

   Returns:
      The super block at the requested location. The value will be
      "struct super_block".

   Return type:
      "gdb.Value"

   Raises:
      **gdb.NotAvailableError** -- The target value was not available.

crash.subsystem.filesystem.is_fstype_inode(inode: Value, name: str) -> bool

   Tests whether the inode belongs to a particular file system type.

   Parameters:
      * **inode** -- The struct inode to test.  The value must be of
        type "struct inode".

      * **name** -- The name of the file system type

   Returns:
      whether the inode belongs to the specified file system

   Return type:
      "bool"

   Raises:
      **gdb.NotAvailableError** -- The target value was not available.

crash.subsystem.filesystem.is_fstype_super(super_block: Value, name: str) -> bool

   Tests whether the super_block belongs to a particular file system
   type.

   This uses a naive string comparison so modules are not required.

   Parameters:
      * **super_block** -- The struct super_block to test.  The value
        must be of type "struct super_block".

      * **name** -- The name of the file system type

   Returns:
      whether the "struct super_block" belongs to the specified file
      system

   Return type:
      "bool"

   Raises:
      **gdb.NotAvailableError** -- The target value was not available.

crash.subsystem.filesystem.super_flags(sb: Value) -> str

   Returns the flags associated with the given superblock.

   Parameters:
      **sb** -- The "struct super_block" for which to return the
      flags. The value must be of type "struct super_block".

   Returns:
      The flags field in human-readable form.

   Return type:
      "str"

   Raises:
      **gdb.NotAvailableError** -- The target value was not available.

crash.subsystem.filesystem.super_fstype(sb: Value) -> str

   Returns the file system type's name for a given superblock.

   Parameters:
      **sb** -- The "struct super_block" for which to return the file
      system type's name.  The value must be of type "struct
      super_block".

   Returns:
      The file system type's name

   Return type:
      "str"

   Raises:
      **gdb.NotAvailableError** -- The target value was not available.


Submodules
==========

* crash.subsystem.filesystem.btrfs module

  * "btrfs_fs_info()"

  * "btrfs_fsid()"

  * "btrfs_inode()"

  * "btrfs_metadata_uuid()"

  * "is_btrfs_inode()"

  * "is_btrfs_super()"

* crash.subsystem.filesystem.decoders module

  * "DIOBioDecoder"

    * "DIOBioDecoder.bio"

    * "DIOBioDecoder.dio"

    * "DIOBioDecoder.fstype"

    * "DIOBioDecoder.dev"

    * "DIOBioDecoder.offset"

    * "DIOBioDecoder.interpret()"

  * "DecodeBioBH"

    * "DecodeBioBH.bio"

    * "DecodeBioBH.bh"

    * "DecodeBioBH.interpret()"

  * "DecodeMPage"

    * "DecodeMPage.bio"

    * "DecodeMPage.inode"

    * "DecodeMPage.fstype"

    * "DecodeMPage.description"

    * "DecodeMPage.interpret()"

  * "DecodeSyncWBBH"

    * "DecodeSyncWBBH.bh"

* crash.subsystem.filesystem.ext3 module

  * "Ext3Decoder"

    * "Ext3Decoder.fstype"

    * "Ext3Decoder.devname"

    * "Ext3Decoder.offset"

    * "Ext3Decoder.length"

    * "Ext3Decoder.interpret()"

* crash.subsystem.filesystem.kernfs module

  * "find_kn()"

  * "for_each_child()"

  * "path_from_node()"

* crash.subsystem.filesystem.mount module

  * "Mount"

    * "Mount.check_task_interface()"

    * "Mount.for_each_mount()"

    * "Mount.init_fs_root"

  * "d_path()"

  * "for_each_mount()"

  * "mount_device()"

  * "mount_flags()"

  * "mount_fstype()"

  * "mount_root()"

  * "mount_super()"

* crash.subsystem.filesystem.xfs module

  * "XFS"

    * "XFS.detect_ail_version()"

    * "XFS.get_ail_head()"

  * "XFSBufBioDecoder"

    * "XFSBufBioDecoder.xfsbuf"

    * "XFSBufBioDecoder.devname"

    * "XFSBufBioDecoder.interpret()"

  * "XFSBufDecoder"

  * "is_xfs_inode()"

  * "is_xfs_super()"

  * "item_to_buf_log_item()"

  * "item_to_dquot_log_item()"

  * "item_to_efd_log_item()"

  * "item_to_efi_log_item()"

  * "item_to_inode_log_item()"

  * "item_to_quotaoff_log_item()"

  * "xfs_for_each_ail_entry()"

  * "xfs_for_each_ail_log_item()"

  * "xfs_for_each_ail_log_item_typed()"

  * "xfs_format_xfsbuf()"

  * "xfs_inode()"

  * "xfs_log_item_typed()"

  * "xfs_mount()"

  * "xfs_mount_flags()"

  * "xfs_mount_uuid()"

  * "xfs_mount_version()"
