Lines Matching refs:sge

2247 	int eth_entries = DIV_ROUND_UP(adap->sge.ethqsets, 4);  in sge_qinfo_show()
2248 int iscsi_entries = DIV_ROUND_UP(adap->sge.ofldqsets, 4); in sge_qinfo_show()
2249 int rdma_entries = DIV_ROUND_UP(adap->sge.rdmaqs, 4); in sge_qinfo_show()
2250 int ciq_entries = DIV_ROUND_UP(adap->sge.rdmaciqs, 4); in sge_qinfo_show()
2279 const struct sge_eth_rxq *rx = &adap->sge.ethrxq[base_qset]; in sge_qinfo_show()
2280 const struct sge_eth_txq *tx = &adap->sge.ethtxq[base_qset]; in sge_qinfo_show()
2281 int n = min(4, adap->sge.ethqsets - 4 * r); in sge_qinfo_show()
2307 adap->sge.counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2332 &adap->sge.ofldrxq[iscsi_idx * 4]; in sge_qinfo_show()
2334 &adap->sge.ofldtxq[iscsi_idx * 4]; in sge_qinfo_show()
2335 int n = min(4, adap->sge.ofldqsets - 4 * iscsi_idx); in sge_qinfo_show()
2350 adap->sge.counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2366 &adap->sge.rdmarxq[rdma_idx * 4]; in sge_qinfo_show()
2367 int n = min(4, adap->sge.rdmaqs - 4 * rdma_idx); in sge_qinfo_show()
2379 adap->sge.counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2394 const struct sge_ofld_rxq *rx = &adap->sge.rdmaciq[ciq_idx * 4]; in sge_qinfo_show()
2395 int n = min(4, adap->sge.rdmaciqs - 4 * ciq_idx); in sge_qinfo_show()
2407 adap->sge.counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2412 const struct sge_ctrl_txq *tx = &adap->sge.ctrlq[ctrl_idx * 4]; in sge_qinfo_show()
2424 const struct sge_rspq *evtq = &adap->sge.fw_evtq; in sge_qinfo_show()
2435 adap->sge.counter_val[evtq->pktcnt_idx]); in sge_qinfo_show()
2450 return DIV_ROUND_UP(adap->sge.ethqsets, 4) + in sge_queue_entries()
2451 DIV_ROUND_UP(adap->sge.ofldqsets, 4) + in sge_queue_entries()
2452 DIV_ROUND_UP(adap->sge.rdmaqs, 4) + in sge_queue_entries()
2453 DIV_ROUND_UP(adap->sge.rdmaciqs, 4) + in sge_queue_entries()
2649 ssize_t size = (adap->sge.egr_sz + 3) / 4 + in blocked_fl_read()
2650 adap->sge.egr_sz / 32 + 2; /* includes ,/\n/\0 */ in blocked_fl_read()
2657 adap->sge.egr_sz, adap->sge.blocked_fl); in blocked_fl_read()
2671 t = kcalloc(BITS_TO_LONGS(adap->sge.egr_sz), sizeof(long), GFP_KERNEL); in blocked_fl_write()
2675 err = bitmap_parse_user(ubuf, count, t, adap->sge.egr_sz); in blocked_fl_write()
2679 bitmap_copy(adap->sge.blocked_fl, t, adap->sge.egr_sz); in blocked_fl_write()