/drivers/infiniband/hw/mlx4/ |
D | mad.c | 1284 int rx_buf_size, tx_buf_size; in mlx4_ib_alloc_pv_bufs() local 1306 rx_buf_size = sizeof (struct mlx4_tunnel_mad); in mlx4_ib_alloc_pv_bufs() 1309 rx_buf_size = sizeof (struct mlx4_mad_rcv_buf); in mlx4_ib_alloc_pv_bufs() 1314 tun_qp->ring[i].addr = kmalloc(rx_buf_size, GFP_KERNEL); in mlx4_ib_alloc_pv_bufs() 1319 rx_buf_size, in mlx4_ib_alloc_pv_bufs() 1356 rx_buf_size, DMA_FROM_DEVICE); in mlx4_ib_alloc_pv_bufs() 1369 int rx_buf_size, tx_buf_size; in mlx4_ib_free_pv_qp_bufs() local 1376 rx_buf_size = sizeof (struct mlx4_tunnel_mad); in mlx4_ib_free_pv_qp_bufs() 1379 rx_buf_size = sizeof (struct mlx4_mad_rcv_buf); in mlx4_ib_free_pv_qp_bufs() 1386 rx_buf_size, DMA_FROM_DEVICE); in mlx4_ib_free_pv_qp_bufs()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 386 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_tpa_start() 618 return kmalloc(fp->rx_buf_size + NET_SKB_PAD, GFP_ATOMIC); in bnx2x_frag_alloc() 703 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_tpa_stop() 709 if (pad + len > fp->rx_buf_size) { in bnx2x_tpa_stop() 711 pad, len, fp->rx_buf_size); in bnx2x_tpa_stop() 763 fp->rx_buf_size, in bnx2x_alloc_rx_data() 966 fp->rx_buf_size, in bnx2x_rx_int() 1268 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_free_tpa_pool() 1304 "mtu %d rx_buf_size %d\n", bp->dev->mtu, fp->rx_buf_size); in bnx2x_init_rx_rings() 1443 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_free_rx_bds() [all …]
|
D | bnx2x_ethtool.c | 2395 skb = netdev_alloc_skb(bp->dev, fp_rx->rx_buf_size); in bnx2x_run_loopback() 2513 fp_rx->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_run_loopback()
|
D | bnx2x_vfpf.c | 485 req->rxq.buf_sz = fp->rx_buf_size; in bnx2x_vfpf_setup_q()
|
D | bnx2x.h | 503 u32 rx_buf_size; member
|
D | bnx2x_main.c | 3084 rxq_init->buf_sz = fp->rx_buf_size - BNX2X_FW_RX_ALIGN_START - in bnx2x_pf_rx_q_prep()
|
/drivers/net/usb/ |
D | hso.c | 172 unsigned short rx_buf_size; member 730 odev->rx_buf_size = 0; in hso_net_open() 886 odev->rx_buf_size, ip_pkt + buffer_offset, in packetizeRx() 889 odev->rx_buf_size += temp_bytes; in packetizeRx() 926 odev->rx_buf_size = sizeof(struct iphdr); in packetizeRx() 948 odev->rx_buf_size += temp_bytes; in packetizeRx() 963 odev->net->stats.rx_bytes += odev->rx_buf_size; in packetizeRx() 965 odev->rx_buf_size = 0; in packetizeRx() 986 odev->rx_buf_size = 0; in packetizeRx()
|
/drivers/infiniband/hw/amso1100/ |
D | c2.c | 100 c2_port->rx_buf_size = in c2_set_rxbufsize() 104 c2_port->rx_buf_size = sizeof(struct c2_rxp_hdr) + RX_BUF_SIZE; in c2_set_rxbufsize() 218 skb = dev_alloc_skb(c2_port->rx_buf_size); in c2_rx_alloc() 230 maplen = c2_port->rx_buf_size; in c2_rx_alloc()
|
D | c2.h | 370 u32 rx_buf_size; member
|
/drivers/net/ethernet/marvell/ |
D | skge.c | 1011 skb = __netdev_alloc_skb(dev, skge->rx_buf_size + NET_IP_ALIGN, in skge_rx_fill() 1017 skge_rx_setup(skge, e, skb, skge->rx_buf_size); in skge_rx_fill() 2533 skge->rx_buf_size = dev->mtu + ETH_HLEN; in skge_up() 2535 skge->rx_buf_size = RX_BUF_SIZE; in skge_up() 3029 if (len > skge->rx_buf_size) in skge_rx_get() 3053 skge_rx_reuse(e, skge->rx_buf_size); in skge_rx_get() 3057 nskb = netdev_alloc_skb_ip_align(dev, skge->rx_buf_size); in skge_rx_get() 3067 skge_rx_setup(skge, e, nskb, skge->rx_buf_size); in skge_rx_get() 3103 skge_rx_reuse(e, skge->rx_buf_size); in skge_rx_get()
|
D | skge.h | 2459 unsigned int rx_buf_size; member
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 161 int rx_buf_size; /* size in bytes of single rx buffer */ member 834 RXBUF *buf = (RXBUF*)(info->rx_buf + (info->rx_put * info->rx_buf_size)); in rx_ready_hdlc() 2658 info->rx_buf_size = sizeof(RXBUF) + info->max_frame_size; in rx_alloc_buffers() 2661 info->rx_buf_total_size = info->rx_buf_size * 8; in rx_alloc_buffers() 2668 info->rx_buf_count = info->rx_buf_total_size / info->rx_buf_size; in rx_alloc_buffers() 3660 buf = (RXBUF*)(info->rx_buf + (i * info->rx_buf_size)); in rx_reset_buffers() 3681 buf = (RXBUF*)(info->rx_buf + (info->rx_get * info->rx_buf_size)); in rx_get_frame()
|
/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 334 u32 rx_buf_size; member 996 struct sk_buff *skb = netdev_alloc_skb(priv->ndev, priv->rx_buf_size); in emac_rx_alloc() 1547 priv->rx_buf_size = EMAC_DEF_MAX_FRAME_SIZE + NET_IP_ALIGN; in emac_dev_open()
|
/drivers/hwmon/ |
D | ibmaem.c | 230 u8 rx_buf_size; member 387 rs_req.rx_buf_size = size; in aem_read_sensor()
|
/drivers/tty/serial/ |
D | omap-serial.c | 121 unsigned int rx_buf_size; member
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 2737 data = kmalloc(bp->rx_buf_size, gfp); in bnx2_alloc_rx_data() 5358 bp->rx_buf_size = SKB_DATA_ALIGN(bp->rx_buf_use_size + BNX2_RX_ALIGN) + in bnx2_set_rx_ring_size()
|
D | bnx2.h | 6806 u32 rx_buf_size; /* with alignment */ member
|