Lines Matching defs:reparse

3  * Processing of reparse points
20 #include "reparse.h"
36 * Windows-native reparse payloads store pathnames as UTF-16 strings with '\\'
79 * Check if the reparse point attribute buffer is valid.
118 * Do some sanity checks on reparse data
120 * Microsoft reparse points have an 8-byte header whereas
121 * non-Microsoft reparse points have a 24-byte header. In each case,
124 * If the reparse data looks like a junction point or symbolic
478 * Set the index for new reparse data
507 * Remove a reparse data index entry if attribute present
587 * Update the reparse data and index
589 * The reparse data attribute should have been created, and
608 /* remove the existing reparse data */
618 ntfs_error(ni->vol->sb, "Failed to update reparse data\n");
626 * If cannot index, try to remove the reparse
632 "Failed to index reparse data. Possible corruption.\n");
643 * Delete a reparse index entry
661 * read the existing reparse data (the tag is enough)
691 * Set the reparse data from an extended attribute
703 * reparse data compatibily with EA is not checked
719 * no reparse data attribute : add one,
759 * Set reparse data for a WSL type symlink
766 struct reparse_point *reparse;
771 reparse = kvzalloc(reparse_len, GFP_NOFS);
772 if (!reparse)
777 kvfree(reparse);
781 data = (struct wsl_link_reparse_data *)reparse->reparse_data;
782 reparse->reparse_tag = IO_REPARSE_TAG_LX_SYMLINK;
783 reparse->reparse_data_length =
785 reparse->reserved = 0;
789 (char *)reparse, reparse_len);
790 kvfree(reparse);
812 struct reparse_point *reparse = NULL;
867 if (total_data_len > 16384) { /* 16KB max reparse tag size */
873 reparse = kvzalloc(total_reparse_len, GFP_NOFS);
874 if (!reparse) {
879 /* Pack fields in reparse buffer */
880 reparse->reparse_tag = IO_REPARSE_TAG_SYMLINK;
881 reparse->reparse_data_length = cpu_to_le16(total_data_len);
882 reparse->reserved = 0;
884 data = (struct symlink_reparse_data *)reparse->reparse_data;
895 err = ntfs_set_ntfs_reparse_data(ni, (char *)reparse, total_reparse_len);
918 kvfree(reparse);
923 * Set reparse data for a WSL special file other than a symlink
932 struct reparse_point *reparse;
947 reparse = kvzalloc(reparse_len, GFP_NOFS);
948 if (!reparse)
951 reparse->reparse_tag = reparse_tag;
952 reparse->reparse_data_length = cpu_to_le16(len);
953 reparse->reserved = cpu_to_le16(0);
954 err = ntfs_set_ntfs_reparse_data(ni, (char *)reparse,
956 kvfree(reparse);