Searched refs:rec_length (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/s390/scsi/
H A Dzfcp_dbf.c43 u16 offset = 0, rec_length; zfcp_dbf_pl_write() local
51 rec_length = min((u16) ZFCP_DBF_PAY_MAX_REC, zfcp_dbf_pl_write()
53 memcpy(pl->data, data + offset, rec_length); zfcp_dbf_pl_write()
54 debug_event(dbf->pay, 1, pl, zfcp_dbf_plen(rec_length)); zfcp_dbf_pl_write()
56 offset += rec_length; zfcp_dbf_pl_write()
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c6370 uint32_t offset = 0, rec_length; lpfc_get_rec_conf23() local
6376 rec_length = buff[offset + 1]; lpfc_get_rec_conf23()
6380 * specified in the rec_length field of the record header. lpfc_get_rec_conf23()
6382 while ((offset + rec_length * sizeof(uint32_t) + sizeof(uint32_t)) lpfc_get_rec_conf23()
6390 offset += rec_length * sizeof(uint32_t) + sizeof(uint32_t); lpfc_get_rec_conf23()
6391 rec_length = buff[offset + 1]; lpfc_get_rec_conf23()

Completed in 90 milliseconds