Home
last modified time | relevance | path

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

/Linux-v6.6/fs/ntfs3/
Dntfs.h613 struct NTFS_DE { struct
639 static_assert(sizeof(struct NTFS_DE) == 0x10); argument
641 static inline void de_set_vbn_le(struct NTFS_DE *e, __le64 vcn) in de_set_vbn_le()
648 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn()
655 static inline __le64 de_get_vbn_le(const struct NTFS_DE *e) in de_get_vbn_le()
660 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
667 static inline struct NTFS_DE *de_get_next(const struct NTFS_DE *e) in de_get_next()
672 static inline struct ATTR_FILE_NAME *de_get_fname(const struct NTFS_DE *e) in de_get_fname()
675 Add2Ptr(e, sizeof(struct NTFS_DE)) : in de_get_fname()
679 static inline bool de_is_last(const struct NTFS_DE *e) in de_is_last()
[all …]
Dindex.c559 static const struct NTFS_DE *hdr_find_split(const struct INDEX_HDR *hdr) in hdr_find_split()
562 const struct NTFS_DE *e = hdr_first_de(hdr); in hdr_find_split()
571 const struct NTFS_DE *p = e; in hdr_find_split()
590 static const struct NTFS_DE *hdr_insert_head(struct INDEX_HDR *hdr, in hdr_insert_head()
594 struct NTFS_DE *e = hdr_first_de(hdr); in hdr_insert_head()
621 off + sizeof(struct NTFS_DE) > end) { in index_hdr_check()
674 struct NTFS_DE *e) in fnd_push()
717 static struct NTFS_DE *hdr_find_e(const struct ntfs_index *indx, in hdr_find_e()
721 struct NTFS_DE *e, *found = NULL; in hdr_find_e()
739 if (off + sizeof(struct NTFS_DE) > end) in hdr_find_e()
[all …]
Ddir.c240 struct NTFS_DE *e; in dir_search_u()
276 const struct NTFS_DE *e, u8 *name, in ntfs_filldir()
284 fname = Add2Ptr(e, sizeof(struct NTFS_DE)); in ntfs_filldir()
329 const struct NTFS_DE *e; in ntfs_read_hdr()
335 if (off + sizeof(struct NTFS_DE) > end) in ntfs_read_hdr()
340 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr()
493 struct NTFS_DE *e = NULL; in ntfs_dir_count()
517 for (; off + sizeof(struct NTFS_DE) <= end; off += e_size) { in ntfs_dir_count()
520 if (e_size < sizeof(struct NTFS_DE) || in ntfs_dir_count()
Dntfs_fs.h409 struct NTFS_DE *de[20];
410 struct NTFS_DE *root_de;
567 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step);
570 struct NTFS_DE *de, struct NTFS_DE *de2,
574 struct NTFS_DE *de);
577 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de,
679 const void *param, int *diff, struct NTFS_DE **entry,
682 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
685 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
688 const struct NTFS_DE *new_de, const void *param,
Dnamei.c24 struct NTFS_DE *e = buf; in fill_name_de()
56 e->size = cpu_to_le16(ALIGN(data_size, 8) + sizeof(struct NTFS_DE)); in fill_name_de()
254 struct NTFS_DE *de, *new_de; in ntfs_rename()
263 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) < in ntfs_rename()
Dinode.c1224 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode()
1426 dsize = sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE); in ntfs_create_inode()
1444 sizeof(struct NTFS_DE)); in ntfs_create_inode()
1448 e->size = cpu_to_le16(sizeof(struct NTFS_DE)); in ntfs_create_inode()
1710 struct NTFS_DE *de; in ntfs_link_inode()
1744 struct NTFS_DE *de, *de2 = NULL; in ntfs_unlink_inode()
Dfrecord.c2901 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step) in ni_remove_name()
2968 struct NTFS_DE *de, struct NTFS_DE *de2, int undo_step) in ni_remove_name_undo()
2984 sizeof(struct NTFS_DE)); in ni_remove_name_undo()
3013 struct NTFS_DE *de) in ni_add_name()
3066 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de, in ni_rename()
3070 struct NTFS_DE *de2 = NULL; in ni_rename()
Dfsntfs.c1845 struct NTFS_DE *ne; in ntfs_security_init()
1987 NULL, &diff, (struct NTFS_DE **)&sii_e, fnd_sii); in ntfs_get_security_by_id()
2115 &d_security->key.sec_id, &diff, (struct NTFS_DE **)&e, in ntfs_insert_security()
2139 (struct NTFS_DE **)&e, fnd_sdh); in ntfs_insert_security()
2418 (struct NTFS_DE **)&re, fnd); in ntfs_remove_reparse()
Dfslog.c2583 const struct NTFS_DE *e; in check_index_header()
2586 min_de = sizeof(struct NTFS_DE) + sizeof(u64); in check_index_header()
2589 min_de = sizeof(struct NTFS_DE); in check_index_header()
2605 struct NTFS_DE *next = Add2Ptr(e, esize); in check_index_header()
2868 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_root_index()
2893 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_alloc_index()
3030 struct NTFS_DE *e, *e1, *e2; in do_action()
3375 e = (struct NTFS_DE *)data; in do_action()