Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ntfs3/
Dntfs.h610 struct NTFS_DE { struct
636 static_assert(sizeof(struct NTFS_DE) == 0x10); argument
638 static inline void de_set_vbn_le(struct NTFS_DE *e, __le64 vcn) in de_set_vbn_le()
645 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn()
652 static inline __le64 de_get_vbn_le(const struct NTFS_DE *e) in de_get_vbn_le()
657 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
664 static inline struct NTFS_DE *de_get_next(const struct NTFS_DE *e) in de_get_next()
669 static inline struct ATTR_FILE_NAME *de_get_fname(const struct NTFS_DE *e) in de_get_fname()
672 Add2Ptr(e, sizeof(struct NTFS_DE)) : in de_get_fname()
676 static inline bool de_is_last(const struct NTFS_DE *e) in de_is_last()
[all …]
Dindex.c558 static const struct NTFS_DE *hdr_find_split(const struct INDEX_HDR *hdr) in hdr_find_split()
561 const struct NTFS_DE *e = hdr_first_de(hdr); in hdr_find_split()
570 const struct NTFS_DE *p = e; in hdr_find_split()
589 static const struct NTFS_DE *hdr_insert_head(struct INDEX_HDR *hdr, in hdr_insert_head()
593 struct NTFS_DE *e = hdr_first_de(hdr); in hdr_insert_head()
626 struct NTFS_DE *e) in fnd_push()
670 static struct NTFS_DE *hdr_find_e(const struct ntfs_index *indx, in hdr_find_e()
674 struct NTFS_DE *e, *found = NULL; in hdr_find_e()
685 if (off + sizeof(struct NTFS_DE) > end) in hdr_find_e()
691 if (e_size < sizeof(struct NTFS_DE) || off + e_size > 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()
325 const struct NTFS_DE *e; in ntfs_read_hdr()
331 if (off + sizeof(struct NTFS_DE) > end) in ntfs_read_hdr()
336 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr()
489 struct NTFS_DE *e = NULL; in ntfs_dir_count()
513 for (; off + sizeof(struct NTFS_DE) <= end; off += e_size) { in ntfs_dir_count()
516 if (e_size < sizeof(struct NTFS_DE) || in ntfs_dir_count()
Dntfs_fs.h400 struct NTFS_DE *de[20];
401 struct NTFS_DE *root_de;
561 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step);
564 struct NTFS_DE *de, struct NTFS_DE *de2,
568 struct NTFS_DE *de);
571 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de,
670 const void *param, int *diff, struct NTFS_DE **entry,
673 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
676 const struct INDEX_ROOT *root, struct NTFS_DE **entry,
679 const struct NTFS_DE *new_de, const void *param,
Dnamei.c22 struct NTFS_DE *e = buf; in fill_name_de()
54 e->size = cpu_to_le16(ALIGN(data_size, 8) + sizeof(struct NTFS_DE)); in fill_name_de()
242 struct NTFS_DE *de, *new_de; in ntfs_rename()
251 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) < in ntfs_rename()
Dinode.c1190 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode()
1382 dsize = sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE); in ntfs_create_inode()
1401 sizeof(struct NTFS_DE)); in ntfs_create_inode()
1405 e->size = cpu_to_le16(sizeof(struct NTFS_DE)); in ntfs_create_inode()
1655 struct NTFS_DE *de; in ntfs_link_inode()
1689 struct NTFS_DE *de, *de2 = NULL; in ntfs_unlink_inode()
Dfrecord.c2882 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step) in ni_remove_name()
2949 struct NTFS_DE *de, struct NTFS_DE *de2, int undo_step) in ni_remove_name_undo()
2965 sizeof(struct NTFS_DE)); in ni_remove_name_undo()
2997 struct NTFS_DE *de) in ni_add_name()
3036 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de, in ni_rename()
3040 struct NTFS_DE *de2 = NULL; in ni_rename()
Dfsntfs.c1821 struct NTFS_DE *ne; in ntfs_security_init()
1959 NULL, &diff, (struct NTFS_DE **)&sii_e, fnd_sii); in ntfs_get_security_by_id()
2087 &d_security->key.sec_id, &diff, (struct NTFS_DE **)&e, in ntfs_insert_security()
2111 (struct NTFS_DE **)&e, fnd_sdh); in ntfs_insert_security()
2390 (struct NTFS_DE **)&re, fnd); in ntfs_remove_reparse()
Dfslog.c2604 const struct NTFS_DE *e; in check_index_header()
2607 min_de = sizeof(struct NTFS_DE) + sizeof(u64); in check_index_header()
2610 min_de = sizeof(struct NTFS_DE); in check_index_header()
2626 struct NTFS_DE *next = Add2Ptr(e, esize); in check_index_header()
2885 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_root_index()
2910 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_alloc_index()
3047 struct NTFS_DE *e, *e1, *e2; in do_action()
3392 e = (struct NTFS_DE *)data; in do_action()