Home
last modified time | relevance | path

Searched refs:ntfs_inode (Results 1 – 25 of 56) sorted by relevance

123

/third_party/ntfs-3g/include/ntfs-3g/
Ddir.h62 extern u64 ntfs_inode_lookup_by_name(ntfs_inode *dir_ni,
64 extern u64 ntfs_inode_lookup_by_mbsname(ntfs_inode *dir_ni, const char *name);
65 extern void ntfs_inode_update_mbsname(ntfs_inode *dir_ni, const char *name,
68 extern ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent,
70 extern ntfs_inode *ntfs_create(ntfs_inode *dir_ni, le32 securid,
72 extern ntfs_inode *ntfs_create_device(ntfs_inode *dir_ni, le32 securid,
74 extern ntfs_inode *ntfs_create_symlink(ntfs_inode *dir_ni, le32 securid,
77 extern int ntfs_check_empty_dir(ntfs_inode *ni);
79 ntfs_inode *ni, ntfs_inode *dir_ni, const ntfschar *name,
82 extern int ntfs_link(ntfs_inode *ni, ntfs_inode *dir_ni, const ntfschar *name,
[all …]
Dplugin.h59 int (*getattr)(ntfs_inode *ni, const REPARSE_POINT *reparse,
71 int (*open)(ntfs_inode *ni, const REPARSE_POINT *reparse,
82 int (*release)(ntfs_inode *ni, const REPARSE_POINT *reparse,
92 int (*read)(ntfs_inode *ni, const REPARSE_POINT *reparse,
106 int (*write)(ntfs_inode *ni, const REPARSE_POINT *reparse,
118 int (*readlink)(ntfs_inode *ni, const REPARSE_POINT *reparse,
128 int (*truncate)(ntfs_inode *ni, const REPARSE_POINT *reparse,
139 int (*opendir)(ntfs_inode *ni, const REPARSE_POINT *reparse,
151 int (*readdir)(ntfs_inode *ni, const REPARSE_POINT *reparse,
160 ntfs_inode *(*create)(ntfs_inode *dir_ni, const REPARSE_POINT *reparse,
[all …]
Dinode.h29 typedef struct _ntfs_inode ntfs_inode; typedef
126 ntfs_inode **extent_nis;/* For nr_extents > 0, array of the
130 ntfs_inode *base_ni; /* For nr_extents == -1, the ntfs
178 extern ntfs_inode *ntfs_inode_base(ntfs_inode *ni);
180 extern ntfs_inode *ntfs_inode_allocate(ntfs_volume *vol);
182 extern ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref);
184 extern int ntfs_inode_close(ntfs_inode *ni);
185 extern int ntfs_inode_close_in_dir(ntfs_inode *ni, ntfs_inode *dir_ni);
191 extern int ntfs_inode_real_close(ntfs_inode *ni);
199 extern ntfs_inode *ntfs_extent_inode_open(ntfs_inode *base_ni,
[all …]
Dreparse.h27 char *ntfs_make_symlink(ntfs_inode *ni, const char *mnt_point);
29 BOOL ntfs_possible_symlink(ntfs_inode *ni);
31 int ntfs_get_ntfs_reparse_data(ntfs_inode *ni, char *value, size_t size);
36 REPARSE_POINT *ntfs_get_reparse_point(ntfs_inode *ni);
38 int ntfs_reparse_check_wsl(ntfs_inode *ni, const REPARSE_POINT *reparse);
40 int ntfs_reparse_set_wsl_symlink(ntfs_inode *ni,
43 int ntfs_reparse_set_wsl_not_symlink(ntfs_inode *ni, mode_t mode);
45 int ntfs_set_ntfs_reparse_data(ntfs_inode *ni, const char *value,
47 int ntfs_remove_ntfs_reparse_data(ntfs_inode *ni);
49 int ntfs_delete_reparse_index(ntfs_inode *ni);
Dsecurity.h218 extern int ntfs_sd_add_everyone(ntfs_inode *ni);
226 ntfs_inode *ni, struct stat*);
227 int ntfs_set_mode(struct SECURITY_CONTEXT *scx, ntfs_inode *ni, mode_t mode);
228 BOOL ntfs_allowed_as_owner(struct SECURITY_CONTEXT *scx, ntfs_inode *ni);
230 ntfs_inode *ni, int accesstype);
232 ntfs_inode *ni, gid_t *pgid, mode_t *pdsetgid);
238 uid_t uid, gid_t gid, ntfs_inode *dir_ni,
244 int ntfs_set_owner(struct SECURITY_CONTEXT *scx, ntfs_inode *ni,
247 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode);
250 ntfs_inode *ni, uid_t uid, gid_t gid,
[all …]
Dattrib.h90 ntfs_inode *ntfs_ino;
92 ntfs_inode *base_ntfs_ino;
98 extern ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni,
187 ntfs_inode *ni;
295 extern ntfs_attr *ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type,
305 extern void *ntfs_attr_readall(ntfs_inode *ni, const ATTR_TYPES type,
328 extern int ntfs_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type,
331 extern int ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type,
336 extern int ntfs_attr_add(ntfs_inode *ni, ATTR_TYPES type,
338 extern int ntfs_attr_set_flags(ntfs_inode *ni, ATTR_TYPES type,
[all …]
Dxattrs.h87 ntfs_inode *ni, ntfs_inode *dir_ni,
91 ntfs_inode *ni, ntfs_inode *dir_ni,
95 ntfs_inode *ni, ntfs_inode *dir_ni);
Dea.h27 int ntfs_ea_check_wsldev(ntfs_inode *ni, dev_t *rdevp);
29 int ntfs_ea_set_wsl_not_symlink(ntfs_inode *ni, mode_t mode, dev_t dev);
31 int ntfs_get_ntfs_ea(ntfs_inode *ni, char *value, size_t size);
33 int ntfs_set_ntfs_ea(ntfs_inode *ni, const char *value, size_t size, int flags);
35 int ntfs_remove_ntfs_ea(ntfs_inode *ni);
Dobject_id.h27 int ntfs_get_ntfs_object_id(ntfs_inode *ni, char *value, size_t size);
29 int ntfs_set_ntfs_object_id(ntfs_inode *ni, const char *value,
31 int ntfs_remove_ntfs_object_id(ntfs_inode *ni);
33 int ntfs_delete_object_id_index(ntfs_inode *ni);
Dindex.h116 ntfs_inode *ni;
137 extern ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *ni,
152 extern int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn,
154 extern int ntfs_index_remove(ntfs_inode *dir_ni, ntfs_inode *ni,
157 extern INDEX_ROOT *ntfs_index_root_get(ntfs_inode *ni, ATTR_RECORD *attr);
Dmft.h125 extern ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, ntfs_inode *base_ni);
127 extern ntfs_inode *ntfs_mft_rec_alloc(ntfs_volume *vol, BOOL mft_data);
129 extern int ntfs_mft_record_free(ntfs_volume *vol, ntfs_inode *ni);
Dattrlist.h29 extern int ntfs_attrlist_need(ntfs_inode *ni);
31 extern int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr);
43 static __inline__ void ntfs_attrlist_mark_dirty(ntfs_inode *ni) in ntfs_attrlist_mark_dirty()
Dvolume.h191 ntfs_inode *vol_ni; /* ntfs_inode structure for FILE_Volume. */
218 ntfs_inode *lcnbmp_ni; /* ntfs_inode structure for FILE_Bitmap. */
227 ntfs_inode *mft_ni; /* ntfs_inode structure for FILE_MFT. */
237 ntfs_inode *secure_ni; /* ntfs_inode structure for FILE $Secure */
246 ntfs_inode *mftmirr_ni; /* ntfs_inode structure for FILE_MFTMirr. */
Defs.h24 int ntfs_get_efs_info(ntfs_inode *ni, char *value, size_t size);
26 int ntfs_set_efs_info(ntfs_inode *ni,
/third_party/ntfs-3g/libntfs-3g/
Dinode.c59 ntfs_inode *ntfs_inode_base(ntfs_inode *ni) in ntfs_inode_base()
76 void ntfs_inode_mark_dirty(ntfs_inode *ni) in ntfs_inode_mark_dirty()
91 static ntfs_inode *__ntfs_inode_allocate(ntfs_volume *vol) in __ntfs_inode_allocate()
93 ntfs_inode *ni; in __ntfs_inode_allocate()
95 ni = (ntfs_inode*)ntfs_calloc(sizeof(ntfs_inode)); in __ntfs_inode_allocate()
109 ntfs_inode *ntfs_inode_allocate(ntfs_volume *vol) in ntfs_inode_allocate()
122 static void __ntfs_inode_release(ntfs_inode *ni) in __ntfs_inode_release()
157 static ntfs_inode *ntfs_inode_real_open(ntfs_volume *vol, const MFT_REF mref) in ntfs_inode_real_open()
160 ntfs_inode *ni = NULL; in ntfs_inode_real_open()
317 int ntfs_inode_real_close(ntfs_inode *ni) in ntfs_inode_real_close()
[all …]
Dobject_id.c141 static int set_object_id_index(ntfs_inode *ni, ntfs_index_context *xo, in set_object_id_index()
190 ntfs_inode *ni; in open_object_id_index()
191 ntfs_inode *dir_ni; in open_object_id_index()
196 ni = (ntfs_inode*)NULL; in open_object_id_index()
222 static int merge_index_data(ntfs_inode *ni, in merge_index_data()
229 ntfs_inode *xoni; in merge_index_data()
323 static int update_object_id(ntfs_inode *ni, ntfs_index_context *xo, in update_object_id()
386 static int add_object_id(ntfs_inode *ni, int flags) in add_object_id()
424 int ntfs_delete_object_id_index(ntfs_inode *ni) in ntfs_delete_object_id_index()
427 ntfs_inode *xoni; in ntfs_delete_object_id_index()
[all …]
Dreparse.c131 static u64 ntfs_fix_file_name(ntfs_inode *dir_ni, ntfschar *uname, in ntfs_fix_file_name()
223 ntfs_inode *ni; in search_absolute()
251 ni = (ntfs_inode*)NULL; in search_absolute()
290 static char *search_relative(ntfs_inode *ni, ntfschar *path, int count) in search_relative()
293 ntfs_inode *curni; in search_relative()
294 ntfs_inode *newni; in search_relative()
400 ntfs_inode *ni; in ntfs_drive_letter()
434 int ntfs_reparse_check_wsl(ntfs_inode *ni, const REPARSE_POINT *reparse) in ntfs_reparse_check_wsl()
468 static BOOL valid_reparse_data(ntfs_inode *ni, in valid_reparse_data()
767 static char *ntfs_get_rellink(ntfs_inode *ni, ntfschar *junction, int count) in ntfs_get_rellink()
[all …]
Ddir.c249 u64 ntfs_inode_lookup_by_name(ntfs_inode *dir_ni, in ntfs_inode_lookup_by_name()
531 u64 ntfs_inode_lookup_by_mbsname(ntfs_inode *dir_ni, const char *name) in ntfs_inode_lookup_by_mbsname()
607 void ntfs_inode_update_mbsname(ntfs_inode *dir_ni, const char *name, u64 inum) in ntfs_inode_update_mbsname()
652 ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent, in ntfs_pathname_to_inode()
658 ntfs_inode *ni; in ntfs_pathname_to_inode()
659 ntfs_inode *result = NULL; in ntfs_pathname_to_inode()
726 result = (ntfs_inode*)NULL; in ntfs_pathname_to_inode()
866 u32 ntfs_interix_types(ntfs_inode *ni) in ntfs_interix_types()
913 static u32 ntfs_dir_entry_type(ntfs_inode *dir_ni, MFT_REF mref, in ntfs_dir_entry_type()
916 ntfs_inode *ni; in ntfs_dir_entry_type()
[all …]
Dea.c75 static int ntfs_need_ea(ntfs_inode *ni, ATTR_TYPES type, int size, int flags) in ntfs_need_ea()
145 static int ntfs_update_ea(ntfs_inode *ni, const char *value, size_t size, in ntfs_update_ea()
200 int ntfs_get_ntfs_ea(ntfs_inode *ni, char *value, size_t size) in ntfs_get_ntfs_ea()
242 int ntfs_set_ntfs_ea(ntfs_inode *ni, const char *value, size_t size, int flags) in ntfs_set_ntfs_ea()
348 int ntfs_remove_ntfs_ea(ntfs_inode *ni) in ntfs_remove_ntfs_ea()
414 int ntfs_ea_check_wsldev(ntfs_inode *ni, dev_t *rdevp) in ntfs_ea_check_wsldev()
470 int ntfs_ea_set_wsl_not_symlink(ntfs_inode *ni, mode_t type, dev_t dev) in ntfs_ea_set_wsl_not_symlink()
Dxattrs.c251 return (ntfs_attr_data_read((ntfs_inode*)fileid, in localread()
413 ntfs_inode *ni; in ntfs_xattr_build_mapping()
484 ntfs_inode *ni, ntfs_inode *dir_ni, in ntfs_xattr_system_getxattr()
611 ntfs_inode *ni, ntfs_inode *dir_ni, in ntfs_xattr_system_setxattr()
741 ntfs_inode *ni, ntfs_inode *dir_ni) in ntfs_xattr_system_removexattr()
/third_party/ntfs-3g/src/
Dntfs-3g.c261 static void ntfs_fuse_update_times(ntfs_inode *ni, ntfs_time_update_flags mask) in ntfs_fuse_update_times()
329 const char *path, ntfs_inode *dir_ni, in ntfs_allowed_dir_access()
330 ntfs_inode *ni, mode_t accesstype) in ntfs_allowed_dir_access()
333 ntfs_inode *ni2; in ntfs_allowed_dir_access()
334 ntfs_inode *dir_ni2; in ntfs_allowed_dir_access()
408 const char *path, ntfs_inode *dir_ni, in ntfs_allowed_real_dir_access()
412 ntfs_inode *dir_ni2; in ntfs_allowed_real_dir_access()
440 static ntfs_inode *get_parent_dir(const char *path) in get_parent_dir()
442 ntfs_inode *dir_ni; in get_parent_dir()
447 dir_ni = (ntfs_inode*)NULL; in get_parent_dir()
[all …]
Dlowntfs-3g.c313 static void ntfs_fuse_update_times(ntfs_inode *ni, ntfs_time_update_flags mask) in ntfs_fuse_update_times()
379 ntfs_inode *dir_ni; in ntfs_fuse_inode_lookup()
413 ntfs_inode *dir_ni, fuse_ino_t ino, in ntfs_allowed_dir_access()
414 ntfs_inode *ni, mode_t accesstype) in ntfs_allowed_dir_access()
417 ntfs_inode *ni2; in ntfs_allowed_dir_access()
529 ntfs_inode *ni;
558 ntfs_inode *ni;
579 ntfs_inode *ni;
600 ntfs_inode *ni;
652 static int junction_getstat(ntfs_inode *ni, in junction_getstat()
[all …]
Dntfs-3g_common.h209 int ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx,
211 BOOL user_xattrs_allowed(ntfs_fuse_context_t *ctx, ntfs_inode *ni);
217 ntfs_inode *ni, REPARSE_POINT **reparse);
/third_party/ntfs-3g/ntfsprogs/
Dutils.h47 int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize);
51 int utils_is_metadata(ntfs_inode *inode);
80 ntfs_inode *inode;
Dntfscmp.c258 static ntfs_attr_search_ctx *attr_get_search_ctx(ntfs_inode *ni) in attr_get_search_ctx()
297 static u64 inumber(ntfs_inode *ni) in inumber()
305 static int inode_close(ntfs_inode *ni) in inode_close()
353 static int inode_open(ntfs_volume *vol, MFT_REF mref, ntfs_inode **ni) in inode_open()
377 static ntfs_inode *base_inode(ntfs_attr_search_ctx *ctx) in base_inode()
390 static void print_inode_ni(ntfs_inode *ni) in print_inode_ni()
731 static void print_attributes(ntfs_inode *ni, in print_attributes()
827 static int cmp_attributes(ntfs_inode *ni1, ntfs_inode *ni2) in cmp_attributes()
901 ntfs_inode *ni1, *ni2; in cmp_inodes()

123