Home
last modified time | relevance | path

Searched refs:ofi_div_ceil (Results 1 – 7 of 7) sorted by relevance

/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/efa/src/rxr/
H A Drxr_pkt_type_misc.c145 if (num_peers && ofi_div_ceil(rxr_env.rx_window_size, num_peers) < peer->rx_credits) in rxr_pkt_calc_cts_window_credits()
146 peer->rx_credits = ofi_div_ceil(peer->rx_credits, num_peers); in rxr_pkt_calc_cts_window_credits()
160 if (peer->rx_credits > ofi_div_ceil(*window, ep->max_data_payload_size)) in rxr_pkt_calc_cts_window_credits()
161 peer->rx_credits -= ofi_div_ceil(*window, ep->max_data_payload_size); in rxr_pkt_calc_cts_window_credits()
232 tx_entry->credit_allocated = ofi_div_ceil(cts_pkt->window, ep->max_data_payload_size); in rxr_pkt_handle_cts_recv()
H A Drxr_pkt_type_data.c258 peer->rx_credits += ofi_div_ceil(seg_size, ep->max_data_payload_size); in rxr_pkt_proc_data()
H A Drxr_ep.c532 tx_entry->credit_request = MIN(ofi_div_ceil(peer->tx_credits, pending), in rxr_ep_set_tx_credit_request()
533 ofi_div_ceil(tx_entry->total_len, in rxr_ep_set_tx_credit_request()
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/rxd/src/
H A Drxd_rma.c56 tx_entry->num_segs = ofi_div_ceil(tx_entry->cq_entry.len, in rxd_tx_entry_init_rma()
67 tx_entry->num_segs = ofi_div_ceil(tx_entry->cq_entry.len - in rxd_tx_entry_init_rma()
H A Drxd_msg.c326 tx_entry->num_segs = ofi_div_ceil(tx_entry->cq_entry.len - max_inline, in rxd_tx_entry_init_msg()
H A Drxd_cq.c585 rx_entry->num_segs = ofi_div_ceil(sar_hdr->size, rxd_domain->max_seg_sz); in rxd_rma_read_entry_init()
/dports/net/mpich/mpich-3.4.3/modules/libfabric/include/
H A Dofi.h113 #define ofi_div_ceil(a, b) ((a + b - 1) / b) macro