/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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() 1257 for (i = 0; i < batch_size; i++) { in tx_only() 1264 xsk_ring_prod__submit(&xsk->tx, batch_size); in tx_only() 1265 xsk->outstanding_tx += batch_size; in tx_only() 1266 *frame_nb += batch_size; in tx_only() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | rx.c | 334 unsigned int fill_level, batch_size; in ef4_fast_push_rx_descriptors() local 352 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in ef4_fast_push_rx_descriptors() 354 EF4_BUG_ON_PARANOID(space < batch_size); in ef4_fast_push_rx_descriptors() 371 } while ((space -= batch_size) >= batch_size); in ef4_fast_push_rx_descriptors()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | rx_common.c | 469 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local 487 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors() 489 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors() 504 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
D | sysfs.c | 1132 u64 batch_size; in wq_max_batch_size_store() local 1138 rc = __get_sysfs_u64(buf, &batch_size); in wq_max_batch_size_store() 1142 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store() 1145 wq->max_batch_size = (u32)batch_size; in wq_max_batch_size_store()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | raid5.c | 6375 int i, batch_size = 0, hash; in handle_active_stripes() local 6378 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes() 6380 batch[batch_size++] = sh; in handle_active_stripes() 6382 if (batch_size == 0) { in handle_active_stripes() 6390 return batch_size; in handle_active_stripes() 6405 for (i = 0; i < batch_size; i++) in handle_active_stripes() 6412 for (i = 0; i < batch_size; i++) { in handle_active_stripes() 6416 return batch_size; in handle_active_stripes() 6435 int batch_size, released; in raid5_do_work() local 6439 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work() [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/mm/ |
D | vmscan.c | 352 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab() local 434 while (total_scan >= batch_size || in do_shrink_slab() 437 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab()
|
D | memory.c | 1735 const int batch_size = min_t(int, pages_to_write_in_pmd, 8); in insert_pages() local 1738 for (pte = start_pte; pte_idx < batch_size; ++pte, ++pte_idx) { in insert_pages() 1751 pages_to_write_in_pmd -= batch_size; in insert_pages() 1752 remaining_pages_total -= batch_size; in insert_pages()
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 2619 def FetchBatch(self, batch_size): argument 2621 while batch_size > fetched: 2640 batch_size = min(glb_chunk_sz, target - self.fetched) 2641 self.FetchBatch(batch_size)
|