Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcs_lport.c1909 u16 templen; in bfa_fcs_lport_fdmi_build_rhba_pyld() local
1935 templen = sizeof(wwn_t); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1936 memcpy(attr->value, &bfa_fcs_lport_get_nwwn(port), templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1937 curr_ptr += sizeof(attr->type) + sizeof(templen) + templen; in bfa_fcs_lport_fdmi_build_rhba_pyld()
1938 len += templen; in bfa_fcs_lport_fdmi_build_rhba_pyld()
1940 attr->len = cpu_to_be16(templen + sizeof(attr->type) + in bfa_fcs_lport_fdmi_build_rhba_pyld()
1941 sizeof(templen)); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1948 templen = (u16) strlen(fcs_hba_attr->manufacturer); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1949 memcpy(attr->value, fcs_hba_attr->manufacturer, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1950 templen = fc_roundup(templen, sizeof(u32)); in bfa_fcs_lport_fdmi_build_rhba_pyld()
[all …]
/kernel/linux/linux-5.10/crypto/
Ddrbg.c409 unsigned int templen = 0; in drbg_ctr_df() local
463 while (templen < (drbg_keylen(drbg) + (drbg_blocklen(drbg)))) { in drbg_ctr_df()
471 ret = drbg_ctr_bcc(drbg, temp + templen, K, &bcc_list); in drbg_ctr_df()
476 templen += drbg_blocklen(drbg); in drbg_ctr_df()