Searched refs:rhdr (Results 1 – 8 of 8) sorted by relevance
/fs/ntfs3/ |
D | fslog.c | 28 struct NTFS_RECORD_HEADER rhdr; // 'RSTR' member 268 struct NTFS_RECORD_HEADER rhdr; // 'RCRD' member 428 const struct RESTART_HDR *rhdr) in is_rst_page_hdr_valid() argument 430 u32 sys_page = le32_to_cpu(rhdr->sys_page_size); in is_rst_page_hdr_valid() 431 u32 page_size = le32_to_cpu(rhdr->page_size); in is_rst_page_hdr_valid() 445 if (le16_to_cpu(rhdr->major_ver) <= 1 && !rhdr->minor_ver) in is_rst_page_hdr_valid() 448 if (le16_to_cpu(rhdr->major_ver) > 2) in is_rst_page_hdr_valid() 451 ro = le16_to_cpu(rhdr->ra_off); in is_rst_page_hdr_valid() 456 end_usa += le16_to_cpu(rhdr->rhdr.fix_off); in is_rst_page_hdr_valid() 464 static inline bool is_rst_area_valid(const struct RESTART_HDR *rhdr) in is_rst_area_valid() argument [all …]
|
D | fsntfs.c | 106 bool ntfs_fix_pre_write(struct NTFS_RECORD_HEADER *rhdr, size_t bytes) in ntfs_fix_pre_write() argument 110 u16 fo = le16_to_cpu(rhdr->fix_off); in ntfs_fix_pre_write() 111 u16 fn = le16_to_cpu(rhdr->fix_num); in ntfs_fix_pre_write() 119 fixup = Add2Ptr(rhdr, fo); in ntfs_fix_pre_write() 128 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_pre_write() 143 int ntfs_fix_post_read(struct NTFS_RECORD_HEADER *rhdr, size_t bytes, in ntfs_fix_post_read() argument 150 fo = le16_to_cpu(rhdr->fix_off); in ntfs_fix_post_read() 152 : le16_to_cpu(rhdr->fix_num); in ntfs_fix_post_read() 161 fixup = Add2Ptr(rhdr, fo); in ntfs_fix_post_read() 163 ptr = Add2Ptr(rhdr, SECTOR_SIZE - sizeof(short)); in ntfs_fix_post_read() [all …]
|
D | record.c | 133 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read() 162 err = ntfs_read_bh(sbi, run, vbo, &rec->rhdr, bpr, &mi->nb); in mi_read() 342 err = ntfs_write_bh(sbi, &rec->rhdr, &mi->nb, wait); in mi_write() 376 } else if (rec->rhdr.sign == NTFS_FILE_SIGNATURE) { in mi_format_new()
|
D | index.c | 636 const struct NTFS_RECORD_HEADER *rhdr = &ib->rhdr; in index_buf_check() local 637 u16 fo = le16_to_cpu(rhdr->fix_off); in index_buf_check() 638 u16 fn = le16_to_cpu(rhdr->fix_num); in index_buf_check() 641 rhdr->sign != NTFS_INDX_SIGNATURE || in index_buf_check() 965 index->rhdr.sign = NTFS_INDX_SIGNATURE; in indx_new() 966 index->rhdr.fix_off = cpu_to_le16(sizeof(struct INDEX_BUFFER)); // 0x28 in indx_new() 968 index->rhdr.fix_num = cpu_to_le16(fn); in indx_new() 1027 return ntfs_write_bh(ni->mi.sbi, &ib->rhdr, &node->nb, sync); in indx_write() 1067 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read() 1087 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb); in indx_read() [all …]
|
D | ntfs.h | 275 struct NTFS_RECORD_HEADER rhdr; // 'FILE' member 307 return le16_to_cpu(rec->rhdr.fix_off) >= in is_mft_rec5() 751 struct NTFS_RECORD_HEADER rhdr; // 'INDX' member
|
D | ntfs_fs.h | 585 bool ntfs_fix_pre_write(struct NTFS_RECORD_HEADER *rhdr, size_t bytes); 586 int ntfs_fix_post_read(struct NTFS_RECORD_HEADER *rhdr, size_t bytes, 617 struct NTFS_RECORD_HEADER *rhdr, u32 bytes, 621 int ntfs_write_bh(struct ntfs_sb_info *sbi, struct NTFS_RECORD_HEADER *rhdr,
|
D | super.c | 844 rec->rhdr.sign = NTFS_FILE_SIGNATURE; in ntfs_init_from_boot() 845 rec->rhdr.fix_off = cpu_to_le16(MFTRECORD_FIXUP_OFFSET_1); in ntfs_init_from_boot() 847 rec->rhdr.fix_num = cpu_to_le16(fn); in ntfs_init_from_boot()
|
/fs/nfs/ |
D | read.c | 47 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free() argument 49 kmem_cache_free(nfs_rdata_cachep, rhdr); in nfs_readhdr_free()
|