Home
last modified time | relevance | path

Searched refs:sge_bytes (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c458 u32 sge_bytes; /* data bytes avail for SGE */ in siw_proc_send() local
469 sge_bytes = min(data_bytes, sge->length - frx->sge_off); in siw_proc_send()
478 frx->sge_off, sge_bytes); in siw_proc_send()
491 sge_bytes); in siw_proc_send()
494 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
497 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
499 if (unlikely(rv != sge_bytes)) { in siw_proc_send()
Dsiw_qp_tx.c379 int sge_bytes = min(sge->length - offset, size); in siw_0copy_tx() local
384 rv = siw_tcp_sendpages(s, &page[i], offset, sge_bytes); in siw_0copy_tx()
387 if (size == sent || sge_bytes > rv) in siw_0copy_tx()
390 i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT; in siw_0copy_tx()
392 sge_bytes = min(sge->length, size - sent); in siw_0copy_tx()
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1353 int sge_bytes; in megasas_get_frame_count() local
1387 sge_bytes = sge_sz * num_cnt; in megasas_get_frame_count()
1389 frame_count = (sge_bytes / MEGAMFI_FRAME_SIZE) + in megasas_get_frame_count()
1390 ((sge_bytes % MEGAMFI_FRAME_SIZE) ? 1 : 0) ; in megasas_get_frame_count()