Searched refs:NTFS_DE (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/ntfs3/ |
| H A D | ntfs.h | 611 struct NTFS_DE { struct 637 static_assert(sizeof(struct NTFS_DE) == 0x10); argument 639 static inline void de_set_vbn_le(struct NTFS_DE *e, __le64 vcn) in de_set_vbn_le() 646 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn() 653 static inline __le64 de_get_vbn_le(const struct NTFS_DE *e) in de_get_vbn_le() 658 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn() 665 static inline struct NTFS_DE *de_get_next(const struct NTFS_DE *e) in de_get_next() 670 static inline struct ATTR_FILE_NAME *de_get_fname(const struct NTFS_DE *e) in de_get_fname() 673 Add2Ptr(e, sizeof(struct NTFS_DE)) : in de_get_fname() 677 static inline bool de_is_last(const struct NTFS_DE *e) in de_is_last() [all …]
|
| H A D | index.c | 557 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() 619 size_add(off, sizeof(struct NTFS_DE)) > end) { in index_hdr_check() 672 struct NTFS_DE *e) in fnd_push() 715 static struct NTFS_DE *hdr_find_e(const struct ntfs_index *indx, in hdr_find_e() 719 struct NTFS_DE *e, *found = NULL; in hdr_find_e() 737 if (size_add(off, sizeof(struct NTFS_DE)) > end) in hdr_find_e() [all …]
|
| H A D | dir.c | 241 struct NTFS_DE *e; in dir_search_u() 280 struct ntfs_inode *ni, const struct NTFS_DE *e, in ntfs_dir_emit() 288 fname = Add2Ptr(e, sizeof(struct NTFS_DE)); in ntfs_dir_emit() 308 if (fname->name_len + sizeof(struct NTFS_DE) > le16_to_cpu(e->size)) in ntfs_dir_emit() 358 const struct NTFS_DE *e; in ntfs_read_hdr() 364 if (off + sizeof(struct NTFS_DE) > end) in ntfs_read_hdr() 369 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) in ntfs_read_hdr() 572 struct NTFS_DE *e = NULL; in ntfs_dir_count() 594 for (; off + sizeof(struct NTFS_DE) <= end; off += e_size) { in ntfs_dir_count() 597 if (e_size < sizeof(struct NTFS_DE) || in ntfs_dir_count()
|
| H A D | ntfs_fs.h | 436 struct NTFS_DE *de[20]; 437 struct NTFS_DE *root_de; 606 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step); 609 struct NTFS_DE *de, struct NTFS_DE *de2, 613 struct NTFS_DE *de); 616 struct ntfs_inode *ni, struct NTFS_DE *de, 617 struct NTFS_DE *new_de); 756 const void *param, int *diff, struct NTFS_DE **entry, 759 const struct INDEX_ROOT *root, struct NTFS_DE **entry, 762 const struct INDEX_ROOT *root, struct NTFS_DE **entry, [all …]
|
| H A D | namei.c | 24 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() 258 struct NTFS_DE *de, *new_de; in ntfs_rename() 267 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) < in ntfs_rename()
|
| H A D | frecord.c | 2610 struct NTFS_DE *de, struct NTFS_DE **de2, int *undo_step) in ni_remove_name() 2677 struct NTFS_DE *de, struct NTFS_DE *de2, int undo_step) in ni_remove_name_undo() 2693 sizeof(struct NTFS_DE)); in ni_remove_name_undo() 2722 struct NTFS_DE *de) in ni_add_name() 2775 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de) in ni_rename() 2778 struct NTFS_DE *de2 = NULL; in ni_rename()
|
| H A D | inode.c | 1260 struct NTFS_DE *e, *new_de = NULL; in ntfs_create_inode() 1476 dsize = sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE); in ntfs_create_inode() 1494 sizeof(struct NTFS_DE)); in ntfs_create_inode() 1498 e->size = cpu_to_le16(sizeof(struct NTFS_DE)); in ntfs_create_inode() 1779 struct NTFS_DE *de; in ntfs_link_inode() 1813 struct NTFS_DE *de, *de2 = NULL; in ntfs_unlink_inode()
|
| H A D | fsntfs.c | 1872 struct NTFS_DE *ne; in ntfs_security_init() 2014 NULL, &diff, (struct NTFS_DE **)&sii_e, fnd_sii); in ntfs_get_security_by_id() 2142 &d_security->key.sec_id, &diff, (struct NTFS_DE **)&e, in ntfs_insert_security() 2166 (struct NTFS_DE **)&e, fnd_sdh); in ntfs_insert_security() 2445 (struct NTFS_DE **)&re, fnd); in ntfs_remove_reparse()
|
| H A D | fslog.c | 2604 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() 2889 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_root_index() 2914 const struct NTFS_DE *e = Add2Ptr(hdr, de_off); in check_if_alloc_index() 3071 struct NTFS_DE *e, *e1, *e2; in do_action() 3393 e = (struct NTFS_DE *)data; in do_action()
|