Lines Matching refs:ntfs_inode
59 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()
344 ntfs_inode **tmp_nis; in ntfs_inode_real_close()
345 ntfs_inode *base_ni; in ntfs_inode_real_close()
360 sizeof(ntfs_inode *)); in ntfs_inode_real_close()
373 sizeof(ntfs_inode *)); in ntfs_inode_real_close()
379 base_ni->extent_nis = (ntfs_inode**)NULL; in ntfs_inode_real_close()
446 item.ni = (ntfs_inode*)NULL; in ntfs_inode_invalidate()
465 ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref) in ntfs_inode_open()
467 ntfs_inode *ni; in ntfs_inode_open()
506 int ntfs_inode_close(ntfs_inode *ni) in ntfs_inode_close()
577 ntfs_inode *ntfs_extent_inode_open(ntfs_inode *base_ni, const leMFT_REF mref) in ntfs_extent_inode_open()
583 ntfs_inode *ni = NULL; in ntfs_extent_inode_open()
584 ntfs_inode **extent_nis; in ntfs_extent_inode_open()
623 ni = (ntfs_inode*)NULL; in ntfs_extent_inode_open()
661 i = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in ntfs_extent_inode_open()
668 i - 4 * sizeof(ntfs_inode *)); in ntfs_extent_inode_open()
689 int ntfs_inode_attach_all_extents(ntfs_inode *ni) in ntfs_inode_attach_all_extents()
738 static int ntfs_inode_sync_standard_information(ntfs_inode *ni) in ntfs_inode_sync_standard_information()
794 static int ntfs_inode_sync_file_name(ntfs_inode *ni, ntfs_inode *dir_ni) in ntfs_inode_sync_file_name()
798 ntfs_inode *index_ni; in ntfs_inode_sync_file_name()
950 static int ntfs_inode_sync_in_dir(ntfs_inode *ni, ntfs_inode *dir_ni) in ntfs_inode_sync_in_dir()
1047 ntfs_inode *eni; in ntfs_inode_sync_in_dir()
1078 int ntfs_inode_sync(ntfs_inode *ni) in ntfs_inode_sync()
1080 return (ntfs_inode_sync_in_dir(ni, (ntfs_inode*)NULL)); in ntfs_inode_sync()
1087 int ntfs_inode_close_in_dir(ntfs_inode *ni, ntfs_inode *dir_ni) in ntfs_inode_close_in_dir()
1111 int ntfs_inode_add_attrlist(ntfs_inode *ni) in ntfs_inode_add_attrlist()
1296 int ntfs_inode_free_space(ntfs_inode *ni, int size) in ntfs_inode_free_space()
1384 void ntfs_inode_update_times(ntfs_inode *ni, ntfs_time_update_flags mask) in ntfs_inode_update_times()
1463 int ntfs_inode_get_times(ntfs_inode *ni, char *value, size_t size) in ntfs_inode_get_times()
1521 int ntfs_inode_set_times(ntfs_inode *ni, const char *value, size_t size, in ntfs_inode_set_times()