Home
last modified time | relevance | path

Searched refs:bfsize (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dcallchain.c1140 char *bf, size_t bfsize, bool show_dso) in callchain_list__sym_name() argument
1150 printed = scnprintf(bf, bfsize, "%s %s%s", in callchain_list__sym_name()
1154 printed = scnprintf(bf, bfsize, "%s%s", in callchain_list__sym_name()
1157 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); in callchain_list__sym_name()
1160 scnprintf(bf + printed, bfsize - printed, " %s", in callchain_list__sym_name()
1169 char *bf, size_t bfsize, u64 total) in callchain_node__scnprintf_value() argument
1182 scnprintf(bf, bfsize, "%"PRIu64, period); in callchain_node__scnprintf_value()
1185 scnprintf(bf, bfsize, "%u", count); in callchain_node__scnprintf_value()
1191 scnprintf(bf, bfsize, "%.2f%%", percent); in callchain_node__scnprintf_value()
1294 static int count_pri64_printf(int idx, const char *str, u64 value, char *bf, int bfsize) in count_pri64_printf() argument
[all …]
Dcallchain.h284 char *bf, size_t bfsize, bool show_dso);
286 char *bf, size_t bfsize, u64 total);
291 FILE *fp, char *bf, int bfsize);
Dbranch.h23 int branch_type_str(struct branch_type_stat *st, char *bf, int bfsize);
/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c464 unsigned int bfsize = 0; in init_rx_ring() local
468 bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); in init_rx_ring()
470 netif_dbg(priv, probe, dev, "%s: bfsize %d\n", __func__, bfsize); in init_rx_ring()
509 bfsize, rx_ring); in init_rx_ring()
517 priv->dma_buf_sz = bfsize; in init_rx_ring()
526 sxgbe_free_rx_buffers(dev, p, desc_index, bfsize, rx_ring); in init_rx_ring()
1435 int bfsize = priv->dma_buf_sz; in sxgbe_rx_refill() local
1448 skb = netdev_alloc_skb_ip_align(priv->dev, bfsize); in sxgbe_rx_refill()
1455 dma_map_single(priv->device, skb->data, bfsize, in sxgbe_rx_refill()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_dma.c377 static void dwxgmac2_set_bfsize(void __iomem *ioaddr, int bfsize, u32 chan) in dwxgmac2_set_bfsize() argument
382 value |= bfsize << 1; in dwxgmac2_set_bfsize()
Ddwmac4_dma.c423 static void dwmac4_set_bfsize(void __iomem *ioaddr, int bfsize, u32 chan) in dwmac4_set_bfsize() argument
428 value |= (bfsize << DMA_RBSZ_SHIFT) & DMA_RBSZ_MASK; in dwmac4_set_bfsize()
Dstmmac_main.c1266 int bfsize = 0; in init_dma_rx_desc_rings() local
1270 bfsize = stmmac_set_16kib_bfsize(priv, dev->mtu); in init_dma_rx_desc_rings()
1271 if (bfsize < 0) in init_dma_rx_desc_rings()
1272 bfsize = 0; in init_dma_rx_desc_rings()
1274 if (bfsize < BUF_SIZE_16KiB) in init_dma_rx_desc_rings()
1275 bfsize = stmmac_set_bfsize(dev->mtu, priv->dma_buf_sz); in init_dma_rx_desc_rings()
1277 priv->dma_buf_sz = bfsize; in init_dma_rx_desc_rings()
1324 buf_sz = bfsize; in init_dma_rx_desc_rings()
3268 int bfsize = priv->dma_buf_sz; in stmmac_rx_refill() local
3281 skb = netdev_alloc_skb_ip_align(priv->dev, bfsize); in stmmac_rx_refill()
[all …]
Dhwif.h187 void (*set_bfsize)(void __iomem *ioaddr, int bfsize, u32 chan);
/Linux-v4.19/drivers/net/ethernet/calxeda/
Dxgmac.c733 unsigned int bfsize; in xgmac_dma_desc_rings_init() local
739 bfsize = ALIGN(dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN, 8); in xgmac_dma_desc_rings_init()
741 netdev_dbg(priv->dev, "mtu [%d] bfsize [%d]\n", dev->mtu, bfsize); in xgmac_dma_desc_rings_init()
776 priv->dma_buf_sz = bfsize; in xgmac_dma_desc_rings_init()