Searched refs:ntfs_inode (Results 1 - 25 of 28) sorted by relevance

12

/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A 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)
H A Ddir.h65 extern u64 ntfs_inode_lookup_by_name(ntfs_inode *dir_ni,
68 extern u64 ntfs_pathname_to_inode_num(ntfs_volume *vol, ntfs_inode *parent,
70 extern ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent,
73 extern ntfs_inode *ntfs_create(ntfs_inode *dir_ni, ntfschar *name, u8 name_len,
75 extern ntfs_inode *ntfs_create_device(ntfs_inode *dir_ni,
77 extern ntfs_inode *ntfs_create_symlink(ntfs_inode *dir_n
[all...]
H A Dinode.h28 typedef struct _ntfs_inode ntfs_inode; typedef in typeref:struct:_ntfs_inode
39 * Defined bits for the state field in the ntfs_inode structure.
125 ntfs_inode **extent_nis;/* For nr_extents > 0, array of the
129 ntfs_inode *base_ni; /* For nr_extents == -1, the ntfs
168 extern void __ntfs_inode_add_to_cache(ntfs_inode *ni);
170 extern ntfs_inode *ntfs_inode_allocate(ntfs_volume *vol);
172 extern ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref);
174 extern int ntfs_inode_close(ntfs_inode *ni);
176 extern ntfs_inode *ntfs_extent_inode_open(ntfs_inode *base_n
[all...]
H A Dindex.h87 ntfs_inode *ni;
109 extern ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *ni,
117 extern int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn,
121 extern INDEX_ROOT *ntfs_index_root_get(ntfs_inode *ni, ATTR_RECORD *attr);
H A Dmft.h110 extern ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, ntfs_inode *base_ni);
112 extern int ntfs_mft_record_free(ntfs_volume *vol, ntfs_inode *ni);
H A Dattrib.h79 ntfs_inode *ntfs_ino;
81 ntfs_inode *base_ntfs_ino;
87 extern ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni,
186 ntfs_inode *ni;
284 extern ntfs_attr *ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type,
293 extern void *ntfs_attr_readall(ntfs_inode *ni, const ATTR_TYPES type,
317 extern int ntfs_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type,
320 extern int ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type,
325 extern int ntfs_attr_add(ntfs_inode *ni, ATTR_TYPES type,
334 extern int ntfs_attr_record_move_to(ntfs_attr_search_ctx *ctx, ntfs_inode *n
[all...]
H A Dvolume.h158 ntfs_inode *vol_ni; /* ntfs_inode structure for FILE_Volume. */
186 ntfs_inode *lcnbmp_ni; /* ntfs_inode structure for FILE_Bitmap. */
195 ntfs_inode *mft_ni; /* ntfs_inode structure for FILE_MFT. */
208 ntfs_inode *mftmirr_ni; /* ntfs_inode structure for FILE_MFTMirr. */
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dcluster.h34 typedef int (cluster_cb)(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, void *data);
H A Dutils.h48 int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize);
52 int utils_is_metadata(ntfs_inode *inode);
81 ntfs_inode *inode;
H A Dntfscp.c287 static ntfs_inode *ntfs_new_file(ntfs_inode *dir_ni,
292 ntfs_inode *ni;
320 ntfs_inode *out;
395 ntfs_inode *dir_ni;
396 ntfs_inode *ni;
453 ntfs_inode *ni;
454 ntfs_inode *dir_ni;
H A Dntfscat.c316 static int index_get_size(ntfs_inode *inode)
332 static int cat(ntfs_volume *vol, ntfs_inode *inode, ATTR_TYPES type,
403 ntfs_inode *inode;
H A Dntfscmp.c258 static ntfs_attr_search_ctx *attr_get_search_ctx(ntfs_inode *ni)
297 static u64 inumber(ntfs_inode *ni)
305 static int inode_close(ntfs_inode *ni)
352 static int inode_open(ntfs_volume *vol, MFT_REF mref, ntfs_inode **ni)
376 static ntfs_inode *base_inode(ntfs_attr_search_ctx *ctx)
389 static void print_inode_ni(ntfs_inode *ni)
725 static void print_attributes(ntfs_inode *ni,
819 static int cmp_attributes(ntfs_inode *ni1, ntfs_inode *ni2)
893 ntfs_inode *ni
[all...]
H A Dntfscluster.c387 static int dump_file(ntfs_volume *vol, ntfs_inode *ino)
429 static int print_match(ntfs_inode *ino, ATTR_RECORD *attr,
456 static int find_last(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run,
485 ntfs_inode *ino = NULL;
H A Dntfsls.c66 ntfs_inode *ni;
376 static int readdir_recursive(ntfs_inode * ni, s64 * pos, ntfsls_dirent * dirent)
551 ntfs_inode *ni;
643 ntfs_inode *ni;
H A Dntfsclone.c140 ntfs_inode *ni; /* inode being processed */
145 typedef int (ntfs_walk_op)(ntfs_inode *ni, void *data);
793 static void wipe_index_allocation_timestamps(ntfs_inode *ni, ATTR_RECORD *attr)
1168 static void wipe_unused_mft_data(ntfs_inode *ni)
1182 static void wipe_unused_mft(ntfs_inode *ni)
1195 static void mft_record_write_with_same_usn(ntfs_volume *volume, ntfs_inode *ni)
1204 static void mft_inode_write_with_same_usn(ntfs_volume *volume, ntfs_inode *ni)
1214 ntfs_inode *eni = ni->u.extent_nis[i];
1223 ntfs_inode *ni;
1241 ni = ntfs_calloc(sizeof(ntfs_inode));
[all...]
H A Dntfsinfo.c1125 static void ntfs_dump_sds(ATTR_RECORD *attr, ntfs_inode *ni)
1339 static void ntfs_dump_attr_data(ATTR_RECORD *attr, ntfs_inode *ni)
1616 static INDEX_ATTR_TYPE get_index_attr_type(ntfs_inode *ni, ATTR_RECORD *attr,
1701 static void ntfs_dump_attr_index_root(ATTR_RECORD *attr, ntfs_inode *ni)
1789 static void ntfs_dump_attr_index_allocation(ATTR_RECORD *attr, ntfs_inode *ni)
2003 ntfs_inode *ni)
2077 static void ntfs_dump_inode_general_info(ntfs_inode *inode)
2152 static void ntfs_dump_file_attributes(ntfs_inode *inode)
2276 ntfs_inode *inode;
H A Dntfsresize.c172 ntfs_inode *ni; /* inode being processed */
184 ntfs_inode *ni; /* inode being processed */
842 static ntfs_attr_search_ctx *attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec)
985 static int inode_close(ntfs_inode *ni)
1004 ntfs_inode *ni;
1087 ntfs_inode *ni;
1993 ntfs_inode *ni;
2017 ntfs_inode *base_ni;
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dinode.c60 static ntfs_inode *__ntfs_inode_allocate(ntfs_volume *vol)
62 ntfs_inode *ni;
64 ni = (ntfs_inode*)calloc(1, sizeof(ntfs_inode));
80 ntfs_inode *ntfs_inode_allocate(ntfs_volume *vol)
93 static int __ntfs_inode_release(ntfs_inode *ni)
107 void __ntfs_inode_add_to_cache(ntfs_inode *ni)
119 * Allocate an ntfs_inode structure and initialize it for the given inode
125 * volume @vol, and attach it to the ntfs_inode structure (->mrec). The
131 * ntfs_inode structur
[all...]
H A Ddir.c103 u64 ntfs_inode_lookup_by_name(ntfs_inode *dir_ni, const ntfschar *uname,
488 u64 ntfs_pathname_to_inode_num(ntfs_volume *vol, ntfs_inode *parent,
494 ntfs_inode *ni = NULL;
581 ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent,
652 static MFT_REF ntfs_mft_get_parent_ref(ntfs_inode *ni)
716 int ntfs_readdir(ntfs_inode *dir_ni, s64 *pos,
1092 static ntfs_inode *__ntfs_create(ntfs_inode *dir_ni,
1096 ntfs_inode *n
[all...]
H A Dattrlist.c60 int ntfs_attrlist_need(ntfs_inode *ni)
106 int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr)
251 ntfs_inode *base_ni;
H A Dmft.c425 static int ntfs_mft_bitmap_find_free_rec(ntfs_volume *vol, ntfs_inode *base_ni)
1149 * accordingly, open an ntfs_inode for it and return it to the caller, unless
1165 * - open an ntfs_inode for the allocated mft record, and we will
1166 * - return the ntfs_inode.
1187 ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, ntfs_inode *base_ni)
1194 ntfs_inode *ni;
1434 ntfs_inode **extent_nis;
1437 i = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *);
1438 extent_nis = (ntfs_inode**)ntfs_mallo
[all...]
H A Dvolume.c107 ntfs_inode *ni =
108 list_entry(pos, ntfs_inode, list_entry);
189 /* Manually setup an ntfs_inode. */
635 ntfs_inode *ni;
671 static ntfs_inode *ntfs_hiberfile_open(ntfs_volume *vol)
674 ntfs_inode *ni_root;
675 ntfs_inode *ni_hibr = NULL;
728 ntfs_inode *ni;
896 ntfs_inode *ni;
1586 ntfs_inode *n
[all...]
H A Dgnome-vfs-method.c187 static GnomeVFSResult inode_open_by_pathname(ntfs_inode **inode_return,
191 ntfs_inode *inode;
257 ntfs_inode *inode;
268 ntfs_inode *inode;
405 ntfs_inode *inode;
493 ntfs_inode *inode;
528 ntfs_inode *inode;
734 /* FIXME: It is complicated to read filename of open 'ntfs_inode'. */
H A Dattrib.c276 static void __ntfs_attr_init(ntfs_attr *na, ntfs_inode *ni,
351 ntfs_attr *ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type,
1879 ntfs_inode *base_ni, *ni;
2291 ntfs_inode *base_ni;
2319 ntfs_inode *ni, MFT_RECORD *mrec)
2377 ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec)
2629 int ntfs_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type,
2638 ntfs_inode *base_ni;
2752 int ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type,
2760 ntfs_inode *base_n
[all...]
H A Dindex.c118 ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *ni,
434 static INDEX_ROOT *ntfs_ir_lookup(ntfs_inode *ni, ntfschar *name,
567 static ntfs_attr *ntfs_ia_open(ntfs_index_context *icx, ntfs_inode *ni)
662 ntfs_inode *ni = icx->ni;
1112 static INDEX_ROOT *ntfs_ir_lookup2(ntfs_inode *ni, ntfschar *name, u32 len)
1490 int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn, MFT_REF mref)
1841 INDEX_ROOT *ntfs_index_root_get(ntfs_inode *ni, ATTR_RECORD *attr)

Completed in 95 milliseconds

12