Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ntfs3/
Dntfs.h608 struct NTFS_DE { struct
634 static_assert(sizeof(struct NTFS_DE) == 0x10); argument
636 static inline void de_set_vbn_le(struct NTFS_DE *e, __le64 vcn) in de_set_vbn_le()
643 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn()
650 static inline __le64 de_get_vbn_le(const struct NTFS_DE *e) in de_get_vbn_le()
655 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
662 static inline struct NTFS_DE *de_get_next(const struct NTFS_DE *e) in de_get_next()
667 static inline struct ATTR_FILE_NAME *de_get_fname(const struct NTFS_DE *e) in de_get_fname()
670 Add2Ptr(e, sizeof(struct NTFS_DE)) : in de_get_fname()
674 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()
279 struct ntfs_inode *ni, const struct NTFS_DE *e, in ntfs_dir_emit()
287 fname = Add2Ptr(e, sizeof(struct NTFS_DE)); in ntfs_dir_emit()
356 const struct NTFS_DE *e; in ntfs_read_hdr()
362 if (off + sizeof(struct NTFS_DE) > end) in ntfs_read_hdr()
367 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr()
527 struct NTFS_DE *e = NULL; in ntfs_dir_count()
549 for (; off + sizeof(struct NTFS_DE) <= end; off += e_size) { in ntfs_dir_count()
552 if (e_size < sizeof(struct NTFS_DE) || in ntfs_dir_count()
Dntfs_fs.h411 struct NTFS_DE *de[20];
412 struct NTFS_DE *root_de;
576 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step);
579 struct NTFS_DE *de, struct NTFS_DE *de2,
583 struct NTFS_DE *de);
586 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de,
690 const void *param, int *diff, struct NTFS_DE **entry,
693 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
696 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
699 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()
246 struct NTFS_DE *de, *new_de; in ntfs_rename()
255 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) < in ntfs_rename()
Dinode.c1211 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode()
1421 dsize = sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE); in ntfs_create_inode()
1439 sizeof(struct NTFS_DE)); in ntfs_create_inode()
1443 e->size = cpu_to_le16(sizeof(struct NTFS_DE)); in ntfs_create_inode()
1720 struct NTFS_DE *de; in ntfs_link_inode()
1754 struct NTFS_DE *de, *de2 = NULL; in ntfs_unlink_inode()
Dfrecord.c2966 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step) in ni_remove_name()
3033 struct NTFS_DE *de, struct NTFS_DE *de2, int undo_step) in ni_remove_name_undo()
3049 sizeof(struct NTFS_DE)); in ni_remove_name_undo()
3078 struct NTFS_DE *de) in ni_add_name()
3131 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de, in ni_rename()
3135 struct NTFS_DE *de2 = NULL; in ni_rename()
Dfsntfs.c1870 struct NTFS_DE *ne; in ntfs_security_init()
2012 NULL, &diff, (struct NTFS_DE **)&sii_e, fnd_sii); in ntfs_get_security_by_id()
2140 &d_security->key.sec_id, &diff, (struct NTFS_DE **)&e, in ntfs_insert_security()
2164 (struct NTFS_DE **)&e, fnd_sdh); in ntfs_insert_security()
2443 (struct NTFS_DE **)&re, fnd); in ntfs_remove_reparse()
Dfslog.c2602 const struct NTFS_DE *e; in check_index_header()
2605 min_de = sizeof(struct NTFS_DE) + sizeof(u64); in check_index_header()
2608 min_de = sizeof(struct NTFS_DE); in check_index_header()
2624 struct NTFS_DE *next = Add2Ptr(e, esize); in check_index_header()
2887 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_root_index()
2912 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_alloc_index()
3049 struct NTFS_DE *e, *e1, *e2; in do_action()
3394 e = (struct NTFS_DE *)data; in do_action()