Home
last modified time | relevance | path

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

/linux-6.12.1/fs/erofs/
Derofs_fs.h447 const __le64 fmh = *(__le64 *)&(struct z_erofs_map_header) { in erofs_check_ondisk_layout_definitions()
467 BUILD_BUG_ON(__builtin_constant_p(fmh) ? in erofs_check_ondisk_layout_definitions()
468 fmh != cpu_to_le64(1ULL << 63) : 0); in erofs_check_ondisk_layout_definitions()
/linux-6.12.1/drivers/mtd/ubi/
Dfastmap.c1136 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local
1182 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()