fs/smb/common/smb2status.h
Source file repositories/reference/linux-study-clean/fs/smb/common/smb2status.h
File Facts
- System
- Linux kernel
- Corpus path
fs/smb/common/smb2status.h- Extension
.h- Size
- 125217 bytes
- Lines
- 1790
- Domain
- Core OS
- Bucket
- VFS And Filesystem Core
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct ntstatus
Annotated Snippet
struct ntstatus {
/* Facility is the high 12 bits of the following field */
__le32 Facility; /* low 2 bits Severity, next is Customer, then rsrvd */
__le32 Code;
};
/*
* The comment at the end of each definition indicates `posix_error`
* field of `struct status_to_posix_error`, it is used to generate the
* `smb2_error_map_table` array.
*/
#define STATUS_SUCCESS cpu_to_le32(0x00000000) // 0
#define STATUS_WAIT_0 cpu_to_le32(0x00000000) // 0
#define STATUS_WAIT_1 cpu_to_le32(0x00000001) // -EIO
#define STATUS_WAIT_2 cpu_to_le32(0x00000002) // -EIO
#define STATUS_WAIT_3 cpu_to_le32(0x00000003) // -EIO
#define STATUS_WAIT_63 cpu_to_le32(0x0000003F) // -EIO
#define STATUS_ABANDONED cpu_to_le32(0x00000080) // -EIO
#define STATUS_ABANDONED_WAIT_0 cpu_to_le32(0x00000080) // -EIO
#define STATUS_ABANDONED_WAIT_63 cpu_to_le32(0x000000BF) // -EIO
#define STATUS_USER_APC cpu_to_le32(0x000000C0) // -EIO
#define STATUS_KERNEL_APC cpu_to_le32(0x00000100) // -EIO
#define STATUS_ALERTED cpu_to_le32(0x00000101) // -EIO
#define STATUS_TIMEOUT cpu_to_le32(0x00000102) // -ETIMEDOUT
#define STATUS_PENDING cpu_to_le32(0x00000103) // -EIO
#define STATUS_REPARSE cpu_to_le32(0x00000104) // -EIO
#define STATUS_MORE_ENTRIES cpu_to_le32(0x00000105) // -EIO
#define STATUS_NOT_ALL_ASSIGNED cpu_to_le32(0x00000106) // -EIO
#define STATUS_SOME_NOT_MAPPED cpu_to_le32(0x00000107) // -EIO
#define STATUS_OPLOCK_BREAK_IN_PROGRESS cpu_to_le32(0x00000108) // -EIO
#define STATUS_VOLUME_MOUNTED cpu_to_le32(0x00000109) // -EIO
#define STATUS_RXACT_COMMITTED cpu_to_le32(0x0000010A) // -EIO
#define STATUS_NOTIFY_CLEANUP cpu_to_le32(0x0000010B) // -EIO
#define STATUS_NOTIFY_ENUM_DIR cpu_to_le32(0x0000010C) // -EIO
#define STATUS_NO_QUOTAS_FOR_ACCOUNT cpu_to_le32(0x0000010D) // -EIO
#define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED cpu_to_le32(0x0000010E) // -EIO
#define STATUS_PAGE_FAULT_TRANSITION cpu_to_le32(0x00000110) // -EIO
#define STATUS_PAGE_FAULT_DEMAND_ZERO cpu_to_le32(0x00000111) // -EIO
#define STATUS_PAGE_FAULT_COPY_ON_WRITE cpu_to_le32(0x00000112) // -EIO
#define STATUS_PAGE_FAULT_GUARD_PAGE cpu_to_le32(0x00000113) // -EIO
#define STATUS_PAGE_FAULT_PAGING_FILE cpu_to_le32(0x00000114) // -EIO
#define STATUS_CACHE_PAGE_LOCKED cpu_to_le32(0x00000115) // -EIO
#define STATUS_CRASH_DUMP cpu_to_le32(0x00000116) // -EIO
#define STATUS_BUFFER_ALL_ZEROS cpu_to_le32(0x00000117) // -EIO
#define STATUS_REPARSE_OBJECT cpu_to_le32(0x00000118) // -EIO
#define STATUS_RESOURCE_REQUIREMENTS_CHANGED cpu_to_le32(0x00000119) // -EIO
#define STATUS_TRANSLATION_COMPLETE cpu_to_le32(0x00000120) // -EIO
#define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY cpu_to_le32(0x00000121) // -EIO
#define STATUS_NOTHING_TO_TERMINATE cpu_to_le32(0x00000122) // -EIO
#define STATUS_PROCESS_NOT_IN_JOB cpu_to_le32(0x00000123) // -EIO
#define STATUS_PROCESS_IN_JOB cpu_to_le32(0x00000124) // -EIO
#define STATUS_VOLSNAP_HIBERNATE_READY cpu_to_le32(0x00000125) // -EIO
#define STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY cpu_to_le32(0x00000126) // -EIO
#define STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED cpu_to_le32(0x00000127) // -EIO
#define STATUS_INTERRUPT_STILL_CONNECTED cpu_to_le32(0x00000128) // -EIO
#define STATUS_PROCESS_CLONED cpu_to_le32(0x00000129) // -EIO
#define STATUS_FILE_LOCKED_WITH_ONLY_READERS cpu_to_le32(0x0000012A) // -EIO
#define STATUS_FILE_LOCKED_WITH_WRITERS cpu_to_le32(0x0000012B) // -EIO
#define STATUS_RESOURCEMANAGER_READ_ONLY cpu_to_le32(0x00000202) // -EROFS
#define STATUS_WAIT_FOR_OPLOCK cpu_to_le32(0x00000367) // -EIO
#define DBG_EXCEPTION_HANDLED cpu_to_le32(0x00010001) // -EIO
#define DBG_CONTINUE cpu_to_le32(0x00010002) // -EIO
#define STATUS_FLT_IO_COMPLETE cpu_to_le32(0x001C0001) // -EIO
#define STATUS_OBJECT_NAME_EXISTS cpu_to_le32(0x40000000) // -EIO
#define STATUS_THREAD_WAS_SUSPENDED cpu_to_le32(0x40000001) // -EIO
#define STATUS_WORKING_SET_LIMIT_RANGE cpu_to_le32(0x40000002) // -EIO
#define STATUS_IMAGE_NOT_AT_BASE cpu_to_le32(0x40000003) // -EIO
#define STATUS_RXACT_STATE_CREATED cpu_to_le32(0x40000004) // -EIO
#define STATUS_SEGMENT_NOTIFICATION cpu_to_le32(0x40000005) // -EIO
#define STATUS_LOCAL_USER_SESSION_KEY cpu_to_le32(0x40000006) // -EIO
#define STATUS_BAD_CURRENT_DIRECTORY cpu_to_le32(0x40000007) // -EIO
#define STATUS_SERIAL_MORE_WRITES cpu_to_le32(0x40000008) // -EIO
#define STATUS_REGISTRY_RECOVERED cpu_to_le32(0x40000009) // -EIO
#define STATUS_FT_READ_RECOVERY_FROM_BACKUP cpu_to_le32(0x4000000A) // -EIO
#define STATUS_FT_WRITE_RECOVERY cpu_to_le32(0x4000000B) // -EIO
#define STATUS_SERIAL_COUNTER_TIMEOUT cpu_to_le32(0x4000000C) // -ETIMEDOUT
#define STATUS_NULL_LM_PASSWORD cpu_to_le32(0x4000000D) // -EIO
#define STATUS_IMAGE_MACHINE_TYPE_MISMATCH cpu_to_le32(0x4000000E) // -EIO
#define STATUS_RECEIVE_PARTIAL cpu_to_le32(0x4000000F) // -EIO
#define STATUS_RECEIVE_EXPEDITED cpu_to_le32(0x40000010) // -EIO
#define STATUS_RECEIVE_PARTIAL_EXPEDITED cpu_to_le32(0x40000011) // -EIO
#define STATUS_EVENT_DONE cpu_to_le32(0x40000012) // -EIO
#define STATUS_EVENT_PENDING cpu_to_le32(0x40000013) // -EIO
#define STATUS_CHECKING_FILE_SYSTEM cpu_to_le32(0x40000014) // -EIO
#define STATUS_FATAL_APP_EXIT cpu_to_le32(0x40000015) // -EIO
#define STATUS_PREDEFINED_HANDLE cpu_to_le32(0x40000016) // -EIO
#define STATUS_WAS_UNLOCKED cpu_to_le32(0x40000017) // -EIO
#define STATUS_SERVICE_NOTIFICATION cpu_to_le32(0x40000018) // -EIO
#define STATUS_WAS_LOCKED cpu_to_le32(0x40000019) // -EIO
Annotation
- Detected declarations: `struct ntstatus`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.