Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/ubi/
Dfastmap.c1086 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local
1128 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1129 fm_pos += sizeof(*fmh); in ubi_write_fastmap()
1138 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()
1178 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()
1203 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()
1216 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()
1235 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()
1269 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()
1270 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()
/linux-4.1.27/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 …]