ReactOS 0.4.16-dev-197-g92996da
|
#include "btrfs_drv.h"
#include "xxhash.h"
#include "crc32c.h"
#include <cpuid.h>
#include <ntddscsi.h>
#include "btrfs.h"
#include <ata.h>
#include <initguid.h>
#include <ntddstor.h>
#include <ntdddisk.h>
#include <ntddvol.h>
#include <ntstrsafe.h>
Go to the source code of this file.
Classes | |
struct | read_context |
struct | notification_fcb |
Macros | |
#define | INCOMPAT_SUPPORTED |
#define | COMPAT_RO_SUPPORTED |
#define | INIT_UNICODE_STRING(var, val) UNICODE_STRING us##var; us##var.Buffer = (WCHAR*)val; us##var.Length = us##var.MaximumLength = sizeof(val) - sizeof(WCHAR); |
#define COMPAT_RO_SUPPORTED |
#define INCOMPAT_SUPPORTED |
_Dispatch_type_ | ( | IRP_MJ_CLEANUP | ) |
Definition at line 2438 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_CLOSE | ) |
Definition at line 503 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_FILE_SYSTEM_CONTROL | ) |
Definition at line 5264 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_FLUSH_BUFFERS | ) |
Definition at line 551 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_LOCK_CONTROL | ) |
Definition at line 5345 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_POWER | ) |
Definition at line 5654 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_QUERY_VOLUME_INFORMATION | ) |
Definition at line 997 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_SET_VOLUME_INFORMATION | ) |
Definition at line 1447 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_SHUTDOWN | ) |
Definition at line 5510 of file btrfs.c.
_Dispatch_type_ | ( | IRP_MJ_SYSTEM_CONTROL | ) |
Definition at line 5748 of file btrfs.c.
_Function_class_ | ( | DRIVER_ADD_DEVICE | ) |
Definition at line 6133 of file btrfs.c.
_Function_class_ | ( | DRIVER_INITIALIZE | ) |
Definition at line 6276 of file btrfs.c.
_Function_class_ | ( | DRIVER_UNLOAD | ) |
Definition at line 330 of file btrfs.c.
_Function_class_ | ( | IO_COMPLETION_ROUTINE | ) |
_Function_class_ | ( | IO_WORKITEM_ROUTINE | ) |
Definition at line 1648 of file btrfs.c.
_Function_class_ | ( | KSTART_ROUTINE | ) |
Definition at line 6110 of file btrfs.c.
_Requires_exclusive_lock_held_ | ( | Vcb-> | tree_lock | ) |
_Success_ | ( | return >= | 0 | ) |
_Success_ | ( | return | ) |
Definition at line 427 of file btrfs.c.
|
static |
Definition at line 3279 of file btrfs.c.
Referenced by find_device_from_uuid(), and load_chunk_root().
|
static |
|
static |
Definition at line 619 of file btrfs.c.
Referenced by _Dispatch_type_().
Definition at line 5797 of file btrfs.c.
Referenced by create_snapshot(), create_stream(), create_subvol(), file_create(), find_file_in_dir(), rename_file_to_stream(), rename_stream(), set_link_information(), and set_rename_information().
bool check_superblock_checksum | ( | superblock * | sb | ) |
Definition at line 2825 of file btrfs.c.
Referenced by device_still_valid(), is_device_part_of_mounted_btrfs_raid(), read_superblock(), still_has_superblock(), test_vol(), and verify_device().
void chunk_lock_range | ( | _In_ device_extension * | Vcb, |
_In_ chunk * | c, | ||
_In_ uint64_t | start, | ||
_In_ uint64_t | length | ||
) |
Definition at line 5844 of file btrfs.c.
Referenced by read_data(), and scrub_chunk_raid56_stripe_run().
void chunk_unlock_range | ( | _In_ device_extension * | Vcb, |
_In_ chunk * | c, | ||
_In_ uint64_t | start, | ||
_In_ uint64_t | length | ||
) |
Definition at line 5891 of file btrfs.c.
Referenced by read_data(), and scrub_chunk_raid56_stripe_run().
|
static |
Definition at line 1925 of file btrfs.c.
|
static |
Definition at line 650 of file btrfs.c.
Referenced by lie_about_fs_type().
|
static |
Definition at line 4094 of file btrfs.c.
Referenced by mount_vol().
NTSTATUS create_root | ( | _In_ _Requires_exclusive_lock_held_(_Curr_->tree_lock) device_extension * | Vcb, |
_In_ uint64_t | id, | ||
_Out_ root ** | rootptr, | ||
_In_ bool | no_tree, | ||
_In_ uint64_t | offset, | ||
_In_opt_ PIRP | Irp | ||
) |
Definition at line 1271 of file btrfs.c.
Referenced by create_subvol(), do_create_snapshot(), flush_subvol(), and look_for_roots().
DEFINE_GUID | ( | BtrfsBusInterface | , |
0x4d414874 | , | ||
0x6865 | , | ||
0x6761 | , | ||
0x6d | , | ||
0x65 | , | ||
0x83 | , | ||
0x69 | , | ||
0x17 | , | ||
0x9a | , | ||
0x7d | , | ||
0x1d | |||
) |
NTSTATUS delete_fileref | ( | _In_ file_ref * | fileref, |
_In_opt_ PFILE_OBJECT | FileObject, | ||
_In_ bool | make_orphan, | ||
_In_opt_ PIRP | Irp, | ||
_In_ LIST_ENTRY * | rollback | ||
) |
Definition at line 2270 of file btrfs.c.
Referenced by _Dispatch_type_(), move_across_subvols(), open_file3(), rename_file_to_stream(), rename_stream(), set_link_information(), and set_rename_information().
|
static |
Definition at line 2214 of file btrfs.c.
Referenced by _Dispatch_type_(), and delete_fileref().
NTSTATUS dev_ioctl | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ ULONG | ControlCode, | ||
_In_reads_bytes_opt_(InputBufferSize) PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferSize, | ||
_Out_writes_bytes_opt_(OutputBufferSize) PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferSize, | ||
_In_ bool | Override, | ||
_Out_opt_ IO_STATUS_BLOCK * | iosb | ||
) |
Definition at line 2954 of file btrfs.c.
Referenced by _Function_class_(), add_device(), disk_arrival(), finish_removing_device(), get_device_change_count(), get_devices(), init_device(), is_btrfs_volume(), is_device_removable(), is_volume_mounted(), mount_vol(), mountmgr_add_drive_letter(), mountmgr_notification(), mountmgr_process_drive(), probe_volume(), query_filesystems(), remove_drive_letter(), remove_volume_child(), resize_device(), test_vol(), trim_unalloc_space(), trim_whole_device(), verify_device(), verify_vcb(), vol_check_verify(), vol_get_disk_extents(), vol_is_writable(), and volume_arrival().
Definition at line 5546 of file btrfs.c.
Definition at line 5392 of file btrfs.c.
Referenced by _Dispatch_type_(), and ioctl_unload().
Definition at line 287 of file btrfs.c.
NTSTATUS find_chunk_usage | ( | _In_ _Requires_lock_held_(_Curr_->tree_lock) device_extension * | Vcb, |
_In_opt_ PIRP | Irp | ||
) |
Definition at line 3876 of file btrfs.c.
Referenced by get_usage(), and mount_vol().
_Ret_maybenull_ root * find_default_subvol | ( | _In_ _Requires_lock_held_(_Curr_->tree_lock) device_extension * | Vcb, |
_In_opt_ PIRP | Irp | ||
) |
Definition at line 3981 of file btrfs.c.
Referenced by load_dir_children(), and mount_vol().
_Ret_maybenull_ device * find_device_from_uuid | ( | _In_ device_extension * | Vcb, |
_In_ BTRFS_UUID * | uuid | ||
) |
Definition at line 3299 of file btrfs.c.
Referenced by load_chunk_root(), and read_data().
|
static |
Definition at line 3207 of file btrfs.c.
Referenced by mount_vol().
Definition at line 1734 of file btrfs.c.
Referenced by allocate_cache_chunk(), check_for_orphans_root(), close_file(), create_stream(), do_write2(), drop_chunk(), duplicate_fcb(), file_create2(), get_reparse_tag(), load_stored_free_space_cache(), mount_vol(), move_across_subvols(), open_fileref_by_inode(), open_fileref_child(), reap_fileref(), remove_free_space_inode(), rename_stream(), rename_stream_to_file(), and update_chunk_usage().
Definition at line 1856 of file btrfs.c.
Referenced by _Function_class_(), close_file(), create_snapshot(), create_stream(), create_subvol(), do_create_snapshot(), do_write2(), file_create(), fill_in_hard_link_full_id_information(), fill_in_hard_link_information(), get_subvol_path(), mknod(), mount_vol(), move_across_subvols(), open_file(), open_file2(), open_fileref(), open_fileref_by_inode(), oplock_complete(), reap_fileref(), rename_file_to_stream(), rename_stream(), rename_stream_to_file(), send_notification_fcb(), set_link_information(), and set_rename_information().
|
static |
Definition at line 3396 of file btrfs.c.
Referenced by init_device().
NTSTATUS get_device_pnp_name | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_Out_ PUNICODE_STRING | pnp_name, | ||
_Out_ const GUID ** | guid | ||
) |
Definition at line 4233 of file btrfs.c.
Referenced by add_device(), and probe_volume().
|
static |
Definition at line 4178 of file btrfs.c.
Referenced by get_device_pnp_name().
ULONG get_file_attributes | ( | _In_ _Requires_lock_held_(_Curr_->tree_lock) device_extension * | Vcb, |
_In_ root * | r, | ||
_In_ uint64_t | inode, | ||
_In_ uint8_t | type, | ||
_In_ bool | dotfile, | ||
_In_ bool | ignore_xa, | ||
_In_opt_ PIRP | Irp | ||
) |
Definition at line 2664 of file btrfs.c.
Referenced by create_directory_fcb(), create_subvol(), fsctl_set_xattr(), mount_vol(), move_across_subvols(), open_file3(), query_dir_item(), set_basic_information(), and set_sparse().
|
static |
Definition at line 386 of file btrfs.c.
Referenced by if().
uint32_t get_num_of_processors | ( | ) |
Definition at line 4080 of file btrfs.c.
Referenced by create_calc_threads().
if | ( | ! | check_superblock_checksumsb | ) |
if | ( | ! | NT_SUCCESSStatus | ) |
if | ( | ! | r | ) |
if | ( | !Vcb->readonly && | r->id==BTRFS_ROOT_ROOT||r->id==BTRFS_ROOT_FSTREE||(r->id >=0x100 &&!(r->id &0xf000000000000000)) | ) |
Definition at line 3036 of file btrfs.c.
if | ( | sb->magic ! | = BTRFS_MAGIC | ) |
if | ( | tp | ) |
Definition at line 3416 of file btrfs.c.
Referenced by add_device(), add_volume_device(), load_chunk_root(), and mount_vol().
void init_file_cache | ( | _In_ PFILE_OBJECT | FileObject, |
_In_ CC_FILE_SIZES * | ccfs | ||
) |
Definition at line 4069 of file btrfs.c.
Referenced by __attribute__(), and do_read().
|
static |
Definition at line 4141 of file btrfs.c.
Referenced by mount_vol().
|
static |
Definition at line 3382 of file btrfs.c.
Referenced by init_device().
Definition at line 278 of file btrfs.c.
Referenced by _Dispatch_type_(), do_read_job(), and do_write_job().
|
static |
Definition at line 687 of file btrfs.c.
Referenced by _Dispatch_type_().
|
static |
Definition at line 3513 of file btrfs.c.
Referenced by mount_vol().
|
static |
Definition at line 3923 of file btrfs.c.
Referenced by mount_vol().
Definition at line 5914 of file btrfs.c.
Referenced by do_tree_writes(), read_data_dup(), read_data_raid0(), read_data_raid10(), read_data_raid5(), read_data_raid6(), scrub_chunk_raid56_stripe_run(), scrub_extent(), scrub_extent_dup(), scrub_extent_raid0(), scrub_extent_raid10(), scrub_raid5_stripe(), scrub_raid6_stripe(), snapshot_tree_copy(), and write_superblocks().
|
static |
Definition at line 3083 of file btrfs.c.
Referenced by mount_vol().
Definition at line 1695 of file btrfs.c.
Referenced by __attribute__(), _Dispatch_type_(), check_for_orphans_root(), create_directory_fcb(), create_stream(), create_subvol(), delete_fileref(), delete_fileref_fcb(), delete_reparse_point(), do_create_snapshot(), duplicate_extents(), file_create2(), fsctl_set_xattr(), insert_extent_chunk(), load_stored_free_space_cache(), mknod(), move_across_subvols(), open_file3(), remove_free_space_inode(), rename_file_to_stream(), rename_stream(), rename_stream_to_file(), set_basic_information(), set_case_sensitive_information(), set_end_of_file_information(), set_file_security(), set_inode_info(), set_link_information(), set_rename_information(), set_reparse_point2(), set_sparse(), set_symlink(), set_valid_data_length_information(), set_zero_data(), stream_set_end_of_file_information(), and write_compressed().
Definition at line 1717 of file btrfs.c.
Referenced by __attribute__(), create_stream(), create_subvol(), delete_fileref(), delete_reparse_point(), do_create_snapshot(), file_create2(), mknod(), move_across_subvols(), rename_file_to_stream(), rename_stream_to_file(), set_link_information(), set_rename_information(), and set_symlink().
|
static |
Definition at line 4375 of file btrfs.c.
Referenced by _Dispatch_type_().
Definition at line 3777 of file btrfs.c.
Referenced by __attribute__(), and load_cache_chunk().
void queue_notification_fcb | ( | _In_ file_ref * | fileref, |
_In_ ULONG | filter_match, | ||
_In_ ULONG | action, | ||
_In_opt_ PUNICODE_STRING | stream | ||
) |
Definition at line 1667 of file btrfs.c.
Referenced by __attribute__(), create_stream(), delete_reparse_point(), duplicate_extents(), file_create(), mknod(), open_file3(), set_basic_information(), set_end_of_file_information(), set_file_security(), set_reparse_point(), set_sparse(), set_valid_data_length_information(), and set_zero_data().
else RtlZeroMemory & r | ( | ROOT_ITEM | ) |
|
static |
Definition at line 2882 of file btrfs.c.
Referenced by mount_vol().
Definition at line 1743 of file btrfs.c.
Referenced by allocate_cache_chunk(), clear_free_space_cache(), create_directory_fcb(), create_stream(), create_subvol(), drop_chunk(), mknod(), mount_vol(), open_fcb(), open_fcb_stream(), open_fileref_child(), reap_fcbs(), rename_file_to_stream(), rename_stream_to_file(), uninit(), and update_chunk_usage().
void reap_fcbs | ( | device_extension * | Vcb | ) |
Definition at line 1841 of file btrfs.c.
void reap_fileref | ( | device_extension * | Vcb, |
file_ref * | fr | ||
) |
Definition at line 1875 of file btrfs.c.
Referenced by create_stream(), file_create2(), open_fileref_child(), reap_filerefs(), and rename_file_to_stream().
void reap_filerefs | ( | device_extension * | Vcb, |
file_ref * | fr | ||
) |
Definition at line 1906 of file btrfs.c.
Referenced by reap_filerefs().
RtlZeroMemory | ( | r-> | fcbs_ptrs, |
sizeof(LIST_ENTRY *) * | 256 | ||
) |
|
static |
Definition at line 1557 of file btrfs.c.
Referenced by _Function_class_(), and delete_fileref().
void send_notification_fileref | ( | _In_ file_ref * | fileref, |
_In_ ULONG | filter_match, | ||
_In_ ULONG | action, | ||
_In_opt_ PUNICODE_STRING | stream | ||
) |
Definition at line 1517 of file btrfs.c.
Referenced by _Dispatch_type_(), create_snapshot(), create_stream(), create_subvol(), do_create_snapshot(), file_create(), mknod(), move_across_subvols(), send_notification_fcb(), set_link_information(), and set_rename_information().
|
static |
Definition at line 1392 of file btrfs.c.
Referenced by _Dispatch_type_().
|
static |
Definition at line 4313 of file btrfs.c.
Referenced by mount_vol().
switch | ( | r-> | id | ) |
Definition at line 3046 of file btrfs.c.
Referenced by _control87(), _Success_(), AcpiDsInitBufferField(), AcpiUtCopyIelementToIelement(), cff_index_load_offsets(), DispTdiQueryInformation(), DispTdiQueryInformationEx(), EngAlphaBlend(), Fat8dot3ToString(), FNFDINOTIFY(), FreeBT_QueryWmiDataBlock(), FT_Stream_ReadFields(), gl_ArrayElement(), gl_save_ArrayElement(), i8042DeviceControl(), i8042InternalDeviceControl(), i8042KbdDeviceControl(), i8042KbdInternalDeviceControl(), i8042KbdStartIo(), i8042MouInternalDeviceControl(), i8042SendHookWorkItem(), i8042StartIo(), jinit_color_deconverter(), KdSendPacket(), KeyboardInternalDeviceControl(), Main_DirectDraw_GetCaps(), MainWndProc(), ME_StreamOutRTFCharProps(), NdisIDispatchPnp(), CMainToolbar::OnGetDispInfo(), PdoQueryDeviceText(), PdoQueryId(), prepare_for_pass(), CAC97MiniportTopology::PropertyHandler_OnOff(), regstore_get_double(), regstore_set_double(), RPCRT4_process_packet(), RtlRunOnceBeginInitialize(), RtlRunOnceComplete(), ScsiFlopDeviceControl(), SecurityPageCallback(), SenseInfoInterpretByAdditionalSenseCode(), start_pass_main(), TIFFWriteDirectorySec(), USBPORT_HandleGetSetDescriptor(), USBPORT_HandleGetStatus(), USBPORT_HandleSetOrClearFeature(), xdrrec_getoutbase(), and xdrrec_inline().
NTSTATUS sync_read_phys | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ PFILE_OBJECT | FileObject, | ||
_In_ uint64_t | StartingOffset, | ||
_In_ ULONG | Length, | ||
_Out_writes_bytes_(Length) PUCHAR | Buffer, | ||
_In_ bool | override | ||
) |
Definition at line 2732 of file btrfs.c.
Referenced by device_still_valid(), is_device_part_of_mounted_btrfs_raid(), partial_stripe_read(), read_data_dup(), read_data_raid10(), read_data_raid5(), read_data_raid6(), read_superblock(), still_has_superblock(), test_vol(), and verify_device().
void uninit | ( | _In_ device_extension * | Vcb | ) |
Definition at line 2001 of file btrfs.c.
Referenced by close_file(), dismount_volume(), invalidate_volumes(), pnp_remove_device(), pnp_surprise_removal(), test_validtypes(), and verify_volume().
NTSTATUS utf16_to_utf8 | ( | char * | dest, |
ULONG | dest_max, | ||
ULONG * | dest_len, | ||
WCHAR * | src, | ||
ULONG | src_len | ||
) |
Definition at line 894 of file btrfs.c.
Referenced by check_file_name_valid(), and set_label().
NTSTATUS utf8_to_utf16 | ( | WCHAR * | dest, |
ULONG | dest_max, | ||
ULONG * | dest_len, | ||
char * | src, | ||
ULONG | src_len | ||
) |
Definition at line 811 of file btrfs.c.
Referenced by _Dispatch_type_().
|
static |
Definition at line 5111 of file btrfs.c.
Referenced by verify_volume().
|
static |
Definition at line 5203 of file btrfs.c.
Referenced by _Dispatch_type_().
ERESOURCE boot_lock |
Definition at line 110 of file btrfs.c.
Referenced by _Function_class_(), check_system_root(), disk_arrival(), and volume_arrival().
|
extern |
Definition at line 34 of file boot.c.
Referenced by check_boot_options(), and mount_vol().
PDEVICE_OBJECT busobj |
Definition at line 66 of file btrfs.c.
Referenced by _Function_class_(), add_volume_device(), do_shutdown(), and remove_volume_child().
uint32_t debug_log_level = 0 |
Definition at line 71 of file btrfs.c.
Referenced by _Function_class_(), and read_registry().
Definition at line 107 of file btrfs.c.
Referenced by _Function_class_(), and mount_vol().
Definition at line 106 of file btrfs.c.
Referenced by _Function_class_().
Definition at line 60 of file btrfs.c.
Referenced by _Function_class_(), d3d3_EnumDevices(), d3d7_EnumDevices(), mountmgr::delete_points(), InitializeSoundBlaster(), mountmgr_process_drive(), mountmgr_updated(), OpenKernelDevice(), printercache_process(), mountmgr::query_points(), test_device_info(), test_get_input_report(), test_GetMappedFileName(), and test_read_device().
Definition at line 3004 of file btrfs.c.
Referenced by OLEFont_SendNotify(), OLEFontImpl_Load(), OLEFontImpl_SetRatio(), set_dirty(), Timeline_IAMTimeline_IsDirty(), and timelinegrp_IsRecompressFormatDirty().
Definition at line 101 of file btrfs.c.
Referenced by __attribute__(), _Function_class_(), do_read(), init_file_cache(), and read_data().
xor_func do_xor = do_xor_basic |
Definition at line 127 of file btrfs.c.
Referenced by __attribute__(), flush_partial_stripe(), partial_stripe_read(), raid6_recover2(), read_data_raid5(), read_data_raid6(), scrub_raid5_stripe(), and scrub_raid6_stripe().
|
static |
Definition at line 61 of file btrfs.c.
Referenced by _Function_class_().
Definition at line 3014 of file btrfs.c.
Referenced by CAutoComplete::GetDropDownStatus(), and journal_skip_recovery().
PDRIVER_OBJECT drvobj |
Definition at line 65 of file btrfs.c.
Referenced by _Function_class_(), add_device(), add_volume_device(), boot_add_device(), mount_vol(), register_fve_callback(), and volume_arrival().
r fcbs_version = 0 |
Definition at line 3012 of file btrfs.c.
Referenced by open_fcb().
tCcCopyReadEx fCcCopyReadEx |
Definition at line 91 of file btrfs.c.
Referenced by _Function_class_(), and do_read().
tCcCopyWriteEx fCcCopyWriteEx |
Definition at line 92 of file btrfs.c.
Referenced by __attribute__(), and _Function_class_().
tCcSetAdditionalCacheAttributesEx fCcSetAdditionalCacheAttributesEx |
Definition at line 93 of file btrfs.c.
Referenced by _Function_class_(), and init_file_cache().
tFsRtlAreThereCurrentOrInProgressFileLocks fFsRtlAreThereCurrentOrInProgressFileLocks |
Definition at line 100 of file btrfs.c.
Referenced by _Function_class_(), and fsctl_oplock().
tFsRtlCheckLockForOplockRequest fFsRtlCheckLockForOplockRequest |
Definition at line 99 of file btrfs.c.
Referenced by _Function_class_(), and fsctl_oplock().
tFsRtlGetEcpListFromIrp fFsRtlGetEcpListFromIrp |
Definition at line 96 of file btrfs.c.
Referenced by _Function_class_(), and file_create().
tFsRtlGetNextExtraCreateParameter fFsRtlGetNextExtraCreateParameter |
Definition at line 97 of file btrfs.c.
Referenced by _Function_class_(), and file_create().
tFsRtlUpdateDiskCounters fFsRtlUpdateDiskCounters |
Definition at line 94 of file btrfs.c.
Referenced by __attribute__(), _Function_class_(), and read_data().
tFsRtlValidateReparsePointBuffer fFsRtlValidateReparsePointBuffer |
Definition at line 98 of file btrfs.c.
Referenced by _Function_class_(), get_reparse_block(), and set_reparse_point2().
Definition at line 105 of file btrfs.c.
Referenced by _Function_class_(), and mount_vol().
tIoUnregisterPlugPlayNotificationEx fIoUnregisterPlugPlayNotificationEx |
Definition at line 95 of file btrfs.c.
Referenced by _Function_class_(), do_shutdown(), free_vol(), and remove_volume_child().
tPsUpdateDiskCounters fPsUpdateDiskCounters |
Definition at line 90 of file btrfs.c.
Referenced by _Function_class_(), and do_read().
r treeholder generation = generation |
Definition at line 2996 of file btrfs.c.
Referenced by find_send_dir(), get_orphan_name(), GetUser32Handle(), handle_to_entry(), load_stored_free_space_cache(), make_file_orphan(), read_data(), read_data_dup(), read_data_raid0(), read_data_raid10(), read_data_raid5(), read_data_raid6(), and ValidateHandleNoErr().
LIST_ENTRY gid_map_list |
Definition at line 68 of file btrfs.c.
Referenced by _Function_class_().
ERESOURCE global_loading_lock |
Definition at line 70 of file btrfs.c.
Referenced by _Function_class_(), invalidate_volumes(), is_device_part_of_mounted_btrfs_raid(), mount_vol(), and query_filesystems().
bool is_windows_8 |
Definition at line 111 of file btrfs.c.
Referenced by _Function_class_().
r lastinode = 0 |
Definition at line 3027 of file btrfs.c.
Referenced by flush_refs().
UNICODE_STRING log_device |
Definition at line 89 of file btrfs.c.
Referenced by _Function_class_(), and read_registry().
UNICODE_STRING log_file |
Definition at line 89 of file btrfs.c.
Referenced by _Function_class_(), logSource(), and START_TEST().
Definition at line 88 of file btrfs.c.
Referenced by _Function_class_().
ERESOURCE mapping_lock |
Definition at line 103 of file btrfs.c.
Referenced by _Function_class_(), find_gid(), read_registry(), sid_to_uid(), and uid_to_sid().
PDEVICE_OBJECT master_devobj |
Definition at line 66 of file btrfs.c.
Referenced by _Dispatch_type_(), _Function_class_(), do_shutdown(), enqueue_pnp_callback(), event_notification(), mount_vol(), and queue_notification_fcb().
uint32_t mount_allow_degraded = 0 |
Definition at line 83 of file btrfs.c.
Referenced by allow_degraded_mount(), read_registry(), and registry_load_volume_options().
uint32_t mount_clear_cache = 0 |
Definition at line 82 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_compress = 0 |
Definition at line 72 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_compress_force = 0 |
Definition at line 73 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_compress_type = 0 |
Definition at line 74 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_flush_interval = 30 |
Definition at line 77 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_max_inline = 2048 |
Definition at line 78 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_no_barrier = 0 |
Definition at line 80 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_no_root_dir = 0 |
Definition at line 85 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_no_trim = 0 |
Definition at line 81 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_nodatacow = 0 |
Definition at line 86 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_readonly = 0 |
Definition at line 84 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_skip_balance = 0 |
Definition at line 79 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_zlib_level = 3 |
Definition at line 75 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
uint32_t mount_zstd_level = 3 |
Definition at line 76 of file btrfs.c.
Referenced by read_registry(), and registry_load_volume_options().
KEVENT mountmgr_thread_event |
Definition at line 108 of file btrfs.c.
Referenced by _Function_class_(), and do_shutdown().
Definition at line 106 of file btrfs.c.
Referenced by _Function_class_().
uint32_t no_pnp = 0 |
Definition at line 87 of file btrfs.c.
Referenced by add_volume_device(), bus_pnp(), free_vol(), read_registry(), and remove_volume_child().
r nonpaged = ExAllocatePoolWithTag(NonPagedPool, sizeof(root_nonpaged), ALLOC_TAG) |
Definition at line 102 of file btrfs.c.
Referenced by _Function_class_(), and do_shutdown().
Definition at line 102 of file btrfs.c.
Referenced by _Function_class_(), and do_shutdown().
Definition at line 102 of file btrfs.c.
Referenced by _Function_class_(), and do_shutdown().
uint64_t num_reads = 0 |
Definition at line 67 of file btrfs.c.
Referenced by sync_read_phys().
r parent = 0 |
Definition at line 3010 of file btrfs.c.
Referenced by __rb_erase_color(), __rb_rotate_left(), __rb_rotate_right(), _check_item(), _ILCreateControlPanel(), _ILCreatePrinters(), _insert_adjacent_elem(), CMenuDeskBar::_IsSubMenuParent(), CMenuBand::_SetParentBand(), _test_elem_get_parent(), _test_node_get_parent(), acpi_bus_add(), acpi_bus_scan(), acpi_bus_set_power(), add_feature_child(), add_file(), add_folder_child(), add_inode_ref(), add_item(), add_param_to_tree(), add_purpose_dlg_proc(), add_shared_block_extent_ref(), add_shared_data_extent_ref(), adns__query_done(), Bin::adopt(), alloc_object(), append_inf_file(), arbfp_free_ffpshader(), atifs_free_ffpshader(), ShellFolder::attach(), audiomediastream_create(), audiostreamsample_create(), BtrfsSend::BrowseParent(), buffer_init(), BUTTON_CheckAutoRadioButton(), BUTTON_WindowProc(), ButtonWndProc_common(), CascadeChildWindows(), CB_Paint(), CB_ThemedPaint(), check_dialog_style(), check_dir(), checkc_queue_childw(), BtrfsRecv::cmd_snapshot(), BtrfsRecv::cmd_subvol(), co_WinPosArrangeIconicWindows(), FxObject::Commit(), CUiMeasure::ComputeMeasure(), create_button(), create_dialog(), create_listbox(), create_listview_controlW(), create_parent(), create_plugin_window(), create_shell_embedding_hwnd(), create_sub_body(), create_syslink(), create_tool_window(), create_trackbar(), create_trackbar2(), create_window_tree(), CreateStatusWindowA(), CreateStatusWindowW(), CreateUpDownControl(), CryptUIWizDigitalSign(), ctrl_container_reparent(), d3d8_device_Release(), d3d8_indexbuffer_wined3d_object_destroyed(), d3d8_pixelshader_wined3d_object_destroyed(), d3d8_swapchain_wined3d_object_released(), d3d8_texture_wined3d_object_destroyed(), d3d8_vertexbuffer_wined3d_object_destroyed(), d3d8_vertexdeclaration_wined3d_object_destroyed(), d3d8_vertexshader_wined3d_object_destroyed(), d3d9_indexbuffer_wined3d_object_destroyed(), d3d9_pixelshader_wined3d_object_destroyed(), d3d9_swapchain_wined3d_object_released(), d3d9_texture_wined3d_object_destroyed(), d3d9_vertexbuffer_wined3d_object_destroyed(), d3d9_vertexdeclaration_wined3d_object_destroyed(), d3d9_vertexshader_wined3d_object_destroyed(), d3d_device3_GetRenderState(), d3drm3_CreateFrame(), d3drm_frame1_GetParent(), d3drm_frame2_GetParent(), d3drm_frame3_AddChild(), d3drm_frame3_GetParent(), d3drm_mesh_builder3_GetParentMesh(), d3dx_parse_effect_typedef(), ddraw_frontbuffer_destroyed(), ddraw_surface_wined3d_object_destroyed(), ddraw_texture_wined3d_object_destroyed(), ddrawmediastream_create(), ddrawstreamsample_create(), DECLARE_INTERFACE_(), decrease_extent_refcount(), DefMDIChildProcW(), delegation_create(), delete_directory(), delete_key(), device_init(), device_parent_surface_created(), device_parent_volume_created(), dialog_create(), dialog_create_window(), DIALOG_CreateIndirect(), dialog_run_message_loop(), CMenuFocusManager::DisableMouseTrack(), display_cert_manager(), display_cpl_sheets(), do_create_snapshot(), do_loop(), BtrfsRecv::do_recv(), doChild(), dwarf2_parse_enumerator(), dwarf2_parse_udt_member(), dwarflookupchildtag(), dwarflookupsubname(), dwarfnextsymat(), empty_dlg_proc3(), enum_gac_assemblies(), enum_gac_assembly_dirs(), EnumSystemGeoID(), enumx_allocate(), event_do_dialog(), ExitWindowsDialog(), ext2_add_entry(), ext2_mkdir(), fcb_get_sd(), fill_content_tree(), BookmarkList::fill_tree(), find_extent_shared_data_refcount(), find_extent_shared_tree_refcount(), find_feature_children(), find_folder_children(), find_or_create_directory(), find_path(), find_path_len(), find_send_dir(), find_window(), fire_event_obj(), FloatUp(), folder_get_ParentFolder(), found_path(), GB_Paint(), GB_ThemedPaint(), geometry_shader_init(), get_child_index(), get_ea_value(), get_first_item(), get_flags(), ShellPath::get_folder(), get_hierarchy_data_from_tree_item(), get_item(), CDefViewDual::get_Parent(), CCommonFolder< TSelf, TItemId, TExtractIcon >::GetUIObjectOf(), ShellPath::GetUIObjectOf(), handle_getexattr(), HTMLOuterWindow_Create(), HTMLScriptElement_put_src(), HTMLScriptElement_put_text(), HTMLTxtRange_parentElement(), HUF_buildCTable_wksp(), icb_hostaddr(), icb_ptr(), IDirectPlay3AImpl_AddGroupToGroup(), IDirectPlay3AImpl_CreateGroupInGroup(), IDirectPlay3AImpl_DeleteGroupFromGroup(), IDirectPlay3AImpl_GetGroupParent(), IDirectPlay3Impl_AddGroupToGroup(), IDirectPlay3Impl_CreateGroupInGroup(), IDirectPlay3Impl_DeleteGroupFromGroup(), IDirectPlay3Impl_GetGroupParent(), IDirectPlay4AImpl_AddGroupToGroup(), IDirectPlay4AImpl_DeleteGroupFromGroup(), IDirectPlay4AImpl_GetGroupParent(), IDirectPlay4Impl_AddGroupToGroup(), IDirectPlay4Impl_DeleteGroupFromGroup(), IDirectPlay4Impl_GetGroupParent(), CToolbarProxy::Initialize(), CRegistryFolderExtractIcon::Initialize(), CFolderItems::Initialize(), insert_adjacent_node(), insert_content_item(), IntDefWindowProc(), IntGetWindowLong(), is_valid_sub_constant(), FxUsbDevice::IsObjectDisposedOnRemove(), keylist_GetCount(), keylist_RemoveAllKeys(), LaunchInternetControlPanel(), LaunchSiteCertDialog(), link_notify_test(), load_progid(), LoadSystemIni(), LogoffWindowsDialog(), lookup_entry(), lookup_symlink(), match_dw_attr_imp(), match_guid_attr_imp(), match_qw_attr_imp(), match_strw_attr_imp(), MCIWND_Create(), mdi_child_wnd_proc_2(), merge_old_directory_into_tree(), MetadataHandlerEnum_Create(), midi_in_port_create(), midi_out_port_create(), MMDevPropStore_Create(), msi_get_target_folder(), MSI_GetFeatureCost(), msi_resolve_source_folder(), msi_resolve_target_folder(), MSIREG_DeleteUninstallKey(), name_cache_find_or_create(), name_cache_insert(), name_cache_lookup(), name_cache_remove(), name_cache_search(), name_cache_unlink_children_recursive(), NC_HandleNCLButtonDown(), need_delegation(), new_body_entry(), new_richedit(), new_richedit_with_style(), new_richeditW(), new_static_wnd(), new_window(), new_windowW(), next_xml_elem(), nfs41_create(), nfs41_delegation_granted(), nfs41_fs_locations(), nfs41_lookup(), nfs41_name_cache_delegreturn(), nfs41_name_cache_insert(), nfs41_name_cache_lookup(), nfs41_name_cache_remove(), nfs41_open(), nfs41_remove(), nfs41_superblock_for_fh(), nsTooltipTextProvider_GetNodeText(), OB_Paint(), OleObject_SetClientSite(), ShellBrowser::OnDefaultCommand(), open_fcb_stream(), open_fileref(), open_fileref_by_inode(), open_update_cache(), FxDevice::OpenSettingsKey(), PAGER_EraseBackground(), parent_wnd_proc(), parse_application_elem(), parse_assembly_elem(), parse_assembly_identity_elem(), parse_binding_redirect_elem(), parse_clr_class_elem(), parse_clr_surrogate_elem(), parse_com_class_elem(), parse_com_class_progid(), parse_com_interface_external_proxy_stub_elem(), parse_cominterface_proxy_stub_elem(), parse_compatibility_application_elem(), parse_compatibility_elem(), parse_dependency_elem(), parse_dependent_assembly_elem(), parse_description_elem(), parse_expect_end_elem(), parse_file_elem(), parse_manifest_buffer(), parse_noinherit_elem(), parse_noinheritable_elem(), parse_requested_execution_level_elem(), parse_requested_privileges_elem(), parse_security_elem(), parse_settings_elem(), parse_supportedos_elem(), parse_trust_info_elem(), parse_typelib_elem(), parse_unknown_elem(), parse_window_class_elem(), parse_windows_settings_elem(), Path(), PB_Paint(), PB_ThemedPaint(), pixel_shader_init(), Window::PostParent(), CMenuFocusManager::ProcessMouseMove(), prop_enum_copy_cb(), PROPSHEET_PropertySheet(), psh_hint_align(), query_feature_state(), r_verify_pidl(), rb_erase(), rb_insert(), rb_insert_color(), rb_link_node(), rb_next(), rb_prev(), rb_replace_node(), REBAR_GetNotifyParent(), REBAR_Notify(), REBAR_SetParent(), recover_open_grace(), recover_open_no_grace(), BtrfsRecv::recv_thread(), remove_root_extents(), reset_enum_callback(), resize_template_hook(), resource_init(), RestartDialogEx(), root_dialog(), RunDlgProc(), scan_subkeys(), SdbFindFirstTag(), SdbFindNextTag(), SdbGetFirstChild(), SdbGetNextChild(), seamless_process_line(), search_dr(), SeiReadInExclude(), seltree_add_child_features(), send_add_dir(), send_add_tlv_path(), send_subvol(), send_unlink_command(), Window::SendParent(), SendSubvolW(), server_lookup(), server_lookup_loop(), set_de_path(), set_ea_value(), set_item_parents(), SetupDiGetClassDevsA(), SetupDiGetClassDevsExA(), SetupDiGetClassDevsExW(), SetupDiGetClassDevsW(), shader_init(), ShellFolder::ShellFolder(), show_cert_chain(), show_edit_cert_properties_dialog(), ShowClientAuthCerts(), ShowX509EncodedCertificate(), SHRunControlPanel(), ShellPath::split(), srv_wined3d_object_destroyed(), BtrfsSend::StartSend(), STATIC_SendWmCtlColorStatic(), subdirs(), surface_wined3d_object_destroyed(), sw_handle_restack(), swapchain_init(), symt_get_address(), synth_port_create(), taskdialog_move_controls_vertically(), test_AttributesRegistration(), test_button_data(), test_button_messages(), test_changing_selection_styles(), test_child_window_from_point(), test_children_zorder(), test_create_tooltip(), test_CreateWindow(), test_customdraw(), test_device_interface_key(), test_dialog_parent(), test_EM_AUTOURLDETECT(), test_EM_SETTEXTEX(), test_EN_LINK(), test_eventMask(), test_extension_wndproc(), test_extents(), test_frame(), test_GetListBoxInfo(), test_hwnd_message(), test_ime_wnd_proc(), test_init_storage(), test_insert_adjacent_elems(), test_item_auto_format(), test_LB_SETCURSEL(), test_LBS_NODATA(), test_MCIWndCreate(), test_MDI_create(), test_missing_lbuttonup(), test_nccalcscroll(), test_null_wndproc(), test_ok_wndproc(), test_ownerdraw(), test_parent_wndproc(), test_rtl_layout(), test_scrolldc(), test_scrollvalidate(), test_set_count(), test_setinfo(), test_SetMenu(), test_SetParent(), test_track(), test_TTM_ADDTOOL(), test_TVS_SINGLEEXPAND(), test_update_region(), test_window(), test_window_tree(), test_WM_MEASUREITEM(), test_wm_notify(), test_WM_NOTIFY(), test_wm_notifyformat(), test_xmlelem(), testGetIssuerCert(), texture1d_init(), texture_init(), BtrfsSend::Thread(), TileChildWindows(), TOOLBAR_AutoSize(), TOOLBAR_EraseBackground(), TransactedSnapshotImpl_FindFirstChild(), TransactedSnapshotImpl_FindNextChild(), TREEVIEW_DeleteItem(), TREEVIEW_DrawItemLines(), TREEVIEW_EnsureVisible(), TREEVIEW_InsertAfter(), TREEVIEW_InsertBefore(), TREEVIEW_IsChildOf(), TREEVIEW_Sort(), TWAIN_UserSelect(), UB_Paint(), ui_seamless_create_window(), vertex_shader_init(), vertexdeclaration_init(), view_wined3d_object_destroyed(), VMR9DefaultAllocatorPresenterImpl_create(), volume_wined3d_object_destroyed(), volumetexture_init(), WbemPathKeyList_create(), window_from_point_proc(), WindowFromAccessibleObject(), wine_rb_put(), wine_rb_remove(), wined3d_blend_state_create(), wined3d_buffer_create(), wined3d_event_query_create(), wined3d_occlusion_query_create(), wined3d_overflow_query_create(), wined3d_pipeline_query_create(), wined3d_query_create(), wined3d_query_init(), wined3d_rasterizer_state_create(), wined3d_rendertarget_view_create(), wined3d_rendertarget_view_create_from_sub_resource(), wined3d_rendertarget_view_init(), wined3d_rendertarget_view_set_parent(), wined3d_resource_set_parent(), wined3d_sampler_create(), wined3d_sampler_init(), wined3d_shader_create_cs(), wined3d_shader_create_ds(), wined3d_shader_create_gs(), wined3d_shader_create_hs(), wined3d_shader_create_ps(), wined3d_shader_create_vs(), wined3d_shader_resource_view_create(), wined3d_shader_resource_view_init(), wined3d_so_statistics_query_create(), wined3d_statistics_query_create(), wined3d_swapchain_create(), wined3d_texture_create(), wined3d_texture_init(), wined3d_texture_set_sub_resource_parent(), wined3d_timestamp_disjoint_query_create(), wined3d_timestamp_query_create(), wined3d_unordered_access_view_create(), wined3d_unordered_access_view_init(), wined3d_vertex_declaration_create(), wined3d_vertex_declaration_create_from_fvf(), WINHELP_GetPopupWindowInfo(), write_iface_procformatstring(), xmlFreeDocElementContent(), xmlSAX2Comment(), xmlSAX2ProcessingInstruction(), xmlSAX2StartElementNs(), xsltAddChild(), xsltCheckInstructionElement(), xsltCheckParentElement(), xsltCheckTopLevelElement(), xsltNewStylesheetInternal(), xsltStylePreCompute(), xsltTestCompMatchDirect(), and xsltTestPredicateMatch().
LIST_ENTRY pdo_list |
Definition at line 104 of file btrfs.c.
Referenced by _Function_class_(), add_volume_device(), bus_query_device_relations(), check_system_root(), mount_vol(), mountmgr_process_drive(), volume_arrival(), and volume_removal().
ERESOURCE pdo_list_lock |
Definition at line 103 of file btrfs.c.
Referenced by _Function_class_(), add_volume_device(), bus_query_device_relations(), check_system_root(), mount_vol(), mountmgr_process_drive(), vol_close(), volume_arrival(), and volume_removal().
DeviceObject Flags &* pno_pnp |
Definition at line 3015 of file btrfs.c.
Referenced by create_root(), find_default_subvol(), get_num_of_processors(), and switch().
Definition at line 3005 of file btrfs.c.
Referenced by create_file(), DEVENUM_IPropertyBag_Read(), DoTelnetHandshake(), parse_anchor(), parse_domain(), parse_schema(), parse_site(), parse_url_from_path(), receive_data(), test_CoInternetCombineIUri(), test_CoInternetCombineIUri_Pluggable(), test_CoInternetCombineUrlEx(), test_CoInternetCombineUrlEx_Pluggable(), test_CreateUriWithFragment(), test_InternetGetSecurityUrlEx(), test_InternetGetSecurityUrlEx_Pluggable(), test_IUri_GetDwordProperties(), test_IUri_GetProperties(), test_IUri_GetPropertyBSTR(), test_IUri_GetPropertyDWORD(), test_IUri_GetPropertyLength(), test_IUri_GetStrProperties(), test_IUri_HasProperty(), test_IUriBuilder(), test_IUriBuilder_CreateUri(), test_IUriBuilder_CreateUriSimple(), test_IUriBuilder_CreateUriWithFlags(), test_IUriBuilder_GetFragment(), test_IUriBuilder_GetHost(), test_IUriBuilder_GetInvalidArgs(), test_IUriBuilder_GetPassword(), test_IUriBuilder_GetPath(), test_IUriBuilder_GetPort(), test_IUriBuilder_GetQuery(), test_IUriBuilder_GetSchemeName(), test_IUriBuilder_GetUserName(), test_IUriBuilder_HasBeenModified(), test_IUriBuilder_RemoveProperties(), test_tcp_counters_check_rxdata(), and UserLoginThread().
UNICODE_STRING registry_path |
Definition at line 89 of file btrfs.c.
Referenced by _Function_class_().
Definition at line 3006 of file btrfs.c.
Referenced by apc(), bind_callback_OnLowResource(), bind_callback_OnStartBinding(), BindStatusCallback_OnLowResource(), BLAKE2_PACKED(), cache_CreateAssemblyCacheItem(), cache_Reserved(), CoDisableCallCancellation(), CoDisconnectObject(), CoEnableCallCancellation(), CompareSecurityIds(), CompareStringEx(), CoRegisterSurrogateEx(), CreateAssemblyCache(), CreateAssemblyNameObject(), CreateAsyncBindCtx(), CreateAsyncBindCtxEx(), CreateBindCtx(), CreateFontPackage(), d3d_execute_buffer_Optimize(), d3d_execute_buffer_Validate(), DataCache_UpdateCache(), debugclient_StartProcessServer(), debugclient_StartProcessServerWide(), DECLARE_INTERFACE_(), DllMain(), DownloadBSC_OnLowResource(), downloadcb_OnLowResource(), downloadcb_OnStartBinding(), EnumSystemLocalesEx(), ExternalConnection_AddConnection(), ExternalConnection_ReleaseConnection(), fake_dll_main(), FTPGetFiles3(), FTPGetOneFile3(), FTPPutFiles3(), FTPPutOneFile3(), CVfdShExt::GetCommandString(), GetRunningObjectTable(), gxv_mort_subtable_type0_entry_validate(), gxv_mort_subtable_type1_entry_validate(), gxv_morx_subtable_type0_entry_validate(), gxv_morx_subtable_type1_entry_validate(), gxv_morx_subtable_type2_entry_validate(), gxv_trak_validate(), HlinkResolveMonikerForData(), hls_ReadyToNavigate(), IDirectPlayImpl_SaveSession(), image_uses_split_segs(), InternetDeInitializeAutoProxyDll(), InternetGetCookieExA(), InternetGetCookieExW(), InternetSetCookieExW(), InternetTimeToSystemTimeA(), InternetTimeToSystemTimeW(), IsNTAdmin(), ITSS_IStorageImpl_OpenStorage(), ITStorageImpl_StgCreateDocfile(), ITStorageImpl_StgOpenStorage(), LCMapStringEx(), lfn_add_slot(), macho_map_file(), MAPIAddress(), MAPIDeleteMail(), MAPIDetails(), MAPIFindNext(), MAPILogoff(), MAPILogon(), MAPIReadMail(), MAPIResolveName(), MAPISaveMail(), MAPISendDocuments(), MAPISendMail(), MAPISendMailW(), MsiSourceListForceResolutionA(), MsiSourceListForceResolutionW(), msvcrt_init_exception(), NetShareDel(), NetShareDelSticky(), NetWkstaUserGetInfo(), NetWkstaUserSetInfo(), OleInitialize(), pointer_default(), PropertyStorage_ReadHeaderFromStream(), ProxyBindStatusCallback_OnLowResource(), RegEnumValueW(), RegisterFormatEnumerator(), RegQueryValueExA(), RegQueryValueExW(), CProgressDialog::SetCancelMsg(), CProgressDialog::SetLine(), SetupDiGetClassDevsExA(), SetupDiGetClassDevsExW(), SetupUninstallOEMInfA(), SetupUninstallOEMInfW(), SHLoadIndirectString(), SHRestricted2A(), SHRestricted2W(), START_TEST(), CProgressDialog::StartProgressDialog(), StgCreateDocfile(), StgCreatePropSetStg(), StgCreatePropStg(), StgCreateStorageEx(), StgOpenPropStg(), StgOpenStorage(), StgOpenStorageEx(), STORAGE_CreateOleStream(), StorageBaseImpl_OpenStorage(), test_bsc_marshaling(), test_pack_MIDIHDR(), test_pack_WAVEHDR(), test_stgcreatestorageex(), CProgressDialog::Timer(), WinHttpConnect(), WinHttpReceiveResponse(), WinHttpSetStatusCallback(), WMCreateReader(), WMCreateWriter(), woff_open_font(), and XInputGetKeystroke().
Definition at line 4261 of file btrfs.c.
Referenced by _tiffSizeProc(), add_volume_device(), Subdivider::bbox(), btrfs_read_chunk_tree(), btrfs_read_sys_chunk_array(), calc_superblock_checksum(), check_superblock_checksum(), compat_isdir(), Control_CreateListView(), Control_WndProc(), convert_latin1(), convert_utf16bom(), convert_utf8(), create_browser_service(), descriptor_loc(), detach_browser_service(), device_still_valid(), do_one_pass(), ext2_update_dynamic_rev(), Ext2FreeBlock(), Ext2FreeInode(), Ext2InitializeVcb(), Ext2LoadGroup(), Ext2LoadGroupBH(), Ext2NewBlock(), Ext2NewInode(), Ext2RecoverJournal(), Ext2UpdateGroupDirStat(), ext3_add_entry(), ext3_bg_has_super(), ext3_dentry_get_data(), ext3_find_entry(), ext3_inode_blocks(), ext3_inode_blocks_set(), ext3_is_dir_empty(), ext3_set_de_type(), ext3_warning(), ext4_bg_num_gdb(), ext4_bg_num_gdb_meta(), ext4_bg_num_gdb_nometa(), ext4_block_bitmap(), ext4_block_bitmap_set(), ext4_block_in_group(), ext4_check_descriptors(), ext4_count_dirs(), ext4_count_free_blocks(), ext4_count_free_inodes(), ext4_ext_remove_space(), ext4_free_blks_count(), ext4_free_blks_set(), ext4_free_inodes_count(), ext4_free_inodes_set(), ext4_get_group_desc(), ext4_get_group_no_and_offset(), ext4_group_used_meta_blocks(), ext4_init_block_bitmap(), ext4_init_inode_bitmap(), ext4_inode_bitmap(), ext4_inode_bitmap_set(), ext4_inode_table(), ext4_inode_table_set(), ext4_itable_unused_count(), ext4_itable_unused_set(), EXT4_SB(), ext4_used_dirs_count(), ext4_used_dirs_set(), extents_bread(), extents_bwrite(), fill_pinfo_side(), find_devices(), FsRecIsFfs1Volume(), FsRecIsFfs2Volume(), FsRecIsReiserfsVolume(), FT_MulFix(), id3_to_utf8(), III_antialias(), III_hybrid(), III_i_stereo(), init_path(), is_device_part_of_mounted_btrfs_raid(), is_mounted_multi_device(), IShellBrowserImpl_Construct(), journal_check_available_features(), journal_check_used_features(), journal_convert_superblock_v1(), journal_get_superblock(), journal_load(), journal_recover(), journal_reset(), journal_set_features(), journal_skip_recovery(), journal_update_format(), journal_update_superblock(), journal_wipe(), load_superblock(), main(), map_bh(), mp_add(), mp_sub(), mpg123_add_string(), mpg123_add_substring(), mpg123_chomp_string(), mpg123_delete_string(), mpg123_free_string(), mpg123_grow_string(), mpg123_init_string(), mpg123_new_string(), mpg123_resize_string(), mpg123_set_string(), mpg123_set_substring(), mpg123_store_utf8(), mpg123_strlen(), read_superblock(), remove_superblocks(), sb_bread(), sb_find_get_block(), sb_getblk(), sb_getblk_zero(), searchonefile(), slurpstring(), still_has_superblock(), stime_file(), store_id3_text(), stub_manager_new_ifstub(), test_ShellWindows(), test_vol(), update_backup_superblock(), verify_device(), write_superblock(), and write_superblocks().
Definition at line 109 of file btrfs.c.
Referenced by _Function_class_(), and do_shutdown().
return Status = sync_read_phys(DeviceObject, NULL, superblock_addrs[0], to_read, (PUCHAR)sb, true) |
return STATUS_SUCCESS |
Definition at line 3080 of file btrfs.c.
Referenced by _Dispatch_type_(), _Function_class_(), check_file_name_valid(), close_file(), create_calc_threads(), create_root(), delete_fileref(), delete_fileref_fcb(), find_chunk_usage(), find_disk_holes(), get_device_pnp_name_guid(), if(), load_chunk_root(), load_sys_chunks(), look_for_roots(), mount_vol(), read_superblock(), set_label(), sync_read_phys(), utf16_to_utf8(), utf8_to_utf16(), verify_device(), and verify_volume().
to_read = DeviceObject->SectorSize == 0 ? sizeof(superblock) : (ULONG)sector_align(sizeof(superblock), DeviceObject->SectorSize) |
Definition at line 4260 of file btrfs.c.
Referenced by device_still_valid(), download_script(), is_device_part_of_mounted_btrfs_raid(), read_superblock(), still_has_superblock(), TIFFFillStripPartial(), TIFFReadAndRealloc(), TIFFReadDirEntryDataAndRealloc(), UDFIsExtentCached(), UDFLoadVAT(), UDFReadExtent(), UDFReadExtentLocation(), UDFRecordVAT(), verify_device(), WCacheReadBlocks__(), and WinHttpReadData().
Definition at line 2996 of file btrfs.c.
Referenced by __attribute__(), __rpcb_findaddr_timed(), __tcp_checksum_complete(), _Function_class_(), _getsystime(), _i64tow(), _setsystime(), _TIFFprintAsciiBounded(), _ui64tow(), add_balance_item(), add_checksum_entry(), add_data_reloc(), add_device(), add_metadata_reloc(), add_metadata_reloc_parent(), add_parents(), add_root_item_to_cache(), add_root_ref(), AddDeviceW(), allocate_cache_chunk(), balance_data_chunk(), balance_metadata_chunk(), Mapdesc::calcPartialVelocity(), check_for_orphans_root(), check_inode_used(), clear_free_space_cache(), clnt_create_timed(), clnt_create_vers_timed(), clnt_tp_create_timed(), convert_old_extent(), create_root(), create_stream(), create_subvol(), data_reloc_add_tree_edr(), decrease_extent_refcount(), delete_root_ref(), do_create_snapshot(), do_packet(), do_splits(), do_write2(), domap(), draw_cap(), draw_poly(), drop_chunk(), drop_root(), EnablePrivilege(), find_chunk_usage(), find_default_subvol(), find_disk_holes(), find_extent_data_refcount(), find_extent_shared_data_refcount(), find_extent_shared_tree_refcount(), find_send_dir(), find_subvol(), finish_removing_device(), flush_changed_dev_stats(), flush_changed_extent(), flush_fcb(), flush_subvol(), FormatEx2(), get_dir_last_child(), get_extent_flags(), get_extent_refcount(), get_last_inode(), get_ldnumber(), get_orphan_name(), getit(), GetThemeBool(), GetThemeColor(), GetThemeEnumValue(), GetThemeFilename(), GetThemeFont(), GetThemeInt(), GetThemeIntList(), GetThemeMargins(), GetThemeMetric(), GetThemePosition(), GetThemePropertyOrigin(), GetThemeRect(), GetThemeString(), GetThemeSysBool(), GetThemeSysColor(), GetThemeSysFont(), GetThemeSysInt(), GetThemeSysSize(), GetThemeSysString(), if(), increase_extent_refcount(), is_extent_unique(), is_tree_unique(), load_chunk_root(), load_csum(), load_dir_children(), load_free_space_cache(), load_stored_free_space_cache(), load_stored_free_space_tree(), log_file_checksum_error(), log_unrecoverable_error(), look_for_balance_item(), look_for_collision(), look_for_roots(), ME_InsertEndParaFromCursor(), ME_InsertTextFromCursor(), ME_JoinParagraphs(), ME_PrepareParagraphForWrapping(), ME_WrapTextParagraph(), mget(), mount_vol(), mput(), MSSTYLES_FindProperty(), MSSTYLES_GetPropertyBool(), MSSTYLES_GetPropertyColor(), MSSTYLES_GetPropertyFont(), MSSTYLES_GetPropertyInt(), MSSTYLES_GetPropertyIntList(), MSSTYLES_GetPropertyMargins(), MSSTYLES_GetPropertyPosition(), MSSTYLES_GetPropertyRect(), MSSTYLES_GetPropertyString(), MSSTYLES_LFindProperty(), NtQueryInformationToken(), open_fcb(), open_fcb_stream(), open_fileref_by_inode(), parse_date(), PauseBalanceW(), Privilege(), query_dir_item(), RecvSubvolGUIW(), RecvSubvolW(), remove_balance_item(), RemoveDeviceW(), ResetStatsW(), ResizeDeviceW(), RtlIntegerToUnicode(), scrub_chunk(), scrub_chunk_raid56(), scrub_chunk_raid56_stripe_run(), send_add_tlv_clone_path(), send_extent_data(), send_inode(), send_inode_extref(), send_inode_ref(), send_read_symlink(), send_xattr(), SendData(), SendSubvolGUIW(), SendSubvolW(), SeQueryInformationToken(), set_privileges(), SetPrivilege(), shared_tree_is_unique(), ShowScrubW(), StartBalanceW(), StartScrubW(), StopBalanceW(), StopScrubW(), tcp_check_req(), tcp_clear_options(), tcp_fast_path_on(), tcp_init_cwnd(), tcp_may_send_now(), tcp_paws_check(), tcp_snd_test(), test_AdjustTokenPrivileges(), TIFFMergeFieldInfo(), TIFFSwabArrayOfTriples(), trim_unalloc_space(), try_clone(), try_clone_edr(), update_backup_superblock(), update_changed_extent_ref(), update_chunk_cache(), update_chunk_cache_tree(), update_chunk_usage(), update_dev_item(), update_extent_flags(), update_extent_level(), update_root_backref(), update_root_root(), UXTHEME_LoadImage(), UXTHEME_SelectImage(), write_metadata_items(), and write_trees().
LIST_ENTRY uid_map_list |
Definition at line 68 of file btrfs.c.
Referenced by _Function_class_(), add_user_mapping(), read_mappings(), sid_to_uid(), and uid_to_sid().
InsertTailList& Vcb |
Definition at line 3044 of file btrfs.c.
Referenced by _Dispatch_type_(), add_device_to_list(), calculate_sector_shift(), calculate_total_space(), chunk_lock_range(), chunk_unlock_range(), create_calc_threads(), create_root(), do_shutdown(), find_chunk_usage(), find_default_subvol(), find_device_from_uuid(), find_disk_holes(), get_file_attributes(), get_last_inode(), if(), init_device(), load_chunk_root(), load_sys_chunks(), log_device_error(), look_for_roots(), mount_vol(), read_superblock(), reap_fcbs(), reap_fileref(), reap_filerefs(), set_label(), switch(), uninit(), verify_device(), and verify_volume().
LIST_ENTRY VcbList |
Definition at line 69 of file btrfs.c.
Referenced by _Function_class_(), do_shutdown(), invalidate_volumes(), is_device_part_of_mounted_btrfs_raid(), mount_vol(), and query_filesystems().