Home
last modified time | relevance | path

Searched refs:INDEX_BUFFER (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ntfs3/
H A Dindex.c634 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 …]
H A Dntfs.h755 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()