Searched refs:sge_bytes (Results 1 – 2 of 2) sorted by relevance
380 int sge_bytes = min(sge->length - offset, size); in siw_0copy_tx() local385 rv = siw_tcp_sendpages(s, &page[i], offset, sge_bytes); in siw_0copy_tx()388 if (size == sent || sge_bytes > rv) in siw_0copy_tx()391 i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT; in siw_0copy_tx()393 sge_bytes = min(sge->length, size - sent); in siw_0copy_tx()
1352 int sge_bytes; in megasas_get_frame_count() local1386 sge_bytes = sge_sz * num_cnt; in megasas_get_frame_count()1388 frame_count = (sge_bytes / MEGAMFI_FRAME_SIZE) + in megasas_get_frame_count()1389 ((sge_bytes % MEGAMFI_FRAME_SIZE) ? 1 : 0) ; in megasas_get_frame_count()