Searched refs:physz (Results 1 – 1 of 1) sorted by relevance
2488 int err, offset, physz; in ses_get_elm_addlstatus_sas_type0() local2514 physz = addl->proto_hdr.sas->base_hdr.num_phys; in ses_get_elm_addlstatus_sas_type0()2515 physz *= sizeof(struct ses_elm_sas_device_phy); in ses_get_elm_addlstatus_sas_type0()2516 if (physz > (bufsiz - offset + 4)) { in ses_get_elm_addlstatus_sas_type0()2547 int err, offset, physz; in ses_get_elm_addlstatus_sas_type1() local2569 physz = addl->proto_hdr.sas->base_hdr.num_phys * in ses_get_elm_addlstatus_sas_type1()2571 if (physz > (bufsiz - offset)) { in ses_get_elm_addlstatus_sas_type1()2581 physz = addl->proto_hdr.sas->base_hdr.num_phys * in ses_get_elm_addlstatus_sas_type1()2583 if (physz > (bufsiz - offset + 4)) { in ses_get_elm_addlstatus_sas_type1()