Searched refs:fmh (Results 1 – 3 of 3) sorted by relevance
435 const __le64 fmh = *(__le64 *)&(struct z_erofs_map_header) { in erofs_check_ondisk_layout_definitions()457 BUILD_BUG_ON(__builtin_constant_p(fmh) ? in erofs_check_ondisk_layout_definitions()458 fmh != cpu_to_le64(1ULL << 63) : 0); in erofs_check_ondisk_layout_definitions()
1107 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local1149 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()1150 fm_pos += sizeof(*fmh); in ubi_write_fastmap()1159 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()1199 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()1224 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()1237 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()1256 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()1290 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()1291 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
1136 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local1182 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()1183 fm_pos += sizeof(*fmh); in ubi_write_fastmap()1192 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()1232 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()1257 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()1270 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()1289 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()1327 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()1328 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()