Home
last modified time | relevance | path

Searched refs:NTFS_DE (Results 1 – 9 of 9) sorted by relevance

/linux/fs/ntfs3/
H A Dntfs.h612 struct NTFS_DE { struct
638 static_assert(sizeof(struct NTFS_DE) == 0x10); argument
640 static inline void de_set_vbn_le(struct NTFS_DE *e, __le64 vcn) in de_set_vbn_le()
647 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn()
654 static inline __le64 de_get_vbn_le(const struct NTFS_DE *e) in de_get_vbn_le()
659 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
666 static inline struct NTFS_DE *de_get_next(const struct NTFS_DE *e) in de_get_next()
671 static inline struct ATTR_FILE_NAME *de_get_fname(const struct NTFS_DE *e) in de_get_fname()
674 Add2Ptr(e, sizeof(struct NTFS_DE)) : in de_get_fname()
678 static inline bool de_is_last(const struct NTFS_DE *e) in de_is_last()
[all …]
H A Dindex.c557 static const struct NTFS_DE *hdr_find_split(const struct INDEX_HDR *hdr) in hdr_find_split()
560 const struct NTFS_DE *e = hdr_first_de(hdr); in hdr_find_split()
569 const struct NTFS_DE *p = e; in hdr_find_split()
588 static const struct NTFS_DE *hdr_insert_head(struct INDEX_HDR *hdr, in hdr_insert_head()
592 struct NTFS_DE *e = hdr_first_de(hdr); in hdr_insert_head()
616 sizeof(struct NTFS_DE) + (has_subnode ? sizeof(u64) : 0); in index_hdr_check()
620 const struct NTFS_DE *e; in index_hdr_check()
629 e = (const struct NTFS_DE *)((const u8 *)hdr + off); in index_hdr_check()
656 e = (const struct NTFS_DE *)((const u8 *)hdr + off); in index_hdr_check()
707 struct NTFS_DE *e) in fnd_push()
[all …]
H A Ddir.c279 struct NTFS_DE *e; in dir_search_flags()
314 static inline bool de_fname_fits(const struct NTFS_DE *e, u32 e_size, in de_fname_fits()
317 return sizeof(struct NTFS_DE) + fname_full_size(fname) <= e_size; in de_fname_fits()
324 struct ntfs_inode *ni, const struct NTFS_DE *e, in ntfs_dir_emit()
332 fname = Add2Ptr(e, sizeof(struct NTFS_DE)); in ntfs_dir_emit()
402 const struct NTFS_DE *e; in ntfs_read_hdr()
408 if (off + sizeof(struct NTFS_DE) > end) in ntfs_read_hdr()
413 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr()
626 de_countable_fname(const struct NTFS_DE *e, u32 e_size) in de_countable_fname()
643 struct NTFS_DE *e = NULL; in ntfs_dir_count()
[all …]
H A Dntfs_fs.h443 struct NTFS_DE *de[20];
444 struct NTFS_DE *root_de;
625 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step);
628 struct NTFS_DE *de, struct NTFS_DE *de2,
632 struct NTFS_DE *de);
635 struct ntfs_inode *ni, struct NTFS_DE *de,
636 struct NTFS_DE *new_de);
775 const void *param, int *diff, struct NTFS_DE **entry,
778 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
781 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
[all …]
H A Dnamei.c24 struct NTFS_DE *e = buf; in fill_name_de()
56 real_size = data_size + sizeof(struct NTFS_DE); in fill_name_de()
57 aligned_size = ALIGN(data_size, 8) + sizeof(struct NTFS_DE); in fill_name_de()
277 struct NTFS_DE *de, *new_de; in ntfs_rename()
286 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) < in ntfs_rename()
H A Dfrecord.c2668 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step) in ni_remove_name()
2736 struct NTFS_DE *de, struct NTFS_DE *de2, int undo_step) in ni_remove_name_undo()
2753 sizeof(struct NTFS_DE)); in ni_remove_name_undo()
2782 struct NTFS_DE *de) in ni_add_name()
2836 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de) in ni_rename()
2839 struct NTFS_DE *de2 = NULL; in ni_rename()
H A Dinode.c1408 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode()
1632 dsize = sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE); in ntfs_create_inode()
1650 sizeof(struct NTFS_DE)); in ntfs_create_inode()
1654 e->size = cpu_to_le16(sizeof(struct NTFS_DE)); in ntfs_create_inode()
1931 struct NTFS_DE *de; in ntfs_link_inode()
1964 struct NTFS_DE *de, *de2 = NULL; in ntfs_unlink_inode()
H A Dfsntfs.c1880 struct NTFS_DE *ne; in ntfs_security_init()
2022 NULL, &diff, (struct NTFS_DE **)&sii_e, fnd_sii); in ntfs_get_security_by_id()
2150 &d_security->key.sec_id, &diff, (struct NTFS_DE **)&e, in ntfs_insert_security()
2174 (struct NTFS_DE **)&e, fnd_sdh); in ntfs_insert_security()
2453 (struct NTFS_DE **)&re, fnd); in ntfs_remove_reparse()
H A Dfslog.c2651 min_de = sizeof(struct NTFS_DE) + sizeof(u64); in check_index_header()
2654 min_de = sizeof(struct NTFS_DE); in check_index_header()
2668 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_index_header()
2954 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_root_index()
2979 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_alloc_index()
3136 struct NTFS_DE *e, *e1, *e2; in do_action()
3472 e = (struct NTFS_DE *)data; in do_action()