Lines Matching refs:scpdata_len
667 size_t scpdata_len = count; in reipl_fcp_scpdata_write() local
675 if (scpdata_len % 8) { in reipl_fcp_scpdata_write()
676 padding = 8 - (scpdata_len % 8); in reipl_fcp_scpdata_write()
677 memset(reipl_block_fcp->fcp.scp_data + scpdata_len, in reipl_fcp_scpdata_write()
679 scpdata_len += padding; in reipl_fcp_scpdata_write()
682 reipl_block_fcp->hdr.len = IPL_BP_FCP_LEN + scpdata_len; in reipl_fcp_scpdata_write()
683 reipl_block_fcp->fcp.len = IPL_BP0_FCP_LEN + scpdata_len; in reipl_fcp_scpdata_write()
684 reipl_block_fcp->fcp.scp_data_len = scpdata_len; in reipl_fcp_scpdata_write()
821 size_t scpdata_len = count; in reipl_nvme_scpdata_write() local
828 if (scpdata_len % 8) { in reipl_nvme_scpdata_write()
829 padding = 8 - (scpdata_len % 8); in reipl_nvme_scpdata_write()
830 memset(reipl_block_nvme->nvme.scp_data + scpdata_len, in reipl_nvme_scpdata_write()
832 scpdata_len += padding; in reipl_nvme_scpdata_write()
835 reipl_block_nvme->hdr.len = IPL_BP_FCP_LEN + scpdata_len; in reipl_nvme_scpdata_write()
836 reipl_block_nvme->nvme.len = IPL_BP0_FCP_LEN + scpdata_len; in reipl_nvme_scpdata_write()
837 reipl_block_nvme->nvme.scp_data_len = scpdata_len; in reipl_nvme_scpdata_write()