Searched refs:num_buf (Results 1 – 12 of 12) sorted by relevance
/drivers/infiniband/sw/rxe/ |
D | rxe_mr.c | 64 static int rxe_mr_alloc(struct rxe_mr *mr, int num_buf) in rxe_mr_alloc() argument 70 num_map = (num_buf + RXE_BUF_PER_MAP - 1) / RXE_BUF_PER_MAP; in rxe_mr_alloc() 87 mr->num_buf = num_buf; in rxe_mr_alloc() 119 int num_buf; in rxe_mr_init_user() local 132 num_buf = ib_umem_num_pages(umem); in rxe_mr_init_user() 136 err = rxe_mr_alloc(mr, num_buf); in rxe_mr_init_user() 146 num_buf = 0; in rxe_mr_init_user() 152 if (num_buf >= RXE_BUF_PER_MAP) { in rxe_mr_init_user() 155 num_buf = 0; in rxe_mr_init_user() 168 num_buf++; in rxe_mr_init_user()
|
D | rxe_verbs.h | 328 u32 num_buf; member
|
D | rxe_verbs.c | 960 if (unlikely(mr->nbuf == mr->num_buf)) in rxe_set_page()
|
/drivers/infiniband/sw/siw/ |
D | siw_mem.c | 329 while (i < pbl->num_buf) { in siw_pbl_get_buffer() 349 struct siw_pbl *siw_pbl_alloc(u32 num_buf) in siw_pbl_alloc() argument 353 if (num_buf == 0) in siw_pbl_alloc() 356 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc() 360 pbl->max_buf = num_buf; in siw_pbl_alloc()
|
D | siw_mem.h | 11 struct siw_pbl *siw_pbl_alloc(u32 num_buf);
|
D | siw_verbs.c | 1508 pbl->num_buf = 1; in siw_map_mr_sg() 1515 pbl->num_buf++; in siw_map_mr_sg() 1534 pbl->num_buf); in siw_map_mr_sg()
|
D | siw.h | 137 unsigned int num_buf; member
|
/drivers/net/ |
D | virtio_net.c | 676 u16 *num_buf, in xdp_linearize_page() argument 695 while (--*num_buf) { in xdp_linearize_page() 774 u16 num_buf = 1; in receive_small() local 781 xdp_page = xdp_linearize_page(rq, &num_buf, page, in receive_small() 902 u16 num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in receive_mergeable() local 949 if (unlikely(num_buf > 1 || in receive_mergeable() 952 xdp_page = xdp_linearize_page(rq, &num_buf, in receive_mergeable() 1076 while (--num_buf) { in receive_mergeable() 1082 dev->name, num_buf, in receive_mergeable() 1138 while (num_buf-- > 1) { in receive_mergeable() [all …]
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 1774 u16 num_buf; in atl1_update_rfd_index() local 1776 num_buf = (rrd->xsz.xsum_sz.pkt_size + adapter->rx_buffer_len - 1) / in atl1_update_rfd_index() 1778 if (rrd->num_buf == num_buf) in atl1_update_rfd_index() 1780 atl1_clean_alloc_flag(adapter, rrd, num_buf); in atl1_update_rfd_index() 1921 if (likely(rrd->num_buf == 1)) in atl1_intr_rx() 1931 rrd->num_buf); in atl1_intr_rx() 1957 if (rrd->num_buf > 1) in atl1_intr_rx()
|
D | atl1.h | 383 u8 num_buf; /* Number of RFD buffers used by the received packet */ member
|
/drivers/accessibility/speakup/ |
D | main.c | 1836 char num_buf[32]; in inc_dec_var() local 1837 char *cp = num_buf; in inc_dec_var() 1859 snprintf(cp, sizeof(num_buf) - (cp - num_buf), " %d ", in inc_dec_var() 1861 synth_printf("%s", num_buf); in inc_dec_var()
|
/drivers/scsi/csiostor/ |
D | csio_scsi.c | 2316 int buf_size, int num_buf) in csio_scsi_alloc_ddp_bufs() argument 2323 if (!num_buf) in csio_scsi_alloc_ddp_bufs() 2334 for (n = 0; n < num_buf; n++) { in csio_scsi_alloc_ddp_bufs()
|