Searched refs:total_sz (Results 1 – 2 of 2) sorted by relevance
7725 stmf_scsilib_tptid_validate(scsi_transport_id_t *tptid, uint32_t total_sz, in stmf_scsilib_tptid_validate() argument7732 if (total_sz < sizeof (scsi_transport_id_t)) in stmf_scsilib_tptid_validate()7739 if (total_sz < tpd_len || tptid->format_code != 0) in stmf_scsilib_tptid_validate()7749 if ((total_sz < tpd_len) || in stmf_scsilib_tptid_validate()7778 if (total_sz < tpd_len || tptid->format_code != 0) in stmf_scsilib_tptid_validate()7793 if (total_sz < tpd_len) in stmf_scsilib_tptid_validate()7797 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()