Searched refs:fmh (Results 1 – 2 of 2) sorted by relevance
149 struct fit_msg_hdr fmh; member484 struct fit_msg_hdr *fmh; in skd_mq_queue_rq() local545 fmh = &skmsg->msg_buf->fmh; in skd_mq_queue_rq()546 memset(fmh, 0, sizeof(*fmh)); in skd_mq_queue_rq()547 fmh->protocol_id = FIT_PROTOCOL_ID_SOFIT; in skd_mq_queue_rq()548 skmsg->length = sizeof(*fmh); in skd_mq_queue_rq()550 fmh = &skmsg->msg_buf->fmh; in skd_mq_queue_rq()555 scsi_req = &skmsg->msg_buf->scsi[fmh->num_protocol_cmds_coalesced]; in skd_mq_queue_rq()578 fmh->num_protocol_cmds_coalesced++; in skd_mq_queue_rq()590 fmh->num_protocol_cmds_coalesced >= skd_max_req_per_msg) { in skd_mq_queue_rq()[all …]
1127 struct ubi_fm_hdr *fmh; in ubi_write_fastmap() local1173 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()1174 fm_pos += sizeof(*fmh); in ubi_write_fastmap()1183 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()1234 fmh->free_peb_count = cpu_to_be32(free_peb_count); in ubi_write_fastmap()1259 fmh->used_peb_count = cpu_to_be32(used_peb_count); in ubi_write_fastmap()1272 fmh->scrub_peb_count = cpu_to_be32(scrub_peb_count); in ubi_write_fastmap()1291 fmh->erase_peb_count = cpu_to_be32(erase_peb_count); in ubi_write_fastmap()1329 fmh->vol_count = cpu_to_be32(vol_count); in ubi_write_fastmap()1330 fmh->bad_peb_count = cpu_to_be32(ubi->bad_peb_count); in ubi_write_fastmap()