fs/smb/client/reparse.h
Source file repositories/reference/linux-study-clean/fs/smb/client/reparse.h
File Facts
- System
- Linux kernel
- Corpus path
fs/smb/client/reparse.h- Extension
.h- Size
- 3990 bytes
- Lines
- 143
- 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/fs.hlinux/stat.hlinux/uidgid.hfs_context.hcifsglob.h../common/smbfsctl.h
Detected Declarations
function Copyrightfunction wsl_make_kuidfunction wsl_make_kgidfunction reparse_mode_nfs_typefunction reparse_mode_wsl_tagfunction reparse_inode_matchfunction cifs_open_data_reparse
Annotated Snippet
if (data->reparse_point) {
attrs |= ATTR_REPARSE_POINT;
fi->DosAttributes = cpu_to_le32(attrs);
}
} else {
struct smb2_file_all_info *fi = &data->fi;
attrs = le32_to_cpu(fi->Attributes);
if (data->reparse_point) {
attrs |= ATTR_REPARSE_POINT;
fi->Attributes = cpu_to_le32(attrs);
}
}
ret = attrs & ATTR_REPARSE_POINT;
return ret;
}
bool cifs_reparse_point_to_fattr(struct cifs_sb_info *cifs_sb,
struct cifs_fattr *fattr,
struct cifs_open_info_data *data);
int create_reparse_symlink(const unsigned int xid, struct inode *inode,
struct dentry *dentry, struct cifs_tcon *tcon,
const char *full_path, const char *symname);
int mknod_reparse(unsigned int xid, struct inode *inode, struct dentry *dentry,
struct cifs_tcon *tcon, const char *full_path, umode_t mode,
dev_t dev);
struct reparse_data_buffer *smb2_get_reparse_point_buffer(const struct kvec *rsp_iov,
u32 *plen);
#endif /* _CIFS_REPARSE_H */
Annotation
- Immediate include surface: `linux/fs.h`, `linux/stat.h`, `linux/uidgid.h`, `fs_context.h`, `cifsglob.h`, `../common/smbfsctl.h`.
- Detected declarations: `function Copyright`, `function wsl_make_kuid`, `function wsl_make_kgid`, `function reparse_mode_nfs_type`, `function reparse_mode_wsl_tag`, `function reparse_inode_match`, `function cifs_open_data_reparse`.
- 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.