Home
last modified time | relevance | path

Searched refs:bnum (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c369 int bnum = PRESTERA_SDMA_RX_DESC_PER_Q; in prestera_sdma_rx_init() local
382 ring->bufs = kmalloc_objs(*head, bnum); in prestera_sdma_rx_init()
388 tail = &ring->bufs[bnum - 1]; in prestera_sdma_rx_init()
493 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_recycle_work_fn() local
502 for (b = 0; b < bnum; b++) { in prestera_sdma_tx_recycle_work_fn()
526 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_init() local
532 tx_ring->bufs = kmalloc_objs(*head, bnum); in prestera_sdma_tx_init()
536 tail = &tx_ring->bufs[bnum - 1]; in prestera_sdma_tx_init()
576 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_fini() local
584 for (b = 0; b < bnum; b++) { in prestera_sdma_tx_fini()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c211 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tx() argument
235 *bnum = buf_num; in hns_nic_maybe_stop_tx()
240 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tso() argument
275 *bnum = buf_num; in hns_nic_maybe_stop_tso()
279 static int hns_nic_maybe_stop_tx_v2(struct sk_buff **out_skb, int *bnum, in hns_nic_maybe_stop_tx_v2() argument
283 return hns_nic_maybe_stop_tso(out_skb, bnum, ring); in hns_nic_maybe_stop_tx_v2()
285 return hns_nic_maybe_stop_tx(out_skb, bnum, ring); in hns_nic_maybe_stop_tx_v2()
572 int bnum, length, i; in hns_nic_poll_rx_skb() local
596 priv->ops.get_rxd_bnum(bnum_flag, &bnum); in hns_nic_poll_rx_skb()
597 *out_bnum = bnum; in hns_nic_poll_rx_skb()
[all …]
H A Dhns_enet.h50 int *bnum, struct hnae_ring *ring);
/linux/fs/ubifs/
H A Dmisc.h201 int bnum) in ubifs_idx_branch() argument
204 (UBIFS_BRANCH_SZ + c->key_len + c->hash_len) * bnum); in ubifs_idx_branch()
/linux/fs/gfs2/
H A Dquota.c735 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local
750 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page()
752 bnum++; in gfs2_write_buf_to_page()
762 folio_zero_range(folio, bnum * bsize, in gfs2_write_buf_to_page()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h1003 u8 bnum; member