Lines Matching refs:bm_entry
480 struct incfs_blockmap_entry bm_entry = {}; in incfs_write_data_block_to_backing_file() local
506 bm_entry.me_data_offset_lo = cpu_to_le32((u32)data_offset); in incfs_write_data_block_to_backing_file()
507 bm_entry.me_data_offset_hi = cpu_to_le16((u16)(data_offset >> 32)); in incfs_write_data_block_to_backing_file()
508 bm_entry.me_data_size = cpu_to_le16((u16)block.len); in incfs_write_data_block_to_backing_file()
509 bm_entry.me_flags = cpu_to_le16(flags); in incfs_write_data_block_to_backing_file()
511 return write_to_bf(bfc, &bm_entry, sizeof(bm_entry), in incfs_write_data_block_to_backing_file()
522 struct incfs_blockmap_entry bm_entry = {}; in incfs_write_hash_block_to_backing_file() local
547 bm_entry.me_data_offset_lo = cpu_to_le32((u32)data_offset); in incfs_write_hash_block_to_backing_file()
548 bm_entry.me_data_offset_hi = cpu_to_le16((u16)(data_offset >> 32)); in incfs_write_hash_block_to_backing_file()
549 bm_entry.me_data_size = cpu_to_le16(INCFS_DATA_FILE_BLOCK_SIZE); in incfs_write_hash_block_to_backing_file()
551 return write_to_bf(bfc, &bm_entry, sizeof(bm_entry), bm_entry_off); in incfs_write_hash_block_to_backing_file()
556 struct incfs_blockmap_entry *bm_entry) in incfs_read_blockmap_entry() argument
558 int error = incfs_read_blockmap_entries(bfc, bm_entry, block_index, 1, in incfs_read_blockmap_entry()