Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcs_lport.c1905 u16 templen; in bfa_fcs_lport_fdmi_build_rhba_pyld() local
1931 templen = sizeof(wwn_t); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1932 memcpy(attr->value, &bfa_fcs_lport_get_nwwn(port), templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1933 curr_ptr += sizeof(attr->type) + sizeof(templen) + templen; in bfa_fcs_lport_fdmi_build_rhba_pyld()
1934 len += templen; in bfa_fcs_lport_fdmi_build_rhba_pyld()
1936 attr->len = cpu_to_be16(templen + sizeof(attr->type) + in bfa_fcs_lport_fdmi_build_rhba_pyld()
1937 sizeof(templen)); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1944 templen = (u16) strlen(fcs_hba_attr->manufacturer); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1945 memcpy(attr->value, fcs_hba_attr->manufacturer, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1946 templen = fc_roundup(templen, sizeof(u32)); in bfa_fcs_lport_fdmi_build_rhba_pyld()
[all …]
/linux-4.4.14/crypto/
Ddrbg.c393 unsigned int templen = 0; in drbg_ctr_df() local
447 while (templen < (drbg_keylen(drbg) + (drbg_blocklen(drbg)))) { in drbg_ctr_df()
455 ret = drbg_ctr_bcc(drbg, temp + templen, K, &bcc_list); in drbg_ctr_df()
460 templen += drbg_blocklen(drbg); in drbg_ctr_df()