Home
last modified time | relevance | path

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

/linux-6.1.9/fs/erofs/
Derofs_fs.h426 const __le64 fmh = *(__le64 *)&(struct z_erofs_map_header) { in erofs_check_ondisk_layout_definitions()
448 BUILD_BUG_ON(__builtin_constant_p(fmh) ? in erofs_check_ondisk_layout_definitions()
449 fmh != cpu_to_le64(1ULL << 63) : 0); in erofs_check_ondisk_layout_definitions()
/linux-6.1.9/drivers/mtd/ubi/
Dfastmap.c1135 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local
1181 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1182 fm_pos += sizeof(*fmh); in ubi_write_fastmap()
1191 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()
1231 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()
1256 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()
1269 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()
1288 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()
1326 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()
1327 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()