/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 252 unsigned int batch_size; in test_lru_sanity1() local 265 batch_size = tgt_free / 2; in test_lru_sanity1() 266 assert(batch_size * 2 == tgt_free); in test_lru_sanity1() 268 map_size = tgt_free + batch_size; in test_lru_sanity1() 284 end_key = 1 + batch_size; in test_lru_sanity1() 329 unsigned int batch_size; in test_lru_sanity2() local 342 batch_size = tgt_free / 2; in test_lru_sanity2() 343 assert(batch_size * 2 == tgt_free); in test_lru_sanity2() 345 map_size = tgt_free + batch_size; in test_lru_sanity2() 384 end_key = 1 + batch_size; in test_lru_sanity2() [all …]
|
/Linux-v5.10/samples/bpf/ |
D | xdpsock_user.c | 1154 int batch_size) in complete_tx_only() argument 1167 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_tx_only() 1245 static void tx_only(struct xsk_socket_info *xsk, u32 *frame_nb, int batch_size) in tx_only() argument 1250 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only() 1251 batch_size) { in tx_only() 1252 complete_tx_only(xsk, batch_size); in tx_only() 1255 for (i = 0; i < batch_size; i++) { in tx_only() 1262 xsk_ring_prod__submit(&xsk->tx, batch_size); in tx_only() 1263 xsk->outstanding_tx += batch_size; in tx_only() 1264 *frame_nb += batch_size; in tx_only() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | gen7_renderclear.c | 42 u32 batch_size; member 66 bv->batch_size = bv->cmd_size + bv->state_size; in batch_get_defaults() 68 bv->max_size = bv->batch_size + bv->scratch_size; in batch_get_defaults() 158 u32 surface_start = gen7_fill_surface_state(state, bv->batch_size, bv); in gen7_fill_binding_table()
|
D | intel_renderstate.c | 108 so->batch_size = rodata->batch_items * sizeof(u32); in render_state_setup() 243 so->batch_offset, so->batch_size, in intel_renderstate_emit()
|
D | intel_renderstate.h | 57 u32 batch_size; member
|
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
D | rx.c | 329 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local 347 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in ef4_fast_push_rx_descriptors() 349 EF4_BUG_ON_PARANOID(space < batch_size); in ef4_fast_push_rx_descriptors() 366 } while ((space -= batch_size) >= batch_size); in ef4_fast_push_rx_descriptors()
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | rx_common.c | 461 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local 479 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors() 481 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors() 496 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
|
/Linux-v5.10/drivers/dma/idxd/ |
D | sysfs.c | 1129 u64 batch_size; in wq_max_batch_size_store() local 1135 rc = __get_sysfs_u64(buf, &batch_size); in wq_max_batch_size_store() 1139 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store() 1142 wq->max_batch_size = (u32)batch_size; in wq_max_batch_size_store()
|
/Linux-v5.10/drivers/md/ |
D | raid5.c | 6374 int i, batch_size = 0, hash; in handle_active_stripes() local 6377 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes() 6379 batch[batch_size++] = sh; in handle_active_stripes() 6381 if (batch_size == 0) { in handle_active_stripes() 6389 return batch_size; in handle_active_stripes() 6404 for (i = 0; i < batch_size; i++) in handle_active_stripes() 6411 for (i = 0; i < batch_size; i++) { in handle_active_stripes() 6415 return batch_size; in handle_active_stripes() 6434 int batch_size, released; in raid5_do_work() local 6438 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work() [all …]
|
/Linux-v5.10/drivers/media/pci/tw5864/ |
D | tw5864-video.c | 1323 int batch_size = H264_BUF_CNT; in tw5864_handle_frame_task() local 1326 while (dev->h264_buf_r_index != dev->h264_buf_w_index && batch_size--) { in tw5864_handle_frame_task()
|
/Linux-v5.10/mm/ |
D | vmscan.c | 424 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local 506 while (total_scan >= batch_size || in do_shrink_slab() 509 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
|
D | memory.c | 1708 const int batch_size = min_t(int, pages_to_write_in_pmd, 8); in insert_pages() local 1711 for (pte = start_pte; pte_idx < batch_size; ++pte, ++pte_idx) { in insert_pages() 1724 pages_to_write_in_pmd -= batch_size; in insert_pages() 1725 remaining_pages_total -= batch_size; in insert_pages()
|
/Linux-v5.10/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 2613 def FetchBatch(self, batch_size): argument 2615 while batch_size > fetched: 2634 batch_size = min(glb_chunk_sz, target - self.fetched) 2635 self.FetchBatch(batch_size)
|