Home
last modified time | relevance | path

Searched refs:buf_sz (Results 1 – 22 of 22) sorted by relevance

/drivers/infiniband/hw/usnic/
Dusnic_vnic.c90 int buf_sz, in usnic_vnic_dump() argument
103 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump()
109 offset += printtitle(hdr_obj, buf + offset, buf_sz - offset); in usnic_vnic_dump()
110 offset += scnprintf(buf + offset, buf_sz - offset, "\n"); in usnic_vnic_dump()
111 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump()
114 offset += printcols(buf + offset, buf_sz - offset); in usnic_vnic_dump()
115 offset += scnprintf(buf + offset, buf_sz - offset, "\n"); in usnic_vnic_dump()
122 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump()
128 buf_sz - offset); in usnic_vnic_dump()
130 offset += scnprintf(buf + offset, buf_sz - offset, in usnic_vnic_dump()
[all …]
Dusnic_transport.c64 int usnic_transport_sock_to_str(char *buf, int buf_sz, in usnic_transport_sock_to_str() argument
72 memset(buf, 0, buf_sz); in usnic_transport_sock_to_str()
77 return scnprintf(buf, buf_sz, "Proto:%u Addr:%pI4h Port:%hu", in usnic_transport_sock_to_str()
Dusnic_ib_qp_grp.h113 int usnic_ib_qp_grp_dump_hdr(char *buf, int buf_sz);
114 int usnic_ib_qp_grp_dump_rows(void *obj, char *buf, int buf_sz);
Dusnic_vnic.h87 int usnic_vnic_dump(struct usnic_vnic *vnic, char *buf, int buf_sz,
97 int usnic_vnic_spec_dump(char *buf, int buf_sz,
Dusnic_ib_qp_grp.c72 int usnic_ib_qp_grp_dump_hdr(char *buf, int buf_sz) in usnic_ib_qp_grp_dump_hdr() argument
74 return scnprintf(buf, buf_sz, "|QPN\t|State\t|PID\t|VF Idx\t|Fil ID"); in usnic_ib_qp_grp_dump_hdr()
77 int usnic_ib_qp_grp_dump_rows(void *obj, char *buf, int buf_sz) in usnic_ib_qp_grp_dump_rows() argument
84 return scnprintf(buf, buf_sz, "|%d\t|%s\t|%d\t|%hu\t|%d", in usnic_ib_qp_grp_dump_rows()
92 return scnprintf(buf, buf_sz, "|N/A\t|N/A\t|N/A\t|N/A\t|N/A"); in usnic_ib_qp_grp_dump_rows()
Dusnic_transport.h44 int usnic_transport_sock_to_str(char *buf, int buf_sz,
Dusnic_ib_main.c76 static int usnic_ib_dump_vf_hdr(void *obj, char *buf, int buf_sz) in usnic_ib_dump_vf_hdr() argument
79 return scnprintf(buf, buf_sz, "PF: %s ", vf->pf->ib_dev.name); in usnic_ib_dump_vf_hdr()
83 static void usnic_ib_dump_vf(struct usnic_ib_vf *vf, char *buf, int buf_sz) in usnic_ib_dump_vf() argument
85 usnic_vnic_dump(vf->vnic, buf, buf_sz, vf, in usnic_ib_dump_vf()
/drivers/scsi/snic/
Dsnic_trc.c65 snic_fmt_trc_data(struct snic_trc_data *td, char *buf, int buf_sz) in snic_fmt_trc_data() argument
72 len += snprintf(buf, buf_sz, in snic_fmt_trc_data()
89 snic_get_trc_data(char *buf, int buf_sz) in snic_get_trc_data() argument
115 return snic_fmt_trc_data(td, buf, buf_sz); in snic_get_trc_data()
Dsnic_trc.h59 int snic_get_trc_data(char *buf, int buf_sz);
Dsnic_disc.c375 int buf_sz = snic->disc.rtgt_cnt * sizeof(*tgtid); in snic_handle_tgt_disc() local
378 snic_hex_dump("rpt_tgt_rsp", (char *)tgtid, buf_sz); in snic_handle_tgt_disc()
/drivers/net/wireless/ath/ath10k/
Dpci.h146 size_t buf_sz; member
Dpci.c748 skb = dev_alloc_skb(pipe->buf_sz); in __ath10k_pci_rx_post_buf()
785 if (pipe->buf_sz == 0) in ath10k_pci_rx_post_pipe()
1587 if (!pci_pipe->buf_sz) in ath10k_pci_rx_pipe_cleanup()
1621 if (!pci_pipe->buf_sz) in ath10k_pci_tx_pipe_cleanup()
2085 pipe->buf_sz = (size_t)(host_ce_config_wlan[i].src_sz_max); in ath10k_pci_alloc_pipes()
/drivers/net/ethernet/calxeda/
Dxgmac.c414 static inline void desc_set_buf_len(struct xgmac_dma_desc *p, u32 buf_sz) in desc_set_buf_len() argument
416 if (buf_sz > MAX_DESC_BUF_SZ) in desc_set_buf_len()
418 (buf_sz - MAX_DESC_BUF_SZ) << DESC_BUFFER2_SZ_OFFSET); in desc_set_buf_len()
420 p->buf_size = cpu_to_le32(buf_sz); in desc_set_buf_len()
431 int buf_sz) in desc_init_rx_desc() argument
438 desc_set_buf_len(p, buf_sz); in desc_init_rx_desc()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c97 static int buf_sz = DEFAULT_BUFSIZE; variable
98 module_param(buf_sz, int, S_IRUGO | S_IWUSR);
99 MODULE_PARM_DESC(buf_sz, "DMA buffer size");
140 if (unlikely((buf_sz < DEFAULT_BUFSIZE) || (buf_sz > BUF_SIZE_16KiB))) in stmmac_verify_args()
141 buf_sz = DEFAULT_BUFSIZE; in stmmac_verify_args()
1087 buf_sz = bfsize; in init_dma_desc_rings()
1814 priv->dma_buf_sz = STMMAC_ALIGN(buf_sz); in stmmac_open()
3183 if (kstrtoint(opt + 7, 0, &buf_sz)) in stmmac_cmdline_opt()
/drivers/net/ethernet/via/
Dvia-velocity.c1511 vptr->rx.buf_sz = (mtu <= ETH_DATA_LEN) ? PKT_BUF_SZ : mtu + 32; in velocity_set_rxbufsize()
1529 rd_info->skb = netdev_alloc_skb(vptr->netdev, vptr->rx.buf_sz + 64); in velocity_alloc_rx_buf()
1540 vptr->rx.buf_sz, DMA_FROM_DEVICE); in velocity_alloc_rx_buf()
1547 rd->size = cpu_to_le16(vptr->rx.buf_sz) | RX_INTEN; in velocity_alloc_rx_buf()
1603 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_free_rd_ring()
2063 vptr->rx.buf_sz, DMA_FROM_DEVICE); in velocity_receive_frame()
2070 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_receive_frame()
2074 vptr->rx.buf_sz, DMA_FROM_DEVICE); in velocity_receive_frame()
Dvia-velocity.h1463 int buf_sz; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h258 u16 buf_sz; member
Dbnx2x_vfpf.c642 req->rxq.buf_sz = fp->rx_buf_size; in bnx2x_vfpf_setup_q()
1617 rxq_params->buf_sz = setup_q->rxq.buf_sz; in bnx2x_vf_mbx_setup_q()
Dbnx2x_sp.h957 u16 buf_sz; member
Dbnx2x_sriov.c159 rxq_params->buf_sz, in bnx2x_vfop_qctor_dump_rx()
Dbnx2x_sp.c4694 rx_data->max_bytes_on_bd = cpu_to_le16(params->buf_sz); in bnx2x_q_fill_init_rx_data()
Dbnx2x_main.c3231 rxq_init->buf_sz = fp->rx_buf_size - BNX2X_FW_RX_ALIGN_START - in bnx2x_pf_rx_q_prep()