Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/ubi/
Dfastmap.c1093 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local
1135 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1136 fm_pos += sizeof(*fmh); in ubi_write_fastmap()
1145 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()
1185 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()
1210 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()
1223 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()
1242 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()
1276 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()
1277 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
/linux-4.4.14/drivers/block/
Dskd_main.c574 struct fit_msg_hdr *fmh = NULL; in skd_request_fn() local
704 fmh = (struct fit_msg_hdr *)skmsg->msg_buf; in skd_request_fn()
705 memset(fmh, 0, sizeof(*fmh)); in skd_request_fn()
706 fmh->protocol_id = FIT_PROTOCOL_ID_SOFIT; in skd_request_fn()
707 skmsg->length = sizeof(*fmh); in skd_request_fn()
791 fmh->num_protocol_cmds_coalesced++; in skd_request_fn()
809 fmh->num_protocol_cmds_coalesced >= skd_max_req_per_msg) { in skd_request_fn()
812 fmh = NULL; in skd_request_fn()
840 fmh = NULL; in skd_request_fn()
1701 struct fit_msg_hdr *fmh = (struct fit_msg_hdr *)skspcl->msg_buf; in skd_sg_io_send_fitmsg() local
[all …]