Searched refs:total_sz (Results 1 – 2 of 2) sorted by relevance
7723 stmf_scsilib_tptid_validate(scsi_transport_id_t *tptid, uint32_t total_sz, in stmf_scsilib_tptid_validate() argument7730 if (total_sz < sizeof (scsi_transport_id_t)) in stmf_scsilib_tptid_validate()7737 if (total_sz < tpd_len || tptid->format_code != 0) in stmf_scsilib_tptid_validate()7747 if ((total_sz < tpd_len) || in stmf_scsilib_tptid_validate()7776 if (total_sz < tpd_len || tptid->format_code != 0) in stmf_scsilib_tptid_validate()7791 if (total_sz < tpd_len) in stmf_scsilib_tptid_validate()7795 if (total_sz < tpd_len) in stmf_scsilib_tptid_validate()
2944 int total_sz; in ecore_mcast_enqueue_cmd() local2955 total_sz = sizeof(*new_cmd) + in ecore_mcast_enqueue_cmd()2959 new_cmd = ECORE_ZALLOC(total_sz, GFP_ATOMIC, pdev); in ecore_mcast_enqueue_cmd()2972 new_cmd->alloc_len = total_sz; in ecore_mcast_enqueue_cmd()3002 ECORE_FREE(pdev, new_cmd, total_sz); in ecore_mcast_enqueue_cmd()