Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/bfa/
Dbfa_fcs_lport.c1917 u16 templen; in bfa_fcs_lport_fdmi_build_rhba_pyld() local
1943 templen = sizeof(wwn_t); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1944 memcpy(attr->value, &bfa_fcs_lport_get_nwwn(port), templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1945 curr_ptr += sizeof(attr->type) + sizeof(templen) + templen; in bfa_fcs_lport_fdmi_build_rhba_pyld()
1946 len += templen; in bfa_fcs_lport_fdmi_build_rhba_pyld()
1948 attr->len = cpu_to_be16(templen + sizeof(attr->type) + in bfa_fcs_lport_fdmi_build_rhba_pyld()
1949 sizeof(templen)); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1956 templen = (u16) strlen(fcs_hba_attr->manufacturer); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1957 memcpy(attr->value, fcs_hba_attr->manufacturer, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1958 templen = fc_roundup(templen, sizeof(u32)); in bfa_fcs_lport_fdmi_build_rhba_pyld()
[all …]
/Linux-v4.19/crypto/
Ddrbg.c358 unsigned int templen = 0; in drbg_ctr_df() local
412 while (templen < (drbg_keylen(drbg) + (drbg_blocklen(drbg)))) { in drbg_ctr_df()
420 ret = drbg_ctr_bcc(drbg, temp + templen, K, &bcc_list); in drbg_ctr_df()
425 templen += drbg_blocklen(drbg); in drbg_ctr_df()