| /linux/tools/testing/selftests/bpf/ |
| H A D | test_lru_map.c | 256 unsigned int batch_size; in test_lru_sanity1() local 269 batch_size = tgt_free / 2; in test_lru_sanity1() 270 assert(batch_size * 2 == tgt_free); in test_lru_sanity1() 272 map_size = __map_size(tgt_free) + batch_size; in test_lru_sanity1() 288 end_key = 1 + batch_size; in test_lru_sanity1() 325 unsigned int batch_size; in test_lru_sanity2() local 338 batch_size = tgt_free / 2; in test_lru_sanity2() 339 assert(batch_size * 2 == tgt_free); in test_lru_sanity2() 341 map_size = __map_size(tgt_free) + batch_size; in test_lru_sanity2() 378 end_key = 1 + batch_size; in test_lru_sanity2() [all …]
|
| H A D | xskxceiver.h | 95 u32 batch_size; global() member
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | map_in_map_batch_ops.c | 123 __u32 batch_size, bool delete_entries, in fetch_and_validate() argument 128 __u32 batch_key = 0, fetch_count, step_size = batch_size; in fetch_and_validate() 158 step_size += batch_size; in fetch_and_validate() 181 delete_entries ? "LOOKUP_AND_DELETE" : "LOOKUP", batch_size); in fetch_and_validate() 195 int batch_size[2] = {5, 10}; in _map_in_map_batch_ops() local 242 batch_size[op_index], false, in _map_in_map_batch_ops()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.c | 923 u32 batch_size = 1; /* MI_BATCH_BUFFER_END */ in __xe_migrate_copy() local 945 batch_size += pte_update_size(m, pte_flags, src, &src_it, &src_L0, in __xe_migrate_copy() 952 batch_size += pte_update_size(m, pte_flags, dst, in __xe_migrate_copy() 961 batch_size += pte_update_size(m, 0, NULL, &ccs_it, &ccs_size, in __xe_migrate_copy() 969 batch_size += ((copy_only_ccs) ? 0 : EMIT_COPY_DW) + in __xe_migrate_copy() 972 bb = xe_bb_new(gt, batch_size, usm); in __xe_migrate_copy() 1167 u32 batch_size, batch_size_allocated; in xe_migrate_ccs_rw_copy() local 1188 batch_size = 0; in xe_migrate_ccs_rw_copy() 1190 batch_size += 10; /* Flush + ggtt addr + 2 NOP */ in xe_migrate_ccs_rw_copy() 1198 batch_size += pte_update_size(m, false, src, &src_it, &src_L0, in xe_migrate_ccs_rw_copy() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.c | 149 sock_opt = xsk->batch_size; in enable_busy_poll() 239 ifobj->xsk_arr[j].batch_size = DEFAULT_BATCH_SIZE; in __test_spec_init() 939 static int complete_pkts(struct xsk_socket_info *xsk, int batch_size) in complete_pkts() argument 951 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_pkts() 1005 rcvd = xsk_ring_cons__peek(&xsk->rx, xsk->batch_size, &idx_rx); in __receive_pkts() 1161 if (pkts_in_flight >= (int)((umem_size(umem) - xsk->batch_size * buffer_len) / in __send_pkts() 1172 while (xsk_ring_prod__reserve(&xsk->tx, xsk->batch_size, &idx) < xsk->batch_size) { in __send_pkts() 1192 complete_pkts(xsk, xsk->batch_size); in __send_pkts() 1195 for (i = 0; i < xsk->batch_size; i++) { in __send_pkts() 1203 if (nb_frags > xsk->batch_size - i) { in __send_pkts() [all …]
|
| H A D | xdp_do_redirect.c | 114 .batch_size = 64, in test_xdp_do_redirect()
|
| H A D | test_xsk.h | 91 u32 batch_size; member
|
| H A D | xdp_bonding.c | 522 .batch_size = 1, in test_xdp_bonding_redirect_no_up()
|
| /linux/tools/sched_ext/ |
| H A D | scx_userland.c | 51 static __u32 batch_size = 8; variable 260 for (i = 0; i < batch_size; i++) { in dispatch_batch() 355 batch_size = strtoul(optarg, NULL, 0); in pre_bootstrap()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_renderstate.h | 40 u32 batch_size; member
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A 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()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | rx_common.c | 458 unsigned int fill_level, batch_size; in efx_fast_push_rx_descriptors() local 476 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_fast_push_rx_descriptors() 478 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors() 493 } while ((space -= batch_size) >= batch_size); in efx_fast_push_rx_descriptors()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | rx_common.c | 456 unsigned int fill_level, batch_size; in efx_siena_fast_push_rx_descriptors() local 474 batch_size = efx->rx_pages_per_batch * efx->rx_bufs_per_page; in efx_siena_fast_push_rx_descriptors() 476 EFX_WARN_ON_ONCE_PARANOID(space < batch_size); in efx_siena_fast_push_rx_descriptors() 491 } while ((space -= batch_size) >= batch_size); in efx_siena_fast_push_rx_descriptors()
|
| /linux/drivers/dma/idxd/ |
| H A D | sysfs.c | 1049 u64 batch_size; in wq_max_batch_size_store() local 1058 rc = __get_sysfs_u64(buf, &batch_size); in wq_max_batch_size_store() 1062 if (batch_size > idxd->max_batch_size) in wq_max_batch_size_store() 1065 idxd_wq_set_max_batch_size(idxd->data->type, wq, (u32)batch_size); in wq_max_batch_size_store()
|
| /linux/drivers/md/ |
| H A D | raid5.c | 6680 int i, batch_size = 0, hash; in handle_active_stripes() local 6683 while (batch_size < MAX_STRIPE_BATCH && in handle_active_stripes() 6685 batch[batch_size++] = sh; in handle_active_stripes() 6687 if (batch_size == 0) { in handle_active_stripes() 6695 return batch_size; in handle_active_stripes() 6710 for (i = 0; i < batch_size; i++) in handle_active_stripes() 6717 for (i = 0; i < batch_size; i++) { in handle_active_stripes() 6721 return batch_size; in handle_active_stripes() 6740 int batch_size, released; in raid5_do_work() local 6744 batch_size = handle_active_stripes(conf, group_id, worker, in raid5_do_work() [all …]
|
| /linux/Documentation/networking/ |
| H A D | af_xdp.rst | 684 int batch_size) 688 xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx); 690 for (i = 0; i < batch_size;) { 711 if (i == batch_size) {
|
| /linux/fs/btrfs/ |
| H A D | tree-log.c | 4147 int batch_size = 0; in process_dir_items_leaf() local 4227 if (batch_size == 0) in process_dir_items_leaf() 4229 batch_size++; in process_dir_items_leaf() 4232 if (batch_size > 0) { in process_dir_items_leaf() 4234 batch_start, batch_size); in process_dir_items_leaf()
|
| /linux/mm/ |
| H A D | memory.c | 2454 const int batch_size = min_t(int, pages_to_write_in_pmd, 8); in insert_pages() local 2461 for (pte = start_pte; pte_idx < batch_size; ++pte, ++pte_idx) { in insert_pages() 2474 pages_to_write_in_pmd -= batch_size; in insert_pages() 2475 remaining_pages_total -= batch_size; in insert_pages()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 1702 __u32 batch_size; 1676 __u32 batch_size; global() member
|
| /linux/tools/perf/scripts/python/ |
| H A D | exported-sql-viewer.py | 2623 def FetchBatch(self, batch_size): argument 2625 while batch_size > fetched: 2644 batch_size = min(glb_chunk_sz, target - self.fetched) 2645 self.FetchBatch(batch_size)
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 4718 #define BPF_PROG_TEST_RUN_LAST_FIELD test.batch_size
|