/linux/tools/testing/selftests/size/ |
H A D | get_size.c | 63 char num_buf[30]; in print_num() local 65 return print(num_to_str(num, num_buf, sizeof(num_buf))); in print_num()
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_mem.c | 321 while (i < pbl->num_buf) { in siw_pbl_get_buffer() 341 struct siw_pbl *siw_pbl_alloc(u32 num_buf) in siw_pbl_alloc() argument 345 if (num_buf == 0) in siw_pbl_alloc() 348 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc() 352 pbl->max_buf = num_buf; in siw_pbl_alloc()
|
H A D | siw_mem.h | 12 struct siw_pbl *siw_pbl_alloc(u32 num_buf);
|
H A D | siw_verbs.c | 1495 pbl->num_buf = 1; in siw_map_mr_sg() 1502 pbl->num_buf++; in siw_map_mr_sg() 1521 pbl->num_buf); in siw_map_mr_sg()
|
H A D | siw.h | 135 unsigned int num_buf; member
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_mr.c | 159 static int rxe_mr_alloc(struct rxe_mr *mr, int num_buf) in rxe_mr_alloc() argument 169 while (i != num_buf) { in rxe_mr_alloc() 183 mr->num_buf = num_buf; in rxe_mr_alloc() 220 if (unlikely(mr->nbuf == mr->num_buf)) in rxe_set_page()
|
H A D | rxe_verbs.h | 317 u32 num_buf; member
|
/linux/drivers/net/ |
H A D | virtio_net.c | 1183 u32 num_buf, in xsk_drop_follow_bufs() argument 1189 while (num_buf-- > 1) { in xsk_drop_follow_bufs() 1193 dev->name, num_buf); in xsk_drop_follow_bufs() 1205 u32 num_buf, in xsk_append_merge_buffer() argument 1217 while (--num_buf) { in xsk_append_merge_buffer() 1221 vi->dev->name, num_buf, in xsk_append_merge_buffer() 1259 xsk_drop_follow_bufs(vi->dev, rq, num_buf, stats); in xsk_append_merge_buffer() 1271 u32 ret, num_buf; in virtnet_receive_xsk_merge() local 1274 num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in virtnet_receive_xsk_merge() 1280 if (prog && num_buf == 1) in virtnet_receive_xsk_merge() [all …]
|
/linux/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-cru.h | 112 u8 num_buf; member
|
H A D | rzg2l-video.c | 127 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() 571 slot = cru->num_buf - 1; in rzg2l_cru_irq()
|
H A D | rzg2l-core.c | 283 cru->num_buf = RZG2L_CRU_HW_BUFFER_DEFAULT; in rzg2l_cru_probe()
|
/linux/kernel/trace/ |
H A D | trace_events_filter.c | 1509 char num_buf[24]; /* Big enough to hold an address */ in parse_pred() local 1614 if (len >= sizeof(num_buf)) { in parse_pred() 1619 strncpy(num_buf, str + s, len); in parse_pred() 1620 num_buf[len] = 0; in parse_pred() 1622 ret = kstrtoul(num_buf, 0, &ip); in parse_pred() 1917 if (len >= sizeof(num_buf)) { in parse_pred() 1922 strncpy(num_buf, str + s, len); in parse_pred() 1923 num_buf[len] = 0; in parse_pred() 1927 ret = kstrtoll(num_buf, 0, &val); in parse_pred() 1929 ret = kstrtoull(num_buf, 0, &val); in parse_pred()
|
/linux/drivers/net/ethernet/atheros/atlx/ |
H A 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()
|
H A D | atl1.h | 383 u8 num_buf; /* Number of RFD buffers used by the received packet */ member
|
/linux/drivers/accessibility/speakup/ |
H A D | main.c | 1850 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/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 2322 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()
|