fs/smb/client/cifs_swn.h
Source file repositories/reference/linux-study-clean/fs/smb/client/cifs_swn.h
File Facts
- System
- Linux kernel
- Corpus path
fs/smb/client/cifs_swn.h- Extension
.h- Size
- 1418 bytes
- Lines
- 53
- 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
cifsglob.h
Detected Declarations
struct cifs_tconstruct sk_buffstruct genl_infofunction cifs_swn_set_server_dstaddrfunction cifs_swn_reset_server_dstaddrfunction cifs_swn_registerfunction cifs_swn_unregisterfunction cifs_swn_notifyfunction cifs_swn_dumpfunction cifs_swn_reset_server_dstaddr
Annotated Snippet
static inline int cifs_swn_register(struct cifs_tcon *tcon) { return 0; }
static inline int cifs_swn_unregister(struct cifs_tcon *tcon) { return 0; }
static inline int cifs_swn_notify(struct sk_buff *s, struct genl_info *i) { return 0; }
static inline void cifs_swn_dump(struct seq_file *m) {}
static inline void cifs_swn_check(void) {}
static inline bool cifs_swn_set_server_dstaddr(struct TCP_Server_Info *server) { return false; }
static inline void cifs_swn_reset_server_dstaddr(struct TCP_Server_Info *server) {}
#endif /* CONFIG_CIFS_SWN_UPCALL */
#endif /* _CIFS_SWN_H */
Annotation
- Immediate include surface: `cifsglob.h`.
- Detected declarations: `struct cifs_tcon`, `struct sk_buff`, `struct genl_info`, `function cifs_swn_set_server_dstaddr`, `function cifs_swn_reset_server_dstaddr`, `function cifs_swn_register`, `function cifs_swn_unregister`, `function cifs_swn_notify`, `function cifs_swn_dump`, `function cifs_swn_reset_server_dstaddr`.
- 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.