Searched refs:INDEX_BUFFER (Results 1 – 4 of 4) sorted by relevance
/fs/ntfs3/ |
D | index.c | 634 static bool index_buf_check(const struct INDEX_BUFFER *ib, u32 bytes, in index_buf_check() 641 if (bytes <= offsetof(struct INDEX_BUFFER, ihdr) || in index_buf_check() 643 fo < sizeof(struct INDEX_BUFFER) in index_buf_check() 653 bytes - offsetof(struct INDEX_BUFFER, ihdr)); in index_buf_check() 939 struct INDEX_BUFFER *index; in indx_new() 965 index->rhdr.fix_off = cpu_to_le16(sizeof(struct INDEX_BUFFER)); // 0x28 in indx_new() 970 eo = ALIGN(sizeof(struct INDEX_BUFFER) + fn * sizeof(short), 8); in indx_new() 988 hdr->total = cpu_to_le32(bytes - offsetof(struct INDEX_BUFFER, ihdr)); in indx_new() 1025 struct INDEX_BUFFER *ib = node->index; in indx_write() 1041 struct INDEX_BUFFER *ib; in indx_read() [all …]
|
D | ntfs.h | 755 struct INDEX_BUFFER { struct 761 static_assert(sizeof(struct INDEX_BUFFER) == 0x28); argument 763 static inline bool ib_is_empty(const struct INDEX_BUFFER *ib) in ib_is_empty() 770 static inline bool ib_is_leaf(const struct INDEX_BUFFER *ib) in ib_is_leaf()
|
D | fslog.c | 2625 static inline bool check_index_buffer(const struct INDEX_BUFFER *ib, u32 bytes) in check_index_buffer() 2642 bytes - offsetof(struct INDEX_BUFFER, ihdr)); in check_index_buffer() 2896 u32 o = offsetof(struct INDEX_BUFFER, ihdr) + de_off; in check_if_alloc_index() 3029 struct INDEX_BUFFER *ib = NULL; in do_action() 3569 aoff + dlen > offsetof(struct INDEX_BUFFER, ihdr) + in do_action()
|
D | ntfs_fs.h | 406 struct INDEX_BUFFER *index;
|