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.

Dependency Surface

Detected Declarations

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

Implementation Notes