Searched refs:ihdr (Results 1 – 6 of 6) sorted by relevance
/fs/ntfs3/ |
D | index.c | 640 if (bytes <= offsetof(struct INDEX_BUFFER, ihdr) || in index_buf_check() 651 return index_hdr_check(&ib->ihdr, in index_buf_check() 652 bytes - offsetof(struct INDEX_BUFFER, ihdr)); in index_buf_check() 882 if (t32 <= offsetof(struct INDEX_ROOT, ihdr) || in indx_init() 883 !index_hdr_check(&root->ihdr, in indx_init() 884 t32 - offsetof(struct INDEX_ROOT, ihdr))) { in indx_init() 970 hdr = &index->ihdr; in indx_new() 989 hdr->total = cpu_to_le32(bytes - offsetof(struct INDEX_BUFFER, ihdr)); in indx_new() 1100 if (offsetof(struct INDEX_BUFFER, ihdr) + le32_to_cpu(ib->ihdr.used) > in indx_read() 1160 e = hdr_find_e(indx, &root->ihdr, key, key_len, ctx, diff); in indx_find() [all …]
|
D | dir.c | 448 err = ntfs_read_hdr(sbi, ni, &root->ihdr, 0, pos, name, ctx); in ntfs_readdir() 487 err = ntfs_read_hdr(sbi, ni, &node->index->ihdr, in ntfs_readdir() 529 hdr = &root->ihdr; in ntfs_dir_count() 582 hdr = &node->index->ihdr; in ntfs_dir_count()
|
D | ntfs.h | 753 struct INDEX_HDR ihdr; // 0x18: member 760 const struct NTFS_DE *first = hdr_first_de(&ib->ihdr); in ib_is_empty() 767 return !(ib->ihdr.flags & 1); in ib_is_leaf() 794 struct INDEX_HDR ihdr; // 0x10: member 798 static_assert(offsetof(struct INDEX_ROOT, ihdr) == 0x10);
|
D | fslog.c | 2640 return check_index_header(&ib->ihdr, in check_index_buffer() 2641 bytes - offsetof(struct INDEX_BUFFER, ihdr)); in check_index_buffer() 2666 ret = check_index_header(&root->ihdr, in check_index_root() 2668 offsetof(struct INDEX_ROOT, ihdr)); in check_index_root() 2894 u32 o = offsetof(struct INDEX_BUFFER, ihdr) + de_off; in check_if_alloc_index() 3380 hdr = &root->ihdr; in do_action() 3407 hdr = &root->ihdr; in do_action() 3432 hdr = &root->ihdr; in do_action() 3447 hdr = &root->ihdr; in do_action() 3462 hdr = &root->ihdr; in do_action() [all …]
|
D | inode.c | 1423 memcpy(root, dir_root, offsetof(struct INDEX_ROOT, ihdr)); in ntfs_create_inode() 1424 root->ihdr.de_off = in ntfs_create_inode() 1426 root->ihdr.used = cpu_to_le32(sizeof(struct INDEX_HDR) + in ntfs_create_inode() 1428 root->ihdr.total = root->ihdr.used; in ntfs_create_inode()
|
D | fsntfs.c | 1872 offsetof(struct INDEX_ROOT, ihdr) + in ntfs_security_init() 1873 le32_to_cpu(root_sdh->ihdr.used) > in ntfs_security_init() 1893 offsetof(struct INDEX_ROOT, ihdr) + in ntfs_security_init() 1894 le32_to_cpu(root_sii->ihdr.used) > in ntfs_security_init()
|