Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/
Dskd_main.c152 struct fit_msg_hdr fmh; member
485 struct fit_msg_hdr *fmh; in skd_mq_queue_rq() local
541 fmh = &skmsg->msg_buf->fmh; in skd_mq_queue_rq()
542 memset(fmh, 0, sizeof(*fmh)); in skd_mq_queue_rq()
543 fmh->protocol_id = FIT_PROTOCOL_ID_SOFIT; in skd_mq_queue_rq()
544 skmsg->length = sizeof(*fmh); in skd_mq_queue_rq()
546 fmh = &skmsg->msg_buf->fmh; in skd_mq_queue_rq()
551 scsi_req = &skmsg->msg_buf->scsi[fmh->num_protocol_cmds_coalesced]; in skd_mq_queue_rq()
574 fmh->num_protocol_cmds_coalesced++; in skd_mq_queue_rq()
586 fmh->num_protocol_cmds_coalesced >= skd_max_req_per_msg) { in skd_mq_queue_rq()
[all …]
/Linux-v4.19/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()