fs/smb/client/trace.h
Source file repositories/reference/linux-study-clean/fs/smb/client/trace.h
File Facts
- System
- Linux kernel
- Corpus path
fs/smb/client/trace.h- Extension
.h- Size
- 59896 bytes
- Lines
- 1971
- 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
linux/tracepoint.hlinux/net.hlinux/inet.htrace/define_trace.h
Detected Declarations
enum smb_eio_traceenum smb3_rw_credits_traceenum smb3_tcon_ref_tracefunction EM
Annotated Snippet
#undef TRACE_SYSTEM
#define TRACE_SYSTEM cifs
#if !defined(_CIFS_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
#define _CIFS_TRACE_H
#include <linux/tracepoint.h>
#include <linux/net.h>
#include <linux/inet.h>
/*
* Specify enums for tracing information.
*/
#define smb_eio_traces \
EM(smb_eio_trace_compress_copy, "compress_copy") \
EM(smb_eio_trace_copychunk_inv_rsp, "copychunk_inv_rsp") \
EM(smb_eio_trace_copychunk_overcopy_b, "copychunk_overcopy_b") \
EM(smb_eio_trace_copychunk_overcopy_c, "copychunk_overcopy_c") \
EM(smb_eio_trace_create_rsp_too_small, "create_rsp_too_small") \
EM(smb_eio_trace_dfsref_no_rsp, "dfsref_no_rsp") \
EM(smb_eio_trace_ea_overrun, "ea_overrun") \
EM(smb_eio_trace_extract_will_pin, "extract_will_pin") \
EM(smb_eio_trace_forced_shutdown, "forced_shutdown") \
EM(smb_eio_trace_getacl_bcc_too_small, "getacl_bcc_too_small") \
EM(smb_eio_trace_getcifsacl_param_count, "getcifsacl_param_count") \
EM(smb_eio_trace_getdfsrefer_bcc_too_small, "getdfsrefer_bcc_too_small") \
EM(smb_eio_trace_getextattr_bcc_too_small, "getextattr_bcc_too_small") \
EM(smb_eio_trace_getextattr_inv_size, "getextattr_inv_size") \
EM(smb_eio_trace_getsrvinonum_bcc_too_small, "getsrvinonum_bcc_too_small") \
EM(smb_eio_trace_getsrvinonum_size, "getsrvinonum_size") \
EM(smb_eio_trace_ioctl_data_len, "ioctl_data_len") \
EM(smb_eio_trace_ioctl_no_rsp, "ioctl_no_rsp") \
EM(smb_eio_trace_ioctl_out_off, "ioctl_out_off") \
EM(smb_eio_trace_lock_bcc_too_small, "lock_bcc_too_small") \
EM(smb_eio_trace_lock_data_too_small, "lock_data_too_small") \
EM(smb_eio_trace_malformed_ksid_key, "malformed_ksid_key") \
EM(smb_eio_trace_malformed_sid_key, "malformed_sid_key") \
EM(smb_eio_trace_mkdir_no_rsp, "mkdir_no_rsp") \
EM(smb_eio_trace_neg_bad_rsplen, "neg_bad_rsplen") \
EM(smb_eio_trace_neg_decode_token, "neg_decode_token") \
EM(smb_eio_trace_neg_info_caps, "neg_info_caps") \
EM(smb_eio_trace_neg_info_dialect, "neg_info_dialect") \
EM(smb_eio_trace_neg_info_fail, "neg_info_fail") \
EM(smb_eio_trace_neg_info_sec_mode, "neg_info_sec_mode") \
EM(smb_eio_trace_neg_inval_dialect, "neg_inval_dialect") \
EM(smb_eio_trace_neg_no_crypt_key, "neg_no_crypt_key") \
EM(smb_eio_trace_neg_sec_blob_too_small, "neg_sec_blob_too_small") \
EM(smb_eio_trace_neg_unreq_dialect, "neg_unreq_dialect") \
EM(smb_eio_trace_no_auth_key, "no_auth_key") \
EM(smb_eio_trace_no_lease_key, "no_lease_key") \
EM(smb_eio_trace_not_netfs_writeback, "not_netfs_writeback") \
EM(smb_eio_trace_null_pointers, "null_pointers") \
EM(smb_eio_trace_oldqfsinfo_bcc_too_small, "oldqfsinfo_bcc_too_small") \
EM(smb_eio_trace_pend_del_fail, "pend_del_fail") \
EM(smb_eio_trace_qalleas_bcc_too_small, "qalleas_bcc_too_small") \
EM(smb_eio_trace_qalleas_ea_overlong, "qalleas_ea_overlong") \
EM(smb_eio_trace_qalleas_overlong, "qalleas_overlong") \
EM(smb_eio_trace_qfileinfo_bcc_too_small, "qfileinfo_bcc_too_small") \
EM(smb_eio_trace_qfileinfo_invalid, "qfileinfo_invalid") \
EM(smb_eio_trace_qfsattrinfo_bcc_too_small, "qfsattrinfo_bcc_too_small") \
EM(smb_eio_trace_qfsdevinfo_bcc_too_small, "qfsdevinfo_bcc_too_small") \
EM(smb_eio_trace_qfsinfo_bcc_too_small, "qfsinfo_bcc_too_small") \
EM(smb_eio_trace_qfsposixinfo_bcc_too_small, "qfsposixinfo_bcc_too_small") \
EM(smb_eio_trace_qfsunixinfo_bcc_too_small, "qfsunixinfo_bcc_too_small") \
EM(smb_eio_trace_qpathinfo_bcc_too_small, "qpathinfo_bcc_too_small") \
EM(smb_eio_trace_qpathinfo_invalid, "qpathinfo_invalid") \
EM(smb_eio_trace_qreparse_data_area, "qreparse_data_area") \
EM(smb_eio_trace_qreparse_rep_datalen, "qreparse_rep_datalen") \
EM(smb_eio_trace_qreparse_ret_datalen, "qreparse_ret_datalen") \
EM(smb_eio_trace_qreparse_setup_count, "qreparse_setup_count") \
EM(smb_eio_trace_qreparse_sizes_wrong, "qreparse_sizes_wrong") \
EM(smb_eio_trace_qsym_bcc_too_small, "qsym_bcc_too_small") \
EM(smb_eio_trace_read_mid_state_unknown, "read_mid_state_unknown") \
EM(smb_eio_trace_read_overlarge, "read_overlarge") \
EM(smb_eio_trace_read_rsp_malformed, "read_rsp_malformed") \
EM(smb_eio_trace_read_rsp_short, "read_rsp_short") \
EM(smb_eio_trace_read_too_far, "read_too_far") \
EM(smb_eio_trace_reparse_data_len, "reparse_data_len") \
EM(smb_eio_trace_reparse_native_len, "reparse_native_len") \
EM(smb_eio_trace_reparse_native_nul, "reparse_native_nul") \
EM(smb_eio_trace_reparse_native_sym_len, "reparse_native_sym_len") \
EM(smb_eio_trace_reparse_nfs_dev, "reparse_nfs_dev") \
EM(smb_eio_trace_reparse_nfs_nul, "reparse_nfs_nul") \
EM(smb_eio_trace_reparse_nfs_sockfifo, "reparse_nfs_sockfifo") \
EM(smb_eio_trace_reparse_nfs_symbuf, "reparse_nfs_symbuf") \
EM(smb_eio_trace_reparse_nfs_too_short, "reparse_nfs_too_short") \
EM(smb_eio_trace_reparse_overlong, "reparse_overlong") \
EM(smb_eio_trace_reparse_rdlen, "reparse_rdlen") \
EM(smb_eio_trace_reparse_wsl_nul, "reparse_wsl_nul") \
EM(smb_eio_trace_reparse_wsl_symbuf, "reparse_wsl_symbuf") \
Annotation
- Immediate include surface: `linux/tracepoint.h`, `linux/net.h`, `linux/inet.h`, `trace/define_trace.h`.
- Detected declarations: `enum smb_eio_trace`, `enum smb3_rw_credits_trace`, `enum smb3_tcon_ref_trace`, `function EM`.
- 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.