Home
last modified time | relevance | path

Searched refs:num_buf (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/size/
A Dget_size.c63 char num_buf[30]; in print_num() local
65 return print(num_to_str(num, num_buf, sizeof(num_buf))); in print_num()
/linux-6.3-rc2/drivers/infiniband/sw/siw/
A Dsiw_mem.c329 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()
A Dsiw_mem.h11 struct siw_pbl *siw_pbl_alloc(u32 num_buf);
A Dsiw_verbs.c1510 pbl->num_buf = 1; in siw_map_mr_sg()
1517 pbl->num_buf++; in siw_map_mr_sg()
1536 pbl->num_buf); in siw_map_mr_sg()
A Dsiw.h137 unsigned int num_buf; member
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_mr.c164 static int rxe_mr_alloc(struct rxe_mr *mr, int num_buf) in rxe_mr_alloc() argument
174 while (i != num_buf) { in rxe_mr_alloc()
188 mr->num_buf = num_buf; in rxe_mr_alloc()
225 if (unlikely(mr->nbuf == mr->num_buf)) in rxe_set_page()
A Drxe_verbs.h309 u32 num_buf; member
/linux-6.3-rc2/kernel/trace/
A Dtrace_events_filter.c1372 char num_buf[24]; /* Big enough to hold an address */ in parse_pred() local
1477 if (len >= sizeof(num_buf)) { in parse_pred()
1482 strncpy(num_buf, str + s, len); in parse_pred()
1483 num_buf[len] = 0; in parse_pred()
1485 ret = kstrtoul(num_buf, 0, &ip); in parse_pred()
1656 if (len >= sizeof(num_buf)) { in parse_pred()
1661 strncpy(num_buf, str + s, len); in parse_pred()
1662 num_buf[len] = 0; in parse_pred()
1666 ret = kstrtoll(num_buf, 0, &val); in parse_pred()
1668 ret = kstrtoull(num_buf, 0, &val); in parse_pred()
/linux-6.3-rc2/drivers/media/platform/renesas/rzg2l-cru/
A Drzg2l-cru.h112 u8 num_buf; member
A Drzg2l-video.c127 for (i = 0; i < cru->num_buf; i++) { in return_unused_buffers()
286 rzg2l_cru_write(cru, AMnMBVALID, AMnMBVALID_MBVALID(cru->num_buf - 1)); in rzg2l_cru_initialize_axi()
288 for (slot = 0; slot < cru->num_buf; slot++) in rzg2l_cru_initialize_axi()
602 slot = cru->num_buf - 1; in rzg2l_cru_irq()
A Drzg2l-core.c284 cru->num_buf = RZG2L_CRU_HW_BUFFER_DEFAULT; in rzg2l_cru_probe()
/linux-6.3-rc2/drivers/net/
A Dvirtio_net.c726 int *num_buf, in xdp_linearize_page() argument
740 while (--*num_buf) { in xdp_linearize_page()
826 int num_buf = 1; in receive_small() local
999 int *num_buf, in virtnet_build_xdp_buff_mrg() argument
1017 if (!*num_buf) in virtnet_build_xdp_buff_mrg()
1020 if (*num_buf > 1) { in virtnet_build_xdp_buff_mrg()
1036 while (--*num_buf > 0) { in virtnet_build_xdp_buff_mrg()
1040 dev->name, *num_buf, in virtnet_build_xdp_buff_mrg()
1256 while (--num_buf) { in receive_mergeable()
1262 dev->name, num_buf, in receive_mergeable()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/atheros/atlx/
A Datl1.c1774 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()
A Datl1.h383 u8 num_buf; /* Number of RFD buffers used by the received packet */ member
/linux-6.3-rc2/drivers/accessibility/speakup/
A Dmain.c1850 char num_buf[32]; in inc_dec_var() local
1851 char *cp = num_buf; in inc_dec_var()
1873 snprintf(cp, sizeof(num_buf) - (cp - num_buf), " %d ", in inc_dec_var()
1875 synth_printf("%s", num_buf); in inc_dec_var()
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_scsi.c2322 int buf_size, int num_buf) in csio_scsi_alloc_ddp_bufs() argument
2329 if (!num_buf) in csio_scsi_alloc_ddp_bufs()
2340 for (n = 0; n < num_buf; n++) { in csio_scsi_alloc_ddp_bufs()
/linux-6.3-rc2/fs/cifs/
A Dsmbdirect.c21 static int allocate_receive_buffers(struct smbd_connection *info, int num_buf);
1204 static int allocate_receive_buffers(struct smbd_connection *info, int num_buf) in allocate_receive_buffers() argument
1224 for (i = 0; i < num_buf; i++) { in allocate_receive_buffers()

Completed in 56 milliseconds